/* TMG Global – Business Setup landing page */

:root {
    --maroon: #8E1A3D;
    --maroon-dark: #49051E;
    --maroon-deep: #2A0311;
    --gold: #D4A574;
    --gold-light: #E9CBA5;
    --gold-soft: #F7EEE3;
    --ink: #1F1A1C;
    --text: #525252;
    --muted: #7A7275;
    --line: #EADFD8;
    --bg: #FFFFFF;
    --bg-tint: #FBF7F3;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(73, 5, 30, .06);
    --shadow: 0 12px 32px rgba(73, 5, 30, .10);
    --shadow-lg: 0 24px 60px rgba(42, 3, 17, .22);

    /* Same fonts as the original WordPress theme: Inter body, DM Sans headings, Roboto form titles */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-alt: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.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;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: 14px 26px;
    font: 600 15px/1.2 var(--font-body);
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn i { font-size: .95em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .fa-arrow-right { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 8px 20px rgba(142, 26, 61, .25); }
.btn-primary:hover { background: var(--maroon-dark); box-shadow: 0 12px 26px rgba(142, 26, 61, .35); }

.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); box-shadow: 0 8px 20px rgba(212, 165, 116, .35); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(212, 165, 116, .5); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 60px; height: 60px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; height: 44px; padding: 0 12px;
    border-radius: 999px; border: 1px solid var(--line);
    color: var(--maroon); text-decoration: none; font-weight: 600; font-size: 14px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.icon-btn--wa { color: var(--whatsapp-dark); font-size: 20px; padding: 0; }
.icon-btn--wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); }

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section--dark,
.hero {
    color: rgba(255, 255, 255, .85);
    background:
        linear-gradient(115deg, rgba(42, 3, 17, .94) 0%, rgba(73, 5, 30, .86) 45%, rgba(73, 5, 30, .6) 100%),
        var(--bg) center / cover no-repeat;
    background-color: var(--maroon-deep);
}
.section--dark h1, .section--dark h2, .section--dark h3, .hero h1, .hero h2 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.section-head--row > div:first-child { max-width: 720px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--maroon); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-light); }
.section-title { font-family: var(--font-head); font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.section-sub { font-size: 17px; color: var(--muted); }
.section--dark .section-sub { color: rgba(255, 255, 255, .78); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

.check-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; color: var(--ink); font-size: 15px; }
.check-list i { color: var(--maroon); font-size: 13px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--font-head); font-size: clamp(34px, 5vw, 56px); font-weight: 600; margin-bottom: 20px; }
.hero-lead { font-size: 18px; max-width: 580px; color: rgba(255, 255, 255, .85); }
.hero-price { font-size: 18px; color: #fff; margin: 0; }
.hero-price strong { color: var(--gold-light); font-size: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.hero-tags li {
    padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 165, 116, .45); color: #fff;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-buttons--center { justify-content: center; margin: 28px 0 0; }
.hero-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.hero-checks li { display: flex; gap: 10px; align-items: baseline; font-family: var(--font-alt); font-size: 16px; color: #fff; }
.hero-checks i { color: var(--gold); }

.hero-form { padding: 34px 30px; border: none; box-shadow: var(--shadow-lg); position: relative;overflow:hidden; }
.hero-form::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 5px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
}
.form-title { font-family: var(--font-alt); font-weight: 600; font-size: 24px; text-align: center; margin-bottom: 22px; color: var(--ink) !important; }
.form-title span { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--maroon); margin-top: 6px; }

/* ---------- Lead form ---------- */
.lead-form { display: grid; gap: 14px; }
.field { position: relative; }
.field-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.lead-form input,
.lead-form select {
    width: 100%; height: 52px; padding: 0 16px 0 44px;
    font: 15px var(--font-body); color: var(--ink);
    background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    appearance: none; -webkit-appearance: none;
}
.lead-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238E1A3D' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.lead-form select:invalid { color: var(--muted); }
.lead-form input::placeholder { color: var(--muted); }
.lead-form input:focus,
.lead-form select:focus { outline: none; border-color: var(--maroon); background-color: #fff; box-shadow: 0 0 0 4px rgba(142, 26, 61, .12); }
.lead-form .is-invalid { border-color: #C62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .1); }
.lead-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.form-note i { color: var(--gold); margin-right: 4px; }
.form-note a { color: var(--maroon); }
.form-alert { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #FDECEC; color: #B71C1C; font-size: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Process (timeline, matches original layout) ---------- */
.process .section-title { font-weight: 500; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-step { position: relative; text-align: center; padding: 0 6px; }
/* Thin line joining each circle to the next one */
.process-step:not(:last-child)::after {
    content: ''; position: absolute; z-index: 0;
    top: 35px; left: calc(50% + 35px); width: calc(100% + 32px - 70px); height: 1px;
    background: linear-gradient(90deg, var(--line), var(--gold-light), var(--line));
}
.step-num {
    position: relative; z-index: 1;
    display: inline-grid; place-items: center; width: 70px; height: 70px; margin-bottom: 22px;
    font: 500 20px var(--font-head); color: #fff;
    background: var(--maroon-dark); border-radius: 50%;
    box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(73, 5, 30, .25);
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.process-step:hover .step-num {
    transform: translateY(-4px);
    background: var(--maroon);
    box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--gold-light), 0 14px 28px rgba(73, 5, 30, .3);
}
.process-step h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.process-step p { font-size: 15px; color: var(--muted); margin: 0; }
.process-note { margin: 56px 0 0; text-align: center; color: var(--muted); font-size: 16px; }

/* ---------- Setup options ---------- */
.setup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.setup-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.setup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.setup-media { aspect-ratio: 16 / 9; overflow: hidden; }
.setup-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.setup-card:hover .setup-media img { transform: scale(1.06); }
.setup-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.setup-body h3 { font-family: var(--font-head); font-size: 22px; }
.setup-body .check-list { margin-bottom: 16px; }
.best-for { margin-top: auto; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--maroon-dark); font-size: 14px; }
.services-strap { text-align: center; max-width: 820px; margin: 48px auto; font-size: 18px; font-weight: 600; color: var(--ink); }

.cta-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    padding: 40px 44px; border-radius: 22px; color: rgba(255, 255, 255, .85);
    background: radial-gradient(circle at 90% 10%, rgba(212, 165, 116, .35), transparent 50%), linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    box-shadow: var(--shadow-lg);margin-top:60px;
}
.cta-banner h3 { color: #fff; font-family: var(--font-head); font-size: 28px; }
.cta-banner p { margin: 0; max-width: 620px; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-list li {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    border-radius: var(--radius); color: #fff; font-weight: 500;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(4px);
    transition: background-color .2s ease, transform .2s ease;
}
.why-list li:hover { background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.why-list i {
    display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px;
    border-radius: 12px; background: var(--gold); color: var(--maroon-deep);
}

/* ---------- Industries ---------- */
.industry-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.industry-chips li {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
    border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-weight: 600; color: var(--ink);
    transition: border-color .2s ease, transform .2s ease;
}
.industry-chips li:hover { border-color: var(--gold); transform: translateY(-3px); }
.industry-chips i { color: var(--maroon); }
.industry-text { text-align: center; max-width: 720px; margin: 32px auto 0; font-size: 17px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.price-card { padding: 36px 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 20px; min-height: 2.4em; }
.price { margin: 8px 0 0; color: var(--maroon); display: flex; align-items: baseline; gap: 8px; }
.price .currency { font-size: 16px; font-weight: 700; }
.price .amount { font: 700 48px/1 var(--font-head); }
.price-note { font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.price-desc { font-size: 15px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.price-card .check-list { margin-bottom: 26px; flex: 1; }
.price-card--featured {
    background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    border-color: transparent; color: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-lg);
}
.price-card--featured h3,
.price-card--featured .price,
.price-card--featured .check-list li { color: #fff; }
.price-card--featured .price-note { color: rgba(255, 255, 255, .6); }
.price-card--featured .price-desc { border-color: rgba(255, 255, 255, .2); }
.price-card--featured .check-list i { color: var(--gold); }

.bnpl {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-top: 40px; padding: 24px 32px; border-radius: var(--radius);
    background: #fff; border: 1px dashed var(--gold);
}
.bnpl-title { font-weight: 700; color: var(--ink); font-size: 18px; margin: 0; }
.bnpl-sub { margin: 0; color: var(--muted); }
.bnpl-logos { display: flex; align-items: center; gap: 28px; }
.bnpl-logos img { height: 40px; width: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin: 28px auto 0; max-width: 720px; }

/* ---------- License types ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { display: flex; gap: 18px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card p { font-size: 15px; margin: 0; }
.feature-icon {
    display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px;
    background: var(--gold-soft); color: var(--maroon); font-size: 20px;
}

/* ---------- Testimonials ---------- */
.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.slider-btn {
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    border: 1px solid var(--line); background: #fff; color: var(--maroon);
    transition: background-color .2s ease, color .2s ease;
}
.slider-btn:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.testimonial-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 8px 4px 24px; margin: 0 -4px;
    scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
.testimonial { scroll-snap-align: start; margin: 0; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.stars { color: #F4B400; font-size: 14px; display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial blockquote {
    margin: 0 0 22px; font-size: 15px; color: var(--text); flex: 1;
    max-height: 13.2em; overflow-y: auto; padding-right: 6px;
}
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease, border-color .2s ease; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 26px; cursor: pointer; list-style: none;
    font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
    display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: var(--gold-soft); color: var(--maroon); font-size: 13px; transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.faq[open] summary i { transform: rotate(45deg); background: var(--maroon); color: #fff; }
.faq p { padding: 0 26px 22px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list strong { display: block; color: var(--gold-light); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-light); }
.contact-icon {
    display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 165, 116, .45); color: var(--gold);
}
.contact-form { padding: 34px 30px; border: none; box-shadow: var(--shadow-lg); }

/* ---------- Thank you ---------- */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks-inner { text-align: center; }
.thanks-icon {
    display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 24px;
    border-radius: 50%; background: var(--gold); color: var(--maroon-deep); font-size: 34px;
    box-shadow: 0 0 0 12px rgba(212, 165, 116, .18);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-deep); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social-links a:hover { background: var(--gold); color: var(--maroon-deep); transform: translateY(-3px); }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-list { display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 12px; align-items: baseline; }
.footer-list i { color: var(--gold); width: 16px; flex-shrink: 0; }
.footer-list a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-list a:hover { color: var(--gold-light); }
.footer-links a::before { content: '›'; color: var(--gold); margin-right: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; text-align: center; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-bottom a:hover { color: var(--gold-light); }
.disclaimer { max-width: 860px; margin: 0 auto 12px !important; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 88px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--maroon); }
.legal-updated { color: var(--muted); font-size: 14px; }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup-overlay { position: absolute; inset: 0; background: rgba(20, 2, 9, .7); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.popup-card {
    position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
    background: #fff; border-radius: 20px; padding: 40px 32px 32px; box-shadow: var(--shadow-lg);
    animation: popIn .3s cubic-bezier(.2, .9, .3, 1.2);
}
.popup-card::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 5px;
    border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--maroon), var(--gold));
}
.popup-title { font-family: var(--font-alt); font-weight: 600; font-size: 24px; text-align: center; margin-bottom: 22px; padding: 0 20px; }
.popup-title span { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--maroon); margin-top: 6px; }
.popup-close {
    position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
    border: none; background: var(--bg-tint); color: var(--ink); cursor: pointer; font-size: 16px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.popup-close:hover { background: var(--maroon); color: #fff; transform: rotate(90deg); }
body.popup-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: flex; align-items: center; gap: 10px;
    height: 60px; min-width: 60px; padding: 0 18px;
    border-radius: 999px; background: var(--whatsapp); color: #fff; text-decoration: none;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    transition: transform .2s ease, background-color .2s ease;
}
.whatsapp-float::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: pulse 2.2s infinite; pointer-events: none;
}
.whatsapp-float i { font-size: 30px; }
.whatsapp-float-label { font-weight: 700; font-size: 15px; }
.whatsapp-float:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .process-step:not(:last-child)::after { display: none; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .hero { padding: 56px 0 72px; }
    .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .setup-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .price-card h3 { min-height: 0; }
    .cta-banner { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .icon-btn-label { display: none; }
    .icon-btn { padding: 0; }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .brand img { width: 50px; height: 50px; }
    .header-actions .btn-sm { padding: 10px 14px; font-size: 13px; }
    .hero-checks { grid-template-columns: 1fr; }
    .hero-buttons .btn { flex: 1; }
    .hero-form, .contact-form { padding: 28px 20px; }
    .process-grid, .feature-grid { grid-template-columns: 1fr; }
    .testimonial-track { grid-auto-columns: 88%; }
    .bnpl { flex-direction: column; text-align: center; padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .popup-card { padding: 36px 20px 24px; }
    .whatsapp-float { right: 16px; bottom: 16px; height: 56px; min-width: 56px; padding: 0; justify-content: center; }
    .whatsapp-float-label { display: none; }
}
