/* =============================================
   Villaguay.ar — Estilos principales
   Paleta: verdes entrerrianos + dorado cálido
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --verde:      #1d6640;
  --verde-med:  #28845a;
  --verde-clr:  #3fa870;
  --dorado:     #b8893a;
  --dorado-clr: #d4a84b;
  --crema:      #faf8f4;
  --arena:      #f0ebe1;
  --texto:      #2c2c2c;
  --texto-sub:  #5a5a5a;
  --borde:      #e0d8cc;
  --blanco:     #ffffff;
  --sombra:     0 2px 12px rgba(0,0,0,0.08);
  --sombra-alt: 0 8px 32px rgba(0,0,0,0.13);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--crema);
  color: var(--texto);
  line-height: 1.65;
  font-size: 16px;
}

/* ---- Tipografía editorial ---- */
h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============================
   BARRA DE NOTICIAS (TICKER)
   ============================ */
.ticker-wrap {
  background: var(--verde);
  color: #fff;
  padding: 0.55rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-label {
  display: inline-block;
  background: var(--dorado);
  color: var(--texto);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.9rem;
  margin-right: 1.2rem;
  vertical-align: middle;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.ticker-track {
  display: inline-block;
  animation: ticker 38s linear infinite;
  padding-left: 160px;
  font-size: 0.88rem;
  opacity: 0.93;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-block;
  margin-right: 3.5rem;
}

@keyframes ticker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================
   NAVEGACIÓN
   ============================ */
nav {
  background: var(--blanco);
  border-bottom: 1px solid var(--borde);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--verde);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span {
  color: var(--dorado);
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  color: var(--texto-sub);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.activo {
  color: var(--verde);
  background: var(--arena);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(160deg, var(--verde) 0%, var(--verde-med) 55%, #4bbf7a 100%);
  color: #fff;
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado-clr);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.hero h1 em {
  font-style: italic;
  color: var(--dorado-clr);
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 2.2rem;
}

.hero-cta {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ============================
   PAGE HERO (páginas internas)
   ============================ */
.page-hero {
  background: linear-gradient(160deg, var(--verde) 0%, var(--verde-med) 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.page-hero-inner { max-width: 700px; margin: 0 auto; }

.page-hero .sec-kicker {
  color: var(--dorado-clr);
  margin-bottom: 0.5rem;
}

.page-hero .sec-kicker::before { content: '✦ '; }

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
}

/* ============================
   ACCESOS DEL INDEX
   ============================ */
.accesos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.acceso-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sombra);
  transition: transform 0.22s, box-shadow 0.22s;
  display: block;
}

.acceso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-alt);
}

.acceso-icono {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.acceso-card h3 {
  font-size: 1.1rem;
  color: var(--verde);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.acceso-card p {
  font-size: 0.87rem;
  color: var(--texto-sub);
  line-height: 1.55;
}

/* Ver más link en encabezado de sección */
.sec-ver-mas {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--verde-med);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.sec-ver-mas:hover { color: var(--verde); }

/* ============================
   ENCABEZADOS DE SECCIÓN
   ============================ */
section { padding: 4.5rem 1.5rem; }
section:nth-child(even) { background: var(--arena); }

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

.sec-head {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--borde);
  padding-bottom: 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sec-head-left {}

.sec-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.3rem;
}

.sec-kicker::before { content: '✦ '; }

.sec-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--verde);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================
   NOTICIAS (GRID EDITORIAL)
   ============================ */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.noticia-card {
  background: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  border: 1px solid var(--borde);
}

.noticia-card:hover {
  box-shadow: var(--sombra-alt);
  transform: translateY(-3px);
}

.noticia-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-clr) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.noticia-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.noticia-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }

.noticia-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  background: #e8f4ed;
  color: var(--verde);
}

.noticia-fecha { font-size: 0.8rem; color: #999; }

.noticia-body h3 {
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  color: var(--texto);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  flex: 1;
}

.noticia-body p { font-size: 0.88rem; color: var(--texto-sub); line-height: 1.6; }

/* ============================
   CONOCIENDO A
   ============================ */
.conociendo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.conociendo-card {
  background: var(--blanco);
  border-radius: 10px;
  border: 1px solid var(--borde);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
}

.conociendo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-alt);
}

.conociendo-header {
  background: linear-gradient(135deg, var(--verde) 0%, #2f9c60 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.conociendo-header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.conociendo-icono {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.conociendo-cat,
.conociendo-header h3 {
  position: relative;
  z-index: 1;
}

.conociendo-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dorado-clr);
  margin-bottom: 0.25rem;
}

.conociendo-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.conociendo-body { padding: 1.3rem; }

.conociendo-body p {
  font-size: 0.9rem;
  color: var(--texto-sub);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.logros {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.logros li {
  font-size: 0.85rem;
  color: var(--texto);
  padding: 0.35rem 0.6rem;
  background: var(--crema);
  border-left: 3px solid var(--dorado);
  border-radius: 0 4px 4px 0;
}

.ig-link {
  font-size: 0.83rem;
  color: var(--verde-med);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.ig-link:hover { color: var(--verde); }

/* ============================
   HISTORIAS
   ============================ */
.historias-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.historia-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  align-items: start;
  transition: transform 0.2s;
}

.historia-img {
  grid-column: 1 / -1;
  height: 180px;
  overflow: hidden;
}

.historia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.historia-inner {
  display: contents;
}

.historia-item:hover { transform: translateX(4px); }

.historia-año {
  text-align: center;
}

.historia-año-num {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dorado);
  display: block;
  margin-bottom: 0.5rem;
}

.historia-icono-wrap {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-clr) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto;
}

.historia-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.3rem;
}

.historia-item h3 {
  font-size: 1.1rem;
  color: var(--texto);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.historia-item p {
  font-size: 0.9rem;
  color: var(--texto-sub);
  line-height: 1.65;
}

/* ============================
   EMPRENDEDORES
   ============================ */
.emprendedores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.emprendedor-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.emp-img {
  height: 170px;
  overflow: hidden;
}

.emp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.emp-body {
  padding: 1.6rem;
}

.emprendedor-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.6rem; right: 1.6rem;
  height: 3px;
  background: linear-gradient(90deg, var(--verde-med), var(--dorado));
  border-radius: 2px 2px 10px 10px;
  opacity: 0;
  transition: opacity 0.25s;
}

.emprendedor-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-alt); }
.emprendedor-card:hover::after { opacity: 1; }

.emp-icono { font-size: 2.4rem; margin-bottom: 0.7rem; display: block; }

.emp-rubro {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: #e6f4eb;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.emprendedor-card h3 {
  font-size: 1.1rem;
  color: var(--texto);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.emprendedor-card p {
  font-size: 0.88rem;
  color: var(--texto-sub);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.emp-links { display: flex; flex-direction: column; gap: 0.3rem; }

.emp-links a {
  font-size: 0.82rem;
  color: var(--verde-med);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.emp-links a:hover { color: var(--verde); }

/* ============================
   DE TODO UN POCO
   ============================ */
.detodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.detodo-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.2s, box-shadow 0.2s;
}

.detodo-card-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
}

.detodo-img {
  height: 160px;
  overflow: hidden;
}

.detodo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detodo-card.destacado {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--verde) 0%, #1f7545 100%);
  color: #fff;
  border-color: transparent;
}

@media (max-width: 640px) { .detodo-card.destacado { grid-column: span 1; } }

.detodo-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-alt); }

.detodo-icono {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--arena);
  border-radius: 10px;
}

.detodo-card.destacado .detodo-icono {
  background: rgba(255,255,255,0.15);
}

.detodo-content {}

.detodo-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.3rem;
}

.detodo-card.destacado .detodo-cat { color: var(--dorado-clr); }

.detodo-content h3 {
  font-size: 1rem;
  color: var(--texto);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.detodo-card.destacado .detodo-content h3 { color: #fff; }

.detodo-content p {
  font-size: 0.87rem;
  color: var(--texto-sub);
  line-height: 1.6;
}

.detodo-card.destacado .detodo-content p { color: rgba(255,255,255,0.82); }

/* ============================
   CARDS CLICKEABLES
   ============================ */
[data-href] {
  cursor: pointer;
}

/* ============================
   PÁGINA DE DETALLE
   ============================ */
.detalle-hero {
  padding-bottom: 2.5rem;
}

.detalle-article {
  padding: 3rem 1.5rem 4.5rem;
}

.detalle-bajada {
  font-size: 1.2rem;
  color: var(--texto-sub);
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--dorado);
  padding-left: 1.25rem;
}

.detalle-imagen {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  max-height: 480px;
}

.detalle-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detalle-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.detalle-layout.detalle-layout-full {
  grid-template-columns: 1fr;
}

.detalle-cuerpo p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--texto);
}

.detalle-cuerpo .detalle-placeholder {
  color: var(--texto-sub);
  font-style: italic;
  font-size: 0.95rem;
}

.detalle-destacados-box {
  background: var(--arena);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 1.75rem;
  position: sticky;
  top: 84px;
}

.detalle-destacados-box h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--verde);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--dorado);
}

.detalle-destacados-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detalle-destacados-box li {
  font-size: 0.92rem;
  color: var(--texto);
  padding: 0.5rem 0.75rem;
  background: var(--blanco);
  border-left: 3px solid var(--verde-clr);
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

.detalle-volver {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--verde-med);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, gap 0.2s;
}

.detalle-volver:hover {
  color: var(--verde);
  gap: 0.6rem;
}

@media (max-width: 860px) {
  .detalle-layout {
    grid-template-columns: 1fr;
  }
  .detalle-destacados-box {
    position: static;
  }
}

/* ============================
   CONTACTO
   ============================ */
#contacto,
section.contacto-section {
  background: var(--verde) !important;
  color: #fff;
}

#contacto .sec-head { border-color: rgba(255,255,255,0.2); }
#contacto .sec-head h2 { color: #fff; }
#contacto .sec-kicker { color: var(--dorado-clr); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contacto-info h3 {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  color: var(--dorado-clr);
  margin-bottom: 1rem;
}

.contacto-info p {
  font-size: 0.93rem;
  opacity: 0.85;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.cinfo-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  opacity: 0.88;
}

.cinfo-item span:first-child { font-size: 1.2rem; flex-shrink: 0; }

.cinfo-item a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.cinfo-item a:hover { color: var(--dorado-clr); }

/* Formulario */
.form-box {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 2rem;
}

.fg { margin-bottom: 1.1rem; }

.fg label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 7px;
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255,255,255,0.42); }

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--dorado-clr);
  background: rgba(255,255,255,0.15);
}

.fg textarea { resize: vertical; min-height: 100px; }
.fg select option { background: var(--verde); }

.btn-enviar {
  width: 100%;
  background: var(--dorado);
  color: var(--texto);
  font-weight: 700;
  font-size: 0.97rem;
  font-family: 'Inter', sans-serif;
  padding: 0.85rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-enviar:hover { background: var(--dorado-clr); transform: translateY(-1px); }

.form-ok {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--dorado-clr);
}

.form-ok .ok-icon { font-size: 3rem; margin-bottom: 0.75rem; display: block; }

/* ============================
   FOOTER
   ============================ */
footer {
  background: #111;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 1.75rem 1.5rem;
  font-size: 0.85rem;
}

footer strong { color: rgba(255,255,255,0.85); }
footer .foot-diamond { color: var(--dorado); margin: 0 0.5rem; }

/* ============================
   ESTADO CARGANDO
   ============================ */
.cargando {
  text-align: center;
  padding: 3rem;
  color: #aaa;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 780px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.abierto { display: flex; }
  .nav-links a { padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--borde); }
  .nav-toggle { display: flex; }
  .contacto-grid { grid-template-columns: 1fr; }
  .historia-item { grid-template-columns: 70px 1fr; gap: 1rem; }
  section { padding: 3rem 1.25rem; }
}

@media (max-width: 500px) {
  .historia-item { grid-template-columns: 1fr; }
  .historia-año { display: flex; align-items: center; gap: 0.75rem; }
}
