/* =========================================================
   DIVERGLOBOS · HOJA DE ESTILOS
   Estilo: estudio artesanal de aire retro. Verde bosque,
   crema, terracota, mostaza y rosa empolvado; serifa suave
   (Fraunces), marcos de foto redondeados, bordes festoneados y globos
   planos que suben al hacer scroll.
   ========================================================= */


/* ---------- Fuentes (incluidas en la web) ---------- */

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/nunito-sans.woff2") format("woff2");
}


/* ---------- Variables ---------- */

:root {
    /* Colores
       --deep: color oscuro de portada, pie y bandas destacadas
       --on-deep: texto sobre --deep · --accent: títulos sobre --deep */
    --deep: #3c67c6;
    --deep-2: #2f55a8;
    --on-deep: #eef2fb;
    --ink: #1b2540;
    --ink-soft: #4a5370;
    --paper: #eef1f7;
    --row: #fff0a6;
    --row-hover: #ffe680;
    --cream: #f8f0e2;
    --sand: #efe2cb;
    --terracotta: #df5f38;
    --terracotta-deep: #b8461f;
    --mustard: #f9c440;
    --blush: #f2a9bf;
    --blush-light: #f9d6df;
    --accent: #ffe066;
    --white: #fffdf8;

    /* Tipografía */
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Nunito Sans", "Segoe UI", Arial, sans-serif;

    /* Forma */
    --radius-s: 14px;
    --radius: 24px;
    --radius-l: 36px;
    --scallop: 22px;
    --wave-h: 30px;
    --shadow: 0 18px 40px -22px rgba(31, 43, 35, 0.45);

    /* Movimiento */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --header-h: 100px;
}


/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    scrollbar-color: var(--deep) var(--cream);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink-soft);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--mustard);
    color: var(--ink);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 8px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.015em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4.6vw, 3.7rem);
}

h3 {
    font-size: 1.5rem;
    line-height: 1.1;
}


p {
    text-wrap: pretty;
}

strong {
    color: var(--ink);
}

/* Etiqueta pequeña sobre los títulos */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--terracotta-deep);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 120px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
}

.flip {
    transform: scaleX(-1);
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 10px;
    left: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--mustard);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
    transform: none;
}


/* ---------- Bandas de color a todo el ancho ---------- */

.band {
    position: relative;
    background: var(--band, var(--cream));
}

.band-deep     { --band: var(--deep); color: var(--on-deep); }
.band-cream      { --band: var(--cream); }
.band-sand       { --band: var(--sand); }
.band-blush      { --band: var(--blush); }
.band-mustard    { --band: var(--mustard); }
.band-terracotta { --band: var(--terracotta); }

.band-deep h1,
.band-deep h2,
.band-deep h3 {
    color: var(--cream);
}

.band-deep .eyebrow {
    color: var(--accent);
}

.band-blush .eyebrow,
.band-mustard .eyebrow {
    color: var(--ink);
}


/* Borde festoneado que cuelga sobre la banda siguiente */
.edge-scallop {
    z-index: 2;
}

.edge-scallop::after {
    position: absolute;
    z-index: 3;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    height: var(--scallop);
    background: var(--band);
    content: "";
    -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - 0.5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
    mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - 0.5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
    pointer-events: none;
}

.edge-scallop + .band {
    padding-top: calc(120px + var(--scallop));
}

/* Festón que sube hacia la banda anterior */
.scallop-top::before {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: calc(100% - 1px);
    left: 0;
    height: var(--scallop);
    background: var(--band);
    content: "";
    -webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - 0.5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
    mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - 0.5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
    pointer-events: none;
}

/* Onda suave */
.wave-top::before {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: calc(100% - 1px);
    left: 0;
    height: var(--wave-h);
    background: var(--band);
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V16C40 0 80 0 120 16s80 16 120 0v14Z'/%3E%3C/svg%3E") repeat-x left bottom / 240px 100%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V16C40 0 80 0 120 16s80 16 120 0v14Z'/%3E%3C/svg%3E") repeat-x left bottom / 240px 100%;
}

/* Recorte para que los globos salgan desde el borde inferior */
.band-clip {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.band > .container {
    position: relative;
    z-index: 2;
}


/* ---------- Encabezado de sección ---------- */

.section-head {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-head p:last-child {
    max-width: 34em;
    margin: 0 auto;
    font-size: 1.12rem;
}

.section-head.left {
    margin-inline: 0;
    text-align: left;
}

.section-head.left p:last-child {
    margin-inline: 0;
}

/* Título curvo decorativo, como un sello */
.curved-title {
    display: block;
    width: min(100%, 560px);
    margin: -14px auto -14px;
    overflow: visible;
}

.curved-title text {
    fill: var(--terracotta);
    font-family: var(--display);
    font-size: 40px;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* ---------- Botones ---------- */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 28px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.3s var(--ease-out),
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(1px);
    transition-duration: 0.08s;
}

.button .icon {
    transition: transform 0.3s var(--ease-out);
}

.button:hover .icon-arrow {
    transform: translateX(4px);
}

.button-solid {
    border-color: var(--mustard);
    background: var(--mustard);
    color: var(--ink);
}

.button-solid:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.button-dark {
    border-color: var(--deep);
    background: var(--deep);
    color: var(--cream);
}

.button-dark:hover {
    border-color: var(--deep-2);
    background: var(--deep-2);
}

.button:not(.button-solid):not(.button-dark):hover {
    background: var(--ink);
    color: var(--cream);
}

.band-deep .button:not(.button-solid):not(.button-dark) {
    border-color: rgba(248, 240, 226, 0.6);
    color: var(--cream);
}

.band-deep .button:not(.button-solid):not(.button-dark):hover {
    border-color: var(--cream);
    background: var(--cream);
    color: var(--deep);
}

.button-small {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 0.76rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: underline;
    text-decoration-color: var(--terracotta);
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    text-underline-offset: 7px;
    transition: text-decoration-color 0.2s ease, text-underline-offset 0.25s var(--ease-out);
}

.text-link:hover {
    text-decoration-color: var(--ink);
    text-underline-offset: 4px;
}

.text-link .icon {
    transition: transform 0.3s var(--ease-out);
}

.text-link:hover .icon {
    transform: translateX(4px);
}


/* ---------- Cabecera ---------- */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    padding: 16px 0;
    transition: padding 0.3s var(--ease-out);
}

.header-bar {
    display: flex;
    min-height: 68px;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 8px 10px 8px 12px;
    border-radius: 999px;
    background: var(--cream);
    transition: box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
    padding: 10px 0;
}

.site-header.is-scrolled .header-bar {
    box-shadow: var(--shadow);
}

.logo-link {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.logo-link:hover .site-logo {
    transform: rotate(-10deg);
}

.logo-text {
    font-family: var(--display);
    font-size: 1.4rem;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a::after {
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--terracotta);
    content: "";
    transform: scaleX(0);
    transition: transform 0.35s var(--ease-out);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: none;
}

.main-nav a[aria-current="page"] {
    color: var(--terracotta-deep);
}

.header-cta {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--deep);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--cream);
    transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ---------- Portada (inicio) a todo el ancho ---------- */

.hero {
    padding: calc(var(--header-h) + 60px) 0 120px;
    isolation: isolate;
}

.hero > .band-clip {
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
}

.hero h1 {
    margin-bottom: 26px;
    color: var(--accent);
    font-size: clamp(2.6rem, 5.6vw, 5rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.005em;
    text-transform: uppercase;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
    padding: 0.04em 0 0.08em;
    margin-bottom: -0.08em;
}

.hero h1 .line > span {
    display: block;
    animation: line-up 1s var(--ease-out) both;
}

.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }

.hero h1 .sub {
    margin-top: 0.12em;
    color: var(--on-deep);
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.hero-text {
    max-width: 31em;
    margin-bottom: 36px;
    color: var(--on-deep);
    font-size: 1.15rem;
    line-height: 1.75;
    animation: fade-up 0.8s var(--ease-out) 0.4s both;
}

.hero .button-row {
    animation: fade-up 0.8s var(--ease-out) 0.5s both;
}

.hero-visual {
    position: relative;
    width: min(100%, 420px);
    justify-self: center;
}

/* Forma orgánica detrás de la foto */
.hero-visual::before {
    position: absolute;
    z-index: 0;
    right: -16%;
    bottom: -9%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    background: var(--blush);
    content: "";
    animation: blob-in 1.2s var(--ease-out) 0.35s both;
}

.frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--sand);
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo {
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 5;
    border: 8px solid var(--mustard);
    animation: frame-in 1.2s var(--ease-out) 0.15s both;
}

.hero-photo img {
    animation: settle 1.6s var(--ease-out) 0.15s both;
}

/* Sello circular que gira */
.badge {
    position: absolute;
    z-index: 4;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--cream);
    animation: pop-in 0.7s var(--ease-out) 1s both;
}

.badge > svg {
    width: 100%;
    height: 100%;
    animation: spin 22s linear infinite;
}

.badge text {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    fill: currentColor;
}

.badge .badge-heart {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--mustard);
    font-size: 2rem;
}

.hero-visual .badge {
    bottom: 6%;
    left: -56px;
}


/* ---------- Globos (planos, sin contorno) ---------- */

.b-body,
.b-knot {
    fill: var(--b-fill);
}

.b-shine {
    fill: #fff;
    opacity: 0.35;
}

.b-string {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    opacity: 0.55;
}

.balloon {
    --w: 90px;
    --scale: 1;
    position: absolute;
    width: calc(var(--w) * var(--scale));
    aspect-ratio: 60 / 150;
    color: var(--ink);
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.band-deep .balloon {
    color: var(--cream);
}

.balloon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: 50% 22%;
    animation: sway var(--sway, 5s) var(--ease-in-out) var(--sway-d, 0s) infinite alternate;
}

.b-blush      { --b-fill: var(--blush); }
.b-terracotta { --b-fill: var(--terracotta); }
.b-mustard    { --b-fill: var(--mustard); }
.b-cream      { --b-fill: var(--white); }
.b-accent       { --b-fill: var(--accent); }
.b-deep     { --b-fill: var(--deep); }

/* Ramo de la portada: sube al cargar y se va volando al bajar */
.bouquet {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    will-change: transform;
}

.bouquet .balloon {
    animation: rise 1.8s var(--ease-out) var(--d, 0.6s) both;
}

.bouquet .b-1 { --w: 100px; top: -92px; right: -10px; z-index: 3; --d: 0.55s; --sway: 5.2s; }
.bouquet .b-2 { --w: 82px;  top: -44px; right: -88px; z-index: 1; --d: 0.7s;  --sway: 6.1s; --sway-d: -2s; }
.bouquet .b-3 { --w: 76px;  top: -66px; left: -30px;  z-index: 3; --d: 0.8s;  --sway: 4.6s; --sway-d: -1s; }
.bouquet .b-4 { --w: 60px;  top: 100px; right: -70px; z-index: 3; --d: 0.95s; --sway: 5.8s; --sway-d: -3s; }

/* Globos que van saliendo desde abajo al hacer scroll */
.rising .balloon {
    bottom: calc(var(--travel) * -1 + var(--rest, 0px));
    will-change: transform;
}

/* Scroll fluido: el navegador mueve los globos directamente con el scroll
   (sin JavaScript). Los navegadores sin soporte usan el respaldo de script.js. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .hero[data-scroll="leave"] .bouquet {
            animation: bouquet-away linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 90vh;
        }

        [data-scroll="enter"] {
            view-timeline: --band-tl block;
        }

        [data-scroll="enter"] .rising .balloon {
            animation: balloon-up linear both;
            animation-timeline: --band-tl;
            animation-range: cover 0% cover 50%;
        }
    }
}

@keyframes bouquet-away {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -55vh, 0); }
}

@keyframes balloon-up {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, calc(var(--travel) * -1), 0); }
}

.is-paused .balloon svg,
.is-paused .badge > svg {
    animation-play-state: paused;
}

.pop-bit {
    position: absolute;
    top: 18%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--b-fill);
    pointer-events: none;
}


/* ---------- Cinta de texto en movimiento ---------- */

.marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: var(--terracotta);
    color: var(--cream);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 30px;
    padding: 14px 15px;
}

.marquee-group span {
    font-family: var(--display);
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.marquee-group .icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--mustard);
}


/* ---------- Ocasiones (tarjetas en arco) ---------- */

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.occasion {
    --frame: var(--terracotta);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.occasion:nth-child(2) { --frame: var(--mustard); }
.occasion:nth-child(3) { --frame: var(--blush); }
.occasion:nth-child(4) { --frame: var(--deep); }

.occasion-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 7px solid var(--frame);
    transition: transform 0.6s var(--ease-out);
}

.occasion-photo img {
    transition: transform 0.9s var(--ease-out);
}

.occasion:hover .occasion-photo {
    transform: translateY(-6px);
}

.occasion:hover .occasion-photo img {
    transform: scale(1.06);
}

/* Etiqueta tipo píldora que se solapa con la foto */
.occasion .pill {
    position: relative;
    z-index: 2;
    margin-top: -22px;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--frame);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    transition: transform 0.6s var(--ease-out);
}

.occasion:nth-child(1) .pill,
.occasion:nth-child(4) .pill {
    color: var(--cream);
}

.occasion:hover .pill {
    transform: translateY(-6px);
}

.occasion p {
    flex-grow: 1;
    margin: 18px 0 14px;
    font-size: 0.98rem;
    line-height: 1.6;
}

.occasion .more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.occasion .more .icon {
    transition: transform 0.3s var(--ease-out);
}

.occasion:hover .more .icon {
    transform: translateX(5px);
}


/* ---------- Cómo funciona: hoja de presupuesto ---------- */

.doc {
    position: relative;
    max-width: 1040px;
    margin: 0 auto 14px;
    padding: clamp(28px, 5vw, 60px) clamp(22px, 5vw, 60px) clamp(34px, 5vw, 64px);
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--paper);
    box-shadow: 0 34px 60px -34px rgba(20, 30, 60, 0.55);
    color: var(--ink-soft);
}

.band-sand .doc,
.band-cream .doc {
    background: var(--white);
}

/* Borde dentado inferior, como un ticket */
.doc::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 14px;
    background: inherit;
    content: "";
    -webkit-mask: conic-gradient(from 135deg at top, #000 90deg, transparent 0) 0 0 / 28px 14px repeat-x;
    mask: conic-gradient(from 135deg at top, #000 90deg, transparent 0) 0 0 / 28px 14px repeat-x;
}

.doc h2,
.doc h3,
.doc th {
    color: var(--ink);
}


.band-deep .doc .eyebrow {
    color: var(--terracotta-deep);
}

.doc-sticker {
    position: absolute;
    z-index: 2;
    top: -30px;
    right: -18px;
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    border-radius: 50%;
    background: var(--blush);
    color: var(--ink);
    font-family: var(--display);
    font-size: 2.6rem;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    transform: rotate(12deg);
}

.doc-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--deep);
}

.doc-head h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
}

.doc-head p {
    max-width: 30em;
    margin: 0;
}

.doc-meta {
    display: grid;
    gap: 10px;
    margin: 0;
    text-align: right;
}

.doc-meta dt {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.75;
}

.doc-meta dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

.doc-table-wrap {
    margin-top: 26px;
}

.doc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    text-align: left;
}

.doc-table thead th {
    padding: 12px 20px;
    background: var(--deep);
    color: var(--white);
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.doc-table thead th:first-child { border-radius: 10px 0 0 10px; }
.doc-table thead th:last-child  { border-radius: 0 10px 10px 0; }

.doc-table tbody td,
.doc-table tbody th {
    padding: 18px 20px;
    background: var(--row);
    vertical-align: middle;
    transition: background-color 0.25s ease;
}

.doc-table tbody tr:hover td,
.doc-table tbody tr:hover th {
    background: var(--row-hover);
}

.doc-table tbody td:first-child { border-radius: 10px 0 0 10px; }
.doc-table tbody td:last-child  { border-radius: 0 10px 10px 0; }

.doc-table tbody th {
    font-family: var(--display);
    font-size: 1.2rem;
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.doc-table .doc-num {
    width: 74px;
    color: var(--deep);
    font-family: var(--display);
    font-size: 1.7rem;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 700;
    line-height: 1;
}

.doc-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 34px 60px;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 2px dashed color-mix(in srgb, var(--deep) 40%, transparent);
}

.doc-label {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.doc-included ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-weight: 700;
}

.doc-included li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-included .icon {
    width: 1.5em;
    height: 1.5em;
    padding: 4px;
    border-radius: 50%;
    background: var(--deep);
    color: var(--white);
}

.doc-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 16px 16px 24px;
    border-radius: 14px;
    background: var(--deep);
    color: var(--white);
}

.doc-total-box span {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.doc-total-box strong {
    padding: 4px 18px 8px;
    border-radius: 10px;
    background: var(--blush);
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.doc-note {
    margin: 12px 0 22px;
    font-size: 0.92rem;
}


/* ---------- Preguntas frecuentes ---------- */

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: clamp(40px, 7vw, 110px);
}

.faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    margin: 0;
}

.faq-layout .section-head p:last-of-type {
    margin-bottom: 26px;
}

.faq-list {
    border-top: 1px solid rgba(31, 43, 35, 0.2);
}

.faq {
    border-bottom: 1px solid rgba(31, 43, 35, 0.2);
    interpolate-size: allow-keywords;
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-weight: 600;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:hover {
    color: var(--terracotta-deep);
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transition: transform 0.35s var(--ease-out);
}

.faq-icon::after {
    transform: rotate(90deg);
}

.faq[open] .faq-icon::after {
    transform: rotate(0deg);
}

.faq::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}

.faq[open]::details-content {
    height: auto;
}

.faq-answer p {
    max-width: 38em;
    margin: 0;
    padding: 0 64px 28px 0;
    font-size: 1.05rem;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 34px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(248, 240, 226, 0.2);
    list-style: none;
    color: var(--on-deep);
    font-size: 0.95rem;
    font-weight: 700;
    animation: fade-up 0.8s var(--ease-out) 0.6s both;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-facts strong {
    color: var(--mustard);
    font-family: var(--display);
    font-size: 1.35rem;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 700;
}

.hero-facts .icon {
    color: var(--accent);
}

.footer-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    font-weight: 700;
}

.footer-place .icon {
    color: var(--accent);
}


/* ---------- Carrusel ---------- */

.gallery-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 44px;
}

.gallery-top .section-head {
    margin: 0;
}

.gallery-controls {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.round-button {
    display: grid;
    width: 54px;
    height: 54px;
    padding: 0;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.round-button:hover:not(:disabled) {
    background: var(--ink);
    color: var(--cream);
}

.round-button:active:not(:disabled) {
    transform: scale(0.94);
}

.round-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-viewport {
    margin: -12px;
    padding: 12px;
    overflow: hidden;
    touch-action: pan-y;
}

.gallery-track {
    display: flex;
    gap: 22px;
    transition: transform 0.7s var(--ease-out);
}

.gallery-track.is-dragging {
    transition: none;
}

.gallery-track .photo-tile {
    flex: 0 0 calc((100% - 66px) / 4);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 26px;
}

.gallery-dot {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    background: none;
    cursor: pointer;
}

.gallery-dot::before {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(31, 43, 35, 0.25);
    content: "";
    transition: width 0.4s var(--ease-out), background-color 0.3s ease;
}

.gallery-dot.active::before {
    width: 26px;
    background: var(--terracotta);
}


/* ---------- Foto ampliable ---------- */

.photo-tile {
    position: relative;
    display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 0;
    border-radius: var(--radius);
    background: var(--sand);
    cursor: zoom-in;
    user-select: none;
    transition: transform 0.5s var(--ease-out);
}

.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.9s var(--ease-out);
}

.photo-tile:hover {
    transform: translateY(-5px);
}

.photo-tile:hover img {
    transform: scale(1.05);
}

.photo-tile .tile-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    max-width: calc(100% - 24px);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    translate: -50% 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}

.photo-tile:hover .tile-label,
.photo-tile:focus-visible .tile-label {
    opacity: 1;
    transform: none;
}

.photo-tile:focus-visible {
    outline-offset: 4px;
}


/* ---------- Visor ampliado ---------- */

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.lightbox::backdrop {
    background: color-mix(in srgb, var(--deep-2) 94%, transparent);
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox-figure {
    display: grid;
    margin: 0;
    justify-items: center;
    gap: 16px;
}

.lightbox-figure img {
    max-width: min(90vw, 1100px);
    max-height: 80dvh;
    width: auto;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-figure figcaption {
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--mustard);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lightbox .round-button {
    position: fixed;
    border-color: var(--cream);
    color: var(--cream);
}

.lightbox .round-button:hover {
    background: var(--cream);
    color: var(--deep);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { top: 50%; left: 20px; margin-top: -27px; }
.lightbox-next  { top: 50%; right: 20px; margin-top: -27px; }

.lightbox:not(.has-vt)[open] .lightbox-figure {
    animation: fade-up 0.4s var(--ease-out) both;
}

::view-transition-group(gallery-photo) {
    animation-duration: 0.5s;
    animation-timing-function: var(--ease-out);
}


/* ---------- Texto + foto ---------- */

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
}

.split.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.split.reverse .split-media {
    order: 2;
}

.split-media {
    position: relative;
    width: min(100%, 440px);
    justify-self: center;
}

.split-media::before {
    position: absolute;
    z-index: 0;
    top: 12%;
    left: -12%;
    width: 64%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--shape, var(--mustard));
    content: "";
}

.split-media .frame {
    z-index: 1;
    aspect-ratio: 4 / 5;
}

.split-media .badge {
    right: -26px;
    bottom: 8%;
}

.split-text p {
    font-size: 1.08rem;
    line-height: 1.85;
}

.quote {
    margin: 30px 0;
    padding-left: 24px;
    border-left: 3px solid var(--terracotta);
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 500;
    line-height: 1.25;
}


/* ---------- Llamada final ---------- */

.cta {
    padding: 130px 0 150px;
    overflow: hidden;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2.6rem, 6.4vw, 5.2rem);
}

.cta p {
    max-width: 34em;
    margin: 0 auto 34px;
    color: var(--ink);
    font-size: 1.15rem;
}

.cta .button-row {
    justify-content: center;
}


/* ---------- Cabecera de páginas interiores ---------- */

.page-hero {
    padding: calc(var(--header-h) + 76px) 0 110px;
    isolation: isolate;
}

.page-hero .page-hero-shape {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: max(4vw, calc((100vw - 1200px) / 2));
    width: clamp(160px, 24vw, 320px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 7px solid var(--mustard);
    border-radius: var(--radius);
    translate: 0 -40%;
    animation: frame-in 1.1s var(--ease-out) 0.1s both;
}

.page-hero .page-hero-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero h1 {
    max-width: 11em;
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 0.98;
    animation: fade-up 0.9s var(--ease-out) both;
}


.page-hero .eyebrow {
    animation: fade-up 0.9s var(--ease-out) both;
}

.page-hero p {
    max-width: 32em;
    margin-bottom: 0;
    font-size: 1.15rem;
    animation: fade-up 0.9s var(--ease-out) 0.12s both;
}

.page-hero .container {
    padding-right: clamp(0px, 26vw, 360px);
}

.breadcrumbs {
    margin-bottom: 28px;
    animation: fade-up 0.9s var(--ease-out) both;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.breadcrumbs li + li::before {
    margin-right: 8px;
    content: "/";
    opacity: 0.5;
}

.breadcrumbs a {
    color: inherit;
    text-underline-offset: 4px;
}


/* ---------- Creaciones: filtros + rejilla ---------- */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.filter {
    min-height: 46px;
    padding: 10px 20px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter:hover {
    background: var(--sand);
}

.filter[aria-pressed="true"] {
    border-color: var(--deep);
    background: var(--deep);
    color: var(--cream);
}

.filter .count {
    margin-left: 6px;
    opacity: 0.65;
    font-size: 0.9em;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.photo-grid .photo-tile[hidden] {
    display: none;
}

.photo-grid .photo-tile .tile-label {
    opacity: 1;
    transform: none;
}


/* ---------- Decoraciones: filas alternas ---------- */

.occasion-rows {
    display: grid;
    gap: clamp(80px, 10vw, 130px);
}

.occasion-row .tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--row-color, var(--blush));
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.occasion-row h2 {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}



/* ---------- Contacto ---------- */

.contact-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    border-radius: var(--radius-l);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-card-text {
    padding: clamp(36px, 6vw, 72px);
}

.contact-card-text h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.contact-card-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.85;
}

.contact-card-side {
    position: relative;
    display: grid;
    padding: 40px;
    place-items: center;
    background: var(--deep);
    text-align: center;
}

.handle {
    color: var(--cream);
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.handle:hover {
    color: var(--accent);
}

.ig-big {
    display: grid;
    width: 124px;
    height: 124px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--mustard);
    color: var(--deep);
    font-size: 3.6rem;
    transition: transform 0.5s var(--ease-out);
}

.contact-card-side:hover .ig-big {
    transform: translateY(-6px);
}

.insta-feed {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.insta-feed a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease-out);
}

.insta-feed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.insta-feed .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: color-mix(in srgb, var(--deep) 88%, transparent);
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-feed a:hover,
.insta-feed a:focus-visible {
    transform: translateY(-5px);
}

.insta-feed a:hover img {
    transform: scale(1.06);
}

.insta-feed a:hover .overlay,
.insta-feed a:focus-visible .overlay {
    opacity: 1;
}


/* ---------- Pie de página ---------- */

.site-footer {
    position: relative;
    overflow-x: clip;
}

.footer-main {
    padding: 100px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 70px;
}

.footer-brand-block .logo-link {
    margin-bottom: 18px;
    color: var(--cream);
}

.footer-brand-block .site-logo {
    width: 60px;
    height: 60px;
}

.footer-brand-block .logo-text {
    font-size: 1.7rem;
}

.footer-brand-block p {
    max-width: 22em;
    margin-bottom: 26px;
}

.footer-tagline {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--display);
    font-size: 1.5rem;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 500;
    line-height: 1.2;
}

.footer-col h3 {
    margin-bottom: 18px;
    color: var(--mustard);
    font-family: var(--body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    display: inline;
    color: var(--cream);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.footer-col a .icon {
    margin: 0 4px;
}

.footer-col a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.footer-col a[aria-current="page"] {
    color: var(--accent);
}

.footer-big {
    margin: 0;
    padding: 0 0 18px;
    color: var(--mustard);
    font-family: var(--display);
    font-size: clamp(3rem, 15vw, 13.5rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.footer-big span {
    display: inline-block;
    transition: transform 0.5s var(--ease-out), color 0.3s ease;
}

.footer-big span:hover {
    color: var(--blush);
    transform: translateY(-0.1em);
}

.footer-bottom {
    border-top: 1px solid rgba(248, 240, 226, 0.16);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 24px;
    padding: 22px 0;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .icon {
    margin-left: 4px;
}

.footer-bottom .heart {
    color: var(--blush);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border: 0;
    background: none;
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.to-top .icon {
    transform: rotate(-90deg);
    transition: transform 0.3s var(--ease-out);
}

.to-top:hover .icon {
    transform: rotate(-90deg) translateX(4px);
}


/* ---------- Página 404 ---------- */

.not-found {
    min-height: 100vh;
    padding: calc(var(--header-h) + 70px) 0 120px;
    overflow: hidden;
    text-align: center;
}

.not-found h1 {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: clamp(6rem, 22vw, 15rem);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 0.85;
}

.not-found p {
    max-width: 30em;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.not-found .button-row {
    justify-content: center;
}


/* ---------- Aparición al hacer scroll ---------- */

.has-reveal [data-reveal] {
    transition:
        opacity 0.8s var(--ease-out) var(--delay, 0s),
        transform 0.9s var(--ease-out) var(--delay, 0s);
}

.has-reveal [data-reveal].is-pending {
    opacity: 0;
    transform: translateY(28px);
}


/* ---------- Animaciones ---------- */

@keyframes line-up {
    from { transform: translateY(110%); }
    to   { transform: none; }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@keyframes blob-in {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: none; }
}

@keyframes frame-in {
    from { opacity: 0; clip-path: inset(100% 0 0 0 round var(--radius)); }
    to   { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius)); }
}

@keyframes pop-in {
    from { opacity: 0; transform: scale(0.4) rotate(-40deg); }
    to   { opacity: 1; transform: none; }
}

@keyframes settle {
    from { transform: scale(1.2); }
    to   { transform: none; }
}

@keyframes rise {
    from { translate: 0 70vh; }
    to   { translate: 0 0; }
}

@keyframes sway {
    from { transform: rotate(-4deg) translateY(0); }
    to   { transform: rotate(4deg) translateY(-10px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ---------- Transición entre páginas ---------- */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.25s ease both page-out;
}

::view-transition-new(root) {
    animation: 0.45s var(--ease-out) both page-in;
}

@keyframes page-out {
    to { opacity: 0; transform: translateY(-12px); }
}

@keyframes page-in {
    from { opacity: 0; transform: translateY(18px); }
}

.site-header {
    view-transition-name: site-header;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1360px) {
    .bouquet .b-2 { right: -44px; }
    .bouquet .b-4 { right: -36px; }
}

@media (max-width: 1100px) {
    .doc-sticker {
        top: -40px;
        right: 24px;
        width: 72px;
        height: 72px;
        font-size: 1.9rem;
    }
}

@media (max-width: 1080px) {
    .header-cta {
        display: none;
    }

    .occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 32px;
    }

    .gallery-track .photo-tile {
        flex-basis: calc((100% - 44px) / 3);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

/* Menú desplegable en tablet y móvil */
@media (max-width: 960px) {
    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 6px);
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border-radius: var(--radius);
        background: var(--cream);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        transform-origin: top right;
        transition: opacity 0.2s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.2s ease, transform 0.4s var(--ease-out), visibility 0s;
    }

    .main-nav a {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .main-nav a::after {
        right: auto;
        width: 24px;
        left: 18px;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: clamp(2.6rem, 8vw, 4.4rem);
    }

    .doc-table thead {
        display: none;
    }

    .doc-table,
    .doc-table tbody {
        display: block;
    }

    .doc-table tbody tr {
        display: grid;
        grid-template-columns: 48px 1fr;
        margin-bottom: 8px;
        border-radius: 10px;
        background: var(--row);
        overflow: hidden;
    }

    .doc-table tbody td,
    .doc-table tbody th {
        padding: 0;
        border-radius: 0 !important;
        background: none !important;
    }

    .doc-table .doc-num {
        grid-row: span 2;
        width: auto;
        padding: 18px 0 0 16px;
        font-size: 1.4rem;
    }

    .doc-table tbody th {
        padding: 18px 16px 4px 4px;
        white-space: normal;
    }

    .doc-table tbody td:last-child {
        padding: 0 16px 16px 4px;
        font-size: 0.95rem;
    }

    .section {
        padding: 100px 0;
    }

    .edge-scallop + .band {
        padding-top: calc(100px + var(--scallop));
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 100px;
    }

    .hero-visual {
        width: min(76%, 360px);
    }

    .page-hero .container {
        padding-right: 0;
    }

    .page-hero .page-hero-shape {
        display: none;
    }

    .split,
    .split.reverse {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-layout .section-head {
        position: static;
    }

    .doc-head,
    .doc-foot {
        grid-template-columns: 1fr;
    }

    .doc-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 28px;
        text-align: left;
    }

    .photo-grid,
    .theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .insta-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 760px) {
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .split.reverse .split-media {
        order: 0;
    }

    .split-media {
        width: min(84%, 380px);
    }

    :root {
        --header-h: 86px;
        --scallop: 15px;
        --wave-h: 22px;
    }

    body {
        font-size: 1rem;
    }

    .container {
        width: calc(100% - 40px);
    }

    .section {
        padding: 84px 0;
    }

    .edge-scallop + .band {
        padding-top: calc(84px + var(--scallop));
    }

    .site-header {
        padding: 10px 0;
    }

    .header-bar {
        min-height: 62px;
        padding: 6px 7px 6px 8px;
    }

    .site-logo {
        width: 46px;
        height: 46px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero {
        padding: calc(var(--header-h) + 40px) 0 100px;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 9.2vw, 3rem);
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-hero h1 {
        font-size: clamp(2.1rem, 10vw, 3.4rem);
    }

    h2 {
        font-size: clamp(1.9rem, 8.4vw, 2.6rem);
    }

    .hero-text {
        font-size: 1.04rem;
    }

    .hero-facts {
        gap: 8px 18px;
        font-size: 0.88rem;
    }

    .hero-visual {
        width: min(70%, 290px);
    }

    .balloon {
        --scale: 0.66;
    }

    .bouquet .b-2 { right: -56px; }
    .bouquet .b-4 { right: -44px; }

    .badge {
        width: 100px;
        height: 100px;
    }

    .badge text {
        font-size: 11px;
    }

    .hero-visual .badge {
        left: -30px;
    }

    .curved-title {
        margin-bottom: -14px;
    }

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

    .occasion-photo {
        border-width: 5px;
    }

    .occasion .pill {
        margin-top: -18px;
        padding: 7px 12px;
        font-size: 0.66rem;
        letter-spacing: 0.1em;
    }

    .occasion p {
        display: none;
    }

    .occasion .more {
        margin-top: 12px;
        font-size: 0.68rem;
    }

    .gallery-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .doc-sticker {
        top: -34px;
        right: 14px;
        width: 62px;
        height: 62px;
        font-size: 1.6rem;
    }

    .doc-total-box {
        padding-left: 18px;
    }

    .faq summary {
        padding: 22px 0;
    }

    .faq-answer p {
        padding-right: 0;
    }

    .gallery-track {
        gap: 14px;
    }

    .gallery-track .photo-tile {
        flex-basis: 78%;
    }

    .photo-grid,
    .theme-grid {
        gap: 14px;
    }

    .photo-tile {
        border-radius: 18px;
    }

    .photo-tile .tile-label {
        bottom: 8px;
        font-size: 0.62rem;
    }

    .page-hero {
        padding: calc(var(--header-h) + 44px) 0 90px;
    }

    .filters {
        justify-content: flex-start;
    }

    .insta-feed {
        gap: 12px;
    }

    .cta {
        padding: 100px 0 130px;
    }

    .footer-main {
        padding-top: 80px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 34px 20px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 20px;
        margin-top: 0;
    }
}

/* =========================================================
   PORTADA EN MÓVIL: cabe en una pantalla
   Título, texto, foto (ocupa el hueco que queda), botones y datos.
   ========================================================= */

@media (max-width: 760px) {
    .hero {
        display: flex;
        min-height: 100svh;
        flex-direction: column;
        padding: calc(var(--header-h) + 18px) 0 calc(var(--scallop) + 22px);
    }

    .hero-layout {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 16px;
    }

    .hero-content {
        display: contents;
    }

    .hero h1 {
        order: 1;
        margin: 0;
    }

    .hero-text {
        order: 2;
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .hero-visual {
        order: 3;
        width: 100%;
        min-height: 170px;
        flex: 1 1 0;
        margin-top: 6px;
    }

    .hero-visual::before {
        right: -10px;
        bottom: -14px;
        width: 38%;
    }

    .hero-photo {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        border-width: 6px;
    }

    .hero .button-row {
        order: 4;
        gap: 10px;
    }

    .hero .button-row .button {
        width: 100%;
        min-height: 50px;
    }

    .hero-facts {
        order: 5;
        margin: 0;
        padding-top: 14px;
    }

    .hero-visual .badge {
        bottom: -18px;
        left: -10px;
        width: 84px;
        height: 84px;
    }

    .hero-visual .badge .badge-heart {
        font-size: 1.5rem;
    }

    .bouquet .balloon {
        --scale: 0.42;
    }

    .bouquet .b-1 { top: -26px; right: 8px; }
    .bouquet .b-2 { top: -8px;  right: 46px; }
    .bouquet .b-3,
    .bouquet .b-4 {
        display: none;
    }
}

/* Móviles bajitos: se quita la línea de datos para que todo quepa */
@media (max-width: 760px) and (max-height: 740px) {
    .hero-facts {
        display: none;
    }

    .hero-visual {
        min-height: 130px;
    }

    .hero-layout {
        gap: 12px;
    }
}


@media (max-width: 460px) {
    .button {
        padding: 14px 18px;
        letter-spacing: 0.06em;
    }

    .doc {
        padding-inline: 18px;
    }

    .doc-total-box {
        padding: 14px 12px 14px 16px;
    }

    .contact-card-text {
        padding: 32px 22px;
    }

    .photo-grid,
    .theme-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .button-row .button {
        width: 100%;
    }
}


/* =========================================================
   MENOS MOVIMIENTO
   Sin desplazamientos, giros ni balanceos; se mantienen
   los fundidos y los cambios de estado.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero h1 .line > span,
    .hero-text,
    .hero .button-row,
    .hero-photo,
    .hero-photo img,
    .hero-visual::before,
    .page-hero-shape,
    .bouquet .balloon,
    .badge,
    .page-hero h1,
    .page-hero .eyebrow,
    .page-hero p,
    .breadcrumbs {
        animation: fade-in 0.6s ease both;
    }

    .balloon svg,
    .badge > svg,
    .marquee-track {
        animation: none;
    }

    .hero-facts {
        animation: fade-in 0.6s ease both;
    }

    .faq::details-content {
        transition: none;
    }

    .bouquet {
        transform: none;
    }

    .rising .balloon {
        transform: translateY(calc(var(--travel) * -1));
    }

    .has-reveal [data-reveal].is-pending {
        transform: none;
    }

    .button:hover,
    .photo-tile:hover,
    .occasion:hover .occasion-photo,
    .occasion:hover .pill,
    .insta-feed a:hover,
    .photo-tile:hover img,
    .occasion:hover .occasion-photo img,
    .footer-big span:hover {
        transform: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-group(*) {
        animation: none !important;
    }
}
