/* ============================================================
   RESVIA — PUBLIC SITE DESIGN SYSTEM
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

/* ── Variables ── */
:root {
    --brand-dark:    #0f172a;
    --brand-mid:     #1e293b;
    --accent:        #e11d48;
    --accent-soft:   #fff1f2;
    --accent-hover:  #be123c;
    --warm-bg:       #faf7f2;
    --bg:            #f8f9fb;
    --card:          #ffffff;
    --text:          #0f172a;
    --text-2:        #475569;
    --muted:         #64748b;
    --border:        rgba(0,0,0,0.07);
    --border-solid:  #e2e8f0;
    --primary:       #0f172a;
    --primary-contrast: #ffffff;
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:     0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg:     0 20px 48px rgba(0,0,0,0.1);
    --radius:        16px;
    --radius-sm:     10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
* { box-sizing: border-box; }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

a { color: inherit; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248,249,251,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand {
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    color: var(--brand-dark);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
}

.site-nav a:hover { color: var(--text); }

.site-nav a.active {
    color: var(--accent);
    font-weight: 600;
}

/* ── Buttons ── */
.header-actions,
.hero-actions,
.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all .15s ease;
    border: none;
    cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,0.2);
}

.btn-primary:hover {
    background: var(--brand-mid);
    box-shadow: 0 6px 20px rgba(15,23,42,0.25);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1.5px solid var(--border-solid);
}

.btn-secondary:hover {
    background: #f8f9fb;
    border-color: #cbd5e1;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(225,29,72,0.2);
}

.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(225,29,72,0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-lg {
    height: 50px;
    padding: 0 24px;
    font-size: 15px;
}

/* ── Hero — dark full-bleed ── */
.hero {
    background: var(--brand-dark);
    color: #fff;
    padding: 88px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 58px;
    line-height: 1.02;
    color: #fff;
}

.accent-text {
    color: var(--accent);
}

.hero-text {
    margin: 0 0 28px;
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.proof-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.proof-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.proof-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
}

/* ── Hero panel card (the checklist card) ── */
.hero-panel-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    color: var(--text);
}

.hero-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.panel-muted {
    color: var(--muted);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.hero-checklist {
    display: grid;
    gap: 10px;
}

.hero-check-item {
    padding: 13px 14px 13px 42px;
    background: #f8f9fb;
    border-radius: var(--radius-sm);
    position: relative;
    font-size: 14px;
    color: #374151;
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
}

.hero-check-item::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* ── Sections ── */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--warm-bg);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 48px 0;
}
.section-faq {
    padding: 56px 0;
}

.section-dark {
    background: var(--brand-dark);
    color: #fff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-heading .eyebrow {
    background: var(--accent-soft);
    color: var(--accent);
}

.section-dark .section-heading .eyebrow {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    font-family: 'Inter', sans-serif;
}

/* ── Feature cards ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.feature-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 18px;
    flex-shrink: 0;
}

.feature-icon-wrap svg {
    width: 22px;
    height: 22px;
}

/* ── Steps / How it works ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
}

.step-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* ── Contact / CTA panel ── */
.feature-card,
.step-card,
.pricing-preview-card,
.contact-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.pricing-preview-card,
.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 36px;
}

.pricing-preview-card h3,
.contact-panel h2 {
    margin: 0 0 8px;
}

.pricing-preview-card p,
.contact-panel p {
    margin: 0;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

/* ── Page-level hero (features, pricing pages) ── */
.page-hero {
    padding: 52px 0 64px;
    background: var(--brand-dark);
    color: #fff;
}

.page-hero .eyebrow {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.narrow { max-width: 840px; }

.page-hero h1 {
    margin: 0 0 18px;
    font-size: 50px;
    line-height: 1.06;
    color: #fff;
}

.page-intro {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    max-width: 720px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* ── Feature detail cards (features page) ── */
.stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-detail-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-detail-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-detail-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.feature-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

.feature-list li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 14px;
    color: var(--text-2);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
}

.feature-list li + li {
    border-top: 1px solid var(--border);
}

/* ── Pricing ── */
.pricing-section-pull {
    margin-top: -48px;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-featured {
    border: 2px solid var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(225,29,72,0.12);
}

.pricing-tier {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 5px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}

.pricing-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.pricing-price {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -2px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.pricing-price .pub-price-currency {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-top: 6px;
    color: inherit;
}

.pricing-price .pub-price-val {
    /* the big number */
}

.pricing-price .pub-price-period {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
    margin-left: 3px;
    letter-spacing: 0;
    align-self: flex-end;
    padding-bottom: 6px;
}

/* Also handle the old span style for enterprise/fallback */
.pricing-price span:not(.pub-price-currency):not(.pub-price-val):not(.pub-price-period) {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
    margin-left: 2px;
}

.pub-price-subline {
    min-height: 20px;
    margin-bottom: 12px;
}

.pricing-copy {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.pricing-btn {
    margin-top: auto;
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    font-family: 'Inter', sans-serif;
}

/* ── FAQ accordion ── */
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}
.faq-item summary {
    padding: 16px 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
}
.faq-item p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* ── Signup form ── */
.signup-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full { grid-column: 1 / -1; }

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--border-solid);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color .15s, box-shadow .15s;
    color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225,29,72,0.12);
}

.form-field textarea {
    min-height: 120px;
    padding: 12px 14px;
}

.field-help {
    font-size: 12px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
}

.field-error,
.form-errors {
    font-size: 13px;
    color: #991b1b;
    font-family: 'Inter', sans-serif;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
}

.signup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ── Slot picker ── */
.slot-meta {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-sm);
    background: #f8f9fb;
}

.slot-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-solid);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.slot-meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ── Embed mode ── */
body.booking-embed {
    background: #fff;
    padding: 0;
    margin: 0;
}

body.booking-embed .container {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 24px;
}

.booking-section-title {
    margin: 24px 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    font-family: 'Playfair Display', serif;
}

/* ── Booking confirmation page ── */
.confirmation-card {
    background: #fff;
    border: 1px solid var(--border-solid);
    border-radius: var(--radius);
    padding: 36px 32px;
    margin: 36px auto;
    box-shadow: var(--shadow-md);
}

.confirmation-card h1 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.confirmation-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.confirmation-badge.success { background: #dcfce7; color: #166534; }
.confirmation-badge.warning { background: #fef3c7; color: #92400e; }
.confirmation-badge.info    { background: #dbeafe; color: #1d4ed8; }

.confirmation-lead {
    color: #4b5563;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

.confirmation-summary {
    margin-top: 20px;
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-sm);
    background: #f8f9fb;
    padding: 16px;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-solid);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.confirmation-row:last-child { border-bottom: none; }

.confirmation-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: #f8f9fb;
    border: 1px solid var(--border-solid);
    color: #374151;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.confirmation-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-solid);
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

.confirmation-footer p { margin: 0; }
.confirmation-footer a { color: var(--text); }


/* ── Footer ── */
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-col p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color .15s;
}

.footer-col a:hover { color: #fff; }

.footer-trust {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-trust span {
    font-size: 12px;
    color: #6b7280;
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ── Trust strip ── */
.trust-strip {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0 8px;
}

.trust-strip span {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* ── Testimonials ── */
.testimonials-section { background: #f8fafc; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.testimonial-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #e2e8f0;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-attr {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

/* ── Why section ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.why-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.why-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ── Final CTA ── */
.cta-final-section { background: #0f172a; }

.cta-final {
    text-align: center;
    padding: 20px 0;
}

.cta-final h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-final p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final .trust-strip span {
    color: #64748b;
}

/* ── Pricing note ── */
.pricing-note {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
    padding: 20px 24px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
}

.pricing-note span {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
}

/* ── Contact page ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: flex-start;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .form-field-full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    transition: border-color .15s, box-shadow .15s;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225,29,72,.1);
    background: #fff;
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.required { color: var(--accent); }

.form-small-print {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 12px;
}

.form-error-banner {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #9f1239;
    margin-bottom: 20px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
}

.contact-info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.contact-expect-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-expect-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.expect-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

.contact-trust {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-item {
    font-size: 14px;
    font-weight: 500;
    color: #16a34a;
}

.contact-or-trial {
    text-align: center;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.contact-or-trial p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

/* ── Contact success ── */
.success-icon {
    width: 72px;
    height: 72px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #16a34a;
    margin: 0 auto;
    font-weight: 700;
}

/* ── Legal pages ── */
.legal-content {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 10px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content ul { margin-bottom: 16px; }

.legal-content ul {
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — MOBILE & TABLET PASS
   ============================================================ */

/* ── Hamburger button ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1.5px solid var(--border-solid);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 16px 20px 20px;
    background: #fff;
    border-top: 1px solid var(--border-solid);
    border-bottom: 1px solid var(--border-solid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-solid);
}
.mobile-nav-actions .btn { flex: 1; justify-content: center; }

/* ── Tablet (≤1080px) ── */
@media (max-width: 1080px) {
    .hero-grid  { grid-template-columns: 1fr; gap: 32px; }
    .hero h1    { font-size: 44px; }

    /* Hold 2-col on tablet — only collapse on phones */
    .feature-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-grid       { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-grid       { grid-template-columns: 1fr 1fr; }
    .why-grid         { grid-template-columns: repeat(2, 1fr); }

    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
    .pricing-card-featured {
        transform: none;
        border-width: 2px;
        box-shadow: 0 8px 32px rgba(225,29,72,0.15);
    }

    .pricing-preview-card,
    .contact-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner   { grid-template-columns: repeat(3, 1fr); }

    .hero-panel-card { padding: 22px; }

    /* Tablet — homepage inline grids go 2-col */
    .rsp-3col  { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
    .rsp-2col  { gap: 40px !important; }
    .feat-row  { gap: 40px !important; }
    .demo-row  { gap: 40px !important; }

    /* Tablet — "how guests book" sticky sidebar layout collapses */
    .hgb-grid  { grid-template-columns: 1fr !important; gap: 32px !important; }
    .hgb-sticky { position: static !important; }

    /* Tablet — competitor table always scrollable */
    .comp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .comp-table-inner { min-width: 520px; }

    /* Tablet — trust bar wraps */
    .trust-bar-flex { gap: 16px !important; flex-wrap: wrap; }

    /* Tablet — early access box padding */
    .early-box { padding: 40px 32px !important; }
    /* Tablet: reduce section padding */
    section[style*="padding:72px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
    section[style*="padding:80px"] { padding-top: 64px !important; padding-bottom: 64px !important; }

    /* Tablet: demo mockup inner stats stay 2-col not 4-col */
    .demo-mockup-inner [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }

    /* Tablet: features floor grid scrollable */
    .feat-mockup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

}

/* ── Mobile (≤768px) — hamburger replaces nav ── */
@media (max-width: 768px) {
    .site-nav       { display: none; }
    .header-actions { display: none; }
    .mobile-menu-btn { display: flex; }

    .header-inner { min-height: 60px; }

    .container { width: min(100% - 32px, 1180px); }

    .hero { padding: 48px 0 40px; }
    .hero-grid { gap: 0; }
    .hero h1   { font-size: 36px; }
    .hero-text { font-size: 16px; }

    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Hide checklist panel on mobile — saves huge vertical space */
    .hero-panel { display: none; }

    .hero-proof { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .proof-card  { padding: 14px; }
    .proof-value { font-size: 26px; }

    .page-hero    { padding: 40px 0 56px; }
    .page-hero h1 { font-size: 32px; }
    .page-intro   { font-size: 15px; }

    .section          { padding: 48px 0; }
    .section-heading h2 { font-size: 28px; }
    .section-heading p  { font-size: 15px; }

    /* Single column on phones */
    .feature-grid     { grid-template-columns: 1fr; }
    .steps-grid       { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .stack-grid       { grid-template-columns: 1fr; }
    .why-grid         { grid-template-columns: 1fr 1fr; gap: 12px; }

    .feature-card,
    .step-card { padding: 20px 18px; }
    .why-card  { padding: 20px 16px; }

    .cta-final h2 { font-size: 26px; }
    .cta-final p  { font-size: 16px; }
    .cta-actions  { flex-direction: column; gap: 10px; align-items: stretch; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    .pricing-preview-card,
    .contact-panel { padding: 24px 20px; }

    .form-grid { grid-template-columns: 1fr; }
    .form-field-full { grid-column: auto; }
    .contact-form .form-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }

    .pricing-note { gap: 12px; }
    .trust-strip  { gap: 10px; }
    /* ── Homepage inline grids ── */
    /* pain/features/how-it-works 3-col → 1-col */
    .rsp-3col { grid-template-columns: 1fr !important; gap: 16px !important; }
    /* features 2-col rows → 1-col */
    .rsp-2col { grid-template-columns: 1fr !important; gap: 32px !important; }
    /* features 2-col cards → 1-col */
    .rsp-2card { grid-template-columns: 1fr !important; gap: 16px !important; }

    /* ── Demo page ── */
    .demo-row { grid-template-columns: 1fr !important; gap: 32px !important; }
    .demo-row iframe { height: 420px !important; max-height: 75vw !important; }

    /* ── Features page ── */
    .feat-row { grid-template-columns: 1fr !important; gap: 32px !important; }
    .feat-3col { grid-template-columns: 1fr !important; gap: 16px !important; }

    /* ── Trust bar wraps cleanly ── */
    .trust-bar-inner { gap: 14px !important; justify-content: flex-start !important; }

    /* ── Pricing grid centred on mobile ── */
    .pricing-grid { margin-left: auto; margin-right: auto; }

    /* ── Competitor table scroll ── */
    .competitor-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .competitor-table { min-width: 560px; }


    /* Mobile — any wide table gets horizontal scroll */
    .table-scroll,
    section .table-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Mobile — features page alternating rows stack correctly */
    .feature-row,
    .feature-row-reverse { flex-direction: column !important; gap: 24px; }
    .feature-row img,
    .feature-row-reverse img,
    .feature-row .feature-media,
    .feature-row-reverse .feature-media { width: 100%; max-width: 100%; }

    /* Mobile — footer single column */
    .footer-inner { grid-template-columns: 1fr; gap: 20px; }

    /* Mobile — mobile nav CTA prominent */
    .mobile-nav-actions {
        padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mobile-nav-actions .btn { width: 100%; justify-content: center; text-align: center; }
    /* ── Homepage: "how guests book" mockup panels (widget embed inner grid) ── */
    .hgb-embed-inner { grid-template-columns: 1fr !important; }
    .hgb-embed-inner > div:first-child { display: none; } /* hide article skeleton */

    /* ── Homepage: demo mockup section sub-grids (no overflow) ── */
    .demo-mockup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* ── Pricing: feature grid auto-fill already responsive, but ensure min readable ── */
    .pricing-feature-grid { grid-template-columns: repeat(auto-fill, minmax(180px,1fr)) !important; }

    /* ── Page sections: reduce vertical padding on mobile ── */
    section[style*="padding:72px"] { padding-top: 48px !important; padding-bottom: 48px !important; }
    section[style*="padding:64px"] { padding-top: 40px !important; padding-bottom: 40px !important; }
    section[style*="padding:56px"] { padding-top: 36px !important; padding-bottom: 36px !important; }
    section[style*="padding:80px"] { padding-top: 48px !important; padding-bottom: 48px !important; }

    /* ── Demo: dashboard mockup — inner 4-col stats → 2-col, 3-col service → 1-col ── */
    .demo-mockup-inner [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
    .demo-mockup-inner [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    .demo-mockup-inner [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }

    /* ── Features: floor grid (5-col table cells) and slot grid — scroll ── */
    .feat-mockup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; }

    /* ── General: any section heading padding ── */
    .page-hero { padding: 40px 0 44px !important; }
    .page-hero h1 { font-size: 28px !important; line-height: 1.15 !important; }

}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
    .hero { padding: 36px 0 32px; }
    .hero h1   { font-size: 30px; line-height: 1.1; }
    .hero-text { font-size: 15px; }

    .section          { padding: 36px 0; }
    .section-heading h2 { font-size: 24px; }

    .why-grid { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 24px 18px; }
    .pricing-preview-card,
    .contact-panel { padding: 20px 16px; }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .site-footer  { padding: 40px 16px 24px; }

    .cta-final h2 { font-size: 22px; }

    /* Small phones — pricing cards */
    .pricing-card { padding: 20px 18px; }
    .pricing-price { font-size: 36px; }
    .pricing-badge { font-size: 10px; padding: 2px 10px; }

    .btn-lg { height: 46px; font-size: 14px; }
}

/* ── Mobile fixes: pricing overlap + demo mockup grids ── */
.pricing-hero {
    padding-bottom: 80px;
}

.demo-mockup-scroll [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
    .demo-row iframe { height: 380px !important; }

    .demo-mockup-scroll [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .demo-mockup-scroll [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .demo-mockup-scroll [style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .pricing-section-pull { margin-top: 0; padding-top: 24px; }
    .pricing-card-featured { transform: none !important; }
    .pricing-grid { max-width: 100% !important; }
}

@media (max-width: 480px) {
    .pricing-section-pull { margin-top: 0; padding-top: 32px; }
    .pricing-grid { max-width: 100% !important; }
}

/* ── Mobile swipe hint for comparison table ─────────────────────── */
.swipe-hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .swipe-hint { display: block; }
}

/* ── Mobile login/signup fixes ───────────────────────────────────── */
.mobile-logo-top {
    display: none;
    padding: 1.5rem 0 1rem;
}
@media (max-width: 768px) {
    .login-left { display: none; }
    .mobile-logo-top { display: block; }
    .login-right { width: 100%; padding: 0 1.25rem 2rem; }
    /* Stack side-by-side signup fields */
    .signup-row { flex-direction: column !important; }
    .signup-row > * { width: 100% !important; }
}
