/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--slate-700);
    background: var(--slate-50);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ───────────────────────────────── */
:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,.07), 0 2px 6px rgba(15,23,42,.05);
    --shadow-lg: 0 12px 40px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.06);
    --shadow-xl: 0 20px 60px rgba(15,23,42,.12), 0 8px 20px rgba(15,23,42,.08);

    --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Utilities ───────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-teal { color: var(--teal-600); }

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--teal-600); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-teal {
    background: var(--teal-600); color: #fff;
    border-color: var(--teal-600);
}
.btn-teal:hover { background: var(--teal-700); border-color: var(--teal-700); box-shadow: var(--shadow-md); }

.btn-outline-slate {
    background: transparent; color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline-slate:hover { border-color: var(--teal-500); color: var(--teal-700); background: var(--teal-50); }

.btn-white {
    background: #fff; color: var(--teal-700);
    border-color: #fff;
}
.btn-white:hover { background: var(--teal-50); box-shadow: var(--shadow-lg); }

.btn-ghost-white {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; padding: 15px 24px; font-size: 1rem; }

/* ── Section Tags ────────────────────────────────────── */
.section { padding: 96px 0; }
.section-tag {
    display: inline-block;
    font-size: .8rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--teal-600);
    background: var(--teal-50); border: 1px solid var(--teal-100);
    padding: 5px 14px; border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700; color: var(--slate-900);
    line-height: 1.2; margin-bottom: 16px;
}
.section-desc {
    font-size: 1.1rem; color: var(--slate-500);
    max-width: 620px; margin: 0 auto; line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

/* ── Navigation ──────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(248,250,252,.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem; font-weight: 700; color: var(--slate-800);
}
.logo-accent { color: var(--teal-600); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: .925rem; font-weight: 500; color: var(--slate-600);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal-600); }
.nav-toggle {
    display: none; background: none; border: none;
    width: 40px; height: 40px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 2px;
    background: var(--slate-700); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger { position: relative; margin: 0 auto; }
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-50) 50%, var(--slate-100) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(20,184,166,.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: -150px; left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(20,184,166,.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal-100); color: var(--teal-800);
    font-size: .8rem; font-weight: 700; letter-spacing: .05em;
    padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700; color: var(--slate-900);
    line-height: 1.15; margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.125rem; color: var(--slate-500);
    line-height: 1.75; margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .875rem; font-weight: 500; color: var(--slate-600);
}

/* Hero Image */
.hero-visual { position: relative; }
.hero-img-wrapper {
    position: relative; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-xl);
    aspect-ratio: 560/640;
}
.hero-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.hero-img-accent {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13,148,136,.15) 100%);
    border-radius: var(--radius-xl); pointer-events: none;
}
.hero-float-card {
    position: absolute; bottom: -20px; left: -20px;
    background: #fff; border-radius: var(--radius-lg);
    padding: 18px 24px; display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-lg); z-index: 2;
}
.float-card-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--teal-100); display: flex; align-items: center;
    justify-content: center; color: var(--teal-700); flex-shrink: 0;
}
.float-card-label { font-size: .75rem; color: var(--slate-400); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.float-card-value { font-family: 'Fredoka', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--slate-800); }

/* ── Services ────────────────────────────────────────── */
.services { background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 32px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-200);
}
.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--teal-100); color: var(--teal-700);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem; font-weight: 600; color: var(--slate-800);
    margin-bottom: 10px;
}
.service-desc { font-size: .95rem; color: var(--slate-500); line-height: 1.7; }

/* ── How It Works ────────────────────────────────────── */
.how-it-works { background: var(--slate-50); }
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px; position: relative;
}
.step-card { text-align: center; position: relative; }
.step-number {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff; font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(13,148,136,.25);
}
.step-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem; font-weight: 600; color: var(--slate-800);
    margin-bottom: 10px;
}
.step-desc { font-size: .95rem; color: var(--slate-500); line-height: 1.7; max-width: 280px; margin: 0 auto; }
.step-connector {
    display: none;
}

/* ── About ───────────────────────────────────────────── */
.about { background: #fff; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.about-visual { position: relative; }
.about-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover;
}
.about-img-decor {
    position: absolute; bottom: -16px; right: -16px;
    width: 120px; height: 120px; border-radius: var(--radius-xl);
    background: var(--teal-200); z-index: -1;
}
.about-content .section-tag { margin-bottom: 16px; }
.about-text {
    font-size: 1.025rem; color: var(--slate-500);
    line-height: 1.8; margin-bottom: 16px;
}
.about-features { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: .975rem; font-weight: 500; color: var(--slate-700);
}
.about-content .btn { margin-top: 8px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { background: var(--slate-50); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid var(--slate-100);
    border-radius: var(--radius-md); margin-bottom: 12px;
    overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: var(--teal-200); }
.faq-item.active { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.faq-question {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
    padding: 20px 24px; background: none; border: none;
    font-size: 1rem; font-weight: 600; color: var(--slate-800);
    text-align: left;
}
.faq-question:hover { color: var(--teal-700); }
.faq-chevron {
    flex-shrink: 0; color: var(--slate-400);
    transition: transform var(--transition), color var(--transition);
}
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--teal-600); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: .95rem; color: var(--slate-500); line-height: 1.75;
}
.faq-answer a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--teal-800); }
.faq-item.active .faq-answer { max-height: 300px; }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%); }
.cta-card {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px;
}
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 500px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Contact ─────────────────────────────────────────── */
.contact { background: #fff; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: start;
}
.contact-desc { font-size: 1.025rem; color: var(--slate-500); line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--teal-50); color: var(--teal-600);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-400); margin-bottom: 2px; }
.contact-detail-value { font-size: 1rem; font-weight: 600; color: var(--slate-800); line-height: 1.5; }
.contact-detail-value a { color: inherit; }
.contact-detail-value a:hover { color: var(--teal-600); }
.map-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .9rem; font-weight: 600; color: var(--teal-600);
    border: 1px solid var(--teal-200); border-radius: var(--radius-md);
    padding: 10px 20px; transition: background var(--transition), color var(--transition);
}
.map-link:hover { background: var(--teal-50); color: var(--teal-800); }

/* Form */
.contact-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-xl); padding: 40px;
}
.form-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem; font-weight: 700; color: var(--slate-800);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: .85rem; font-weight: 600;
    color: var(--slate-700); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: inherit; font-size: .95rem; color: var(--slate-800);
    background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding: 14px 18px;
    background: var(--teal-50); border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    font-size: .925rem; font-weight: 500; color: var(--teal-800);
}

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--slate-900); color: rgba(255,255,255,.65); padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: .925rem; line-height: 1.75; margin-top: 14px; max-width: 300px; }
.footer-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem; font-weight: 600; color: #fff;
    margin-bottom: 18px;
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a {
    font-size: .9rem; color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--teal-400); }
.footer-contact li { font-size: .9rem; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}
.footer-bottom p { font-size: .825rem; color: rgba(255,255,255,.35); text-align: center; }

/* ── Scroll Reveal (progressive enhancement) ─────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .hero-img-wrapper { aspect-ratio: 480/520; }
    .about-grid { gap: 40px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(248,250,252,.97);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        flex-direction: column; padding: 24px;
        gap: 20px; border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%); opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0); opacity: 1;
        pointer-events: all;
    }
    .nav-toggle { display: block; }
    .hero { padding: 100px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .hero-img-wrapper { aspect-ratio: 4/3; max-width: 480px; margin: 0 auto; }
    .hero-float-card { bottom: -12px; right: 12px; left: auto; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .section { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .step-connector { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .about-visual img { height: 320px; }
    .about-img-decor { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero { padding: 90px 0 48px; }
    .hero-title { font-size: 2rem; }
    .hero-trust { flex-direction: column; gap: 12px; }
    .contact-form-wrapper { padding: 24px; }
}
