/* =============================================================
   Archidiócesis de Valencia — Hoja de estilos principal
   Paleta señorial: verde petróleo profundo, oro apagado y burdeos
   sobre fondo marfil. Titulares serif (Cormorant Garamond),
   texto Open Sans. Metodología: design tokens + BEM ligero.
   ============================================================= */

/* ---------- 1. Tokens de diseño ---------- */
:root {
  /* Verde petróleo (color institucional) */
  --c-teal-900: #06343a;
  --c-teal-800: #0a454c;
  --c-teal-700: #0e5860; /* primario */
  --c-teal-600: #366f75;
  --c-teal-50:  #e9f0f0;

  /* Oro apagado (acento noble) */
  --c-gold-700: #86682f;
  --c-gold-600: #a1834a; /* acento */
  --c-gold-500: #c2a468;
  --c-gold-100: #efe6d3;

  /* Burdeos (uso muy puntual: donativos) */
  --c-wine-700: #6a2a33;
  --c-wine-600: #813641;

  /* Neutros cálidos */
  --c-ink:      #24211c;
  --c-body:     #423e37;
  --c-muted:    #746d62;
  --c-line:     #e6ddce;
  --c-surface:  #f2ece0;
  --c-bg:       #faf7f1; /* marfil */
  --c-white:    #ffffff;

  /* Semánticos */
  --c-text:     var(--c-body);
  --c-heading:  var(--c-teal-900);
  --c-primary:  var(--c-teal-700);
  --c-accent:   var(--c-gold-600);

  /* Tipografía */
  --font-head: 'Cormorant Garamond', 'Hoefler Text', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala tipográfica fluida (la serif pide algo más de tamaño) */
  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.12rem);
  --step-1:  clamp(1.5rem, 1.35rem + 0.7vw, 1.9rem);
  --step-2:  clamp(1.9rem, 1.6rem + 1.4vw, 2.7rem);
  --step-3:  clamp(2.3rem, 1.9rem + 2vw, 3.4rem);
  --step-4:  clamp(2.8rem, 2.2rem + 3vw, 4.6rem);

  /* Espaciado (base 8) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4rem;    --sp-9: 6rem;

  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 3px rgba(6, 52, 58, .07), 0 1px 2px rgba(6, 52, 58, .05);
  --shadow-md: 0 10px 34px rgba(6, 52, 58, .12);
  --container: 1160px;
  --measure: 66ch;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset y bases ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.nav-is-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--c-heading);
  letter-spacing: .002em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-1); font-weight: 600; }

p { margin: 0 0 var(--sp-4); max-width: var(--measure); }
a { color: var(--c-teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(14, 88, 96, .35); }
a:hover { color: var(--c-gold-700); text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-7) 0; }

:focus-visible {
  outline: 3px solid var(--c-gold-600);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--c-gold-100); color: var(--c-ink); }

/* Enlace de salto */
.skip-link {
  position: absolute; left: var(--sp-3); top: -100px;
  background: var(--c-teal-800); color: #fff;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* ---------- 3. Utilidades de layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--tint { background: var(--c-surface); }
.section__head { margin-bottom: var(--sp-7); max-width: 62ch; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: .74rem;
  color: var(--c-gold-700); margin-bottom: var(--sp-3);
  display: inline-flex; align-items: center; gap: var(--sp-3);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--c-gold-600); }
.eyebrow--center { justify-content: center; }

.text-muted { color: var(--c-muted); }
.lead { font-size: var(--step-1); font-family: var(--font-head); font-weight: 500; color: var(--c-teal-800); line-height: 1.4; max-width: 40ch; }
.mt-6 { margin-top: var(--sp-6); }
.m-0 { margin: 0; }

.grid { display: grid; gap: var(--sp-6); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--sidebar { grid-template-columns: 1fr 320px; gap: var(--sp-8); align-items: start; }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Filete decorativo bajo titulares de sección */
.rule { width: 54px; height: 2px; background: var(--c-gold-600); margin-top: var(--sp-4); border: 0; }

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  padding: .85em 1.7em; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: all .2s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--c-teal-700); color: #fff; border-color: var(--c-teal-700); }
.btn--primary:hover { background: var(--c-teal-800); border-color: var(--c-teal-800); color: #fff; }
.btn--gold { background: var(--c-gold-600); color: #fff; border-color: var(--c-gold-600); }
.btn--gold:hover { background: var(--c-gold-700); border-color: var(--c-gold-700); color: #fff; }
.btn--wine { background: var(--c-wine-700); color: #fff; border-color: var(--c-wine-700); }
.btn--wine:hover { background: var(--c-wine-600); border-color: var(--c-wine-600); color: #fff; }
.btn--ghost { border-color: var(--c-teal-700); color: var(--c-teal-700); background: transparent; }
.btn--ghost:hover { background: var(--c-teal-700); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--c-teal-800); }
.btn--onlight-gold { background: var(--c-gold-500); color: var(--c-teal-900); border-color: var(--c-gold-500); }
.btn--onlight-gold:hover { background: #fff; color: var(--c-teal-900); border-color: #fff; }

/* =============================================================
   5. Cabecera
   ============================================================= */
.topbar { background: var(--c-teal-900); color: #c4d6d6; font-size: .82rem; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: 42px; flex-wrap: wrap;
}
.topbar a { color: #c4d6d6; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.topbar__contact li { list-style: none; }
.topbar__social { display: flex; gap: var(--sp-2); }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s var(--ease); }
.topbar__social a:hover { background: rgba(255,255,255,.12); }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: 88px;
}
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand__mark { flex: none; width: 54px; height: 54px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.02; }
.brand__title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.62rem;
  color: var(--c-teal-800); letter-spacing: .005em;
}
.brand__sub {
  font-family: var(--font-body); font-size: .64rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--c-gold-700); font-weight: 600; padding-left: 2px;
}

.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-block; padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--c-teal-800); text-decoration: none; border-radius: var(--radius);
  transition: color .15s var(--ease); white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-gold-700); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-gold-600); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; color: var(--c-teal-800); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .masthead { position: static; }
  .masthead__inner { flex-wrap: wrap; }
  .nav {
    width: 100%; flex-direction: column; align-items: stretch;
    padding-bottom: var(--sp-4); gap: 0;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--c-line); border-radius: 0; font-size: .9rem; }
  .nav__cta { margin-top: var(--sp-5); text-align: center; justify-content: center; }
  .js .masthead { position: sticky; }
  .js .masthead__inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: grid; place-items: center; }
  .js .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 350px);
    background: var(--c-bg); box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--sp-8) + 24px) var(--sp-5) var(--sp-6);
    transform: translateX(100%); transition: transform .28s var(--ease);
    overflow-y: auto; gap: 0;
  }
  .js .nav[data-open="true"] { transform: translateX(0); }
  .js .nav-backdrop { position: fixed; inset: 0; background: rgba(6,52,58,.5); opacity: 0; visibility: hidden; transition: opacity .28s var(--ease); z-index: 99; }
  .js .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: linear-gradient(150deg, var(--c-teal-900) 0%, var(--c-teal-800) 55%, #0c4f52 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(90% 120% at 88% 0%, rgba(194, 164, 104, .22), transparent 55%);
}
.hero__inner { display: grid; gap: var(--sp-7); align-items: center; padding-block: clamp(3.5rem, 7vw, 7rem); }
@media (min-width: 920px) { .hero__inner { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero__lead { color: #d8e5e5; font-size: var(--step-1); font-family: var(--font-head); font-weight: 500; line-height: 1.4; max-width: 34ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(194,164,104,.32);
  border-radius: var(--radius-lg); padding: var(--sp-6);
}
.hero__card h2 { color: #fff; font-size: var(--step-1); margin-bottom: var(--sp-3); }
.hero__card p { color: #d8e5e5; }
.hero__meta { font-family: var(--font-body); color: var(--c-gold-500); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; margin-bottom: var(--sp-3); }

/* =============================================================
   7. Tarjetas
   ============================================================= */
.card {
  display: flex; flex-direction: column; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-gold-500); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__tag {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; font-weight: 700; color: var(--c-gold-700); margin-bottom: var(--sp-2);
}
.card__title { font-size: var(--step-1); line-height: 1.15; margin-bottom: var(--sp-3); }
.card__title a { color: var(--c-heading); text-decoration: none; }
.card__title a:hover { color: var(--c-teal-700); }
.card__date { margin-top: auto; padding-top: var(--sp-4); color: var(--c-muted); font-size: .8rem; }
.grid__full { grid-column: 1 / -1; }

/* Accesos directos */
.quicklinks { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.quicklink {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5); border-radius: var(--radius-lg);
  background: var(--c-white); border: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-heading);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.quicklink:hover { border-color: var(--c-gold-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--c-teal-800); }
.quicklink__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--c-teal-50); color: var(--c-teal-700); display: grid; place-items: center; }
.quicklink__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.quicklink strong { font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; display: block; line-height: 1.1; }
.quicklink span { font-size: .82rem; color: var(--c-muted); }

/* Cita / palabra del día */
.verse { background: var(--c-teal-900); color: #fff; text-align: center; position: relative; }
.verse::before { content: "\201C"; position: absolute; top: .1em; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-size: 8rem; color: rgba(194,164,104,.22); line-height: 1; }
.verse blockquote { max-width: 40ch; margin: 0 auto; font-size: var(--step-2); font-family: var(--font-head); font-weight: 500; font-style: italic; line-height: 1.32; color: #fff; position: relative; }
.verse cite { display: block; margin-top: var(--sp-4); font-style: normal; font-family: var(--font-body); color: var(--c-gold-500); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.verse__day { margin: var(--sp-2) auto 0; max-width: 46ch; color: #b9cdcd; font-size: .92rem; }
.verse__more { margin-top: var(--sp-6); }

/* Lecturas del día (evangelio.html) */
.reading + .reading { margin-top: var(--sp-8); padding-top: var(--sp-7); border-top: 1px solid var(--c-line); }
.reading__kind { font-size: var(--step-1); color: var(--c-gold-700); margin-bottom: var(--sp-2); }
.reading__ref { font-weight: 700; color: var(--c-ink); margin-bottom: var(--sp-4); }
.reading__ref span { font-weight: 400; color: var(--c-muted); }
.reading__source { margin-top: var(--sp-8); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); font-size: .82rem; color: var(--c-muted); }

/* Banda donación */
.cta-band { background: linear-gradient(150deg, var(--c-wine-700), var(--c-wine-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.5rem); display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: #f0dcdd; margin: 0; max-width: 52ch; }

/* =============================================================
   8. Contenido editorial (páginas interiores)
   ============================================================= */
.prose { max-width: var(--measure); overflow-wrap: anywhere; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: var(--sp-2); }
.prose li::marker { color: var(--c-gold-600); }
.prose blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--c-gold-500); font-family: var(--font-head);
  font-size: var(--step-1); font-style: italic; color: var(--c-teal-800);
}
.prose blockquote p { margin: 0; }
.prose strong { color: var(--c-ink); }
.prose a { font-weight: 600; }

.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.figure figcaption { font-size: .8rem; color: var(--c-muted); padding: var(--sp-3) var(--sp-4); background: var(--c-white); }

/* Recuadro destacado */
.callout {
  background: var(--c-white); border: 1px solid var(--c-line); border-left: 3px solid var(--c-teal-700);
  border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-6);
}
.callout h3 { margin-bottom: var(--sp-2); font-size: var(--step-1); }
.callout p:last-child { margin-bottom: 0; }

/* Cifras / estadísticas */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-white); }
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--c-teal-700); }
.stat__label { display: block; margin-top: var(--sp-2); font-size: .82rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; }

/* Lista de definiciones / oficinas */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.deflist > div { display: grid; gap: var(--sp-1); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 640px) { .deflist > div { grid-template-columns: 220px 1fr; gap: var(--sp-5); align-items: baseline; } }
.deflist dt { font-family: var(--font-body); font-weight: 700; color: var(--c-ink); margin: 0; }
.deflist dd { margin: 0; color: var(--c-body); }

/* Tabla (transparencia) */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 440px; background: var(--c-white); }
table.data caption { text-align: left; padding: var(--sp-3) var(--sp-4); color: var(--c-muted); font-size: .82rem; }
table.data th, table.data td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-line); }
table.data thead th { background: var(--c-teal-900); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Ficha (arzobispo, contacto) */
.profile { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 720px) { .profile { grid-template-columns: 260px 1fr; gap: var(--sp-8); } }
.profile__portrait { width: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 4/5; object-fit: cover; object-position: top center; }

/* Noticias */
.source-note { margin-top: var(--sp-6); color: var(--c-muted); font-size: .82rem; }
.article__figure { margin: 0 0 var(--sp-6); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-white); }
.article__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article__meta { color: var(--c-gold-700); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article__content { max-width: none; }
.article__source { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .82rem; }

/* Bloques de contacto */
.contact-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card { padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-white); }
.contact-card h3 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.contact-card p { margin-bottom: var(--sp-2); }
.contact-card a { font-weight: 600; }

/* Formulario (maqueta accesible) */
.form { display: grid; gap: var(--sp-4); max-width: 620px; }
.form__row { display: grid; gap: var(--sp-2); }
@media (min-width: 560px) { .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
.form label { font-weight: 600; font-size: .88rem; color: var(--c-ink); }
.form input, .form textarea, .form select {
  font-family: inherit; font-size: 1rem; color: var(--c-ink);
  padding: .7em .9em; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-white); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--c-teal-600); outline: none; box-shadow: 0 0 0 3px rgba(14,88,96,.14); }
.form textarea { min-height: 140px; resize: vertical; }
.form__check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: .86rem; color: var(--c-muted); }
.form__check input { width: auto; margin-top: .2em; }

/* =============================================================
   9. Cabecera de página interior + migas
   ============================================================= */
.pagehead { background: linear-gradient(150deg, var(--c-teal-900), var(--c-teal-800)); color: #fff; padding-block: var(--sp-8); }
.pagehead h1 { color: #fff; margin-bottom: var(--sp-2); }
.pagehead p { color: #cfe0e0; max-width: 60ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; font-size: .8rem; color: rgba(255,255,255,.72); margin-bottom: var(--sp-4); }
.breadcrumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li::after { content: "›"; margin-left: var(--sp-2); color: rgba(255,255,255,.4); }
.breadcrumb li:last-child { color: var(--c-gold-500); }
.breadcrumb li:last-child::after { content: ""; }

/* =============================================================
   10. Pie de página
   ============================================================= */
.footer { background: var(--c-teal-900); color: #a9c2c2; padding-block: var(--sp-8) var(--sp-5); font-size: .88rem; }
.footer a { color: #cfe0e0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--sp-7); } }
.footer h3 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer ul li { list-style: none; margin-bottom: var(--sp-2); }
.footer__brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer__brand .brand__title { color: #fff; }
.footer__brand .brand__sub { color: var(--c-gold-500); }
.footer p { max-width: 42ch; }
.footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* =============================================================
   11. Marcadores de imagen (provisionales, tono sobrio)
   ============================================================= */
.ph { position: relative; display: grid; place-items: center; color: rgba(255,255,255,.7); }
.ph::after {
  content: attr(data-label); position: absolute; bottom: var(--sp-3); left: var(--sp-4);
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em;
  font-size: .62rem; color: rgba(255,255,255,.6);
}
.ph svg { width: 42px; height: 42px; opacity: .5; }
.ph--1 { background: linear-gradient(150deg, #0e5860, #06343a); }
.ph--2 { background: linear-gradient(150deg, #8a6d3b, #5f4a26); }
.ph--3 { background: linear-gradient(150deg, #366f75, #0a454c); }
.ph--4 { background: linear-gradient(150deg, #0a454c 0%, #14555a 55%, #86682f 100%); }
.ph--portrait { aspect-ratio: 4/5; }
