:root {
  --violet: #7A5B66;
  --gold: #D4A61D;
  --text: #1c1c1e;
  --gray-bg: #fafafa;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  scroll-behavior: smooth;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

header.main-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-mark {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--violet);
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: #666;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  margin: 0 0.6rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
}

.main-nav a:hover, .main-nav a.active {
  background: rgba(122,91,102,0.1);
  color: var(--violet);
}

/* HERO */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: linear-gradient(180deg, #fff, #f9f7f6);
}

.hero-logo {
  width: 560px; /* antes 260px */
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease-in-out;
}

.hero-logo:hover {
  transform: scale(1.05); /* leve animación al pasar el mouse */
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 0.8rem;
}

.hero-sub {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 750px;
  margin: auto;
}

.hero {
  padding-top: 100px;     /* si querés más espacio arriba */
  padding-bottom: 160px;  /* AUMENTÁ este valor para más aire abajo */
}

/* SECCIONES */
.section {
  padding: 4rem 0;
}

.section.light {
  background: var(--gray-bg);
}

.section h2 {
  font-size: 2rem;
  color: var(--violet);
  margin-bottom: 1.5rem;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* BLOQUES NUMÉRICOS */
.data-blocks {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
}

.data-blocks h3 {
  font-size: 2.5rem;
  color: var(--violet);
  margin-bottom: 0.3rem;
}

.data-blocks p {
  color: #555;
  font-size: 0.95rem;
}

/* PROYECTOS */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

.projects h3 {
  color: var(--violet);
  font-size: 1.1rem;
  font-weight: 600;
}

.projects p {
  color: #333;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* CTA FINAL */
.cta {
  background: #fff;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn.violet {
  background: var(--violet);
  color: #fff;
}

.btn.violet:hover {
  background: #694b55;
}

.btn.gold {
  border: 2px solid var(--gold);
  color: var(--violet);
}

.btn.gold:hover {
  background: var(--gold);
  color: #fff;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: #555;
}

.footer a {
  color: var(--violet);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* === Pentágonos decorativos === */
.pentagon-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 250px;
  overflow: hidden;
  z-index: 0;
}

.pentagon {
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.15;
  filter: blur(1.5px);
  transition: opacity 0.3s ease-in-out;
}

.pentagon:hover {
  opacity: 0.25;
}

.pentagon.p1 {
  left: 10%;
  bottom: 15%;
  background-image: url("../assets/images/rioja1.jpg");
}

.pentagon.p2 {
  left: 28%;
  bottom: 25%;
  background-image: url("../assets/images/rioja2.jpg");
}

.pentagon.p3 {
  left: 48%;
  bottom: 8%;
  background-image: url("../assets/images/rioja3.jpg");
}

.pentagon.p4 {
  right: 22%;
  bottom: 20%;
  background-image: url("../assets/images/rioja4.jpg");
}

.pentagon.p5 {
  right: 8%;
  bottom: 5%;
  background-image: url("../assets/images/rioja5.jpg");
}

/* CTA foreground */
.cta {
  position: relative;
  background: #fff;
  padding: 3rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}
/* CTA limpita (ya la tenías parecida) */
.cta {
  background: #fff;
  padding: 2.8rem 0 2.4rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.cta-content {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Carrusel */
.gallery {
  background: #f9f7f6;
  padding: 2.5rem 0 3rem;
}

.gallery-title {
  font-size: 1.6rem;
  color: #7A5B66;
  margin-bottom: 1.3rem;
}

.carousel {
  position: relative;
  width: min(1100px, 92%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #ddd;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  height: 260px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* botones del carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(122,91,102,0.85);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-btn:hover {
  background: rgba(212,166,29,0.8);
}

/* responsive */
@media (max-width: 720px) {
  .cta-content {
    flex-direction: column;
  }
  .slide { height: 190px; }
}
/* === CTA (ya la tenías parecida) === */
.cta {
  background: #fff;
  padding: 2.6rem 0 2.2rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.cta-content {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* === CARRUSEL === */
.gallery {
  background: #f9f7f6;
  padding: 2.5rem 0 3rem;
}

.gallery-title {
  font-size: 1.5rem;
  color: #7A5B66;
  margin-bottom: 1.1rem;
}

.carousel {
  position: relative;
  width: min(1100px, 92%);
  margin: 0 auto;
  overflow: hidden;              /* esto evita que se vean las otras imágenes */
  border-radius: 1.1rem;
  background: #ddd;
}

.carousel-track {
  display: flex;                 /* esto pone las slides en fila */
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;               /* cada slide ocupa todo el ancho */
  height: 260px;                 /* alto fijo */
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* botones del carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(122,91,102,0.9);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}

.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-btn:hover {
  background: rgba(212,166,29,0.9);
}

/* responsive */
@media (max-width: 720px) {
  .cta-content {
    flex-direction: column;
  }
  .slide {
    height: 190px;
  }
}
.carousel {
  position: relative;
  width: min(1100px, 92%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #ddd;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
/* === GALERÍA ESTÁTICA DE TRES IMÁGENES (AJUSTADA) === */
.gallery {
  background: #faf8f7;
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.gallery-title {
  font-size: 1.6rem;
  color: #7A5B66;
  margin-bottom: 1.8rem;
  font-weight: 700;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.image-item {
  flex: 1 1 280px;
  max-width: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-item img {
  width: 100%;
  height: 200px; /* <-- altura controlada */
  object-fit: cover; /* corta lo que sobra sin deformar */
  display: block;
}

.image-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(122, 91, 102, 0.25);
}

/* Imagen central ligeramente destacada */
.image-item.center {
  max-width: 330px;
}

/* Responsive */
@media (max-width: 820px) {
  .image-row {
    flex-direction: column;
  }
  .image-item,
  .image-item.center {
    max-width: 90%;
    margin: 0 auto;
  }
  .image-item img {
    height: 220px;
  }
}
/* === galería en 3 tarjetas iguales === */
.gallery {
  background: #f5efec;
  padding: 2.6rem 0 3.2rem;
}

.gallery-title {
  text-align: center;
  font-size: 1.6rem;
  color: #7A5B66;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.image-row {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.image-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  width: 100%;
  max-width: 310px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.image-wrapper {
  width: 100%;
  height: 180px;               /* todas la misma altura */
  background: #ddd;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* recorta lo que sobra sin deformar */
  display: block;
}

.image-caption {
  font-size: 0.85rem;
  padding: 0.85rem 1rem 1rem;
  color: #503841;
  text-align: left;
}

/* responsive */
@media (max-width: 840px) {
  .image-card {
    max-width: 100%;
  }
}
/* === Galería armónica de tres imágenes iguales === */
.gallery {
  background: #f6f2ef;
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.gallery-title {
  font-size: 1.6rem;
  color: #7A5B66;
  font-weight: 700;
  margin-bottom: 2rem;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: stretch; /* todas igual altura */
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gallery-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3; /* fuerza relación uniforme */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: #f0e8e6;
}

.gallery-img.center {
  max-width: 350px;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(122, 91, 102, 0.25);
}

/* Responsive */
@media (max-width: 820px) {
  .gallery-img {
    max-width: 90%;
    aspect-ratio: 16 / 9;
  }
}
/* ==== GALERÍA ORES (3 imágenes iguales) ==== */
.territory-gallery {
  background: #f2eae6;
  padding: 2.6rem 0 3.2rem;
  text-align: center;
}

.territory-gallery .gallery-title {
  font-size: 1.6rem;
  color: #7A5B66;
  font-weight: 700;
  margin-bottom: 2rem;
}

.territory-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.territory-img {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 4 / 3;     /* todas misma proporción */
  object-fit: cover;       /* recorta sin deformar */
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.1);
  background: #e5d9d4;
  transition: transform .2s ease;
}

.territory-img:hover {
  transform: translateY(-4px);
}

@media (max-width: 850px) {
  .territory-img {
    max-width: 92%;
    aspect-ratio: 16 / 9;
  }
}
/* === Animación suave al hacer scroll === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}

.reveal.visible {
  opacity: 12s;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* ---- Hacemos (iconitos) ---- */
/* ---- Hacemos (versión final, tamaño ideal) ---- */
.hacemos-row {
  display: flex;
  gap: 2.4rem; /* separa un poco más entre cuadros */
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.hacemos-card {
  position: relative;
  cursor: help;
  background: #ffffff;
  border-radius: 22px; /* más redondeado */
  padding: 1.8rem 2rem; /* un poco más de aire */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.hacemos-card:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

/* tamaño de las imágenes */
.hacemos-card img {
  width: 210px;   /* antes 190px */
  height: 150px;  /* antes 140px */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ---- Tooltip ---- */
.hacemos-card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(122, 91, 102, 0.95);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hacemos-card::before {
  content: "";
  position: absolute;
  bottom: 107%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(122, 91, 102, 0.95);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hacemos-card:hover::after,
.hacemos-card:hover::before {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hacemos-row {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .hacemos-card img {
    width: 160px;
    height: 115px;
  }
  .hacemos-card {
    padding: 1.3rem 1.5rem;
  }
}
/* ---- Novedades home ---- */
.novedades-home {
  padding: 2.5rem 0 2.8rem;
  background: #fefefe;
}

.novedades-box {
  background: linear-gradient(135deg, #7A5B66 0%, #916b77 100%);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  color: #fff;
  box-shadow: 0 10px 35px rgba(122, 91, 102, 0.35);
}

.novedades-box h2 {
  margin: 0 0 .3rem;
}

.novedades-box p {
  margin: 0;
  opacity: .85;
}

.btn-novedades {
  background: #fff;
  color: #7A5B66;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform .15s ease;
}

.btn-novedades:hover {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .novedades-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
.novedades-box {
  background: linear-gradient(135deg, #7A5B66 0%, #8b6a75 100%);
  animation: novedadesGlow 6s ease-in-out infinite;
}

@keyframes novedadesGlow {
  0%, 100% {
    background: linear-gradient(135deg, #7A5B66 0%, #8b6a75 100%);
  }
  50% {
    background: linear-gradient(135deg, #8b6a75 0%, #7A5B66 100%);
  }
}
.btn-novedades {
  background: #fff;
  color: #7A5B66;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform .15s ease;
  animation: pulseBtn 3.8s ease-in-out infinite;
}

.btn-novedades:hover {
  transform: translateY(-2px);
}

@keyframes pulseBtn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255,255,255,0);
  }
}
.novedades-box h2 {
  margin: 0 0 .3rem;
  animation: fadeUp 0.7s ease-out;
}
.btn-novedades {
  position: relative;
  overflow: hidden;
}

.btn-novedades::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  filter: blur(6px);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0%   { left: -120%; }
  50%  { left: 140%; }
  100% { left: 140%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ==== Novedades con degradé animado violeta-oro ==== */
.novedades-box {
  background: linear-gradient(135deg, #7A5B66, #d8b26e);
  color: #fff;
  padding: 1.8rem 2.2rem;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  animation: violetaOro 8s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}

@keyframes violetaOro {
  0% {
    background: linear-gradient(135deg, #7A5B66 0%, #d8b26e 100%);
  }
  50% {
    background: linear-gradient(135deg, #8e6c7b 0%, #f1d08a 100%);
  }
  100% {
    background: linear-gradient(135deg, #6d4f59 0%, #e2ba75 100%);
  }
}

.novedades-box:hover {
  transform: scale(1.02);
}

/* texto */
.novedades-box h2 {
  margin: 0 0 .3rem;
  font-size: 1.4rem;
  font-weight: 700;
  animation: fadeUp 0.8s ease-out;
}

.novedades-box p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Botón */
.btn-novedades {
  background: #fff;
  color: #7A5B66;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  animation: pulseBtn 3.8s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(255,255,255,0.25);
  transition: all .25s ease;
}

.btn-novedades:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,255,255,0.35);
}

@keyframes pulseBtn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255,255,255,0);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .novedades-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
.redes-ores {
  text-align: center;
  margin: 40px 0 20px 0;
}

.redes-ores h3 {
  font-size: 1.3rem;
  color: #7A5B66; /* violeta institucional */
  margin-bottom: 10px;
  font-weight: 600;
}

.iconos-redes a {
  display: inline-block;
  color: #7A5B66;
  background: #f3eceb;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin: 0 10px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.iconos-redes a:hover {
  color: #fff;
  background: linear-gradient(135deg, #7A5B66, #D8B26E);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.redes-ores {
  text-align: center;
  margin: 40px 0 20px 0;
}

.redes-ores h3 {
  font-size: 1.3rem;
  color: #7A5B66; /* violeta institucional */
  margin-bottom: 10px;
  font-weight: 600;
}

/* íconos */
.iconos-redes a {
  display: inline-block;
  color: #7A5B66;
  background: #f3eceb;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 10px;
  font-size: 22px;
  position: relative;
  transition: all 0.3s ease;
}

.iconos-redes a:hover {
  color: #fff;
  background: linear-gradient(135deg, #7A5B66, #D8B26E);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* tooltip */
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(122, 91, 102, 0.95);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* pequeño triangulito decorativo del tooltip */
.tooltip::before {
  content: "";
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(122, 91, 102, 0.95) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* cuadro en colores en movimiento del hero principal (en el Logo ores) */


.hero {
  background: linear-gradient(90deg, 
              rgba(122, 91, 102, 0.25) 0%, 
              rgba(216, 178, 110, 0.45) 50%, 
              rgba(122, 91, 102, 0.25) 100%);
  background-size: 400% 400%;
animation: moveGradient 6s ease-in-out infinite alternate;
  padding: 100px 0 90px 0;
  text-align: center;
  background-color: #f9f6f5;
}

/* Animación más notoria */
@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.observatorio-hero {
  background: #0e2336; /* tono dark tipo civic house */
  color: #fff;
  padding: 70px 0 65px;
}

.obs-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.obs-left .obs-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.obs-left h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.obs-lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 0.6rem;
}

.obs-text {
  max-width: 520px;
  opacity: 0.9;
}

.obs-right {
  display: grid;
  gap: 1rem;
}

.obs-card {
  background: #fff;
  color: #222;
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.05rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.obs-card h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  color: #7d5c67; /* tu moradito */
}

.obs-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* bloque de abajo */
.section.light.obs-body {
  background: #f7f4f3;
  padding: 45px 0 60px;
}

.obs-body h3 {
  color: #7d5c67;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.obs-body ul {
  margin-bottom: 1rem;
}

.obs-body li {
  margin-bottom: 0.4rem;
}

/* responsive */
@media (max-width: 900px) {
  .obs-grid {
    grid-template-columns: 1fr;
  }
  .obs-left h1 {
    font-size: 2.1rem;
  }
  .obs-right {
    grid-template-columns: 1fr;
  }
}
/* --- BLOQUE PRINCIPAL --- */
.observatorio-hero {
  background: #0e2336;
  color: #fff;
  padding: 70px 0 80px;
}

.obs-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.obs-left .obs-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.obs-left h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.obs-lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 0.6rem;
}

.obs-text {
  max-width: 520px;
  opacity: 0.9;
}

/* CONTENEDOR GENERAL (ya lo tendrás, pero por las dudas) */
.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* BLOQUE 1 */
.observatorio-hero {
  background: #0e2336; /* azul petróleo */
  color: #fff;
  padding: 70px 0 80px;
}

.obs-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.obs-left .obs-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.obs-left h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.obs-lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 0.6rem;
}

.obs-text {
  max-width: 520px;
  opacity: 0.9;
}
/* === QUIÉNES SOMOS === */
.quienes-somos {
  background-color: #f9f6f5;
  padding: 80px 0;
}

.qs-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.qs-container h1 {
  font-size: 2.2rem;
  color: #7d5c67; /* moradito UNdeC */
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  justify-content: center;
}

.qs-text {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.qs-text p + p {
  margin-top: 1rem;
}

/* Para centrar bien en pantallas grandes */
@media (min-width: 1200px) {
  .qs-container {
    max-width: 1000px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .qs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .qs-container h1 {
    font-size: 2rem;
  }
}
/* === QUIÉNES SOMOS === */
.quienes-somos {
  background-color: #f9f6f5;
  padding: 80px 0;
}

.qs-container {
  max-width: 1100px;
  margin: 0 auto;
}

.qs-container h1 {
  font-size: 2.2rem;
  color: #7d5c67; /* moradito institucional */
  margin-bottom: 2.5rem;
  font-weight: 700;
  text-align: left; /* título a la izquierda */
}

.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  justify-content: center;
}

.qs-text {
  text-align: left; /* NO justificado */
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.qs-text p + p {
  margin-top: 1rem;
}

/* Para pantallas grandes */
@media (min-width: 1200px) {
  .qs-container {
    max-width: 1000px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .qs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .qs-container h1 {
    font-size: 2rem;
  }
}

/* --- FONDO PRINCIPAL --- */
.observatorio-hero {
  background: linear-gradient(135deg, #0b1e2f, #1a334d);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.obs-left, .obs-right {
  opacity: 0;
  transform: translateX(0);
  transition: all 1.2s ease-out;
}

/* Barrido: izquierda → derecha */
.obs-left.animate {
  opacity: 1;
  transform: translateX(0);
  animation: slideLeft 1.5s ease forwards;
}

/* Barrido: derecha → izquierda */
.obs-right.animate {
  opacity: 1;
  transform: translateX(0);
  animation: slideRight 1.5s ease forwards;
}

/* Animaciones */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- CARDS --- */
.obs-card {
  background: #fff;
  color: #333;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.obs-card:hover {
  transform: translateY(-4px);
}

/* --- SECCIÓN INFERIOR ("Qué hacemos") --- */
/* --------- ABAJO: “Qué hacemos” --------- */
.obs-bottom {
  background: linear-gradient(135deg, #e9eef4, #f6f8fb);
  padding: 70px 0 90px;
  color: #2a2a2a;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.obs-bottom.animate {
  opacity: 1;
  transform: translateY(0);
}

.obs-bottom h2 {
  color: #7a5b66; /* tu violeta */
  margin-bottom: 20px;
}

.obs-bottom ul {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Animación de aparición suave */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


/* HERO LOGO - marco y latido sutil */
.hero-logo {
  display: inline-block;
  padding: 18px 40px;
  border: 1.6px solid rgba(122, 91, 102, 0.35); /* borde violeta suave */
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35); /* fondo translúcido */
  box-shadow: 0 4px 14px rgba(122, 91, 102, 0.18);
  animation: logoPulse 7s ease-in-out infinite;
  transition: all 0.5s ease-in-out;
  width: 580px; /* ajustá si querés más grande o chico */
  max-width: 90%;
}

/* efecto hover (opcional) */
.hero-logo:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(216, 178, 110, 0.25);
}

/* Animación de "latido" */
@keyframes logoPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(122, 91, 102, 0.18);
    border-color: rgba(122, 91, 102, 0.35);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 6px 22px rgba(216, 178, 110, 0.35);
    border-color: rgba(216, 178, 110, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(122, 91, 102, 0.18);
    border-color: rgba(122, 91, 102, 0.35);
  }
}
.obs-bottom h2 {
  animation: appearFromLeft 2s ease forwards;
}

@keyframes appearFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}







/* === HERO PRINCIPAL === */
.hero {
  position: relative;
  background: linear-gradient(180deg, #e7d45a 0%, #d2b967 100%);
  background-image: url("/assets/images/imagens2.png"); /* 👈 tu fondo sutil */
  background-repeat: no-repeat;
  background-position: right bottom; /* esquina inferior derecha */
  background-size: 520px auto; /* ajusta tamaño según tu gusto */
  color: #4e4046;
  padding: 4rem 0 6rem 0;
}

/* Asegura contraste */
.hero h1, .hero p {
  color: #7A5A6B;
}

/* Logo y centrado */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-logo {
  width: 440px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}


.hero-logo {
  width: 680px;
  z-index: 2;
}
/* contenedor de la sección */
.undec-stats {
  background: #fff;
  padding: 5rem 0;
}

/* título y subtítulo */
.undec-stats .section-title {
  font-size: 2.3rem;
  color: #7a5b66;
  margin-bottom: .4rem;
}

.undec-stats .section-sub {
  color: #6a7078;
  margin-bottom: 2.5rem;
}

/* grilla de tarjetas */
.data-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

/* cada tarjeta */
.stat-card {
  background: #f7f4f5;
  border: 1px solid rgba(122, 91, 102, 0.12);
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: 0 12px 25px rgba(0,0,0,0.03);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* barrita arriba opcional */
.stat-label {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9a7c87;
  margin-bottom: .5rem;
}

/* número grande */
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #7a5b66;
  line-height: 1;
  margin-bottom: .5rem;
}

/* texto */
.stat-text {
  color: #5e666e;
  font-size: .9rem;
  line-height: 1.4;
}

/* hover */
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
  background: #ffffff;
}
/* === EFECTO DE COLOR POR TARJETA === */
.data-blocks .stat-card:nth-child(1):hover {
  border: 2px solid #2ecc71; /* verde */
  box-shadow: 0 12px 24px rgba(46, 204, 113, 0.25);
}

.data-blocks .stat-card:nth-child(2):hover {
  border: 2px solid #7a5b66; /* morado institucional */
  box-shadow: 0 12px 24px rgba(122, 91, 102, 0.25);
}

.data-blocks .stat-card:nth-child(3):hover {
  border: 2px solid #f1c40f; /* amarillo */
  box-shadow: 0 12px 24px rgba(241, 196, 15, 0.25);
}
.stat-card {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* === EFECTO DE APARICIÓN === */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === BLOQUE OBservar === */
.cta-observar {
  background: linear-gradient(135deg, #fdf2e0 0%, #fff7e8 100%);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.cta-observar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.cta-observar .cta-img {
  width: 380px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(110, 61, 61, 0.15);
  border: 2px solid #c99a00;
}

.cta-observar .cta-text {
  max-width: 480px;
  text-align: left;
}

.cta-observar .cta-text h2 {
  font-size: 2rem;
  color: #6e3d3d;
  font-weight: 700;
}

.cta-observar .cta-text h2 span {
  color: #c99a00;
}

.cta-observar .cta-text p {
  color: #5a4b48;
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

/* === Botón estilo OBservar === */
.btn-observar {
  background: #c99a00;
  color: #fff;
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: 40px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(201, 154, 0, 0.25);
}

.btn-observar:hover {
  background: #6e3d3d;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(110, 61, 61, 0.3);
}


/* Contenedor */
.cta-logo-box {
  position: relative;
  display: inline-block;
}

/* Imagen del logo */
.cta-logo-box .cta-img {
  width: 480px;
  border-radius: 20px;
  background: #fff;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0px rgba(255, 255, 255, 0); /* base sin brillo */
  transition: all 0.3s ease-in-out;
}

/* Halo que “respira” — se ilumina en ciclo */
.cta-logo-box::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  background: conic-gradient(
    from 0deg,
    #c99a00,
    #ab6bb0,
    #8a2be2,
    #902ec4,
    #ffcc00,
    #3117b5,
    #c99a00
  );
  opacity: 0.6;
  filter: blur(10px);
  animation: pulseGlow 5s ease-in-out infinite;
  z-index: 1;
}

/* Halo interno sutil */
.cta-logo-box::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  border: 2px solid transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), transparent);
  z-index: 2;
}

/* ANIMACIÓN del brillo “vivo” */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    filter: blur(8px);
  }
  50% {
    opacity: 0.9;
    filter: blur(16px);
  }
}
/* Contenedor principal del header */
.nav-container {
  display: flex;
  justify-content: space-between; /* separa logo a la izquierda y menú a la derecha */
  align-items: center;
  padding: 10px 6%;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Logo */
.logo-ores {
  height: 55px;
  width: auto;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.logo-ores:hover {
  transform: scale(1.05);
}

/* Navegación */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #5a3d4e; /* color ORES */
  font-weight: 500;
}

.main-nav a:hover {
  color: #b98c6a; /* dorado UNdeC */
}

.main-nav a.active {
  background-color: #f1e9e2;
  border-radius: 5px;
  padding: 6px 12px;
}
/* --- HEADER ORES --- */
.main-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.main-header .nav-container {
  max-width: 1200px;          /* opcional, para que no se estire demasiado */
  margin: 0 auto;
  padding: 10px 5%;
  display: flex !important;   /* FORZAMOS flex */
  justify-content: space-between; /* logo izq, menú der */
  align-items: center;
}

/* logo */
.logo-ores {
  height: 55px;
  width: auto;
  display: block;
}

/* nav */
.main-nav ul {
  display: flex !important;   /* FORZAMOS que sea en fila */
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #5a3d4e;
  font-weight: 500;
}

.main-nav a.active {
  background: #f1e9e2;
  padding: 6px 12px;
  border-radius: 999px;
}








.main-header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-ores {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav a {
  margin-left: 20px;
}







.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-text {
  padding: 20px;
}

.project-text h3 {
  font-size: 1.1rem;
  color: #5a3d4e; /* color ORES */
  margin-bottom: 10px;
  font-weight: 700;
}

.project-text p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}




/* ====== layout base ====== */
body {
  background: #fff;
  color: #2f2f2f;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ====== hero ====== */
.noticias-hero {
  background: #f5ebe4;
  padding: 48px 0 28px;
}

.noticias-hero h1 {
  color: #5a3d4e;
  margin-bottom: 6px;
}

.noticias-hero p {
  max-width: 650px;
  line-height: 1.5;
}

/* ====== filtros ====== */
.noticias-filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.filtro-noticia {
  background: #fff;
  border: 1px solid rgba(90,61,78,.15);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #5a3d4e;
  transition: .15s ease;
}

.filtro-noticia:hover,
.filtro-noticia.activo {
  background: #5a3d4e;
  color: #fff;
  border-color: transparent;
}

/* ====== listado ====== */
.noticias-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 26px auto 60px;
}

.noticia-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 24px rgba(0,0,0,.03);
  border: 1px solid rgba(90,61,78,.03);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease;
  min-height: 330px;
}

.noticia-card:hover {
  transform: translateY(-3px);
}

.noticia-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #f1f1f1;
}

.noticia-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.noticia-tag {
  display: inline-flex;
  background: #f0e6de;
  color: #5a3d4e;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  width: fit-content;
}

.noticia-title {
  font-size: 1.03rem;
  font-weight: 600;
}

.noticia-date {
  font-size: 0.7rem;
  color: #7b7b7b;
}

.noticia-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #414141;
  flex: 1;
}

.noticia-footer {
  margin-top: 4px;
}

.noticia-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5a3d4e;
  font-weight: 600;
  text-decoration: none;
}

.noticia-link i {
  font-size: .75rem;
}

/* vacío */
.noticias-empty {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.03);
  padding: 40px 10px;
  text-align: center;
  color: #6b6b6b;
}

/* responsive */
@media (max-width: 650px) {
  .noticias-filtros {
    gap: 8px;
  }

  .noticia-thumb {
    height: 130px;
  }
}


/* colores de apoyo (podés ajustarlos a tu paleta ORES) */
:root {
  --ores-fondo: #e9d7c8;
  --ores-bordeaux: #6d4a52;
  --gris-claro: #f7f4f2;
  --borde-suave: rgba(0,0,0,0.05);
}

body {
  background: #fff;
}

.noticias-hero {
  background: var(--ores-fondo);
  padding: 3rem 0 1.5rem;
}

.noticias-hero h1 {
  font-size: 2.4rem;
  color: #3b2a2e;
  margin-bottom: .5rem;
}

.noticias-hero p {
  max-width: 550px;
  line-height: 1.5;
  color: #4a3b3e;
}

.noticias-filtros {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.noticias-filtros button {
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 999px;
  padding: .4rem 1.1rem;
  font-size: .8rem;
  cursor: pointer;
  transition: .2s;
}

.noticias-filtros button.activo {
  background: var(--ores-bordeaux);
  color: #fff;
}

.noticias-layout {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 1.25rem 3rem;
}

.noticias-contenido {
  flex: 1 1 68%;
  min-width: 0;
}

.noticias-sidebar {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.noticias-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.buscador {
  background: #fff;
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 999px;
  padding: .4rem .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 1 1 auto;
}

.buscador input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: .85rem;
}

.contador {
  font-size: .75rem;
  color: #776;
  white-space: nowrap;
}

.noticias-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* card de noticia */
.noticia-card {
  background: #fff;
  border: 1px solid var(--borde-suave);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  box-shadow: 0 4px 10px rgba(0,0,0,.02);
}

.noticia-thumb {
  width: 140px;
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dec0b8, #b8938a);
  flex-shrink: 0;
  object-fit: cover;
}

.noticia-body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  width: 100%;
}

.noticia-categoria {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ores-bordeaux);
  font-weight: 600;
}

.noticia-titulo {
  font-size: 1.02rem;
  font-weight: 700;
  color: #312123;
}

.noticia-resumen {
  font-size: .8rem;
  color: #5e4a4c;
  line-height: 1.3;
}

.noticia-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .5rem;
  gap: .7rem;
}

.noticia-fecha {
  font-size: .7rem;
  color: #8d7b7b;
}

.btn-leer {
  font-size: .75rem;
  color: var(--ores-bordeaux);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.btn-leer i {
  font-size: .6rem;
}

/* sidebar */
.sidebar-bloque {
  background: #fff;
  border: 1px solid rgba(0,0,0,.03);
  border-radius: 16px;
  padding: 1.1rem 1rem 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.02);
}

.sidebar-bloque h3 {
  font-size: .9rem;
  margin-bottom: .6rem;
  color: #362327;
}

.destacado {
  background: radial-gradient(circle at top, #8a6351 0%, #543741 100%);
  color: #fff;
  min-height: 170px;
}

.destacado small {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .65rem;
  margin-bottom: .4rem;
}

.destacado h2 {
  font-size: 1rem;
  margin-bottom: .4rem;
}

.destacado p {
  font-size: .75rem;
  line-height: 1.4;
}

.destacado a {
  color: #fff;
  font-weight: 600;
  font-size: .75rem;
  display: inline-flex;
  gap: .3rem;
  align-items: center;
  margin-top: .6rem;
}

.lista-simple {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.lista-simple li {
  font-size: .75rem;
  color: #e2c5c2;
}

.lista-simple li span {
  display: block;
  font-size: .65rem;
  color: #a08686;
}

.aviso-institucional {
  background: #fdf1e3;
}

.btn-lineal {
  display: inline-block;
  margin-top: .5rem;
  font-size: .7rem;
  text-decoration: none;
  color: #443;
  border-bottom: 1px solid #443;
}

.estado-vacio {
  margin-top: 1.8rem;
  text-align: center;
  color: #8d7b7b;
}

.estado-vacio .emoji {
  font-size: 2.3rem;
  display: block;
  margin-bottom: .6rem;
}

/* responsive */
@media (max-width: 992px) {
  .noticias-layout {
    flex-direction: column;
  }
  .noticias-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .noticia-card {
    flex-direction: column;
  }
  .noticia-thumb {
    width: 100%;
    height: 140px;
  }
}

@media (max-width: 620px) {
  .noticias-sidebar {
    flex-direction: column;
  }
  .noticias-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .buscador {
    width: 100%;
  }
}


.noticia-detalle {
  padding: 2.5rem 1.2rem 3rem;
  max-width: 780px;
}

.noticia-detalle-fecha {
  font-size: .75rem;
  color: #8d7b7b;
  margin-bottom: .4rem;
}

.noticia-detalle-titulo {
  font-size: 2rem;
  margin-bottom: .6rem;
  color: #352326;
}

.noticia-detalle-bajada {
  font-size: .95rem;
  color: #5e4a4c;
  margin-bottom: 1.5rem;
}

.noticia-detalle-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

/* ==== Color institucional ORES para título principal ==== */
.noticias-hero h1 {
  color: #6d4a52 !important; /* tono bordeaux ORES */
}



/* Etiquetas (tags) de las noticias */
.noticia-etiquetas {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.noticia-etiquetas span {
  background: #f2e8e8;
  color: #6d4a52;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.2rem 0.7rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.noticia-etiquetas span:hover {
  background: #6d4a52;
  color: #fff;
}

/* Miniatura de la noticia (izquierda del texto) */
.noticia-thumb {
  width: 100%;
  max-width: 160px; /* tamaño del cuadrito */
  height: 100px;
  border-radius: 10px;
  background-color: #e5d5d0; /* color por defecto si no hay imagen */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  margin-right: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.noticias-hero h1{
    color: #ffffff;
  }