/* Fernández · Matrimonios — lado de matrimonios del sitio de Banquetería Fernández.
   Nació del sistema «Blanco» (una sola familia Jost, líneas finas y la foto como protagonista),
   que también usa el sitio de Humberto Jorquera; por eso lleva paleta y portada propias: azul
   mezclilla y una portada con texto y fotos reales. El lado de empresas tiene su propia hoja
   (assets/empresas.css). */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta «azul mezclilla» (Matías, 2026-11-13): propia del lado de matrimonios, distinta del
     blanco con verde del sitio de Humberto Jorquera y del espresso con dorado del lado de empresas.
     El azul viene de la chaqueta de chef de Óscar y de los lazos azul marino de sus montajes. */
  --paper: #f8f7f4;        /* lino */
  --bone: #eef0f2;         /* niebla: superficies */
  --line: #dde1e6;
  --ink: #1c2735;          /* azul noche: texto y botones */
  --ink-mute: #4a5566;
  --ink-faint: #5e6878;    /* AA sobre lino y niebla */
  --accent: #3b5b82;       /* mezclilla: enlaces y foco, AA sobre lino */
  --accent-deep: #2c4664;
  --detail: #8fa6c1;       /* mezclilla clara: solo detalles (líneas, puntos) */
  --on-photo: #ffffff;
  --scrim: rgba(16, 24, 36, 0.58);

  --font: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --foot-h: 46px;
  --fade: 1400ms;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 50%; top: -60px; z-index: 50; transform: translateX(-50%);
  padding: 10px 14px; background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Rótulos y enlaces ─────────────────────────────────────────── */

.label, .tabs button, .link, .foot, .masthead__cta, .field label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color .2s, gap .2s;
}
.link:hover { color: var(--accent); gap: 14px; }
.link svg { width: 14px; height: 14px; }

/* ── Cabecera ──────────────────────────────────────────────────── */

.masthead {
  display: grid;
  grid-template-columns: 28px auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: center;
  position: relative;
  z-index: 5;
}
.menu-toggle {
  width: 28px; height: 28px;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
}
.menu-toggle span { display: block; height: 1px; background: currentColor; width: 24px; }
.brand {
  text-decoration: none;
  font-size: 19px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  line-height: 1;
  padding-top: 2px;
}
.masthead__cta {
  grid-column: 2;
  justify-self: start;
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 10.5px; letter-spacing: .2em;
}
.masthead__cta:hover { color: var(--accent); }

/* Sobre fotos (portada) */

/* ── Menú a pantalla completa ──────────────────────────────────── */

.menu {
  position: fixed; inset: 0; z-index: 40;
  color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.menu__photo { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; }
.menu__photo::after { content: ''; position: absolute; inset: 0; background: var(--scrim); }
.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 36px var(--gutter) 40px;
}
.menu__top { display: flex; align-items: center; gap: 18px; }
.menu-close { width: 28px; height: 28px; display: inline-grid; place-items: center; }
.menu-close svg { width: 20px; height: 20px; }
.menu nav { margin-top: clamp(32px, 7vh, 72px); }
.menu ul { list-style: none; margin: 0; padding: 0 0 0 46px; }
.menu li + li { margin-top: 6px; }
.menu nav a {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 300;
  letter-spacing: .01em;
  text-decoration: none;
  line-height: 1.35;
  opacity: .92;
  transition: opacity .2s;
}
.menu nav a:hover, .menu nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.menu__contact {
  margin-top: auto; padding-left: 46px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  opacity: .85;
}
.menu__contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ── Fotografía: pase de diapositivas ──────────────────────────── */

.slides { position: relative; overflow: hidden; background: var(--bone); }
.slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--fade) ease;
}
.slides img.is-on { opacity: 1; }
.dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 4px;
  z-index: 2;
}
.dots button { width: 22px; height: 22px; display: grid; place-items: center; }
.dots button::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: background .3s, transform .3s;
}
.dots button[aria-current="true"]::before { background: #fff; transform: scale(1.15); }

/* ── Portada: texto y dos pases de fotos reales (montajes y platos) ── */
/* Propia de Óscar: el sitio «Blanco» de Humberto Jorquera usa un tríptico a pantalla completa. */

.home {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) 1.5fr;
  min-height: calc(100svh - 72px);
  background: var(--paper);
}
.home__text { align-self: center; max-width: 560px; padding: clamp(40px, 7vh, 96px) var(--gutter); }
.home__text .label { color: var(--ink-faint); margin: 0 0 22px; }
.home__text h1 { margin: 0; font-size: clamp(34px, 3.5vw, 54px); font-weight: 300; letter-spacing: -.01em; line-height: 1.12; }
.home__lede { margin: 22px 0 0; max-width: 420px; font-size: 17px; color: var(--ink-mute); }
.home__actions { margin: 32px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.home__photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  height: calc(100svh - 72px); min-height: 560px;
  padding: 0 var(--gutter) var(--gutter) 0;
}
.home__scene, .home__dish { grid-row: 1; }

/* ── Páginas interiores: columna de texto + fotografía ─────────── */

.split { display: grid; grid-template-columns: minmax(440px, 44%) 1fr; }
.split__text {
  height: 100vh; height: 100svh;
  overflow-y: auto;
  padding: 36px var(--gutter) calc(var(--foot-h) + 56px);
  display: flex; flex-direction: column;
}
.split__media { position: sticky; top: 0; height: 100vh; height: 100svh; }
.split__media .slides { position: absolute; inset: 0 0 var(--foot-h) 0; }

.page { margin-top: clamp(44px, 9vh, 92px); max-width: 520px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 clamp(28px, 5vh, 44px); padding: 0; list-style: none; }
.tabs button {
  padding: 0 0 6px;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.page h1, .panel h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.15;
}
.panel h2 { font-size: clamp(26px, 2.4vw, 34px); }
.page p { margin: 0 0 16px; color: var(--ink-mute); }
.page .lede { color: var(--ink); font-size: 17.5px; font-weight: 300; line-height: 1.6; }
.page .link { margin-top: 18px; }
.panel[hidden] { display: none; }
.panel { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Listas de momentos y de platos, al estilo de una carta */
.course { list-style: none; margin: 8px 0 0; padding: 0; }
.course li { padding: 16px 0; border-top: 1px solid var(--line); }
.course li:last-child { border-bottom: 1px solid var(--line); }
.course .label { display: block; color: var(--ink-faint); font-size: 10.5px; margin-bottom: 4px; }
.course .dish { display: block; color: var(--ink); font-size: 16px; font-weight: 400; }
.course .desc { display: block; color: var(--ink-mute); font-size: 14.5px; margin-top: 2px; }
.note { margin: 44px 0 6px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14.5px; font-style: italic; }
.note + .link { margin-top: 8px; }

/* ── Formulario ────────────────────────────────────────────────── */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 34px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink-faint); font-size: 10.5px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 9px;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235e5c57' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat;
  padding-right: 22px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 30px;
  background: var(--ink); color: #fff;
  border-radius: 2px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s;
}
.btn:hover { background: var(--accent-deep); }
.btn[disabled] { opacity: .55; cursor: progress; }
.quote-status { margin: 0; font-size: 14.5px; color: var(--ink-mute); display: none; }
.quote-status.is-visible { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.quote-status--fallback { color: #8a3a22; }
.quote-status--success { color: var(--accent-deep); }
.quote-status a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list .label { color: var(--ink-faint); font-size: 10.5px; padding-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* ── Pie fijo ──────────────────────────────────────────────────── */

.foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  height: var(--foot-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 10.5px; letter-spacing: .16em;
}
.foot p { margin: 0; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .sep { width: 1px; height: 11px; background: var(--line); }

/* ── Teléfono y tablet vertical ────────────────────────────────── */

@media (max-width: 959px) {
  :root { --foot-h: 0px; }
  /* La columna de texto se «disuelve» para ordenar cabecera, foto y contenido. */
  .split { display: flex; flex-direction: column; }
  .split__text { display: contents; }
  .split__text > .masthead {
    order: 0;
    position: sticky; top: 0; z-index: 8;
    background: rgba(248, 247, 244, .96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    padding: 18px var(--gutter) 14px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 28px 1fr auto;
  }
  .split__text > .masthead .masthead__cta { grid-column: 3; grid-row: 1; align-self: center; }
  .split__media { order: 1; position: relative; height: auto; }
  .split__media .slides { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .page { order: 2; margin: 0; padding: 34px var(--gutter) 56px; max-width: none; }
  .form { grid-template-columns: 1fr; }

  .home { display: block; min-height: 0; }
  .home__text { max-width: none; padding: 34px var(--gutter) 30px; }
  .home__text h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .home__photos { grid-template-columns: 1fr 1fr; gap: 6px; height: auto; min-height: 0; padding: 0 var(--gutter); }
  .home__scene, .home__dish { aspect-ratio: 4 / 5; }

  .foot {
    position: static; height: auto;
    flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 28px var(--gutter) 34px;
  }
  .foot p { white-space: normal; flex-wrap: wrap; }
  .foot p:first-child { flex-direction: column; align-items: flex-start; gap: 2px; }
  .foot p:first-child .sep { display: none; }
  .tabs { gap: 6px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --fade: 1ms; }
  .panel { animation: none; }
  .menu { transition: none; }
}

.page__title {
  margin: 0 0 22px;
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.15;
}

/* ── Carta con fotos ───────────────────────────────────────────── */

.course li.has-thumb { display: grid; grid-template-columns: 1fr 76px; gap: 20px; align-items: center; }
.course__thumb {
  width: 76px; height: 95px; object-fit: cover;
  border-radius: 2px; background: var(--bone);
}

/* ── Portada larga: cabecera fija arriba, siempre sólida ───────── */

.home-top {
  position: sticky; top: 0; left: 0; right: 0; z-index: 30;
  padding: 36px var(--gutter) 18px;
  color: #fff;
  transition: background .35s ease, color .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.home-top .masthead__cta { color: rgba(255, 255, 255, .82); }
.home-top.is-solid { background: rgba(248, 247, 244, .97); color: var(--ink); padding-top: 18px; padding-bottom: 14px; border-bottom-color: var(--line); }
.home-top.is-solid .masthead__cta { color: var(--ink-faint); }
.home-top .masthead__cta:hover { color: var(--accent); }
.page-home .foot { position: static; }

/* ── Portada larga: secciones ──────────────────────────────────── */

.h-section { padding: clamp(80px, 10vw, 150px) var(--gutter) 0; }
.h-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.h-head .label, .h-intro .label, .h-cta .label { color: var(--ink-faint); margin: 0 0 18px; }
.h-section h2, .h-cta h2 { margin: 0; font-size: clamp(32px, 3.6vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.h-lede { margin: 22px 0 0; color: var(--ink-mute); font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 620px; }
.h-head .link { margin-top: 26px; }
.h-section h3 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: .005em; }

/* Quiénes */
.h-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.h-intro p:not(.label):not(.h-lede) { margin: 18px 0 0; color: var(--ink-mute); max-width: 560px; }
.h-intro .link { margin-top: 30px; }
.h-intro__portrait { margin: 0; }
.h-intro__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.h-intro__portrait figcaption { margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

/* Carrusel de platos */
.h-dishes { padding-right: 0; }
.h-rail-wrap { position: relative; }
.h-rail {
  list-style: none; margin: 0; padding: 0 var(--gutter) 6px 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.h-rail::-webkit-scrollbar { display: none; }
.h-rail li { scroll-snap-align: start; }
.h-rail a { display: block; text-decoration: none; }
.h-rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bone); transition: opacity .3s; }
.h-rail a:hover img { opacity: .88; }
.h-rail .label { display: block; margin-top: 14px; color: var(--ink-faint); font-size: 10.5px; }
.h-rail__name { display: block; margin-top: 4px; font-size: 16px; }
.h-rail__controls { display: flex; gap: 8px; margin: 26px var(--gutter) 0 0; justify-content: flex-end; }
.h-rail__controls button { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 2px; transition: border-color .2s, color .2s; }
.h-rail__controls button:hover { border-color: var(--ink); color: var(--accent); }
.h-rail__controls svg { width: 14px; height: 14px; }

/* Un matrimonio */
.h-moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.h-moments img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 18px; background: var(--bone); }
.h-moments p { margin: 8px 0 0; color: var(--ink-mute); font-size: 15px; }

/* En cocina: videos y fotos reales */
.h-kitchen__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-kitchen__grid figure { margin: 0; overflow: hidden; background: var(--bone); }
/* Los clips son de teléfono (480 px): se muestran del mismo tamaño que las fotos, recortados al centro. */
.h-kitchen__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 62%; }

/* Para cada celebración */
.h-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.h-rows a { display: grid; grid-template-columns: 1fr clamp(110px, 12vw, 170px); gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.h-row__name { display: block; font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; line-height: 1.2; transition: color .2s, transform .3s; }
.h-row__desc { display: block; margin-top: 4px; color: var(--ink-mute); font-size: 15px; }
.h-rows img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bone); }
.h-rows a:hover .h-row__name { color: var(--accent); transform: translateX(6px); }

/* Cómo trabajamos */
.h-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.h-steps__list li { padding-top: 22px; border-top: 1px solid var(--ink); }
.h-steps__list p { margin: 10px 0 0; color: var(--ink-mute); font-size: 15px; }

/* Galería */
.h-gallery__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.h-gallery__strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--bone); transition: opacity .3s; }
.h-gallery__strip a:hover img { opacity: .85; }

/* Cierre */
.h-cta { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: clamp(80px, 10vw, 150px); background: var(--bone); }
.h-cta__photo { margin: 0; min-height: 460px; }
.h-cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-cta__text { padding: clamp(40px, 6vw, 96px) var(--gutter); align-self: center; }
.h-cta .btn { margin-top: 32px; }
.h-cta__contact { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-mute); }
.h-cta__contact a { text-decoration: none; }
.h-cta__contact a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .h-moments, .h-steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .h-gallery__strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 959px) {
  .home-top { padding: 22px var(--gutter) 14px; }
  .home-top.is-solid { padding-top: 16px; padding-bottom: 12px; }
  .home-top .masthead { grid-template-columns: 28px 1fr auto; }
  .home-top .masthead__cta { grid-column: 3; grid-row: 1; align-self: center; }
  .h-section { padding-top: 72px; }
  .h-intro, .h-cta { grid-template-columns: 1fr; }
  .h-intro__portrait { max-width: 440px; }
  .h-rail { grid-auto-columns: 66vw; gap: 12px; }
  .h-rail__controls { display: none; }
  .h-moments { gap: 18px 14px; }
  .h-moments h3 { font-size: 18px; }
  .h-moments p { font-size: 14px; }
  .h-kitchen__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .h-rows a { grid-template-columns: 1fr 96px; gap: 16px; }
  .h-steps__list { grid-template-columns: 1fr; row-gap: 30px; }
  .h-gallery__strip { gap: 6px; }
  .h-cta__photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ── Fernández · Matrimonios: piezas propias ───────────────────── */

/* Marca en dos líneas y llamado a cotizar a la derecha. */
.masthead { grid-template-columns: 28px 1fr auto; }
.brand { display: inline-flex; flex-direction: column; gap: 7px; }
.brand__name { font-size: 19px; letter-spacing: .32em; text-transform: uppercase; line-height: 1; }
.brand__by { font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; opacity: .78; line-height: 1; }
.masthead__cta { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; }
.menu__top .brand { color: #fff; }

/* Toda la noche en cinco momentos. */
.h-moments--five { grid-template-columns: repeat(5, 1fr); gap: 18px; }

/* El paquete real del sitio. */
.h-package { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.h-package__photo { margin: 0; }
.h-package__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bone); }
.h-package .label { color: var(--ink-faint); margin: 0 0 18px; }
.h-package__list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 520px; }
.h-package__list li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; }
.h-package__list li::before { content: ''; position: absolute; left: 2px; top: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--detail); }
.h-package__note { margin: 20px 0 0; max-width: 520px; color: var(--ink-faint); font-size: 14.5px; }
.h-package .btn { margin-top: 30px; }

/* Cocina en vivo: dos fotos reales. */
.h-live__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-live__grid figure { margin: 0; overflow: hidden; background: var(--bone); }
.h-live__grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Botón secundario y nota de privacidad del cotizador. */
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.form__privacy { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-faint); }

@media (max-width: 1100px) {
  .h-moments--five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 959px) {
  .brand__name { font-size: 17px; }
  .h-moments--five { grid-template-columns: 1fr 1fr; }
  .h-moments--five li:last-child { grid-column: 1 / -1; }
  .h-moments--five li:last-child img { aspect-ratio: 16 / 10; }
  .h-package { grid-template-columns: 1fr; }
  .h-package__photo img { aspect-ratio: 4 / 3; }
  .h-live__grid { gap: 8px; }
  .form__actions .btn { flex: 1 1 auto; }
}
