:root {
    --ink: #11162b;
    --muted: #5e6175;
    --purple: #7b22c8;
    --purple-dark: #541394;
    --orange: #ff7a16;
    --pink: #e42a9a;
    --blue: #1b93d1;
    --cyan: #24b8b3;
    --surface: #ffffff;
    --soft: #f8f2fb;
    --line: #ece5f2;
    --shadow: 0 18px 45px rgba(41, 18, 74, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbf8fd;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-pad { padding: 64px 0; }
.sr-only, .skip-link {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link:focus {
    width: auto; height: auto; clip: auto; padding: 10px 14px;
    background: var(--purple); color: white; z-index: 50;
}

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid #f1edf5;
    backdrop-filter: blur(12px);
}
.nav-shell {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand strong { display: block; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: .03em; line-height: 1; }
.brand small { display: block; color: var(--ink); font-size: .73rem; letter-spacing: .16em; margin-top: 4px; }
.brand-mark {
    width: 62px; height: 42px; display: grid; place-items: center;
    border-radius: 60% 40% 55% 45%;
    background: conic-gradient(from 210deg, var(--orange), var(--pink), var(--purple), var(--blue), var(--orange));
}
.brand-mark span {
    width: 38px; height: 25px; border-radius: 50%; background: white;
    display: block; position: relative;
}
.brand-mark span::after {
    content: ""; position: absolute; inset: 6px 11px;
    background: radial-gradient(circle, var(--purple) 0 44%, var(--blue) 45% 100%);
    border-radius: 50%;
}
.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
    font-size: .83rem;
    font-weight: 800;
    text-transform: uppercase;
}
.main-nav a { position: relative; padding: 34px 0; }
.main-nav a:hover, .main-nav a:focus { color: var(--purple); }
.main-nav a:first-child::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 23px;
    height: 2px; background: var(--orange);
}
.menu-toggle {
    display: none; margin-left: auto; border: 0; background: white;
    width: 44px; height: 44px; border-radius: 8px; box-shadow: var(--shadow);
}
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 28px; border-radius: 7px;
    font-weight: 900; text-transform: uppercase; font-size: .82rem;
    border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); box-shadow: 0 14px 24px rgba(123,34,200,.18); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.btn-outline { color: var(--purple-dark); background: white; border-color: var(--purple); }
.btn-whatsapp { color: white; background: linear-gradient(135deg, #23b75d, #128c45); }
.btn.full { width: 100%; }
.btn.small { min-height: 38px; padding: 0 20px; font-size: .76rem; }

.hero {
    min-height: 535px;
    padding-top: 46px;
    background:
        radial-gradient(circle at 20% 30%, rgba(123,34,200,.10), transparent 34%),
        linear-gradient(90deg, #fff 0%, #fff8fb 48%, #f5e8db 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.18fr);
    align-items: center;
    gap: 36px;
}
.hero h1 {
    max-width: 560px; margin: 0 0 18px;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 1.08; letter-spacing: 0; color: #10152a;
}
.hero h1 span { color: var(--purple); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 470px; font-size: 1.24rem; margin: 0 0 22px; color: #20243b; }
.check-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--purple); border: 1px solid var(--purple); border-radius: 50%; margin-right: 12px; padding: 0 3px; font-size: .75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-photo {
    min-height: 460px;
    align-self: stretch;
    border-radius: 0 0 0 42px;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.0)),
        url("../images/landing-page-reference.jpeg");
    background-size: 1700px auto;
    background-position: 81% 5%;
    box-shadow: inset 0 -80px 90px rgba(255,255,255,.38);
}

.feature-band { margin-top: -48px; position: relative; z-index: 2; }
.feature-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: white; border-radius: 12px; box-shadow: var(--shadow);
    overflow: hidden; border: 1px solid #f1eaf5;
}
.feature-grid article { padding: 34px 38px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border-right: 0; }
.feature-grid span, .service-grid span { display: block; font-size: 2.55rem; line-height: 1; color: var(--purple); margin-bottom: 14px; }
.feature-grid article:nth-child(2) span { color: var(--blue); }
.feature-grid article:nth-child(3) span { color: var(--pink); }
.feature-grid article:nth-child(4) span { color: var(--orange); }
.feature-grid h2 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 10px; }
.feature-grid p, .service-grid p, .about p, .site-footer p { color: var(--muted); margin: 0; }

.about-grid { display: grid; grid-template-columns: .88fr 1fr; gap: 44px; align-items: center; }
.about-photo {
    min-height: 360px; border-radius: 10px;
    background-image: url("../images/landing-page-reference.jpeg");
    background-size: 1180px auto; background-position: 7% 43%;
    box-shadow: var(--shadow);
}
.eyebrow { color: var(--purple); font-weight: 900; margin: 0 0 10px; }
.center { text-align: center; }
.about h2, .section-title {
    margin: 0 0 18px; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.18;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 26px 0; }
.stats strong { text-align: center; padding: 8px 16px; border-right: 1px solid var(--line); font-size: 1.05rem; }
.stats strong:last-child { border-right: 0; }
.stats span { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; font-weight: 600; }

.services { background: linear-gradient(180deg, #fbf6ff, #fff); }
.section-title { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 26px; }
.service-grid article {
    min-height: 190px; background: white; border: 1px solid #f0e9f4;
    border-radius: 10px; padding: 24px 18px; text-align: center; box-shadow: 0 12px 30px rgba(41,18,74,.06);
}
.service-grid article:nth-child(2) span { color: var(--blue); }
.service-grid article:nth-child(3) span { color: var(--pink); }
.service-grid article:nth-child(4) span { color: var(--orange); }
.service-grid article:nth-child(5) span { color: var(--cyan); }
.service-grid h3 { margin: 0 0 8px; line-height: 1.25; font-size: 1rem; }

.proof { padding-top: 30px; }
.proof-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: start; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial-grid article, .appointment-card {
    background: white; border: 1px solid #f0e9f4; border-radius: 8px; box-shadow: 0 12px 26px rgba(41,18,74,.06);
}
.testimonial-grid article { padding: 22px; min-height: 165px; }
.testimonial-grid b { color: #ffbf1a; letter-spacing: .08em; }
.testimonial-grid p { color: #262a40; font-size: .92rem; }
.appointment-card { padding: 28px; background: #fff7fe; }
.appointment-card h2 { margin: 0; color: var(--purple); font-size: 1.8rem; }
.appointment-card p { color: var(--muted); margin-bottom: 20px; }
.appointment-card .btn + .btn { margin-top: 12px; }

.site-footer { border-top: 1px solid #eee6f3; background: white; padding: 34px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1.15fr; gap: 34px; }
.site-footer h2 { font-size: 1rem; color: var(--purple); margin: 0 0 12px; }
.footer-brand { margin-bottom: 12px; }
.footer-brand .brand-mark { width: 52px; height: 36px; }
.footer-brand strong { font-size: 1.35rem; }
.map-preview {
    height: 82px; border-radius: 8px; margin-bottom: 12px; position: relative; overflow: hidden;
    background:
        linear-gradient(12deg, transparent 46%, rgba(36,184,179,.5) 47% 50%, transparent 51%),
        linear-gradient(-8deg, transparent 42%, rgba(255,122,22,.35) 43% 47%, transparent 48%),
        #d9e7d7;
}
.map-preview span { position: absolute; left: 58%; top: 24px; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: red; transform: rotate(-45deg); }
.copyright { text-align: center; border-top: 1px solid #f0e9f4; margin: 28px auto 0; padding-top: 16px; font-size: .85rem; color: var(--muted); }

@media (max-width: 1040px) {
    .header-cta { display: none; }
    .menu-toggle { display: inline-block; }
    .main-nav {
        position: absolute; top: 88px; left: 16px; right: 16px; display: none;
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px;
        background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px; }
    .main-nav a:first-child::after { display: none; }
    .hero-grid, .about-grid, .proof-grid { grid-template-columns: 1fr; }
    .hero-photo { min-height: 380px; border-radius: 18px; }
    .feature-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(100% - 22px, 1180px); }
    .section-pad { padding: 42px 0; }
    .nav-shell { min-height: 76px; }
    .brand strong { font-size: 1.2rem; }
    .brand small { font-size: .58rem; }
    .brand-mark { width: 46px; height: 32px; }
    .main-nav { top: 76px; }
    .hero { padding-top: 30px; }
    .hero-grid { gap: 24px; }
    .hero h1 { font-size: 2.45rem; }
    .hero-copy > p { font-size: 1.03rem; }
    .hero-actions .btn { width: 100%; }
    .hero-photo { min-height: 300px; background-size: 1180px auto; background-position: 78% 4%; }
    .feature-band { margin-top: 0; }
    .feature-grid, .service-grid, .testimonial-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
    .feature-grid article, .stats strong { border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-grid article:last-child, .stats strong:last-child { border-bottom: 0; }
    .about-photo { min-height: 260px; background-size: 980px auto; }
}
