/* Las Matronas — landing
   Paleta oficial (Manual de Identidad):
   marrón #6D2E1D · crema #EBE9D8 · ámbar #FFC271 · oliva oscuro #3A421F · oliva #5A6309
   Tipografías: principal Montecatini Pro (respaldo web: Archivo) · secundaria Mukta Mahee
*/

:root {
  --brown: #6D2E1D;
  --cream: #EBE9D8;
  --amber: #FFC271;
  --olive-dark: #3A421F;
  --olive: #5A6309;
  --ink: #2A150E;
  --ink-soft: #4A3228;
  --display: 'Montecatini Pro', 'Archivo', system-ui, sans-serif;
  --body: 'Mukta Mahee', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; }
a { color: var(--brown); text-decoration: none; }
a:hover { color: var(--olive); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brown);
  border-bottom: 1px solid rgba(235, 233, 216, 0.18);
}
.header-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: block; line-height: 1; }
.brand-name { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.14em; color: var(--cream); }
.brand-tag { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); }

.nav {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 26px; flex-wrap: wrap;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav > a { color: var(--cream); }
.nav > a:hover { color: var(--amber); }
.nav-toggle { display: none; }

.lang { display: flex; align-items: center; border: 1px solid rgba(235, 233, 216, 0.35); }
.lang button {
  background: transparent; color: var(--cream); border: none;
  padding: 8px 12px; font: inherit; font-weight: 700; letter-spacing: 0.1em; cursor: pointer;
}
.lang button.is-active { background: var(--amber); color: #3A2008; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.btn-lg { padding: 17px 32px; letter-spacing: 0.14em; }
.btn-amber { background: var(--amber); color: #3A2008; }
.btn-amber:hover { background: var(--cream); color: var(--brown); }
.btn-brown { background: var(--brown); color: var(--cream); }
.btn-brown:hover { background: var(--olive-dark); color: var(--cream); }
.btn-ghost-cream { border: 1px solid rgba(235, 233, 216, 0.5); color: var(--cream); }
.btn-ghost-cream:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost-dark { border: 1px solid rgba(58, 32, 8, 0.4); color: #3A2008; }
.btn-ghost-dark:hover { border-color: var(--brown); color: var(--brown); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.arrow { font-size: 18px; line-height: 1; }

/* ---------- Tipografía de sección ---------- */
.eyebrow { font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow-amber { color: var(--amber); }
.eyebrow-olive { color: var(--olive); }
.eyebrow-brown { color: var(--brown); }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: 0.98; }
h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 24ch; }
.h2-brown { color: var(--brown); }
.h2-dark { color: #3A2008; max-width: 26ch; font-size: clamp(28px, 3.2vw, 44px); }
.h2-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 18ch; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; max-width: 46ch; }

.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-brown { background: var(--brown); color: var(--cream); padding: 100px 0; }
.section-olive { background: var(--olive-dark); color: var(--cream); }
.section-amber { background: var(--amber); color: #3A2008; padding: 88px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--brown); color: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.hero-copy { padding: 88px 0 96px; position: relative; z-index: 2; }
.hero .lead { color: rgba(235, 233, 216, 0.92); }
.hero-photo { position: relative; min-height: 420px; align-self: stretch; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-watermark { position: absolute; left: -90px; bottom: -120px; width: 420px; opacity: 0.07; pointer-events: none; z-index: 1; }

/* ---------- Quiénes somos ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: start; }
.mark-inline { width: 120px; margin-top: 44px; opacity: 0.85; }
.prose { display: grid; gap: 26px; font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.pillars { margin-top: 16px; border-top: 1px solid rgba(109, 46, 29, 0.2); }
.pillars li { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(109, 46, 29, 0.2); }
.pillar-key { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; color: var(--brown); min-width: 88px; }
.pillar-val { font-size: 16px; line-height: 1.6; }

/* ---------- Menú ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; padding: 0 24px; }
.split-copy { padding: 100px 0; }
.split-photo { position: relative; min-height: 380px; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-olive .lead { color: rgba(235, 233, 216, 0.88); max-width: 44ch; }

/* ---------- Galería ---------- */
.gallery-title { margin-bottom: 44px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 380px; object-fit: cover; min-width: 0; }

/* ---------- Horarios ---------- */
.hours { border-top: 1px solid rgba(235, 233, 216, 0.25); }
.hours li { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(235, 233, 216, 0.25); font-size: 17px; }
.hours-time { color: var(--amber); font-weight: 600; }
.hours-note { display: block; border-bottom: none; font-size: 14px; line-height: 1.6; color: rgba(235, 233, 216, 0.6); }

/* ---------- Reservas ---------- */
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-row .btn-row { margin-top: 0; }

/* ---------- Contacto ---------- */
.contact-title { margin-bottom: 52px; max-width: 20ch; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.contact-card { border-top: 2px solid var(--brown); padding-top: 22px; }
.contact-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; }
.contact-value { font-size: 19px; line-height: 1.6; }
.contact-link { font-size: 19px; line-height: 1.6; font-weight: 600; word-break: break-word; }
.contact-sub { margin-top: 10px; font-size: 13px; color: #7A6355; }

/* ---------- Footer ---------- */
.site-footer { background: #3A2008; color: rgba(235, 233, 216, 0.72); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; letter-spacing: 0.04em; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; opacity: 0.85; }
.footer-brand .brand-name { font-size: 13px; }

/* ---------- Idiomas ---------- */
[data-l="en"] { display: none; }
html[lang="en"] [data-l="es"] { display: none; }
html[lang="en"] [data-l="en"] { display: inline; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: block; margin-left: auto;
    background: transparent; border: 1px solid rgba(235, 233, 216, 0.35);
    color: var(--cream); font-size: 22px; line-height: 1; padding: 8px 14px; cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 0 8px; }
  .nav.is-open { display: flex; }
  .hero-copy { padding: 64px 0 56px; }
  .hero-photo { min-height: 320px; }
  .section, .section-brown { padding: 72px 0; }
  .split-copy { padding: 72px 0; }
  .gallery img { height: 300px; }
}
