@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-soft: #f0fdfa;
    --brand-line: #ccfbf1;
    --ink: #0f172a;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg-alt: #f8fafc;
    --white: #ffffff;
    --danger: #b91c1c;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #5eead4; outline-offset: 2px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .72em 1.35em; border-radius: 10px; font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.3; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
.btn-lg { padding: .85em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 1px 2px rgba(15, 118, 110, .3); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #cbd5e1; color: var(--ink); background: var(--bg-alt); }
.btn-white { background: var(--white); color: var(--brand-dark); }
.btn-white:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.brand-name { font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--brand-soft) 0%, var(--white) 100%); }
.hero-inner { text-align: center; max-width: 820px; }
.pill { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--brand-dark); background: var(--white); border: 1px solid var(--brand-line); padding: .35em 1em; border-radius: 999px; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .actions, .actions.center { justify-content: center; }
.values { list-style: none; padding: 0; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.values strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.values strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 10px; vertical-align: middle; }
.values span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 0 0 84px; }
.section-top-0 { padding-top: 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); margin: 0; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.service:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.service p { margin: 0; color: var(--muted); }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { margin: 0; color: var(--muted); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; font-size: .95rem; margin-bottom: 16px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--muted); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--brand); border-radius: 20px; padding: 44px 48px; color: #ccfbf1; }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { margin: 0; }

/* Inner pages */
.page-head { padding: 64px 0 40px; }
.page-head .lead { margin-left: 0; }
.page-head .muted { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 32px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); background: var(--white); }
.contact-side { display: grid; gap: 20px; }
.side-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.side-card p { overflow-wrap: anywhere; font-weight: 500; }
.side-card p:last-child { margin-bottom: 0; }
.mini-steps { margin: 0; padding-left: 20px; }
.mini-steps li { margin-bottom: 4px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: .93rem; }
.optional { color: var(--muted); font-weight: 400; font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .65em .85em; border: 1px solid #d1d5db; border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }
textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 4px; margin: 4px 0 22px; background: var(--bg-alt); }
.consent legend { font-weight: 600; color: var(--ink); padding: 0 6px; font-size: .93rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .86rem; line-height: 1.55; margin-bottom: 14px; cursor: pointer; }
.check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.consent-note { font-size: .8rem; color: var(--muted); line-height: 1.55; }

.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-weight: 500; font-size: .95rem; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

.check-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.check-badge svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Legal pages */
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.summary, .note-box { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 12px; padding: 16px 20px; }
.summary { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 380px; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-list a { color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .84rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .steps, .values { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 23, 42, .08); padding: 4px 16px 16px; }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .site-nav .btn { margin-top: 14px; }
    .services, .field-row, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-tight { padding-bottom: 60px; }
    .hero { padding: 60px 0 56px; }
    .values { margin-top: 44px; }
    .form-card { padding: 22px 18px; }
    .cta { padding: 30px 22px; }
    .actions .btn, .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ---------- Animation ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 20px) scale(.94); } }
@keyframes float-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -30px); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); } 70% { box-shadow: 0 0 0 9px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes cta-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* page-load entrance (hero + page headings) */
.intro { animation: fade-up .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 110ms); }
.page-head.intro { animation-duration: .6s; }

/* soft moving shapes behind the hero */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-bg span:nth-child(1) { width: 420px; height: 420px; background: #99f6e4; top: -140px; left: -80px; animation: float-a 16s ease-in-out infinite; }
.hero-bg span:nth-child(2) { width: 360px; height: 360px; background: #bae6fd; top: -60px; right: -100px; animation: float-b 19s ease-in-out infinite; }
.hero-bg span:nth-child(3) { width: 260px; height: 260px; background: #ccfbf1; bottom: 40px; left: 45%; animation: float-c 14s ease-in-out infinite; }

.text-shine { background: linear-gradient(90deg, var(--brand) 0%, #14b8a6 25%, var(--brand) 50%, #14b8a6 75%, var(--brand) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #14b8a6; margin-right: 8px; vertical-align: middle; animation: pulse 2s infinite; }
.mark-line { stroke-dasharray: 30; animation: draw 1.2s .2s ease-out both; }

/* scroll reveal - only when JS is running, so content is never hidden without it */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* hover motion */
.btn { transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(15, 118, 110, .28); }
.arrow { display: inline-block; margin-left: 8px; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.values li, .steps li { transition: transform .25s, box-shadow .25s, border-color .25s; }
.values li:hover, .steps li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .08); border-color: var(--brand-line); }
.service { transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .08); }
.icon { transition: background .25s, transform .25s; }
.icon svg { transition: stroke .25s; }
.service:hover .icon { background: var(--brand); transform: rotate(-6deg) scale(1.05); }
.service:hover .icon svg { stroke: var(--white); }
.steps li:hover .step-num { animation: pop .45s ease-out; }
.faq details[open] p { animation: fade-up .35s ease-out; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--brand); }
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.cta { background: linear-gradient(120deg, #0f766e, #0d9488, #115e59, #0f766e); background-size: 300% 300%; animation: cta-shift 12s ease infinite; }
.check-badge { animation: pop .6s .1s ease-out both; }
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }

@media (max-width: 760px) {
    .site-nav a:not(.btn)::after { display: none; }
    .hero-bg span { filter: blur(50px); opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
    .intro, .hero-bg span, .text-shine, .pulse-dot, .mark-line, .cta, .check-badge, .faq details[open] p { animation: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .btn:hover, .service:hover, .values li:hover, .steps li:hover { transform: none; }
}
