/* =======================================================
   Google Fonts (añade en <head>):
   <link href="https://fonts.googleapis.com/css2?family=Birthstone&display=swap" rel="stylesheet">
   ======================================================= */

/* =======================================================
   1) Variables & Base
   ======================================================= */
:root {
    /* Colores base */
    --ink: #1f2937;
    --muted: #6b7280;
    --card: #fff;
    --ring: #e9ecef;
    --shadow: 0 12px 30px rgba(17, 24, 39, 0.2);

    /* Pastel accents */
    --rose: #f59eb3;
    --lav: #a5b4fc;
    --mint: #a7f3d0;
    --peach: #ffd8a8;
    --sky: #bae6fd;

    /* Layout */
    --mid-gap: 64px; /* columna central timeline */

    /* Hero */
    --hero-focus-y: 40%;

    --veil-top: .15; /* antes .80  */
    --veil-mid: .10; /* antes .60  */
    --veil-bottom: .10; /* antes .40  */
    --veil-blur: .5px; /* menos blur */

    /* Tipografías */
    --display: "Birthstone", cursive;
    --script: "Birthstone", cursive;
    --text: "Birthstone", cursive;

    /* Escala tipográfica base */
    --fs-base: clamp(40px, 1.6vw, 45px);
    --fs-small: clamp(35px, 1.6vw, 40px);
    --fs-btn: clamp(30px, 1.6vw, 30px);
    --fs-h1: clamp(45px, 1.6vw, 50px);
    --fs-h2: clamp(40px, 1.6vw, 45px);
    --fs-time: clamp(40px, 1.6vw, 45px);
    --fs-title: clamp(40px, 1.6vw, 45px);

    /* Botones */
    --primary: #0f172a;
    --primary-hover: #1e293b;
    --primary-ring: rgba(199, 210, 254, .35);
}

* {
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%
}

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #fffdfd;
    color: #374151;
    font-family: var(--text);
    font-weight: 400;
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: var(--fs-base);
    line-height: 1.55;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

/* Evita estrechamientos por containers anidados accidentales */
.container .container {
    max-width: none;
    width: 100%;
    padding: 0
}

/* =======================================================
   2) Hero (estructura, velo y fondos)
   ======================================================= */
.header, .header--thanks {
    position: relative;
    overflow: hidden;
    text-align: center;
    display: grid;
    place-items: start center;
    min-height: 100vh;
    padding: 16px;
}

/* Alto completo solo si la pantalla lo permite */
@media (min-height: 820px) and (min-width: 768px) {
    .header, .header--thanks {
        min-height: 100dvh;
        place-items: center
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .header, .header--thanks {
        min-height: auto;
        padding-block: 16px 24px;
        place-items: start center
    }
}

/* Velo difuminado */
.header::after, .header--thanks::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(1200px 700px at 50% -10%,
    rgba(255, 255, 255, var(--veil-top)),
    rgba(255, 255, 255, var(--veil-mid)) 55%,
    rgba(255, 255, 255, var(--veil-bottom)) 100%),
    linear-gradient(to bottom,
            rgba(255, 255, 255, var(--veil-mid)) 0%,
            rgba(255, 255, 255, var(--veil-bottom)) 100%);
    backdrop-filter: blur(var(--veil-blur));
    -webkit-backdrop-filter: blur(var(--veil-blur));
}

/* Contenido por encima del velo */
.header .container, .header--thanks .container {
    max-width: none;
    max-width: 100%;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(1.5px);
}

/* Tipografía hero */
.header h1, .header--thanks h1, .hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: var(--fs-h1);
    line-height: 1.05;
    margin: 6px 0 4px;
    color: #0f172a;
}

.header p, .header--thanks p, .hero-subtitle {
    font-size: clamp(36px, 2.4vw, 38px);
    color: #475569;
    margin: 10px 0;
}

/* Fondo global fijo (home) */
body.home {
    background: transparent
}

body.home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../img/pareja.webp') center/cover no-repeat;
    transform: scale(1.02);
    will-change: transform;
}

body.home::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(1200px 700px at 50% -10%,
    rgba(255, 255, 255, var(--veil-top)),
    rgba(255, 255, 255, var(--veil-mid)) 55%,
    rgba(255, 255, 255, var(--veil-bottom)) 100%),
    linear-gradient(to bottom,
            rgba(255, 255, 255, var(--veil-mid)) 0%,
            rgba(255, 255, 255, var(--veil-bottom)) 100%);
    backdrop-filter: blur(var(--veil-blur));
    -webkit-backdrop-filter: blur(var(--veil-blur));
}

/* En la home el header no pinta fondo/velo propio */
body.home .header::before, body.home .header::after {
    content: none !important
}


/* Página de gracias: imagen propia */
.header--thanks::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/manos.webp') center/cover no-repeat;
    transform: scale(1.02);
}

/* Encadre escritorio/panorámicas */
@media (min-width: 1024px) {
    .header--thanks::before, body.home::before {
        background-position: 50% var(--hero-focus-y)
    }
}

@media (min-aspect-ratio: 16/9) and (min-width: 1024px) {
    .header--thanks::before, body.home::before {
        background-position: 50% calc(var(--hero-focus-y) + 5%)
    }
}

/* Tarjeta glass del hero */
.hero-content {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(20px, 3.5vw, 32px) clamp(16px, 3vw, 28px);
    border-radius: 28px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 20px 40px rgba(17, 24, 39, .10), 0 1px 0 rgba(255, 255, 255, .6) inset;
    backdrop-filter: blur(3px) saturate(1.05);
    -webkit-backdrop-filter: blur(3px) saturate(1.05);
    animation: heroFadeUp .6s ease both;
}

.hero-subtitle {
    margin: 6px 0 18px;
    display: flex;
    gap: .5ch;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap
}

.hero-subtitle .names {
    font-weight: 400;
    color: #334155
}

.hero-subtitle .dot {
    opacity: .45
}

/* Badge horizontal “R ♥ I” */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin: 0 auto 14px;
    padding: 10px 36px;
    border-radius: 999px;
    color: #0f172a;
    background: radial-gradient(120% 120% at 30% 20%, #fff 0%, #ffeef4 40%, #e9f8ff 100%);
    box-shadow: 0 10px 25px rgba(17, 24, 39, .10), 0 0 0 6px rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .7);
}

.hero-badge .mono {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(22px, 3.6vw, 30px);
    line-height: 1;
    letter-spacing: .02em
}

.hero-badge .heart {
    color: #f59eb3;
    font-size: clamp(20px, 3.2vw, 28px);
    line-height: 1
}

/* Animación de entrada */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* =======================================================
   3) Secciones & Títulos
   ======================================================= */
.section {
    padding: 32px 0
}

.section h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: var(--fs-h2);
    margin-bottom: 18px;
    color: var(--ink);
}

/* =======================================================
   4) Botones
   ======================================================= */
.btn, .cta {
    display: inline-block;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: var(--fs-btn);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
    background: var(--primary);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 8px 20px rgba(17, 24, 39, .12);
    text-decoration: none;
    transition: transform .08s ease, opacity .2s ease;
}

.btn:hover, .cta:hover {
    transform: translateY(-1px);
    opacity: .95
}

.btn-ghost {
    background: rgba(255, 255, 255, .75);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, .10)
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .9)
}

.hero-actions {
    display: grid;
    grid-auto-flow: column;
    gap: 12px;
    justify-content: center
}

@media (max-width: 560px) {
    .hero-actions {
        grid-auto-flow: row
    }

    .btn, .cta {
        max-width: 100%
    }
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25)
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    opacity: .98
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-ring)
}

.btn-primary[disabled], .btn.is-disabled {
    opacity: .6;
    pointer-events: none
}

.btn-secondary, .btn.secondary {
    background: #6b7280;
    color: #fff;
    border: 1px solid transparent
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary)
}

.btn-outline:hover {
    background: rgba(15, 23, 42, .06)
}

/* =======================================================
   5) Timeline (X |   /   | X)
   ======================================================= */
.timeline {
    position: relative;
    margin: 24px 0 8px;
    padding: 6px 0
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e9eff5;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: calc(50% - var(--mid-gap));
    margin-bottom: 28px;
    background: var(--card);
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    transition: box-shadow .2s ease, transform .08s ease;
}

.timeline-item.left {
    margin-right: auto
}

/* X | */
.timeline-item.right {
    margin-left: auto
}

/* | X */
.timeline-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .08)
}

/* Paletas pastel alternas */
.timeline-item {
    --accent: var(--rose);
    background: linear-gradient(180deg, rgba(245, 158, 179, .18), #fff 96%);
    border-color: rgba(245, 158, 179, .35)
}

.timeline-item:nth-child(2n) {
    --accent: var(--lav);
    background: linear-gradient(180deg, rgba(165, 180, 252, .18), #fff 96%);
    border-color: rgba(165, 180, 252, .35)
}

.timeline-item:nth-child(3n) {
    --accent: var(--mint);
    background: linear-gradient(180deg, rgba(167, 243, 208, .18), #fff 96%);
    border-color: rgba(167, 243, 208, .38)
}

.timeline-item:nth-child(4n) {
    --accent: var(--peach);
    background: linear-gradient(180deg, rgba(255, 216, 168, .20), #fff 96%);
    border-color: rgba(255, 216, 168, .42)
}

.timeline-item:nth-child(5n) {
    --accent: var(--sky);
    background: linear-gradient(180deg, rgba(186, 230, 253, .20), #fff 96%);
    border-color: rgba(186, 230, 253, .42)
}

/* Punto hacia la línea central */
.timeline-item::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px #fff;
}

.timeline-item.left::after {
    right: calc(-1 * (var(--mid-gap) - 6px))
}

.timeline-item.right::after {
    left: calc(-1 * (var(--mid-gap) - 6px))
}

/* Texto */
.timeline-item .time {
    font-family: var(--display);
    font-weight: 400;
    font-size: var(--fs-time);
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.timeline-item .title {
    font-family: var(--display);
    font-weight: 400;
    font-size: var(--fs-title);
    color: #111827;
    margin: 6px 0 6px;
}

.timeline-item .meta {
    color: #64748b;
    font-size: clamp(15px, 1.6vw, 17px);
    margin-bottom: 8px
}

.timeline-item .desc {
    color: #374151;
    line-height: 1.6
}

/* Responsive timeline */
@media (max-width: 900px) {
    .timeline::before {
        left: 12px
    }

    .timeline-item {
        width: 100%;
        padding-left: 32px
    }

    .timeline-item.left, .timeline-item.right {
        margin: 0;
        margin-top: 5px
    }

    .timeline-item::after {
        left: 12px !important;
        right: auto !important
    }
}

/* =======================================================
   6) Formularios
   ======================================================= */
.form-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f7;
}

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

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

label {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 18px);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: clamp(16px, 1.6vw, 18px);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #c7d2fe;
    box-shadow: 0 0 0 4px rgba(199, 210, 254, .35)
}

textarea {
    min-height: 90px
}

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

button, .btn {
    cursor: pointer;
    font-family: var(--display);
}

button.secondary, .btn.secondary {
    background: #6b7280
}

/* Móvil */
@media (max-width: 640px) {
    .grid {
        grid-template-columns:1fr
    }
}

/* =======================================================
   7) Separadores & Utilidades
   ======================================================= */
hr.soft {
    border: none;
    height: 3px;
    background: #eef2f7;
    margin: 24px 0
}

hr.sep {
    border: 0;
    height: 2px;
    margin: 32px 0;
    background: linear-gradient(90deg, rgba(245, 158, 179, 0), rgba(245, 158, 179, .6), rgba(165, 180, 252, .6), rgba(186, 230, 253, 0));
    opacity: .8;
}

.comp-card {
    background: linear-gradient(180deg, rgba(255, 216, 168, .18), #fff 96%);
    border: 1px dashed rgba(255, 216, 168, .6);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
}

.comp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.comp-title {
    font-family: var(--display);
    font-weight: 400;
    color: #111827
}

/* Reencuadre del fondo en móvil (home) */
@media (max-width: 600px) {
    body.home::before {
        background-position: center 30%
    }
}


/* =======================================================
   9) Countdown
   ======================================================= */
.countdown {
    display: grid;
    grid-template-columns:repeat(4, minmax(90px, 1fr));
    gap: 14px;
    max-width: 100%;
    margin: 10px auto 0;
}

.cd-box {
    text-align: center;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 14px 10px;
    box-shadow: var(--shadow);
}

.cd-num {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(32px, 7.5vw, 44px);
    line-height: 1;
    color: #0f172a
}

.cd-label {
    margin-top: 6px;
    font-size: clamp(14px, 1.6vw, 15px);
    color: #64748b;
    letter-spacing: .4px;
    text-transform: uppercase
}

@media (max-width: 560px) {
    .countdown {
        grid-template-columns:repeat(2, 1fr)
    }
}

/* =======================================================
   10) Calendario (grid estático)
   ======================================================= */
.cal {
    max-width: 720px;
    margin: 18px auto 0;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cal-head {
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(245, 158, 179, .18), #fff);
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cal-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(34px, 3.2vw, 58px);
    color: #111827
}

.cal-grid {
    display: grid;
    grid-template-columns:repeat(7, 1fr);
    padding: 10px 12px 16px;
    gap: 8px
}

.cal-dayname {
    text-align: center;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(14px, 1.6vw, 16px);
    color: #6b7280;
    letter-spacing: .3px;
}

.cal-cell {
    position: relative;
    display: block;
    background: #fff;
    color: #1f2937;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    font-weight: 400;
    font-family: var(--display);
}

.cal-cell::before {
    content: "";
    display: block;
    padding-bottom: 100%
}

/* cuadrado */
.cal-cell > .cal-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.4vw, 22px)
}

.cal-cell.muted {
    color: #94a3b8;
    background: #fafafa
}

.cal-cell.event {
    background: linear-gradient(180deg, rgba(165, 180, 252, .22), #fff);
    border-color: rgba(165, 180, 252, .5);
    box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}

.cal-cell.event::after {
    content: "❤";
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 12px;
    opacity: .8;
    color: #f59eb3;
}


/* =======================================================
   11) Programa (imagen ↔ texto con eje central)
   ======================================================= */
.program {
    position: relative;
    display: grid;
    row-gap: 28px;
    margin: 24px 0 8px;
    padding: 6px 0
}

.program-row {
    display: grid;
    grid-template-columns:1fr 56px 1fr;
    align-items: center
}

.program-row .node {
    position: relative;
    width: 56px;
    height: 100%;
    margin: 0 auto
}

/* Línea vertical */
.program-row .node::before {
    content: "";
    position: absolute;
    left: calc(50% - 1px);
    top: -20px;
    bottom: -20px;
    width: 2px;
    background: #e9eff5;
}

/* Nodo circular */
.program-row .node::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px #e5e7eb, 0 0 0 8px #fff;
}

/* Lados */
.prog-img {
    margin: 0;
    display: grid;
    place-items: center
}

.prog-img img {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: clamp(140px, 50vw, 240px);
    height: clamp(140px, 50vw, 240px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .10);
    filter: saturate(.95) contrast(.98);
}

.text-side {
    text-align: center
}

.prog-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(34px, 3.2vw, 58px);
    color: #0f172a
}

.prog-time {
    margin-top: 4px;
    font-size: clamp(28px, 2vw, 48px);
    color: #6b7280
}

/* Móvil: eje + contenido en dos filas */
@media (max-width: 900px) {
    .program-row {
        grid-template-columns:56px 1fr;
        grid-template-areas:
      "node img"
      "node txt";
        row-gap: 10px;
    }

    .program-row .node {
        grid-area: node
    }

    .program-row .img-side {
        grid-area: img
    }

    .program-row .text-side {
        grid-area: txt
    }

    .prog-title {
        font-size: clamp(20px, 5vw, 26px)
    }
}

@media (max-width: 420px) {
    .prog-img img {
        width: clamp(72px, 26vw, 110px);
        height: clamp(72px, 26vw, 110px)
    }
}

/* =======================================================
   12) Regalo (discreto + glass)
   ======================================================= */
.gift-copy {
    max-width: 820px;
    margin: 8px auto 16px;
    color: #64748b;
    text-align: center;
    font-size: clamp(32px, 3.2vw, 48px);
}

.gift-card {
    background: rgba(255, 255, 255, .45);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    padding: 0;
    overflow: hidden;
}

/* Cabecera plegable */
.gift-summary {
    font-size: clamp(22px, 3.2vw, 28px);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(245, 158, 179, .14), #fff 85%);
    border-bottom: 1px solid #f1f5f9;
}

.gift-summary::-webkit-details-marker {
    display: none
}

.gift-summary-title {
    font-weight: 800;
    color: #0f172a;
    font-size: clamp(22px, 3.2vw, 28px);
}

.gift-summary-note {
    color: #64748b;
    font-size: clamp(20px, 3.2vw, 28px);
}

.gift-summary::after {
    content: "▾";
    font-size: 14px;
    color: #0f172a;
    opacity: .6;
    transition: transform .15s ease
}

details[open] .gift-summary::after {
    transform: rotate(-180deg)
}

.gift-body {
    padding: 16px
}

.iban-block {
    max-width: 760px;
    margin: 0 auto
}

.iban-label {
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 6px
}

.iban-row {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 10px;
    align-items: center
}

.iban-row input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    letter-spacing: .06em;
    color: #0f172a;
}

.btn.small {
    padding: 10px 14px;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(17, 24, 39, .10)
}

.iban-helper {
    margin: 8px 2px 0;
    color: #64748b;
    font-size: clamp(20px, 3.2vw, 28px);
}

.alt-options {
    text-align: center
}

.alt-note {
    color: #64748b;
    margin: 8px 0 0;
    font-size: clamp(20px, 3.2vw, 28px);
}

/* Toast “copiado” */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px)
}

/* Tipografía cómoda SOLO en sección “Regalo” */
.section.gift h2 {
    font-size: clamp(32px, 4.6vw, 40px);
    margin-bottom: 10px
}

.section.gift .gift-copy {
    font-size: clamp(16px, 1.9vw, 18px);
    line-height: 1.6
}

.section.gift .gift-card .gift-summary {
    padding: 16px 18px
}

.section.gift .gift-summary-title {
    font-size: clamp(18px, 2.2vw, 20px)
}

.section.gift .gift-summary-note {
    font-size: clamp(14px, 2vw, 16px)
}

.section.gift .gift-body {
    padding: 18px
}

.section.gift .iban-row input {
    font-size: clamp(19px, 2.2vw, 24px);
    padding: 14px 16px;
    line-height: 1.25;
    letter-spacing: .04em
}

.section.gift .btn.small {
    font-size: clamp(16px, 2vw, 18px);
    padding: 12px 16px
}

.section.gift .iban-helper, .section.gift .alt-note {
    font-size: clamp(15px, 1.9vw, 16px);
    line-height: 1.55
}

@media (max-width: 560px) {
    .iban-row, .section.gift .iban-row {
        grid-template-columns:1fr
    }

    .btn.small, .section.gift .btn.small {
        max-width: 100%
    }
}

/* =======================================================
   13) Ajustes móviles finos
   ======================================================= */
@media (max-width: 420px) {
    :root {
        --fs-base: 19px
    }

    /* un punto más legible en móviles muy pequeños */
}


/* Separador con el dibujo del regalo */
.gift-art {
    margin: 6px auto 14px;
    display: grid;
    place-items: center;
}

.gift-art img {
    width: min(42%, clamp(320px, 60vw, 780px));
    height: auto;
    opacity: .82; /* más o menos presencia */
    filter: drop-shadow(0 10px 22px rgba(17, 24, 39, .08)) saturate(.95) contrast(.98); /* trazo suave elegante */
    /* difumina un pelín los extremos para integrarlo */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

@media (max-width: 560px) {
    .gift-art {
        margin: 2px auto 10px;
    }

    .gift-art img {
        opacity: .88;
    }
}


.intro-splash {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 5vh, 56px) 16px;
    text-align: center;
    pointer-events: none;
    isolation: isolate;
}

.intro-title {
    margin: 0;
    display: inline-block;
    padding-inline: .35em; /* evita cortes en la última letra */
    font-size: clamp(52px, 10vw + 3vh, 100px);
    letter-spacing: .02em;
    color: #0f172a; /* fallback si no hay clip:text */
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .intro-title {
        color: transparent;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        filter: drop-shadow(0 12px 28px rgba(17, 24, 39, .25));

    }
}