/* ================================================
   Little Angel Baptism Theme – Digital Invitation
   Blush pink, ivory and soft sage, a dove-and-blossom motif, gentle
   watercolor warmth. All artwork is CSS/SVG — no photo assets needed
   beyond the host's own uploaded photo.
   ================================================ */

/* ---------- 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 blush-rose palette almost exactly, so they
       stay visually balanced for other colors too.
       Note: the section-title blossom icon's color is baked into its own
       data-URI and does NOT follow any of these — same known limitation as
       wedding-neela's decorative motifs. The wave dividers below, however,
       use a colorless shape as a CSS mask (see .la-alt-sections::after)
       precisely so they DO follow --blush/--blush-alt/--rose live. */
    --btn-accent:        #D98CA0;
    --btn-color:         var(--btn-accent);
    --btn-color-light:   color-mix(in srgb, var(--btn-accent) 62%, white);
    --btn-color-dark:    color-mix(in srgb, var(--btn-accent) 78%, black);

    --section-bg-accent: #D98CA0;
    --blush:             color-mix(in srgb, var(--section-bg-accent) 15%, white);
    --blush-alt:         color-mix(in srgb, var(--section-bg-accent) 28%, white);

    --accent-detail:     #D98CA0;
    --rose:              var(--accent-detail);
    --rose-light:        color-mix(in srgb, var(--accent-detail) 62%, white);
    --rose-pale:         color-mix(in srgb, var(--accent-detail) 28%, white);
    --rose-dark:         color-mix(in srgb, var(--accent-detail) 78%, black);

    --ivory:        #FFFDF8;
    --white:        #FFFFFF;
    --ink:          #3E2E30;
    --body:         #6E5A5C;
    --muted:        #A98D91;
    --sage:         #9CAF88;
    --sage-pale:    #E7EEDF;
    --gold:         #D9A86C;
    --gold-light:   #E8C296;
    --gold-pale:    #F3E3CB;
    --accent-color: var(--accent-detail);
    --radius:       20px;
    --btn-radius:   999px;
    --ff-display:   'Playfair Display', 'Georgia', serif;
    --ff-body:      'Nunito', sans-serif;

    /* Gentle dome-scallop curve, colorless (white) so it can be used as a
       mask — the actual color comes from background-color (var(--blush) /
       var(--blush-alt) / var(--rose)), so the seam always matches whichever
       color those variables currently resolve to. */
    --la-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(--blush);
    line-height: 1.75;
}

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

/* ---------- Utility ---------- */
.la-container         { max-width: 1100px; margin: 0 auto; }
.la-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. */
.la-alt-sections > * {
    position: relative;
    background: var(--blush);
}
.la-alt-sections > *:nth-child(even) {
    background: var(--blush-alt);
}

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

.la-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;
}
.la-section-title::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='%23D98CA0'%3E%3Cellipse cx='30' cy='16' rx='9' ry='13'/%3E%3Cellipse cx='30' cy='16' rx='9' ry='13' transform='rotate(72 30 30)'/%3E%3Cellipse cx='30' cy='16' rx='9' ry='13' transform='rotate(144 30 30)'/%3E%3Cellipse cx='30' cy='16' rx='9' ry='13' transform='rotate(216 30 30)'/%3E%3Cellipse cx='30' cy='16' rx='9' ry='13' transform='rotate(288 30 30)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

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

@keyframes la-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. */
.la-shape {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    direction: ltr;
    pointer-events: none;
    z-index: 1;
}
.la-shape-top { top: -1px; }
.la-shape-bottom { bottom: -1px; }
.la-shape[data-negative="false"].la-shape-bottom,
.la-shape[data-negative="true"].la-shape-top {
    transform: rotate(180deg);
}
.la-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.la-shape-fill {
    transform-origin: center;
}

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

.la-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(156,175,136,.14), transparent 50%);
    pointer-events: none;
}

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

.la-fx-bg__item {
    position: absolute;
    height: auto;
    display: block;
    color: var(--rose);
    opacity: .14;
}

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

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

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

/* ---------- Hero media (soft cloud-arch panel) ---------- */
.la-hero__media {
    position: relative;
    width: min(360px, 100%);
    margin: 0 auto;
}

.la-hero__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    /* A rounded, cloud-like silhouette — soft on every corner rather than a
       hard rectangle or a church-window arch. */
    border-radius: 50% 50% 42% 42% / 58% 58% 30% 30%;
    overflow: hidden;
    background: var(--rose-pale);
    border: 9px solid var(--white);
    box-shadow: 0 0 0 4px var(--rose-light), 0 0 50px color-mix(in srgb, var(--accent-detail) 28%, transparent), 0 25px 55px rgba(62,46,48,.15);
}

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

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

.la-hero__badge {
    position: absolute;
    top: -6px;
    right: 6%;
    width: 96px;
    height: 96px;
    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(62,46,48,.18);
    color: var(--rose-dark);
    animation: la-float 4s ease-in-out infinite;
    z-index: 2;
}
.la-hero__badge svg { width: 58px; height: 32px; }

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

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

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

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

.la-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(--rose);
    border: 3px solid var(--rose-light);
    border-radius: var(--btn-radius);
    padding: .6rem 1.2rem;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-detail) 35%, transparent);
}

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

.la-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(62,46,48,.08);
}

@media (max-width: 820px) {
    .la-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .la-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .la-hero__meta { justify-content: center; }
    .la-hero__media {
        width: min(280px, 78%);
        margin: 5rem auto 0;
    }
    .la-hero__badge {
        width: 58px;
        height: 58px;
        top: 4.5rem;
        right: 12%;
    }
    .la-hero__badge svg { width: 36px; height: 20px; }
}

/* Floating topbar */
.la-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) {
    .la-topbar.scrolled {
        background: color-mix(in srgb, var(--blush) 92%, transparent);
        backdrop-filter: blur(10px);
    }
}

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

.la-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) {
    .la-topbar { justify-content: flex-start; }
    .la-topbar__toggle { order: -1; }

    .la-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(--rose-dark) 55%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        cursor: pointer;
        transition: background .2s;
    }
    .la-topbar__toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease;
    }
    .la-topbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .la-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .la-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

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

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

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

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

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

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

.la-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: la-glow 4s ease-in-out infinite;
}

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

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

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

.la-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 ---------- */
.la-symbols {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
}

.la-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) {
    .la-symbols__grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 2.75rem;
    }
}

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

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

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

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

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

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

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

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

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

/* ---------- Program / Order of Service ---------- */
.la-program {
    padding: 5rem 1.25rem 8rem;
}

.la-timeline { margin-top: 1rem; }

.la-timeline__item {
    display: grid;
    grid-template-columns: 80px 20px 1fr;
    gap: 0 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.la-timeline__time {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .85rem;
    color: var(--rose-dark);
    text-align: right;
    padding-top: .15rem;
}

.la-timeline__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rose);
    border: 3px solid var(--sage-pale);
    margin-top: .25rem;
    position: relative;
}

.la-timeline__dot::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--rose-pale);
    height: calc(100% + 1.5rem + 14px);
}

.la-timeline__item:last-child .la-timeline__dot::after { display: none; }

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

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

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

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

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

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

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

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

.la-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 ---------- */
.la-dress-code { padding: 5rem 1.25rem 8rem; text-align: center; }
.la-good-to-know { padding: 5rem 1.25rem 8rem; text-align: center; }

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

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

/* ---------- The Church (Map) ---------- */
.la-location { padding: 5rem 1.25rem 8rem; }

.la-location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

@media (max-width: 820px) {
    .la-location__grid {
        grid-template-columns: 1fr;
    }
}

.la-location__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(62,46,48,.15);
}

.la-location__info {
    text-align: center;
}

.la-location__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--sage-pale);
    border: 3px solid var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

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

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

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

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

.la-alert--success {
    background: var(--sage-pale);
    color: var(--ink);
    border: 2px solid var(--sage);
    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(--rose-light);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(62,46,48,.12);
    padding: 3.5rem 2.5rem;
}

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

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

.la-rsvp .form__group input[type="text"],
.la-rsvp .form__group input[type="email"],
.la-rsvp .form__group input[type="tel"],
.la-rsvp .form__group select,
.la-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(--blush);
    box-shadow: 0 2px 6px rgba(62,46,48,.06);
    transition: box-shadow .2s;
    outline: none;
}
.la-rsvp .form__group .rsvp-stepper {
    background: var(--blush);
}

.la-rsvp .form__group input[type="text"]:focus,
.la-rsvp .form__group input[type="email"]:focus,
.la-rsvp .form__group input[type="tel"]:focus,
.la-rsvp .form__group select:focus,
.la-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(--rose);
    background-color: var(--white);
}

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

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

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

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

/* ---------- Footer ---------- */
.la-footer {
    background: var(--rose);
    color: rgba(255,255,255,.9);
    text-align: center;
    padding: 2.5rem 1.25rem;
    font-size: .9rem;
    border-top: 1px solid rgba(255,255,255,.16);
}

.la-footer__flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.1rem;
}
.la-footer__flourish svg {
    height: auto;
    display: block;
}
.la-footer__flourish svg:nth-child(1),
.la-footer__flourish svg:nth-child(3) {
    width: 14px;
    color: rgba(255,255,255,.55);
}
.la-footer__flourish svg:nth-child(2) {
    width: 34px;
    color: rgba(255,255,255,.8);
}

.la-footer__message {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: .98rem;
    opacity: .9;
    margin-bottom: .85rem;
}

.la-footer p { margin-bottom: .35rem; }
.la-footer a { color: var(--gold-light); }

/* Highlighted "Add to Calendar" chip — an ivory pill that lifts off the
   rose footer instead of reading as just another tinted text link. */
.la-footer__cal {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
    padding: .55rem 1.35rem;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .01em;
    color: var(--rose-dark);
    background: var(--ivory);
    border: 2px solid var(--rose-light);
    border-radius: var(--btn-radius);
    box-shadow: 0 4px 14px rgba(62, 46, 48, .22);
    transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.la-footer a.la-footer__cal:hover {
    color: var(--rose-dark);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(62, 46, 48, .28);
    text-decoration: none;
}
.la-footer__cal-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

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

    .la-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) {
.la-hero,
.la-countdown,
.la-symbols,
.la-godparents,
.la-program,
.la-poem,
.la-story,
.la-gallery,
.la-guest-wall,
.la-gallery-upload,
.la-dress-code,
.la-good-to-know,
.la-closing,
.la-location,
.la-album,
.la-rsvp,
.la-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
