/* ================================================
   Blessed Grove Baptism Theme – Digital Invitation
   Sage green, ivory and warm gold, an olive-branch-and-dove motif, a
   laurel-wreath framed portrait. Botanical, natural, unhurried.
   ================================================ */

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

:root {
    /* Three independently pickable seeds (see the "Button Color" / "Section
       Background" / "Accent Details" pickers in the event editor) — every
       tint below each one is calculated from it with color-mix() instead of
       its own hardcoded hex, so picking a new color recolors every section/
       button/badge that reads the matching variable. Ratios were solved to
       reproduce the original sage-and-ivory palette almost exactly, so they
       stay visually balanced for other colors too. --gold* stays a fixed
       secondary accent, same as this theme's other decorative constants.
       Note: the section-title leaf icon's color is baked into its own
       data-URI and does NOT follow any of these — same known limitation as
       baptism-little-angel's decorative motifs. The wave dividers below,
       however, use a colorless shape as a CSS mask (see .gv-alt-sections::after)
       precisely so they DO follow --ivory/--ivory-alt/--sage live. */
    --btn-accent:        #7C9473;
    --btn-color:         var(--btn-accent);
    --btn-color-light:   color-mix(in srgb, var(--btn-accent) 66%, white);
    --btn-color-dark:    color-mix(in srgb, var(--btn-accent) 65%, black);

    --section-bg-accent: #7C9473;
    --ivory:             color-mix(in srgb, var(--section-bg-accent) 7%, white);
    --ivory-alt:         color-mix(in srgb, var(--section-bg-accent) 17%, white);

    --accent-detail:     #7C9473;
    --sage:              var(--accent-detail);
    --sage-light:        color-mix(in srgb, var(--accent-detail) 66%, white);
    --sage-pale:         color-mix(in srgb, var(--accent-detail) 19%, white);
    --sage-dark:         color-mix(in srgb, var(--accent-detail) 65%, black);

    --white:        #FFFFFF;
    --ink:          #2E3327;
    --body:         #5C6552;
    --muted:        #94A187;
    --gold:         #C79A4B;
    --gold-light:   #DDBB79;
    --gold-pale:    #F1E4C8;
    --gold-dark:    #93701E;
    --accent-color: var(--accent-detail);
    --radius:       18px;
    --btn-radius:   999px;
    --ff-display:   'Fraunces', 'Georgia', serif;
    --ff-body:      'Karla', sans-serif;

    /* Gentle dome-scallop curve, colorless (white) so it can be used as a
       mask — the actual color comes from background-color (var(--ivory) /
       var(--ivory-alt) / var(--sage)), so the seam always matches whichever
       color those variables currently resolve to. */
    --gv-wave-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,70 Q41.5,20 83,70 T166,70 T249,70 T332,70 T415,70 T498,70 T581,70 T664,70 T747,70 T830,70 T913,70 T996,70 L1000,70 L1000,100 L0,100 Z'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    font-weight: 400;
    color: var(--body);
    background-color: var(--ivory);
    line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.gv-container         { max-width: 1100px; margin: 0 auto; }
.gv-container--narrow { max-width: 680px; }

/* Sections alternate a flat tint so the rhythm stays correct no matter
   which of these are hidden by plan tier, the section-visibility toggle,
   or simply missing data. */
.gv-alt-sections > * {
    position: relative;
    background: var(--ivory);
}
.gv-alt-sections > *:nth-child(even) {
    background: var(--ivory-alt);
}

.gv-poem::after,
.gv-alt-sections > *:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0px;
    height: 40px;
    mask-image: var(--gv-wave-shape);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-image: var(--gv-wave-shape);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}
.gv-alt-sections > *:nth-child(odd):not(:last-child)::after {
    background-color: var(--ivory-alt);
}
.gv-poem::after,
.gv-alt-sections > *:nth-child(even):not(:last-child)::after {
    background-color: var(--ivory);
}

.gv-section-title {
    font-family: var(--ff-display);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    color: var(--ink);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: .01em;
    position: relative;
    padding-bottom: 1rem;
}
.gv-section-title::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    width: 26px;
    height: 26px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100'%3E%3Cpath d='M20,2 C33,22 33,58 20,98 C7,58 7,22 20,2 Z' fill='%237C9473'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes gv-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-6px) rotate(3deg); }
}

@keyframes gv-glow {
    0%, 100% { opacity: .5; transform: scale(1); }
    50%      { opacity: .75; transform: scale(1.06); }
}

/* ---------- Shape dividers ----------
   A full-width SVG with preserveAspectRatio="none" pinned to the section
   edge, so the dome-scallop stretches to any width without distorting height. */
.gv-shape {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    direction: ltr;
    pointer-events: none;
    z-index: 1;
}
.gv-shape-top { top: -1px; }
.gv-shape-bottom { bottom: -1px; }
.gv-shape[data-negative="false"].gv-shape-bottom,
.gv-shape[data-negative="true"].gv-shape-top {
    transform: rotate(180deg);
}
.gv-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.gv-shape-fill {
    transform-origin: center;
}

/* ---------- Hero ---------- */
.gv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 1.5rem 6rem;
}

.gv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent-detail) 16%, transparent), transparent 55%),
        radial-gradient(circle at 82% 80%, rgba(199,154,75,.14), transparent 50%);
    pointer-events: none;
}

/* ---------- Grove FX background decorations (dove, leaf, branch, ripple, flame) ---------- */
.gv-fx-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.gv-fx-bg__item {
    position: absolute;
    height: auto;
    display: block;
    color: var(--sage);
    opacity: .16;
}

.gv-fx-bg__item--dove   { color: var(--sage-dark); opacity: .14; }
.gv-fx-bg__item--leaf   { color: var(--sage);      opacity: .3; }
.gv-fx-bg__item--branch { color: var(--gold-dark); opacity: .22; }
.gv-fx-bg__item--flame  { color: var(--gold);      opacity: .22; }
.gv-fx-bg__item--ripple { color: var(--sage-dark); opacity: .18; }

@media (max-width: 700px) {
    .gv-fx-bg__item--branch {
        display: none;
    }
}

.gv-hero__grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}
.gv-hero__grid.gv-container { max-width: 1400px; }

/* ---------- Hero media (circular portrait wrapped in an open laurel wreath) ---------- */
.gv-hero__media {
    position: relative;
    width: min(320px, 100%);
    margin: 3.5rem auto 2rem;
}

.gv-hero__wreath {
    position: absolute;
    inset: -16% -14% -22% -14%;
    z-index: 0;
    color: var(--gold);
    pointer-events: none;
}

.gv-hero__frame {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sage-pale);
    border: 8px solid var(--white);
    box-shadow: 0 0 0 4px var(--gold), 0 0 45px rgba(199,154,75,.25), 0 22px 50px rgba(46,51,39,.18);
}

.gv-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gv-hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

.gv-hero__badge {
    position: absolute;
    top: -4%;
    right: -2%;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold-pale), 0 8px 20px rgba(46,51,39,.18);
    color: var(--sage-dark);
    animation: gv-float 4s ease-in-out infinite;
    z-index: 2;
}
.gv-hero__badge svg { width: 52px; height: 32px; }

/* ---------- Hero content (text column) ---------- */
.gv-hero__content {
    position: relative;
    z-index: 3;
}

.gv-hero__eyebrow {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--sage-dark);
    margin-bottom: .6rem;
}

.gv-hero__name {
    font-family: var(--ff-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.gv-hero__godparent {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    background: var(--gold-pale);
    border: 1px solid var(--gold-light);
    color: var(--ink);
    border-radius: var(--btn-radius);
    padding: .4rem 1.1rem;
    margin-bottom: 1.5rem;
}

.gv-hero__date-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .01em;
    color: var(--white);
    background: var(--sage);
    border: 3px solid var(--sage-light);
    border-radius: var(--btn-radius);
    padding: .6rem 1.2rem;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-detail) 35%, transparent);
}

.gv-hero__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.25rem;
}

.gv-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--white);
    border: 1px solid var(--gold-pale);
    border-radius: var(--btn-radius);
    padding: .5rem 1.15rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(46,51,39,.08);
}

@media (max-width: 820px) {
    .gv-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gv-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gv-hero__meta { justify-content: center; }
    .gv-hero__media {
        width: min(260px, 74%);
        margin: 5rem auto 2.5rem;
    }
    .gv-hero__badge {
        width: 56px;
        height: 56px;
        top: -2%;
        right: -4%;
    }
    .gv-hero__badge svg { width: 34px; height: 20px; }
}

/* Floating topbar */
.gv-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: .9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background .3s ease, backdrop-filter .3s ease;
}

@media (min-width: 601px) {
    .gv-topbar.scrolled {
        background: color-mix(in srgb, var(--ivory) 92%, transparent);
        backdrop-filter: blur(10px);
    }
}

.gv-topbar__links {
    display: flex;
    gap: 1.25rem;
}
.gv-topbar__links a {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--body);
    transition: color .2s;
}
.gv-topbar__links a:hover { color: var(--sage-dark); text-decoration: none; }

.gv-topbar__toggle { display: none; }

/* Demo-only Basic/Standard switch + close + cart badge — shared look defined
   globally in layouts/theme.blade.php, just positioned here at opposite bottom
   corners, at every screen width. */
.dpb-switch,
.dpb-fab {
    position: fixed;
    bottom: 1rem;
    z-index: 9999;
}
.dpb-fab { right: 1rem; }
.dpb-close { right: 4rem; }
.dpb-switch {
    left: 1rem;
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 .25rem;
}
.dpb-switch a {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .9rem;
    font-size: 12px;
}

@media (max-width: 600px) {
    .gv-topbar { justify-content: flex-start; }
    .gv-topbar__toggle { order: -1; }

    .gv-topbar__toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 3rem;
        height: 3rem;
        padding: 0;
        border: 1.5px solid rgba(255,255,255,.4);
        border-radius: 50%;
        background: color-mix(in srgb, var(--sage-dark) 60%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        cursor: pointer;
        transition: background .2s;
    }
    .gv-topbar__toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease;
    }
    .gv-topbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .gv-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .gv-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .gv-topbar__links {
        flex-direction: column;
        gap: .25rem;
        position: absolute;
        top: calc(100% + .5rem);
        left: 1rem;
        right: 1rem;
        padding: .5rem;
        background: rgba(251,248,241,.97);
        border: 1px solid var(--sage);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(46,51,39,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .gv-topbar__links.is-open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .gv-topbar__links a {
        text-align: center;
        padding: .65rem 1rem;
        border-radius: 8px;
        color: var(--body);
        flex: initial;
        white-space: normal;
    }
    .gv-topbar__links a:hover { background: color-mix(in srgb, var(--accent-detail) 12%, transparent); color: var(--sage-dark); }
}

/* ---------- Countdown ---------- */
.gv-countdown {
    position: relative;
    padding: 5rem 1.25rem 8rem;
    overflow: hidden;
}

.gv-audio {
    padding: 5rem 1.25rem 8rem;
}

.gv-countdown__inner {
    position: relative;
    z-index: 2;
}

.gv-countdown__intro {
    text-align: center;
    color: var(--body);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

.gv-countdown__photo-wrap {
    position: relative;
    max-width: 900px;
    margin: 2.5rem auto 0;
    aspect-ratio: 1143 / 502;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
}

.gv-countdown__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, var(--sage-pale) 0%, var(--gold-pale) 100%);
}

.gv-countdown__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent-detail) 50%, transparent) 0%, transparent 70%);
    animation: gv-glow 4s ease-in-out infinite;
}

.gv-countdown__timer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.gv-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,.9);
    border: 2px solid var(--sage);
    padding: 38px 0 24px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(46,51,39,.12);
    min-width: 100px;
}

.gv-countdown__number {
    font-family: var(--ff-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--sage-dark);
    line-height: 1;
}

.gv-countdown__label {
    font-family: var(--ff-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: .35rem;
}

/* ---------- Symbols of the Day ---------- */
.gv-symbols {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
}

.gv-symbols__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    max-width: 820px;
    margin: 2rem auto 0;
}

@media (max-width: 720px) {
    .gv-symbols__grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 2.75rem;
    }
}

.gv-symbols__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--sage-light);
    box-shadow: 0 8px 20px rgba(46,51,39,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-dark);
}
.gv-symbols__icon svg { display: block; }
.gv-symbols__icon--water svg   { width: 46px; height: 46px; }
.gv-symbols__icon--candle svg  { width: 28px; height: 48px; }
.gv-symbols__icon--garment svg { width: 40px; height: 52px; }

.gv-symbols__label {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .4rem;
}

.gv-symbols__desc {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--body);
    max-width: 220px;
    margin: 0 auto;
}

/* ---------- The Godparents ---------- */
.gv-godparents {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
}

.gv-godparents__card {
    max-width: 480px;
    margin: 2rem auto 0;
    background: var(--white);
    border: 2px solid var(--sage-light);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 40px rgba(46,51,39,.08);
}

.gv-godparents__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--gold-pale);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.gv-godparents__names {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .6rem;
}

.gv-godparents__note {
    font-size: .92rem;
    font-style: italic;
    color: var(--body);
}

/* ---------- Our Story / Gallery (generic <x-story-timeline> / <x-gallery-grid>) ---------- */
.gv-story   { padding: 5rem 1.25rem 8rem; text-align: center; }
.gv-gallery { padding: 5rem 1.25rem 8rem; text-align: center; }

/* ---------- Program / Order of Service ---------- */
.gv-program {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
}

.gv-timeline {
    margin-top: 1rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Each item stacks and centers as its own block (time, then dot, then
   label/location) — matching every other section in this theme, unlike the
   left-to-right time|dot|label row this used before. */
.gv-timeline__item {
    margin-bottom: 2rem;
}
.gv-timeline__item:last-child {
    margin-bottom: 0;
}

.gv-timeline__time {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .85rem;
    color: var(--sage-dark);
    margin-bottom: .6rem;
}

.gv-timeline__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sage);
    border: 3px solid var(--gold-pale);
    margin: 0 auto .85rem;
}

.gv-timeline__label {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink);
}

.gv-timeline__location {
    display: block;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .15rem;
}
.gv-timeline__location a { margin-left: .4em; opacity: .85; font-size: .9em; color: var(--sage-dark); }

/* ---------- A Blessing (message / quote card) ---------- */
.gv-poem {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
    position: relative;
}

.gv-poem__card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--sage-light);
    border-radius: var(--radius);
    padding: 3rem 2rem 2.25rem;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(46,51,39,.08);
}

.gv-poem__quote {
    width: 38px;
    height: 38px;
    margin: 0 auto 1rem;
    color: var(--sage);
    opacity: .9;
}
.gv-poem__quote svg { width: 100%; height: 100%; }

.gv-poem__text {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.8;
    white-space: pre-line;
    color: var(--ink);
}

.gv-poem__dove {
    margin-top: 1.25rem;
    font-size: 1.4rem;
    opacity: .85;
}

/* ---------- Gallery upload / Guest Wall ---------- */
.gv-guest-wall { padding: 5rem 1.25rem 8rem; text-align: center; }
.gv-gallery-upload { padding: 5rem 1.25rem 8rem; text-align: center; }

.gv-gallery-upload .gu-form {
    max-width: 620px;
    padding: 0 1.5rem;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Dress Code / Good to Know ---------- */
.gv-dress-code { padding: 5rem 1.25rem 8rem; text-align: center; }
.gv-good-to-know { padding: 5rem 1.25rem 8rem; text-align: center; }

/* ---------- Closing ---------- */
.gv-closing {
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.gv-closing p {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    opacity: .75;
    margin: 0;
}

/* ---------- The Church (Map) ---------- */
/* Custom, single-theme layout — see components/baptism-blessed-grove-map.blade.php.
   Centered, gold-ring framed map (echoing the hero photo frame) instead of
   the plain two-column grid + icon-circle shared by the other baptism themes. */
.gv-location { padding: 5rem 1.25rem 8rem; text-align: center; }

.gv-location__divider {
    display: block;
    width: 90px;
    height: auto;
    margin: 0 auto 2rem;
    color: var(--sage);
    opacity: .8;
}

.gv-location__map {
    max-width: 560px;
    margin: 0 auto;
}

.gv-location__map iframe {
    width: 100%;
    height: 340px;
    border: 6px solid var(--white);
    display: block;
    border-radius: 24px;
    box-shadow: 0 0 0 3px var(--gold), 0 15px 40px rgba(46,51,39,.18);
}

.gv-location__info {
    margin-top: 2rem;
}

.gv-location__name {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
}

.gv-location__address {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.gv-location__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border: 2px solid var(--sage);
    border-radius: var(--btn-radius);
    color: var(--sage-dark);
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .92rem;
    transition: background .2s, color .2s, transform .15s;
}
.gv-location__btn svg {
    width: 14px;
    height: 34px;
    color: var(--sage);
    transition: color .2s;
}
.gv-location__btn:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-1px);
    text-decoration: none;
}
.gv-location__btn:hover svg { color: var(--white); }

/* ---------- Keepsakes ---------- */
.gv-album { padding: 5rem 1.25rem; text-align: center; }
.gv-album__text { opacity: .75; margin-bottom: 2rem; }

/* ---------- RSVP ---------- */
.gv-rsvp {
    position: relative;
    padding: 5rem 1.25rem 8rem;
}
.gv-rsvp .rsvp-deadline {
    background: transparent;
    margin-bottom: 10px;
}
.gv-rsvp .gv-section-title,
.gv-rsvp .rsvp-layout-wrap {
    position: relative;
    z-index: 2;
}
.gv-rsvp::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 40px;
    mask-image: var(--gv-wave-shape);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-image: var(--gv-wave-shape);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    background-color: var(--sage);
    pointer-events: none;
    z-index: 1;
}

.gv-alert--success {
    background: var(--gold-pale);
    color: var(--ink);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.rsvp-layout-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--sage-light);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(46,51,39,.12);
    padding: 3.5rem 2.5rem;
}

@media (max-width: 500px) {
    .rsvp-layout-wrap {
        padding: 2.5rem 1.25rem;
    }
}

.gv-rsvp .form__group label {
    display: block;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: .78rem;
    color: var(--sage-dark);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gv-rsvp .form__group input[type="text"],
.gv-rsvp .form__group input[type="email"],
.gv-rsvp .form__group input[type="tel"],
.gv-rsvp .form__group select,
.gv-rsvp .form__group textarea {
    width: 100%;
    padding: .95rem 1.25rem;
    border: 0;
    border-radius: 10px;
    font-family: var(--ff-body);
    font-weight: 400;
    font-size: .95rem;
    color: var(--ink);
    background-color: var(--ivory);
    box-shadow: 0 2px 6px rgba(46,51,39,.06);
    transition: box-shadow .2s;
    outline: none;
}
.gv-rsvp .form__group .rsvp-stepper {
    background: var(--ivory);
}

.gv-rsvp .form__group input[type="text"]:focus,
.gv-rsvp .form__group input[type="email"]:focus,
.gv-rsvp .form__group input[type="tel"]:focus,
.gv-rsvp .form__group select:focus,
.gv-rsvp .form__group textarea:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-detail) 25%, transparent), 0 0 0 5px var(--sage);
    background-color: var(--white);
}

.gv-rsvp .form__error {
    display: block;
    color: var(--gold-dark);
    font-size: .82rem;
    margin-top: .3rem;
}

.gv-btn {
    display: block;
    width: 100%;
    padding: .9rem 2rem;
    background: var(--btn-color);
    color: var(--white);
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .01em;
    border: 3px solid var(--btn-color-light);
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--btn-color) 30%, transparent);
    margin-top: .5rem;
}

.gv-btn:hover {
    background: var(--btn-color-dark);
    border-color: var(--btn-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px color-mix(in srgb, var(--btn-color-dark) 40%, transparent);
    text-decoration: none;
}

.gv-location .gv-btn,
.gv-album .gv-btn { display: inline-block; width: auto; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.gv-footer {
    background: var(--sage);
    color: rgba(255,255,255,.9);
    text-align: center;
    padding: 2.5rem 1.25rem;
    font-size: .9rem;
}

.gv-footer p { margin-bottom: .35rem; }
.gv-footer a { color: var(--gold-light); }
.gv-footer__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    max-width: 13rem;
    margin: 0 auto 1rem;
    color: rgba(255,255,255,.6);
}
.gv-footer__ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, currentColor);
}
.gv-footer__ornament-line:last-child {
    background: linear-gradient(to left, transparent, currentColor);
}
.gv-footer__ornament-mark {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
}
.gv-footer__signoff {
    max-width: 24rem;
    margin: 0 auto 1.5rem !important;
    font-family: var(--ff-display);
    font-style: italic;
    color: rgba(255,255,255,.92);
}
/* Not .gv-btn — its background is the same sage as the footer; a solid white
   pill reads cleanly on the colored ground. */
.gv-footer__cal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.5rem;
    background: #fff;
    color: var(--ink) !important;
    border-radius: 999px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 4px 15px rgba(46,51,39,.25);
    transition: transform .15s, box-shadow .15s;
}
.gv-footer__cal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(46,51,39,.3);
    text-decoration: none;
}
.gv-footer__cal-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 500px) {
    .gv-countdown__timer {
        gap: .5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gv-countdown__timer::-webkit-scrollbar { display: none; }
    .gv-countdown__unit {
        padding: .9rem 1rem;
        min-width: 58px;
        flex-shrink: 0;
    }
    .gv-countdown__number { font-size: 2rem; }

    .gv-poem__card { padding: 2.5rem 1.25rem 1.75rem; }
}

/* Standardized horizontal gutter across every content section on mobile
   (padding-x: 1rem), matching the convention used across the app's other
   themes — several sections here otherwise use a wider desktop-only gutter
   that just eats into already-limited mobile width. Appended at the very
   end of the file so equal-specificity source order guarantees this wins
   over each section's own base padding rule declared earlier. */
@media (max-width: 600px) {
.gv-hero,
.gv-countdown,
.gv-symbols,
.gv-godparents,
.gv-program,
.gv-poem,
.gv-story,
.gv-gallery,
.gv-guest-wall,
.gv-gallery-upload,
.gv-dress-code,
.gv-good-to-know,
.gv-closing,
.gv-location,
.gv-album,
.gv-rsvp,
.gv-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
