/* ===== DESIGN SYSTEM ===== */
:root {
  --bg: #111113;
  --bg-alt: #19191D;
  --bg-frame: #1E1E23;
  --coral: #E05A43;
  --coral-hover: #C94E38;
  --peach: #F0956B;
  --coral-dim: rgba(224,90,67,0.12);
  --coral-dim2: rgba(240,149,107,0.08);
  --text: #EDE8E2;
  --text-muted: #9A958F;
  --text-faint: #5C5853;
  --border: #2A2A30;
  --border-light: #38383F;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 70px rgba(0,0,0,0.6);
  --transition: 0.22s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--coral); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--peach); }
ul { list-style: none; }
address { font-style: normal; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section-frame { background: var(--bg-frame); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 60px 56px; position: relative; overflow: hidden; }
.section-frame::before { content: ''; position: absolute; top: 0; left: 56px; right: 56px; height: 2px; background: linear-gradient(90deg, transparent, var(--coral), transparent); opacity: 0.4; }
.section-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h1 em, h2 em { font-style: italic; color: var(--peach); }
p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }
.section-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; }
.btn--coral { background: var(--coral); color: #fff; border-color: var(--coral); box-shadow: 0 4px 20px rgba(224,90,67,0.3); }
.btn--coral:hover { background: var(--coral-hover); border-color: var(--coral-hover); color: #fff; box-shadow: 0 6px 28px rgba(224,90,67,0.45); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border-light); }
.btn--outline:hover { border-color: var(--coral); color: var(--coral); }
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }

/* ===== INFO BAR ===== */
.info-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 0.8rem; color: var(--text-muted); }
.info-bar__inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.info-bar svg { display: inline; vertical-align: middle; margin-right: 5px; color: var(--coral); }
.info-bar a { color: var(--text-muted); }
.info-bar a:hover { color: var(--coral); }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(17,17,19,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); letter-spacing: -0.01em; max-width: 320px; line-height: 1.3; }
.site-logo:hover { color: var(--peach); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); padding: 6px 12px; border-radius: 6px; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--border); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ===== BLOBS ===== */
.blob { position: absolute; pointer-events: none; }
.blob--1 { width: 480px; height: 480px; top: -120px; right: -100px; color: var(--coral-dim); }
.blob--2 { width: 300px; height: 300px; bottom: -60px; left: -60px; color: var(--coral-dim2); }
.blob--footer-1 { width: 320px; height: 320px; bottom: 0; right: -80px; color: rgba(224,90,67,0.06); }
.blob--ph-1 { width: 350px; height: 350px; top: -50px; right: -50px; color: var(--coral-dim); }

/* ===== HERO ===== */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.hero__content { position: relative; z-index: 1; }
.hero__frame { max-width: 680px; margin-bottom: 56px; }
.hero__label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 20px; }
.hero__sub { font-size: 1.15rem; color: var(--text-muted); margin: 24px 0 36px; max-width: 580px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.fact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact-card { background: var(--bg-frame); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 20px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.fact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fact-card__value { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--coral); line-height: 1; margin-bottom: 8px; }
.fact-card__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }

/* ===== WIDGET ===== */
.widget-section { background: var(--bg); }
.widget { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 40px; margin-top: 32px; }
.widget__step { display: none; }
.widget__step.active { display: block; }
.widget__q { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.widget__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.widget__opt { background: var(--bg-frame); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; cursor: pointer; text-align: left; transition: all var(--transition); }
.widget__opt:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-dim); }
.widget__progress { display: flex; gap: 8px; margin-top: 24px; justify-content: center; }
.widget__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-light); transition: background var(--transition); }
.widget__dot.active { background: var(--coral); }
.widget__result { text-align: center; padding: 16px 0; }
.widget__result-icon { margin: 0 auto 20px; color: var(--coral); }
.widget__result-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.widget__result-text { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; }
.widget__result .btn { margin: 0 8px 8px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.service-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 28px; transition: all var(--transition); }
.service-card:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-card__icon { color: var(--coral); margin-bottom: 18px; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin: 10px 0 16px; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--coral); letter-spacing: 0.02em; }
.card-link:hover { color: var(--peach); }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.step-card { position: relative; padding: 28px 24px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--coral); opacity: 0.25; line-height: 1; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.why-item { padding: 24px; border-left: 2px solid var(--coral); padding-left: 24px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item summary { padding: 18px 24px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); transition: background var(--transition); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--coral); font-family: var(--font-body); font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--border); }
.faq-item p { padding: 0 24px 18px; font-size: 0.925rem; color: var(--text-muted); }
.faq-item p a { color: var(--coral); }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); font-size: 0.9rem; }
.contact-details { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.contact-details li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.contact-details svg { flex-shrink: 0; margin-top: 2px; color: var(--coral); }
.contact-details a { color: var(--text); }
.registry-note { font-size: 0.8rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 20px; line-height: 1.6; }
.contact-legal { margin-top: 20px; font-size: 0.8rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 16px; line-height: 1.8; }
.map-link { font-size: 0.875rem; font-weight: 500; color: var(--coral); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-row input, .form-row textarea { background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-body); font-size: 0.9rem; padding: 11px 14px; transition: border-color var(--transition); width: 100%; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--coral); }
.form-row textarea { resize: vertical; }
.form-row--consent { flex-direction: row; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); cursor: pointer; }
.consent-label input { flex-shrink: 0; margin-top: 3px; accent-color: var(--coral); }
.consent-label a { color: var(--coral); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-success { background: rgba(66,180,100,0.12); border: 1px solid rgba(66,180,100,0.3); color: #6fcf97; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.9rem; }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; padding: 80px 0 60px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.page-hero__frame { max-width: 680px; }
.page-hero__meta { font-size: 0.85rem; color: var(--text-faint); margin-top: 10px; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; }
.about-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.about-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.about-table th, .about-table td { padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.about-table th { width: 38%; color: var(--text-muted); font-weight: 500; padding-right: 12px; }
.about-table td { color: var(--text); }
.about-text h2 { font-size: 1.3rem; margin-top: 28px; margin-bottom: 10px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== SERVICES DETAIL ===== */
.service-detail { padding: 40px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail__header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.service-detail__icon { color: var(--coral); flex-shrink: 0; }
.service-detail h2 { font-size: 1.7rem; margin-bottom: 0; }
.service-detail p { font-size: 0.925rem; color: var(--text-muted); }
.cta-frame { text-align: center; }
.cta-frame h2 { margin-bottom: 12px; }
.cta-frame p { color: var(--text-muted); margin-bottom: 28px; }

/* ===== LEGAL ===== */
.legal-section .section-frame { max-width: 820px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 20px; margin-bottom: 10px; color: var(--peach); }
.legal-content p, .legal-content li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 4px; }
.legal-content a { color: var(--coral); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 12px 0 20px; }
.legal-table th, .legal-table td { padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal-table th { background: var(--bg-alt); color: var(--text-muted); font-weight: 600; text-align: left; }
.legal-table td { color: var(--text-muted); }
.legal-table code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 0.82rem; color: var(--peach); }
.inline-link { background: none; border: none; color: var(--coral); cursor: pointer; font-size: inherit; font-family: inherit; padding: 0; text-decoration: underline; }

/* ===== 404 ===== */
.error-section { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.error-frame { text-align: center; padding: 60px 40px; }
.error-num { font-family: var(--font-display); font-size: 8rem; font-weight: 700; color: var(--coral); opacity: 0.15; line-height: 1; margin-bottom: -20px; }
.error-frame h1 { font-size: 2.2rem; margin-bottom: 16px; }
.error-frame p { color: var(--text-muted); max-width: 440px; margin: 0 auto 32px; }
.error-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 36px; position: relative; overflow: hidden; }
.footer-blobs { position: absolute; inset: 0; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); display: block; margin-bottom: 14px; line-height: 1.4; }
.footer__brand p { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 10px; }
.footer__legal-link a { font-size: 0.8rem; color: var(--coral); }
.footer__col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a, .footer-cookie-link { font-size: 0.875rem; color: var(--text-muted); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; text-align: left; }
.footer__col ul li a:hover, .footer-cookie-link:hover { color: var(--coral); }
.footer__contact address p { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.footer__contact svg { flex-shrink: 0; color: var(--coral); margin-top: 2px; }
.footer__contact a { color: var(--text-muted); }
.footer__contact a:hover { color: var(--coral); }
.footer__bottom { margin-top: 32px; }
.footer__legal-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.75rem; color: var(--text-faint); margin-bottom: 10px; }
.footer__copy { font-size: 0.8rem; color: var(--text-faint); }

/* ===== COOKIE BANNER ===== */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9000; width: calc(100% - 48px); max-width: 820px; background: #1E1E24; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-lg); display: none; }
.cookie-banner.visible { display: block; }
.cookie-banner__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1; min-width: 260px; }
.cookie-banner__text strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; color: var(--text); }
.cookie-banner__text p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.cookie-banner__text a { color: var(--coral); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-prefs-panel { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9100; width: calc(100% - 48px); max-width: 480px; background: #1E1E24; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-lg); }
.cookie-prefs-panel[hidden] { display: none; }
.cookie-prefs__inner h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; color: var(--text); }
.cookie-pref-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cookie-pref-row:last-of-type { border-bottom: none; }
.cookie-pref-row strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.cookie-pref-row p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.cookie-toggle--locked { font-size: 0.75rem; color: var(--text-faint); white-space: nowrap; }
.cookie-toggle-label { flex-shrink: 0; cursor: pointer; }
.cookie-toggle-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track { display: block; width: 44px; height: 24px; background: var(--border-light); border-radius: 12px; position: relative; transition: background var(--transition); }
.cookie-toggle-label input:checked + .cookie-toggle-track { background: var(--coral); }
.cookie-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform var(--transition); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.cookie-toggle-label input:checked + .cookie-toggle-track .cookie-toggle-thumb { transform: translateX(20px); }
.cookie-prefs__footer { margin-top: 20px; text-align: right; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-frame { padding: 48px 36px; }
  .fact-cards { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-frame { padding: 36px 24px; }
  .hero { padding: 70px 0 56px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 200; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 40px; }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { font-size: 1.3rem; }
  .services-grid, .steps-grid, .why-grid { grid-template-columns: 1fr; }
  .fact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .info-bar__inner { gap: 12px; }
  .info-bar__inner span:last-child { display: none; }
}
@media (max-width: 480px) {
  .fact-cards { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}
