/* =========================================================
   Juan Algar Fotógrafo · Landing de bodas
   Colores: negro, gris carbón, gris, arena y crema.
   El color arena (#D2B68A) se reserva para los botones.
   ========================================================= */

:root {
  --black: #000000;
  --ink: #0b0b14;
  --charcoal: #1c1c1c;
  --charcoal-deep: #0e0e0e;
  --gray: #b7b7b7;
  --sand: #d2b68a;
  --sand-hover: #e2c99f;
  --cream: #eee5d3;
  --cream-soft: #f6f1e7;
  --text: #1a1a1a;
  --text-soft: #55524c;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2, h3, .stat b, .timeline b, .step__num, .quote, .pull { font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- Cabecera ---------- */
.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; justify-content: center;
  padding: 22px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .22em; text-transform: uppercase;
}
.brand img { width: 24px; height: auto; }
.brand em { font-style: normal; color: var(--gray); font-size: .78em; letter-spacing: .3em; margin-left: .3em; }
.topbar:has(.topbar__link) { justify-content: space-between; align-items: center; }
.topbar:has(.topbar__link) .brand em { display: none; }
.topbar__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  border: 1px solid rgba(238, 229, 211, .35); border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: .88rem; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(0, 0, 0, .25);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.topbar__link:hover, .topbar__link:focus-visible { background: rgba(238, 229, 211, .12); border-color: var(--cream); }
.topbar__link span { transition: transform .3s var(--ease); }
.topbar__link:hover span { transform: translateX(3px); }

/* ---------- Botón (único) ---------- */
.btn {
  --shadow: 0 10px 30px -10px rgba(210, 182, 138, .55);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 16px 30px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sand); color: var(--black);
  font-family: var(--sans); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--sand-hover); transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(210, 182, 138, .7); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover::after { left: 120%; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn--full { width: 100%; }
.section--cream .btn, .faq .btn { box-shadow: 0 12px 28px -12px rgba(28, 28, 28, .55), inset 0 0 0 1px rgba(0, 0, 0, .12); }

.micro { font-size: .85rem; color: var(--text-soft); margin: 14px 0 0; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow, .kicker {
  font-family: var(--sans); font-weight: 500; font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px;
}
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--charcoal); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 22px; text-wrap: balance;
}
.h2 em { font-style: italic; }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 40ch; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 90px 0 130px; }
.section--cream { background: var(--cream); }
.section--cream::before, .section--charcoal::before, .section--black::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .06; mix-blend-mode: multiply;
}
.section--charcoal {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(170deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--cream);
}
.section--black { background: radial-gradient(1000px 600px at 15% 20%, #1f1d1a 0%, var(--black) 60%); color: var(--cream); }
.section--charcoal::before, .section--black::before { mix-blend-mode: screen; opacity: .05; }
.section--charcoal .kicker, .section--black .kicker { color: var(--gray); }
.section--charcoal .lead, .section--black .lead { color: rgba(238, 229, 211, .75); }
.section > .wrap { position: relative; z-index: 1; }

.divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; display: block; z-index: 2; }
.divider--top { top: -1px; bottom: auto; }
.divider--cream path { fill: var(--cream); }
.hero .divider--cream path { fill: var(--cream); }

/* ---------- Huecos de foto ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--charcoal-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo.is-empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2b2b2b, #0e0e0e);
  border: 1px dashed rgba(238, 229, 211, .35);
}
.photo.is-empty::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -150%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23eee5d3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='14' width='38' height='26' rx='4'/%3E%3Cpath d='M17 14l3-5h8l3 5'/%3E%3Ccircle cx='24' cy='27' r='8'/%3E%3C/svg%3E");
  opacity: .7;
}
.photo.is-empty::after {
  content: attr(data-label); position: relative; top: 26px;
  max-width: 26ch; padding: 0 18px;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.35;
  color: rgba(238, 229, 211, .85);
}

/* ---------- 01 Portada ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; padding: 110px 0 120px;
  background: linear-gradient(165deg, #000 0%, #0a0a0a 45%, var(--charcoal) 100%);
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: screen; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow--1 { width: 420px; height: 420px; right: -120px; top: 12%; background: radial-gradient(circle, rgba(238, 229, 211, .28), transparent 70%); animation: float 14s ease-in-out infinite; }
.glow--2 { width: 520px; height: 520px; left: -200px; bottom: -120px; background: radial-gradient(circle, rgba(120, 100, 70, .6), transparent 70%); animation: float 18s ease-in-out infinite reverse; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lines circle { fill: none; stroke: rgba(238, 229, 211, .08); stroke-width: 1; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }

.hero__grid { position: relative; z-index: 1; display: grid; gap: 54px; align-items: center; }
.hero .eyebrow { color: var(--cream); display: inline-flex; gap: 12px; align-items: center; }
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gray); }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.9rem, 11vw, 5.6rem); line-height: .98; letter-spacing: -.015em;
  margin-bottom: 24px; text-wrap: balance;
}
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--cream); }
.hero__sub { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 34ch; margin-bottom: 32px; }
.trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero__visual { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.arch {
  position: relative; padding: 12px;
  border: 1px solid rgba(238, 229, 211, .3); border-radius: 260px 260px var(--radius) var(--radius);
}
.arch::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; z-index: -1;
  border: 1px solid rgba(238, 229, 211, .14); border-radius: 260px 260px var(--radius) var(--radius);
}
.photo--arch { aspect-ratio: 3 / 4; border-radius: 250px 250px 12px 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.hero__badge {
  position: absolute; left: -18px; bottom: 36px; width: 118px; height: 118px;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(238, 229, 211, .25);
}
.hero__badge img { width: 30px; height: auto; grid-area: 1 / 1; }
.badge-ring { grid-area: 1 / 1; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring text { fill: var(--cream); font-family: var(--sans); font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 02 Problema ---------- */
.problem { padding-top: 70px; }
.problem__grid { display: grid; gap: 48px; }
.quotes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.quote {
  position: relative; padding: 24px 24px 24px 72px;
  background: var(--cream-soft); border-radius: var(--radius);
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; color: var(--charcoal);
  box-shadow: 0 18px 40px -28px rgba(28, 28, 28, .55);
}
.quote svg { position: absolute; left: 24px; top: 26px; width: 30px; fill: var(--charcoal); opacity: .22; }
.problem__side { position: relative; }
.photo--tall { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(28, 28, 28, .8); }
.note-card {
  position: relative; margin: -70px 16px 0; padding: 26px 26px 22px;
  background: var(--charcoal); color: var(--cream); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.note-card p { margin-bottom: .8em; }
.note-card__end { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.25; margin: 0; }

/* ---------- 03 Oferta ---------- */
.offer { padding-top: 120px; }
.offer .h2 { color: #fff; }
.offer__layout { display: grid; gap: 40px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.card {
  position: relative; padding: 26px 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(238, 229, 211, .14); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(238, 229, 211, .35); background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); }
.card { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 22px 20px; }
.card .icon { grid-row: span 2; width: 40px; height: 40px; margin: 2px 0 0; fill: none; stroke: var(--cream); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.card p { margin: 0; color: rgba(238, 229, 211, .72); font-size: 1rem; }
.photo--album { aspect-ratio: 4 / 5; border: 10px solid rgba(238, 229, 211, .08); }

/* ---------- 04 Cómo funciona ---------- */
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.step {
  position: relative; padding: 34px 26px 28px; overflow: hidden;
  background: var(--cream-soft); border-radius: var(--radius);
  box-shadow: 0 24px 50px -34px rgba(28, 28, 28, .6);
}
.step__num {
  display: block; font-family: var(--serif); font-weight: 500; font-size: 5.5rem; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.3px var(--charcoal); margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; color: var(--charcoal); margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-soft); }
.step::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(28, 28, 28, .12);
}
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 40px 0 46px; padding-top: 26px; text-align: center; font-size: .85rem; color: var(--text-soft);
}
.timeline::before { content: ""; position: absolute; top: 6px; left: 16%; right: 16%; height: 1px; background: rgba(28, 28, 28, .35); }
.timeline span { position: relative; display: flex; flex-direction: column; }
.timeline span::before { content: ""; position: absolute; top: -25px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--charcoal); box-shadow: 0 0 0 5px var(--cream); }
.timeline b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--charcoal); line-height: 1.2; }

/* ---------- 05 Prueba ---------- */
.proof { padding-top: 130px; }
.proof .h2 { color: #fff; }
.stats { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  padding: 24px 18px; text-align: center; border-radius: var(--radius);
  border: 1px solid rgba(238, 229, 211, .16); background: rgba(255, 255, 255, .03);
}
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 7vw, 3rem); line-height: 1; color: #fff; margin-bottom: 8px; }
.stat span { font-size: .88rem; color: rgba(238, 229, 211, .7); line-height: 1.4; display: block; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery .photo { aspect-ratio: 4 / 5; border-radius: 14px; }
.gallery { grid-auto-flow: dense; }
.gallery .g2, .gallery .g4, .gallery .g5, .gallery .g6 { grid-column: span 2; aspect-ratio: 3 / 2; }
.reviews { display: grid; gap: 16px; margin-top: 40px; }
.reviews[hidden] { display: none; }
.review { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--cream); color: var(--text); }
.review .stars { color: var(--charcoal); letter-spacing: 3px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
.review figcaption { font-size: .85rem; color: var(--text-soft); }
.private {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 40px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--charcoal), var(--charcoal-deep));
  border: 1px solid rgba(238, 229, 211, .18);
}
.private svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--cream); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.private h3 { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.private p { margin: 0; color: rgba(238, 229, 211, .78); }

/* ---------- 06 Quién ---------- */
.about { padding-top: 80px; }
.about__grid { display: grid; gap: 50px; align-items: center; }
.about__visual { position: relative; max-width: 360px; margin: 0 auto; width: 100%; padding: 18px; }
.about__visual::before, .about__visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(28, 28, 28, .35);
}
.about__visual::after { inset: -14px 14px 14px -14px; border-color: rgba(28, 28, 28, .14); }
.photo--portrait {
  aspect-ratio: 1 / 1; border-radius: 50%;
  border: 6px solid var(--cream-soft);
  box-shadow: 0 40px 70px -40px rgba(28, 28, 28, .8);
}
.about__mono {
  position: absolute; right: 6%; bottom: 6%; width: 58px; height: auto; z-index: 1;
  padding: 16px; background: var(--cream-soft); border-radius: 50%; box-sizing: content-box;
  box-shadow: 0 16px 30px -18px rgba(28, 28, 28, .7);
}
.about__copy .h2 { color: var(--charcoal); }
.about__copy p { color: var(--text-soft); }
.pull {
  margin: 26px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--charcoal);
  font-family: var(--serif); font-style: italic; font-size: 1.55rem !important; line-height: 1.3; color: var(--charcoal) !important;
}
.signature { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--charcoal) !important; margin: 10px 0 0; }

/* ---------- 07 Precio ---------- */
.price { padding-top: 130px; }
.price__wrap { display: flex; justify-content: center; }
.price__card {
  position: relative; max-width: 720px; width: 100%; padding: 42px 26px;
  border-radius: 26px; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  border: 1px solid rgba(238, 229, 211, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.price__card::before {
  content: ""; position: absolute; inset: 10px; border-radius: 18px; pointer-events: none;
  border: 1px solid rgba(238, 229, 211, .08);
}
.price .h2 { color: #fff; }
.price__card > p { color: rgba(238, 229, 211, .8); }
.checks { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: rgba(238, 229, 211, .88); }
.checks b { color: #fff; font-weight: 500; }
.checks svg { flex: none; width: 26px; height: 26px; padding: 4px; margin-top: 2px; border-radius: 50%; border: 1px solid rgba(238, 229, 211, .4); fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price__note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--cream) !important; margin: 0 0 26px; }

/* ---------- 08 FAQ ---------- */
.faq { padding-bottom: 90px; }
.faq__wrap { max-width: 860px; }
.faq .h2 { color: var(--charcoal); }
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: var(--cream-soft); border-radius: 16px;
  box-shadow: 0 16px 34px -28px rgba(28, 28, 28, .6);
  transition: box-shadow .3s var(--ease);
}
.faq details[open] { box-shadow: 0 24px 44px -28px rgba(28, 28, 28, .75); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 60px 22px 22px;
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.25; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; border: 1px solid rgba(28, 28, 28, .35);
  background:
    linear-gradient(var(--charcoal), var(--charcoal)) center/10px 1.5px no-repeat,
    linear-gradient(var(--charcoal), var(--charcoal)) center/1.5px 10px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--text-soft); }

/* ---------- 09 Cierre ---------- */
.closing {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 120px 0; text-align: center; color: #fff;
  background: var(--black);
}
.closing .photo--bg { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.closing .photo--bg.is-empty { align-items: flex-end; padding-bottom: 18px; border: 0; }
.closing .photo--bg.is-empty::before { display: none; }
.closing .photo--bg.is-empty::after { top: 0; font-size: .95rem; max-width: none; opacity: .7; }
.closing__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45), rgba(0, 0, 0, .85)); }
.closing__inner { max-width: 760px; }
.closing__mono { width: 44px; margin: 0 auto 26px; }
.closing .h2 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
.closing .h2 em { display: block; color: var(--cream); }
.closing p { color: rgba(255, 255, 255, .82); font-size: 1.12rem; margin: 0 auto 34px; max-width: 52ch; }

/* ---------- Comuniones ---------- */
.communion { background: var(--cream); padding: 26px 0; border-top: 1px solid rgba(28, 28, 28, .12); }
.communion__inner { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; text-align: center; }
.communion p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--charcoal); }
.communion a { color: var(--charcoal); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.communion a span { display: inline-block; transition: transform .3s var(--ease); }
.communion a:hover span { transform: translateX(4px); }

/* ---------- Pie ---------- */
.footer { background: var(--black); color: rgba(238, 229, 211, .72); padding: 60px 0 120px; font-size: .95rem; text-align: center; }
.footer__grid { display: grid; gap: 28px; justify-items: center; }
.footer__logo { width: 130px; height: auto; }
.footer__info p { margin: 0 0 6px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer__legal a { border-bottom: 1px solid rgba(238, 229, 211, .3); }
.footer__copy { margin: 36px 0 0; font-size: .8rem; opacity: .6; }

/* ---------- Barra móvil ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(238, 229, 211, .12);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.mobilebar.is-visible { transform: none; }
.mobilebar .btn { min-height: 54px; }

/* ---------- Formulario ---------- */
.modal {
  width: min(480px, calc(100% - 24px)); max-height: calc(100svh - 24px);
  padding: 0; border: 0; border-radius: 24px;
  background: var(--cream-soft); color: var(--text);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8);
}
.modal::backdrop { background: rgba(5, 5, 20, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__form { position: relative; padding: 34px 24px 26px; }
.modal__mono { width: 26px; height: auto; margin-bottom: 14px; }
.modal h2 { font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--charcoal); margin-bottom: 6px; }
.modal__intro { color: var(--text-soft); margin-bottom: 22px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--charcoal);
}
.modal__close:hover { background: rgba(28, 28, 28, .08); }
.modal__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.field { display: block; margin: 0 0 16px; padding: 0; border: 0; }
.field > span, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: .85rem; font-weight: 500; letter-spacing: .04em; color: var(--charcoal); }
.field input[type="text"], .field input[type="date"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid rgba(28, 28, 28, .25); border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--text); -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(28, 28, 28, .15); }
.field input.is-invalid { border-color: #a3341f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid rgba(28, 28, 28, .3); border-radius: 999px; cursor: pointer; font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s;
}
.chips input:checked + span { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.chips input:focus-visible + span { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.form-error { color: #a3341f; font-size: .9rem; margin: 0 0 12px; }
.modal .btn { margin-top: 8px; }
.modal .micro { text-align: center; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.cards .card:nth-child(even), .stats .stat:nth-child(even), .steps__list .step:nth-child(2) { transition-delay: .12s; }
.steps__list .step:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet y ordenador ---------- */
@media (min-width: 720px) {
  .card { display: block; padding: 26px 24px; }
  .card .icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .wrap { padding: 0 32px; }
  .topbar { padding: 30px 32px; }
  .topbar:has(.topbar__link) { max-width: var(--wrap); margin: 0 auto; }
  .topbar:has(.topbar__link) .brand em { display: inline; }
  .divider { height: 90px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .gallery .photo { aspect-ratio: auto; }
  .gallery .g1 { grid-row: span 2; }
  .gallery .g2 { grid-column: span 2; aspect-ratio: auto; }
  .gallery .g4 { grid-row: span 2; }
  .gallery .g5 { grid-column: span 2; aspect-ratio: auto; }
  .gallery .g3 { grid-row: span 1; }
  .gallery .g4 { grid-column: auto; }
  .gallery .g6 { grid-column: span 1; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .price__card { padding: 56px 56px 50px; }
  .modal__form { padding: 42px 38px 30px; }
  .private { padding: 32px 36px; align-items: center; }
  .mobilebar { display: none; }
  .footer { padding-bottom: 60px; }
  .footer__grid { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; text-align: left; }
}

@media (min-width: 1000px) {
  .section { padding: 120px 0 170px; }
  .hero { padding: 140px 0 150px; display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 70px; }
  .hero__visual { margin: 0 0 0 auto; }
  .problem { padding-top: 90px; }
  .problem__grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
  .offer__layout { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .photo--album { position: sticky; top: 40px; }
  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 90px; }
  .section-head { margin-bottom: 64px; }
}

/* ---------- Páginas interiores (legales, 404, comuniones) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 130px 0 90px; color: #fff; text-align: center;
  background: linear-gradient(165deg, #000 0%, #0a0a0a 50%, var(--charcoal) 100%);
}
.page-hero .hero__bg::after { opacity: .06; }
.page-hero h1 { position: relative; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 8vw, 4.2rem); line-height: 1.05; margin-bottom: 14px; text-wrap: balance; }
.page-hero h1 em { font-style: italic; color: var(--cream); }
.page-hero p { position: relative; color: rgba(255, 255, 255, .78); max-width: 50ch; margin: 0 auto 26px; font-size: 1.1rem; }
.legal { background: var(--cream); padding: 70px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-family: var(--serif); font-size: 1.9rem; color: var(--charcoal); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid rgba(28, 28, 28, .2); vertical-align: top; }
.alert {
  padding: 20px 22px; border-radius: 14px; background: var(--charcoal); color: var(--cream);
  font-size: .95rem; margin-bottom: 30px;
}
.alert strong { color: #fff; }
.back { display: inline-block; margin-top: 40px; color: var(--charcoal); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.notfound { min-height: 100svh; display: flex; align-items: center; justify-content: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 25vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--cream); margin-bottom: 10px; }

/* ---------- Comuniones ---------- */
.steps__list--4 { grid-template-columns: 1fr; }
.steps__cta { margin-top: 46px; }
.band-photo { margin: 0; border-radius: 0; height: clamp(260px, 55vw, 620px); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.day { display: grid; gap: 40px; align-items: center; margin-bottom: 90px; }
.day .h2 { color: #fff; }
.day__note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--cream); margin: 0; }
.day__photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; }
.gallery-head { margin-bottom: 36px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-flow: dense; }
.pgrid .photo { border-radius: 12px; aspect-ratio: 3 / 2; }
.pgrid .tall { grid-row: span 2; aspect-ratio: auto; }
.pgrid .wide { grid-column: span 2; aspect-ratio: 3 / 1; }
.pgrid .wide img { object-position: center 40%; }
.faq--joined { padding-top: 0; }
@media (min-width: 720px) {
  .steps__list--4 { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .steps__list--4 { grid-template-columns: repeat(4, 1fr); }
  .day { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .day__photo { justify-self: end; }
}

/* Encuadres de las fotos de la página de bodas */
.hero .photo--arch img { object-position: center 40%; }
.gallery .g4 img { object-position: center 30%; }
.closing .photo--bg img { object-position: center 30%; }
.band-photo img[src*="franja"] { object-position: center 30%; }
.gallery .g3 img { object-position: center 18%; }
.gallery .g5 img { object-position: center 15%; }
.gallery .g1 img { object-position: center 25%; }

/* Reencuadres */
.problem .photo--tall img { object-position: center 4%; }
.photo--album img[src*="oferta"] { object-position: center 30%; }
/* La franja de bodas no pasa de 1180 px de ancho en pantallas grandes, para que la foto se vea nítida */
.band-wrap { background: #000; }
@media (min-width: 1000px) {
  .band-wrap { background: linear-gradient(var(--cream) 50%, #000 50%); padding-inline: 32px; }
  .band-wrap .band-photo { max-width: 1116px; margin: 0 auto; border-radius: var(--radius); height: 560px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
}
.section--cream.steps:has(+ .band-wrap) { padding-bottom: 60px; }

/* ---------- Galería sin recortes ---------- */
/* Cada foto ocupa el ancho que le toca según su proporción (--r = ancho / alto),
   así todas las fotos de una fila tienen la misma altura y se ven enteras. */
.jgrid { --h: 140px; display: flex; flex-wrap: wrap; gap: 8px; }
.jgrid__item {
  flex: var(--r) 1 calc(var(--r) * var(--h));
  aspect-ratio: var(--r); max-width: 100%;
  margin: 0; border-radius: 12px; cursor: zoom-in;
}
.jgrid__item img { width: 100%; height: 100%; object-fit: cover; }
.jgrid__item::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 0, 0, .45) no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .3s var(--ease);
}
.jgrid__item:hover::after, .jgrid__item:focus-visible::after { opacity: 1; }
.jgrid__item:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
@media (hover: none) { .jgrid__item::after { opacity: .85; } }
@media (min-width: 720px) { .jgrid { --h: 250px; gap: 14px; } }
@media (min-width: 1000px) { .jgrid { --h: 340px; gap: 16px; } }

/* ---------- Visor de fotos ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .94); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__img {
  max-width: calc(100vw - 32px); max-height: calc(100vh - 120px);
  width: auto; height: auto; object-fit: contain; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); user-select: none; -webkit-user-drag: none;
}
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(238, 229, 211, .3); background: rgba(0, 0, 0, .5); color: var(--cream); cursor: pointer;
  transition: background .25s, border-color .25s;
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(238, 229, 211, .15); border-color: var(--cream); outline: none; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-size: .9rem; letter-spacing: .15em; color: rgba(238, 229, 211, .75); }
@media (max-width: 719px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: none; width: 46px; height: 46px; }
  .lightbox__count { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Collage de la galería de bodas: mosaico en columnas, fotos enteras y miniaturas pequeñas */
.jgrid--collage { display: block; columns: 3; column-gap: 5px; }
.jgrid--collage .jgrid__item {
  display: block; width: 100%; margin: 0 0 5px; break-inside: avoid;
  aspect-ratio: var(--r); border-radius: 6px;
}
.jgrid--collage .jgrid__item::after { width: 26px; height: 26px; right: 6px; bottom: 6px; background-size: 12px; }
@media (hover: none) { .jgrid--collage .jgrid__item::after { display: none; } }
@media (min-width: 720px) { .jgrid--collage { columns: 4; column-gap: 8px; } .jgrid--collage .jgrid__item { margin-bottom: 8px; } }
@media (min-width: 1000px) { .jgrid--collage { columns: 6; } }
.js .jgrid--collage .reveal { transition-delay: 0s !important; }
