/* Maki Wi-Fi · public site. Its own look, distinct from vatenia.com: white page (dark theme
   too), rounded shapes, pill buttons, sentence-case titles, ink panels and amber accents.
   Self-hosted Plus Jakarta Sans (latin, ~12 KB per weight), no external requests. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jakarta-400-GbIuNS8.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jakarta-500-ozKAbTw.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/jakarta-600-RxUjbVR.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/jakarta-700-fnZLgKa.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/jakarta-800-oYe_vzX.woff2") format("woff2"); }

:root {
    color-scheme: light;
    /* Page: white like GitHub, light grey for alternate sections, thin grey borders */
    --bg: #ffffff;
    --bg-tint: #f6f8fa;
    --surface: #ffffff;
    --line: #d8dee4;
    --header-bg: rgb(255 255 255 / 92%);
    /* Dark blocks (featured card, demo panel, phone, step numbers) */
    --panel: #121c2c;
    --panel-2: #1c2a40;
    --panel-line: transparent;
    --on-panel: #e6e9ef;
    --on-panel-muted: #a9b2c1;
    /* Solid buttons (ink on light, light on dark) */
    --fill: #121c2c;
    --fill-hover: #26364f;
    --on-fill: #ffffff;
    /* Accent: the lemur's amber eyes. Fills use --amber; text uses --amber-text (contrast ≥ 5:1). */
    --amber: #f5a524;
    --amber-hover: #e69512;
    --amber-soft: #fdecc8;
    --amber-text: #8a5100;
    --on-amber: #121c2c;
    --whatsapp: #128c4a;
    --whatsapp-dark: #0d6b38;
    --ink: #121c2c;
    --text: #3d4450;
    --muted: #59636e;
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 32px;
    --shadow: 0 1px 2px rgb(18 28 44 / 5%);
    --shadow-lg: 0 2px 4px rgb(18 28 44 / 5%), 0 14px 36px rgb(18 28 44 / 10%);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1160px;
}
/* Dark theme: the visitor's system setting, or their choice (header button, data-theme). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0d1117; --bg-tint: #010409; --surface: #151b23; --line: #30363d; --header-bg: rgb(13 17 23 / 88%);
        --panel: #1b2230; --panel-2: #232c3d; --panel-line: #30363d; --on-panel: #e6edf3; --on-panel-muted: #9198a1;
        --fill: #f0f6fc; --fill-hover: #d1d9e0; --on-fill: #0d1117;
        --amber-soft: rgb(245 165 36 / 14%); --amber-text: #f5b544;
        --ink: #f0f6fc; --text: #c9d1d9; --muted: #9198a1;
        --shadow: none; --shadow-lg: 0 14px 36px rgb(0 0 0 / 40%);
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d1117; --bg-tint: #010409; --surface: #151b23; --line: #30363d; --header-bg: rgb(13 17 23 / 88%);
    --panel: #1b2230; --panel-2: #232c3d; --panel-line: #30363d; --on-panel: #e6edf3; --on-panel-muted: #9198a1;
    --fill: #f0f6fc; --fill-hover: #d1d9e0; --on-fill: #0d1117;
    --amber-soft: rgb(245 165 36 / 14%); --amber-text: #f5b544;
    --ink: #f0f6fc; --text: #c9d1d9; --muted: #9198a1;
    --shadow: none; --shadow-lg: 0 14px 36px rgb(0 0 0 / 40%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--amber-text); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; vertical-align: -0.2em; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fill); color: var(--on-fill); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* Buttons: pills ------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn-sm { padding: .6em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--on-amber); box-shadow: 0 6px 16px rgb(245 165 36 / 35%); }
.btn-primary:hover { background: var(--amber-hover); color: var(--on-amber); }
.btn-dark { background: var(--fill); color: var(--on-fill); }
.btn-dark:hover { background: var(--fill-hover); color: var(--on-fill); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-outline-light { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / 8%); }

/* Header: cream bar, nav links in a white pill ----------------------------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand-sub { font-weight: 600; color: var(--amber-text); margin-left: .2em; }
.logo-mark { width: 40px; height: 40px; }

.main-nav { margin: 0 auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .9rem; text-decoration: none; }
.main-nav a:hover { color: var(--ink); background: var(--bg-tint); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-grid; place-items: center; width: 42px; height: 42px; font-weight: 700; font-size: .8rem; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; }
.lang-switch:hover { color: var(--ink); border-color: var(--amber); }
/* Light/dark switch: shows the theme you would switch to */
.theme-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.theme-toggle:hover { border-color: var(--amber); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
/* "Sign in" to the Maki Wi-Fi app: text link on desktop, round icon on phones */
.sign-in { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.sign-in:hover { color: var(--ink); background: var(--surface); }
.sign-in .icon { width: 18px; height: 18px; }
.mobile-sign-in { margin-bottom: 8px; }
.footer-sign-in a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-sign-in .icon { color: var(--amber-text); }
@media (max-width: 980px) {
    .sign-in { width: 42px; padding: 0; justify-content: center; background: var(--surface); border: 1px solid var(--line); }
    .sign-in span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.header-cta { background: var(--fill); color: var(--on-fill); box-shadow: none; }
.header-cta:hover { background: var(--fill-hover); color: var(--on-fill); }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .icon { width: 22px; height: 22px; }
.mobile-nav .icon-close, .mobile-nav[open] .icon-open { display: none; }
.mobile-nav[open] .icon-close { display: block; }
.mobile-nav-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(86vw, 330px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; }
.mobile-nav-panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav-panel a:not(.btn) { display: block; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-nav-panel a:not(.btn):hover { background: var(--bg-tint); }

/* Small phones: four round buttons and the name on one line */
@media (max-width: 440px) {
    .header-inner { gap: 10px; }
    .header-actions { gap: 6px; }
    .brand { gap: 8px; }
    .brand-name { font-size: 1.15rem; }
    .logo-mark { width: 34px; height: 34px; }
    .theme-toggle, .lang-switch, .mobile-nav summary, .sign-in { width: 38px !important; height: 38px; }
@media (max-width: 350px) {
    .site-header .container { padding: 0 12px; }
    .header-actions { gap: 4px; }
    .theme-toggle, .lang-switch, .mobile-nav summary, .sign-in { width: 34px !important; height: 34px !important; }
    .brand-name { font-size: 1.05rem; }
}
}
@media (max-width: 980px) {
    .main-nav, .header-cta { display: none; }
    .mobile-nav { display: block; }
    .header-actions { margin-left: auto; }
}

/* Small labels -------------------------------------------------------------- */

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text); font-size: .82rem; font-weight: 700; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* Hero: light, phone on an amber tile --------------------------------------- */

.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 1.1rem; line-height: 1.7; max-width: 56ch; color: var(--text); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .9rem; color: var(--muted); }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list .icon { color: var(--amber-text); }

/* Hero illustration: a phone showing a guest login page */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 36px 0; }
.hero-visual::before { content: ""; position: absolute; inset: 0 6% 0 6%; background: var(--amber); border-radius: 48px; transform: rotate(-4deg); }
.phone { position: relative; width: 280px; padding: 11px; background: #121c2c; border-radius: 38px; box-shadow: 0 30px 60px rgb(18 28 44 / 30%); }
/* The drawn phone and ticket show the (light) login page in both themes. */
.phone-screen, .voucher { color-scheme: light; --ink: #121c2c; --text: #3d4450; --muted: #59636e; --line: #d8dee4; --bg-tint: #f6f8fa;
    --surface: #fff; --fill: #121c2c; --on-fill: #fff; --amber-text: #8a5100; --amber-soft: #fdecc8; }
.phone-screen { background: #fff; border-radius: 28px; padding: 30px 22px 18px; text-align: center; color: var(--text); }
.portal-logo { width: 54px; height: 54px; margin: 0 auto 12px; display: block; }
.portal-venue { margin: 0; font-size: .72rem; font-weight: 600; color: var(--muted); }
.portal-title { margin: 2px 0 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.portal-sub { margin: 0 0 18px; font-size: .82rem; color: var(--muted); }
.portal-tabs { display: flex; gap: 6px; margin-bottom: 12px; font-size: .76rem; font-weight: 700; }
.portal-tabs span { flex: 1; padding: 6px 0; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; }
.portal-tabs .is-active { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.portal-field { text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 14px; margin-bottom: 12px; }
.portal-field small { display: block; font-size: .66rem; color: var(--muted); }
.portal-field span { font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.portal-button { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: .86rem; padding: 11px; border-radius: 999px; }
.portal-powered { margin: 16px 0 0; font-size: .66rem; color: var(--muted); }

.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg); color: var(--ink); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.chip .icon { color: var(--amber-text); }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgb(18 140 74 / 18%); }
.chip-plan { top: 16%; left: -2%; }
.chip-online { bottom: 14%; right: 0; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
    .chip-plan { left: 0; top: 4%; }
    .chip-online { right: 0; bottom: 4%; }
}

/* Sections ------------------------------------------------------------------ */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tint { background: var(--bg-tint); }
/* Title on the left, intro text on the right */
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px 48px; align-items: end; margin-bottom: 44px; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Features: bento grid, the first two cards span two columns --------------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.feature-card h3 { margin-top: 18px; }
.feature-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-text); }
.feature-icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.feature-card.is-wide { grid-column: span 2; padding: 34px 34px; }
.feature-card.is-wide h3 { font-size: 1.35rem; }
.feature-card.is-wide p { font-size: 1rem; max-width: 46ch; }
.feature-card.is-wide:first-child { display: flex; flex-direction: column; background: var(--panel); border-color: var(--panel-line); }
.feature-card.is-wide:first-child h3 { color: #fff; }
.feature-card.is-wide:first-child p { color: var(--on-panel-muted); }
.feature-card.is-wide:first-child .feature-icon { background: var(--amber); color: var(--on-amber); }
.feature-card.is-wide:nth-child(2) { background: var(--amber-soft); border-color: transparent; box-shadow: none; }
.feature-card.is-wide:nth-child(2) .feature-icon { background: var(--surface); }
.feature-card.is-wide:nth-child(2) p { color: var(--text); }
/* Wide screens: the first card is also two rows tall, so 8 cards fill 3 full rows */
@media (min-width: 1025px) { .feature-card.is-wide:first-child { grid-row: span 2; } }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } }

/* Printed-voucher illustration in the first feature card */
.voucher { display: flex; align-items: center; gap: 16px; margin-top: auto; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm); color: var(--ink); transform: rotate(-2deg); border-left: 6px dashed var(--amber); }
.feature-card .voucher { margin-top: 28px; }
@media (min-width: 1025px) { .feature-card .voucher { margin-top: auto; } .feature-card.is-wide:first-child p { margin-bottom: 28px; } }
.voucher-logo { width: 40px; height: 40px; flex-shrink: 0; }
.voucher small { display: block; font-size: .7rem; color: var(--muted); }
.voucher strong { font-size: 1.1rem; letter-spacing: .12em; }
.voucher span { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text); font-size: .78rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .voucher { flex-wrap: wrap; } .voucher span { margin-left: 0; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .feature-card.is-wide { grid-column: auto; padding: 28px 26px; } }

/* Audiences ----------------------------------------------------------------- */

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.audience-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--panel); color: var(--amber); margin-bottom: 22px; }
.audience-icon .icon { width: 28px; height: 28px; stroke-width: 1.7; }

/* How it works: a timeline joined by one line ------------------------------- */

.timeline { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 16px); }
.step-card { position: relative; }
.step-number { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--panel); border: 1px solid var(--panel-line); color: var(--amber); font-weight: 800; font-size: 1rem; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--bg); }
.step-card p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
    .timeline { grid-template-columns: 1fr; gap: 26px; }
    .timeline::before { display: none; }
    .step-card:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: -26px; width: 2px; background: repeating-linear-gradient(180deg, var(--amber) 0 8px, transparent 8px 16px); }
    .step-card { padding-left: 78px; min-height: 54px; }
    .step-number { position: absolute; left: 0; top: 0; }
}

/* Pricing ------------------------------------------------------------------- */

.offer-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 14px 22px; background: var(--amber); border-radius: 999px; color: var(--on-amber); font-weight: 700; font-size: .95rem; }
.offer-banner .icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .offer-banner { border-radius: var(--radius); align-items: flex-start; } }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan-audience { color: var(--muted); font-size: .9rem; line-height: 1.5; min-height: 3em; margin-bottom: 20px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 480px; } .plan-audience { min-height: 0; } }
.plan-price { margin: 0; color: var(--ink); }
.plan-price strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-size: .92rem; }
.plan-setup { margin: 4px 0 0; font-size: .88rem; color: var(--amber-text); font-weight: 600; }
.plan-features { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; border-top: 1px dashed var(--line); display: grid; gap: 10px; font-size: .94rem; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; align-items: baseline; }
.plan-features .icon { color: var(--amber-text); width: 1em; height: 1em; stroke-width: 3; }
.plan-card.is-featured { background: var(--panel); border-color: var(--panel-line); color: var(--on-panel); box-shadow: var(--shadow-lg); }
.plan-card.is-featured h3, .plan-card.is-featured .plan-price { color: #fff; }
.plan-card.is-featured .plan-audience, .plan-card.is-featured .plan-price span { color: var(--on-panel-muted); }
.plan-card.is-featured .plan-setup, .plan-card.is-featured .plan-features .icon { color: var(--amber); }
.plan-card.is-featured .plan-features { border-color: rgb(255 255 255 / 16%); }
/* Dark theme: every card is dark, so the featured plan is outlined in amber instead. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .plan-card.is-featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 18px 44px rgb(245 165 36 / 12%); }
}
:root[data-theme="dark"] .plan-card.is-featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 18px 44px rgb(245 165 36 / 12%); }

.addons-title { margin: 48px 0 16px; font-size: 1.25rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 16px 26px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .82rem; font-weight: 700; color: var(--muted); }
.price-table tbody th { font-weight: 700; color: var(--ink); }
.price-table td { white-space: nowrap; color: var(--ink); font-weight: 700; }
.price-table small { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); white-space: normal; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.note { color: var(--muted); font-size: .9rem; max-width: 80ch; }
@media (max-width: 560px) {
    .price-table { min-width: 0; }
    .price-table th, .price-table td { padding: 12px 14px; }
    .price-table td { white-space: normal; }
}

/* Testimonials -------------------------------------------------------------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testimonial-quote-icon { color: var(--amber-text); width: 30px; height: 30px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; color: var(--ink); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--panel); color: var(--amber); font-weight: 800; }
.testimonial strong { display: block; color: var(--ink); font-weight: 700; }
.testimonial small { color: var(--muted); }

/* Demo request: a rounded ink panel ----------------------------------------- */

.cta-section { padding: clamp(48px, 6vw, 80px) 0; }
.cta-panel { position: relative; overflow: hidden; border: 1px solid var(--panel-line); display: grid; grid-template-columns: 1.3fr auto; gap: 32px 48px; align-items: center; padding: clamp(36px, 5vw, 60px); background: var(--panel); color: var(--on-panel); border-radius: var(--radius-lg); }
.cta-panel h2 { color: #fff; }
.cta-copy { position: relative; z-index: 1; }
.cta-text { color: var(--on-panel-muted); font-size: 1.05rem; margin: 0 0 22px; max-width: 54ch; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; }
.cta-contact a, .cta-contact span { color: var(--on-panel); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta-contact a:hover { color: #fff; }
.cta-contact .icon { color: var(--amber); }
/* The lemur peeks from the bottom-right corner */
.cta-mark { position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px; opacity: .07; transform: rotate(-12deg); pointer-events: none; }
@media (max-width: 800px) { .cta-panel { grid-template-columns: 1fr; } }

/* Footer: light ------------------------------------------------------------- */

.site-footer { padding: clamp(40px, 5vw, 64px) 0 28px; font-size: .93rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand p { color: var(--muted); max-width: 36ch; margin-top: 14px; }
.footer-product a { display: inline-block; padding: 6px 0; color: var(--ink); font-weight: 700; }
.footer-title { font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer-links .icon { color: var(--amber-text); }
.footer-links a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 700; }
.footer-social a:hover { border-color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp button -------------------------------------------------- */

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--whatsapp); color: #fff; font-weight: 700; text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgb(18 140 74 / 40%); }
.whatsapp-float:hover { background: var(--whatsapp-dark); color: #fff; }
.whatsapp-float .icon { width: 22px; height: 22px; }
@media (max-width: 560px) {
    .whatsapp-float { padding: 15px; }
    .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Error page ---------------------------------------------------------------- */

.page-header { padding: clamp(56px, 8vw, 110px) 0; }
.page-header .lead { margin-inline: auto; }
.page-header .hero-actions { justify-content: center; }
.error-code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0 0 12px; color: var(--amber); }

/* Phones: full-width stacked buttons */
@media (max-width: 560px) {
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .audience-card { transition: none; }
    .audience-card:hover { transform: none; }
}
