/* De aquí somos y aquí estamos — hoja de estilos
   Convertida desde el diseño "De Aqui Somos.dc.html" (Claude Design). */

:root {
  --bg: #14110d;
  --bg-card: #1d1913;
  --bg-card-hover: #211c15;
  --texto: #f4efe4;
  --texto-fuerte: #f9f5ec;
  --texto-suave: #cfc6b4;
  --texto-tenue: #c4bba9;
  --texto-apagado: #a89c85;
  --texto-pie: #8c8271;
  --rojo: #b8423c;
  --rojo-claro: #dc7267;
  --verde: #3f8a5c;
  --verde-claro: #63ab80;
  --hueso: #e6dbc0;
  --hueso-suave: rgba(230, 219, 192, 0.16);
  --borde: rgba(184, 66, 60, 0.18);
  --borde-fuerte: rgba(184, 66, 60, 0.5);
  --divisor: rgba(244, 239, 228, 0.08);
  --radio-tarjeta: 26px;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(48px, 8vw, 110px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rojo-claro); text-decoration: none; }
a:hover { color: var(--verde-claro); }

:focus-visible {
  outline: 2px solid var(--rojo-claro);
  outline-offset: 3px;
  border-radius: 4px;
}

.page { min-height: 100vh; overflow-x: hidden; }

.textura {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(184, 66, 60, 0.11), transparent 40%),
    radial-gradient(circle at 88% 28%, rgba(63, 138, 92, 0.09), transparent 45%),
    radial-gradient(circle at 30% 82%, rgba(230, 219, 192, 0.05), transparent 42%),
    repeating-linear-gradient(115deg, rgba(244, 239, 228, 0.025) 0px, rgba(244, 239, 228, 0.025) 1px, transparent 1px, transparent 5px);
}

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  background: rgba(20, 17, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 66, 60, 0.16);
}

.wordmark {
  font-family: "Instrument Serif", serif;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.02em;
  color: var(--texto);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 400;
}

.nav a { color: var(--texto-suave); }
.nav a:hover { color: var(--rojo-claro); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 11vw, 150px) var(--pad-x) clamp(72px, 10vw, 130px);
}

.hero-glow {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 66, 60, 0.20), rgba(184, 66, 60, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid rgba(184, 66, 60, 0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rojo-claro);
}

.hero-title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(46px, 9vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--texto-fuerte);
  text-wrap: balance;
}

.accent { color: var(--rojo-claro); }

.hero-lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- Botones ---------- */

.btn {
  border-radius: 999px;
  font-size: 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  padding: 19px 36px;
  background: var(--rojo);
  color: var(--hueso);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--rojo-claro);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 19px 32px;
  border: 1px solid rgba(244, 239, 228, 0.28);
  color: var(--texto);
  font-weight: 500;
}

.btn-ghost:hover {
  border-color: var(--verde-claro);
  color: var(--verde-claro);
}

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
}

.btn-block:hover { transform: none; }

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

.section {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--divisor);
}

.section-last { padding-bottom: clamp(60px, 8vw, 120px); }

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

.wrap-narrow { max-width: 900px; }

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 62px);
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rojo-claro);
}

.section-title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  color: var(--texto-fuerte);
}

.section-title-sm { font-size: clamp(34px, 5.2vw, 58px); }

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.grid-cards { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.grid-hosts { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ---------- Tarjetas ---------- */

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--radio-tarjeta);
  background: var(--bg-card);
  border: 1px solid var(--borde);
}

.card-interactive {
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.card-interactive:hover {
  border-color: var(--borde-fuerte);
  background: var(--bg-card-hover);
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: "Instrument Serif", serif;
  font-size: 24px;
}

.badge-verde { background: rgba(63, 138, 92, 0.18); color: var(--verde-claro); }
.badge-hueso { background: var(--hueso-suave); color: var(--hueso); }
.badge-rojo { background: rgba(184, 66, 60, 0.18); color: var(--rojo-claro); }

.card-title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--texto-fuerte);
}

.card-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--texto-tenue);
  text-wrap: pretty;
}

.card-text-sm { font-size: 17px; }

/* ---------- Conductores ---------- */

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.avatar-verde {
  background: rgba(63, 138, 92, 0.16);
  border: 1px solid rgba(99, 171, 128, 0.4);
}

.avatar-rojo {
  background: rgba(184, 66, 60, 0.14);
  border: 1px solid rgba(184, 66, 60, 0.4);
}

.host-name {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 500;
  color: var(--texto-fuerte);
}

/* ---------- Sobre nosotros ---------- */

.manifesto {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--texto);
  text-wrap: pretty;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.contact-card {
  gap: 22px;
  padding: clamp(26px, 3vw, 40px);
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--texto);
  transition: color 0.2s ease;
}

.contact-link:hover { color: var(--rojo-claro); }
.contact-link-break { word-break: break-word; }

.contact-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-apagado);
}

.contact-value {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
}

.contact-value-sm { font-size: clamp(17px, 2vw, 22px); }

/* ---------- Pie ---------- */

.site-footer {
  padding: 28px var(--pad-x);
  border-top: 1px solid var(--divisor);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--texto-pie);
}

/* ---------- Preferencias ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wordmark { white-space: normal; }
  .nav { flex-wrap: wrap; }
}
