/* ==========================================================================
   SEGURO GMM – NOEL · Oaxaca
   Minimal editorial · Outfit · Monochromatic · Wide layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600&display=swap');

/* --- Tokens --- */
:root {
    --text: #111;
    --text-secondary: #555;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f9f9f8;
    --border: #e8e8e8;
    --wa: #25D366;
    --wa-hover: #1eba58;
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1080px;
    --nav-h: 56px;
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--text-secondary);
}

/* --- Utilities --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    height: 44px;
    width: auto;
}

.nav__phone {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav__phone:hover {
    color: var(--text);
}

/* ==========================================================================
   HERO — 2 columns on desktop
   ========================================================================== */
.hero {
    padding: calc(var(--nav-h) + 56px) 0 48px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    max-width: 580px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.hero__endorsement {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.hero__endorsement img {
    height: 16px;
    width: auto;
    opacity: 0.4;
}

.hero__photo {
    width: 100%;
    max-width: 380px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--wa);
    color: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.btn-wa:hover {
    background: var(--wa-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-wa svg {
    flex-shrink: 0;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--text);
    color: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-submit:hover {
    background: #333;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}

.section--alt {
    background: var(--bg-alt);
}

.section h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section__intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 620px;
}

/* --- Costs — 2×2 grid on desktop --- */
.costs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 24px 0 20px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cost-item:last-child {
    border-bottom: none;
}

.costs__label {
    color: var(--text-secondary);
    font-size: 16px;
}

.costs__amount {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

/* --- Coverage list --- */
.coverage-list {
    margin: 24px 0 28px;
    padding-left: 0;
    list-style: none;
    columns: 1;
}

.coverage-list li {
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    color: var(--text);
    font-size: 16px;
}

.coverage-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* --- Fiscal note --- */
.fiscal-note {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-left: 2px solid var(--border);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
}

.fiscal-note strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 4px;
}

/* --- Benefits — 2×2 grid on desktop --- */
.benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
}

.benefit {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.benefit:last-child {
    border-bottom: none;
}

.benefit h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Team photo --- */



/* --- Steps — horizontal on desktop --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 24px 0;
}

.step {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step__number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

/* --- Testimonial (single blockquote) --- */
.testimonial {
    margin: 24px 0;
    padding: 0;
    border: none;
}

.testimonial blockquote {
    font-size: 21px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 16px;
    padding: 0;
    border: none;
    max-width: 620px;
}

.testimonial blockquote::before {
    content: '\201C';
}

.testimonial blockquote::after {
    content: '\201D';
}

.testimonial cite {
    font-style: normal;
    font-size: 14px;
    color: var(--text-muted);
    display: block;
}

/* --- FAQ --- */
.faq {
    margin-top: 16px;
    max-width: 720px;
}

.faq details {
    border-bottom: 1px solid var(--border);
}

.faq details:first-child {
    border-top: 1px solid var(--border);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    font-weight: 400;
    font-size: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: '\2212';
}

.faq .faq__answer {
    padding-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- CTA / Form — 2 columns on desktop --- */
.cta__text {
    text-align: center;
}

/* (Contact form styles removed) */

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer__name {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.footer address {
    font-style: normal;
    margin-bottom: 16px;
}

.footer a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer a:hover {
    color: var(--text-secondary);
}

.footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer__copy {
    font-size: 12px;
    color: #ccc;
}

.footer__logo {
    height: 22px;
    width: auto;
    opacity: 0.3;
    margin-bottom: 16px;
}

/* ==========================================================================
   FLOATING WA BUTTON
   ========================================================================== */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wa);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.15s, transform 0.15s;
}

.wa-float:hover {
    background: var(--wa-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE — tablet (640px+)
   ========================================================================== */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 42px;
    }

    .section h2 {
        font-size: 30px;
    }

    .coverage-list {
        columns: 2;
        column-gap: 32px;
    }

    .costs {
        grid-template-columns: 1fr 1fr;
        gap: 0 40px;
    }

    .cost-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        gap: 0 40px;
    }

    .benefit:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* ==========================================================================
   RESPONSIVE — desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .hero {
        padding: calc(var(--nav-h) + 80px) 0 64px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__grid {
        grid-template-columns: 1fr 380px;
        gap: 64px;
    }

    .hero__photo {
        max-width: 380px;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: 32px;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .step {
        padding: 0 24px 0 0;
        border-bottom: none;
        border-right: 1px solid var(--border);
    }

    .step:last-child {
        border-right: none;
        padding-right: 0;
    }

    .step:first-child {
        padding-left: 0;
    }

    /* hide mobile-only divider on desktop (removed) */

    .testimonial blockquote {
        font-size: 24px;
    }
}

/* --- Focus --- */
:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px;
}