/* ==========================================================
   La Estribera · Caballos Criollos
   ========================================================== */

:root {
  --ink: #1d1d1b;
  --paper: #f7f2e9;
  --text: #2b2825;
  --text-muted: #6d665c;
  --light: #f3ede2;

  --gold: #c09049;
  --gold-dark: #8c5f24;
  --gold-light: #e8cd8a;
  --gold-grad: linear-gradient(120deg, #8c5f24 0%, #c9974a 28%, #f3dc9c 50%, #c9974a 72%, #8c5f24 100%);

  --f-display: "Cinzel", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 140px);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }

/* ---------- Tipografía ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.title {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.18;
  color: var(--ink);
}
.title--light { color: var(--light); }

.lead {
  margin: 0 0 20px;
  font-family: var(--f-serif);
  font-size: clamp(21px, 2.3vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.muted { margin: 0; color: var(--text-muted); }

/* ---------- Botón ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius);
  background: var(--gold-grad);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Placeholders ---------- */

.ph {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed currentColor;
  opacity: .35;
}
.ph--light { color: var(--gold-dark); background: #e6d9c0; }
.ph--dark  { color: var(--gold-light); background: #2c2b28; }
.ph__label {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Portada ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--light);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  place-items: end;
  padding: 20px;
}
.hero__bg::after { display: none; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 18, .6), rgba(20, 20, 18, .25) 40%, rgba(20, 20, 18, .7));
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 60px;
}
.hero__logo { width: clamp(200px, 34vw, 360px); }
.hero__tagline {
  margin: 26px 0 36px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
}

/* ---------- Secciones ---------- */

.section { padding-block: var(--section-y); }
.section--flush { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); }

/* Quiénes somos */
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.ph--portrait { aspect-ratio: 4 / 5; }

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 260px);
  gap: clamp(10px, 1.4vw, 16px);
}
.gallery__item { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__item {
  display: block;
  padding: 16px 20px;
  border: 1px solid rgba(192, 144, 73, .3);
  border-radius: var(--radius);
}
.contact__item small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__item strong {
  display: block;
  font-weight: 500;
  color: var(--light);
  overflow-wrap: anywhere;
}
.contact__map,
.contact iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(160px, 32vw, 300px); }
  .contact { grid-template-columns: 1fr; }
  .contact__map, .contact iframe { min-height: 300px; }
}

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .ph--portrait { max-width: 440px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .gallery { grid-auto-rows: 42vw; }
  .btn { width: 100%; max-width: 340px; }
  .ph__label { font-size: 10px; letter-spacing: .1em; }
}
