/* Buyanaa in France — site styles */
:root {
    --ink: #1c2340;
    --ink-soft: #4a5170;
    --muted: #7b8098;
    --paper: #fbf8f3;
    --card: #ffffff;
    --line: #ece6dc;
    --navy: #22306b;
    --navy-deep: #151d45;
    --red: #d2453d;
    --red-soft: #fbe9e7;
    --gold: #c9a45c;
    --green: #1f8a5b;
    --green-soft: #e5f5ec;
    --amber: #b7791f;
    --amber-soft: #fdf3e1;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(28, 35, 64, .05), 0 8px 28px rgba(28, 35, 64, .07);
    --shadow-lg: 0 20px 60px rgba(28, 35, 64, .16);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--card); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* French flag ribbon */
.tricolore { display: inline-flex; height: 4px; width: 42px; border-radius: 4px; overflow: hidden; }
.tricolore span { flex: 1; }
.tricolore span:nth-child(1) { background: #22306b; }
.tricolore span:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tricolore span:nth-child(3) { background: #d2453d; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(210, 69, 61, .28); }
.btn--primary:hover { background: #bb3830; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--red); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 248, 243, .88);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
    position: relative; overflow: hidden;
}
.brand-mark::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--red); }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.brand-text small { color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
    padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--ink); background: rgba(34, 48, 107, .06); }
.nav .btn { padding: 11px 20px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
        background: var(--paper); padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow);
    }
    .nav.is-open { transform: translateY(0); }
    .nav a:not(.btn) { padding: 12px 14px; }
    .nav .btn { margin: 8px 0 0; }
}

/* Flash */
.flashes { margin: 20px auto 0; }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 10px; font-weight: 600; }
.flash--error { background: var(--red-soft); color: #9b2c25; }
.flash--success { background: var(--green-soft); color: var(--green); }
.flash--info, .flash--warning { background: var(--amber-soft); color: var(--amber); }

/* Hero */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 69, 61, .10), transparent 65%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-meta div { font-size: .9rem; color: var(--ink-soft); }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.hero-art { position: relative; min-height: 460px; }
.hero-card {
    position: absolute; background: var(--card); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card--main {
    inset: 0 40px 30px 30px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff; padding: 36px 36px 64px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card--main .eiffel { position: absolute; right: -20px; bottom: -10px; width: 260px; opacity: .16; color: #fff; }
.hero-card--main .quote { font-family: var(--serif); font-size: 1.9rem; line-height: 1.25; position: relative; }
.hero-card--main .quote small { display: block; font-family: var(--sans); font-size: .95rem; opacity: .75; margin-top: 10px; }
.hero-card--main .who { display: flex; align-items: center; gap: 14px; position: relative; }
.hero-card--main .avatar {
    width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
    font-family: var(--serif); font-size: 1.4rem; font-weight: 700; border: 3px solid rgba(255, 255, 255, .25);
}
.hero-card--float {
    right: -12px; bottom: -36px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; max-width: 280px;
    animation: floaty 6s ease-in-out infinite;
}
.hero-card--float .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.hero-card--float strong { display: block; font-size: .95rem; }
.hero-card--float span { font-size: .82rem; color: var(--muted); }
.hero-card--tag {
    left: 0; top: -18px; padding: 12px 16px; font-weight: 700; font-size: .9rem; display: flex; gap: 8px; align-items: center;
    animation: floaty 7s ease-in-out infinite reverse;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 380px; }
}
@media (max-width: 520px) {
    .hero { padding: 36px 0 64px; }
    .hero-card--main { inset: 0 0 50px 0; padding: 26px; }
    .hero-card--main .quote { font-size: 1.5rem; }
    .hero-card--tag { display: none; }
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .icon {
    width: 58px; height: 58px; border-radius: 16px; background: var(--paper); display: grid; place-items: center;
    font-size: 1.8rem; margin-bottom: 20px;
}
.service-card .tag {
    position: absolute; top: 28px; right: 28px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
    padding: 6px 12px; border-radius: 999px; background: rgba(34, 48, 107, .07); color: var(--navy);
}
.service-card h3 { margin-bottom: 10px; padding-right: 90px; }
.service-card .summary { color: var(--ink-soft); }
.service-card .rich ul { list-style: none; padding: 0; margin: 4px 0 18px; }
.service-card .rich li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: .95rem; color: var(--ink-soft); }
.service-card .rich li::before {
    content: ''; position: absolute; left: 2px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f8a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.service-card .footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; }
.service-card .price { font-weight: 800; color: var(--ink); }
.service-card--main { border-top: 4px solid var(--navy); }

.extra-services {
    margin-top: 40px; background: linear-gradient(120deg, #fff 0%, #fff7f5 100%); border: 1px dashed #e8c8c4;
    border-radius: var(--radius); padding: 26px 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
}
.extra-services .icon { font-size: 2rem; }
.extra-services .body { flex: 1; min-width: 240px; }
.extra-services h3 { margin-bottom: 4px; font-size: 1.15rem; }
.extra-services p { margin: 0; color: var(--ink-soft); }
.extra-services .label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }

/* Reels */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.reels-head .section-head { margin-bottom: 0; }
.reels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .reels-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.reel {
    position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
    background: var(--navy-deep); box-shadow: var(--shadow); cursor: pointer; border: 0; padding: 0; width: 100%;
    color: #fff; text-align: left; font: inherit;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform .5s ease; }
.reel:hover img { transform: scale(1.4); }
.reel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 14, 36, .85) 100%);
}
.reel .play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
    width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .92);
    display: grid; place-items: center; transition: transform .2s ease, background .2s;
}
.reel:hover .play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.reel .play svg { width: 22px; height: 22px; margin-left: 3px; color: var(--red); }
.reel .caption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-weight: 700; font-size: .95rem; line-height: 1.35; }
.reel .caption small { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .75rem; opacity: .8; margin-top: 4px; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.reel.is-playing::after, .reel.is-playing .play, .reel.is-playing .caption { display: none; }

.empty {
    text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted);
}
.empty .big { font-size: 2.4rem; margin-bottom: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); counter-increment: step; }
.step::before {
    content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 800; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-visual {
    aspect-ratio: 4 / 5; border-radius: 28px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #f3ece1 0%, #e9dfd0 100%);
    display: grid; place-items: center;
}
.about-visual .monogram { font-family: var(--serif); font-size: 9rem; color: var(--navy); opacity: .9; line-height: 1; }
.about-visual .monogram span { color: var(--red); }
.about-visual .badge {
    position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(255, 255, 255, .92); border-radius: 16px;
    padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .92rem;
}
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact .fi { width: 38px; height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.fact strong { display: block; font-size: .95rem; }
.fact span { font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: 28px;
    padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
    background: rgba(210, 69, 61, .35); filter: blur(40px);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .8; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 600px) { .cta-band { padding: 36px 26px; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 56px 0 28px; margin-top: 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.socials a:hover { background: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* Page header */
.page-hero { padding: 56px 0 24px; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Booking */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-bottom: 80px; }
@media (max-width: 980px) { .booking-layout { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
@media (max-width: 520px) { .panel { padding: 22px 18px; } }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel-title .num {
    width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem;
    display: grid; place-items: center; flex-shrink: 0;
}
.panel-title h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 800; margin: 0; }
.panel-title .hint { margin-left: auto; font-size: .82rem; color: var(--muted); }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card label {
    display: flex; gap: 12px; align-items: flex-start; height: 100%;
    padding: 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s;
}
.choice-card label:hover { border-color: #cfd3e3; }
.choice-card input:checked + label { border-color: var(--navy); background: rgba(34, 48, 107, .04); }
.choice-card input:focus-visible + label { outline: 3px solid rgba(34, 48, 107, .3); outline-offset: 2px; }
.choice-card .ci { font-size: 1.5rem; line-height: 1; }
.choice-card strong { display: block; font-size: .95rem; line-height: 1.35; }
.choice-card small { color: var(--muted); font-size: .8rem; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day {
    flex: 0 0 auto; width: 74px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--card);
    text-align: center; cursor: pointer; font: inherit; color: var(--ink); scroll-snap-align: start; transition: border-color .15s, background .15s;
}
.day:hover { border-color: #cfd3e3; }
.day .dw { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.day .dd { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.day .dm { display: block; font-size: .72rem; color: var(--muted); }
.day.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.day.is-active .dw, .day.is-active .dm { color: rgba(255, 255, 255, .75); }
.day .count { display: block; font-size: .68rem; margin-top: 4px; color: var(--green); font-weight: 700; }
.day.is-active .count { color: #9fe3c0; }

.slots { display: none; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slots.is-active { display: grid; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot label {
    display: block; text-align: center; padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.slot label:hover { border-color: var(--navy); }
.slot strong { display: block; font-size: 1.1rem; }
.slot small { color: var(--muted); font-size: .75rem; }
.slot input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.slot input:checked + label small { color: rgba(255, 255, 255, .85); }
.slot input:focus-visible + label { outline: 3px solid rgba(210, 69, 61, .35); outline-offset: 2px; }
.tz-note { display: flex; gap: 10px; align-items: center; background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
    font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(34, 48, 107, .1); }
.field textarea { resize: vertical; min-height: 96px; }
.form-error, .field ul { color: #b3261e; font-size: .85rem; margin: 6px 0 0; padding: 0; list-style: none; font-weight: 600; }
.field.has-error input { border-color: #e59a94; }

.summary { position: sticky; top: 96px; }
.summary .panel { padding: 26px; }
.summary h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { text-align: right; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; }
.summary-total strong { font-size: 1.7rem; font-weight: 800; }
.summary .note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; }

/* Payment page */
.pay-wrap { max-width: 880px; margin: 0 auto; padding: 24px 0 80px; }
.pay-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; }
@media (max-width: 800px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }
.countdown { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: .9rem; margin-top: 16px; }
.bank-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--paper); }
.bank-card__bank { font-weight: 800; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.bank-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.bank-field__label { grid-column: 1; font-size: .78rem; color: var(--muted); }
.bank-field__value { grid-column: 1; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.bank-field .copy-btn { grid-column: 2; grid-row: 1 / span 2; }
.bank-field--accent .bank-field__value { font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; letter-spacing: .12em; color: var(--amber); }
.copy-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--navy); }
.copy-btn.is-copied { background: var(--green-soft); color: var(--green); border-color: transparent; }
.ref-inline { font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; letter-spacing: .08em; background: var(--paper); padding: 1px 6px; border-radius: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.status-pill--pending { background: var(--amber-soft); color: var(--amber); }
.status-pill--paid, .status-pill--completed { background: var(--green-soft); color: var(--green); }
.status-pill--cancelled, .status-pill--expired { background: #eef0f4; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.success-hero { text-align: center; padding: 20px 0 10px; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 42px; height: 42px; }
.ref-code { font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; font-size: 1.3rem; font-weight: 700; letter-spacing: .12em; background: var(--paper); padding: 6px 14px; border-radius: 10px; display: inline-block; }
.detail-list { margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 600; text-align: right; }

.narrow { max-width: 520px; margin: 0 auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-card--float, .hero-card--tag { animation: none; }
    html { scroll-behavior: auto; }
}
