:root {
  --cecic-brown-dark: #3e2723;
  --cecic-brown: #5d4037;
  --cecic-gold: #f9a825;
  --cecic-gold-soft: #ffe082;
  --cecic-cream: #fff8e1;
  --cecic-bg: #f5f4f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cecic-bg);
  color: #333;
}

/* ---------------- NAV ---------------- */
.nav {
  background: white;
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 3000; /* Mejorado para evitar conflictos */
}

.nav nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.nav .logo img {
  width: 120px;
}

/* ---------- MENU PRINCIPAL ---------- */
.menu {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.menu li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Pangolin', cursive;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.menu li a:hover {
  color: var(--cecic-gold-soft);
  background-color: rgba(255, 248, 225, 0.18);
  transform: translateY(-1px);
}

/* ---------------- DROPDOWN POR CLICK ---------------- */

.menu .dropdown {
    position: relative;
}

.menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    z-index: 4000;

    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease-in-out;
}

.menu .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- ACCIONES (ICONOS A LA DERECHA) ---------- */

.acciones {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acciones a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #D4AF37;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.acciones a img {
  width: 18px;
  height: 18px;
}

.acciones a:hover {
  background-color: var(--cecic-gold);
  transform: translateY(-1px);
}

/* ---------------- HERO LANDING ---------------- */
.hero-landing {
  padding: 80px 20px 60px;
  background: radial-gradient(circle at top left, #795548, var(--cecic-brown-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 40px 40px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
}

.hero-landing::before,
.hero-landing::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: rgba(255, 248, 225, 0.16);
  border: 1px solid rgba(255, 248, 225, 0.3);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge {
  background-color: rgba(255, 248, 225, 0.12);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 248, 225, 0.2);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Botones hero */
.btn-cta,
.btn-cta-secondary,
.btn-hero-repo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta {
  background-color: var(--cecic-gold);
  color: var(--cecic-brown-dark);
  box-shadow: 0 4px 12px rgba(249, 168, 37, 0.4);
}

.btn-cta:hover {
  background-color: #fbc02d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 168, 37, 0.6);
}

.btn-cta-secondary {
  background-color: transparent;
  border: 2px solid var(--cecic-gold-soft);
  color: #fff8e1;
}

.btn-cta-secondary:hover {
  background-color: var(--cecic-gold-soft);
  color: var(--cecic-brown-dark);
}

.btn-hero-repo {
  background-color: #fff;
  color: var(--cecic-brown-dark);
}

.btn-hero-repo:hover {
  background-color: var(--cecic-gold-soft);
}

/* img lateral */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


/* Ver más + chip info reutilizados */
.ver-mas {
  text-decoration: none;
  background-color: var(--cecic-brown);
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.ver-mas:hover {
  background-color: var(--cecic-brown-dark);
  transform: translateY(-1px);
}

.chip-info {
  margin-top: 8px;
  font-size: 0.8rem;
  background-color: rgba(93, 64, 55, 0.08);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ---------------- TÍTULOS GENERALES ---------------- */
.titulo {
    background-color: #D4AF37;
    color: #184123; /* café oscuro para contraste   #184123   #3E2723 */
    padding: 12px 20px;
    font-weight: bold;
    text-align: center;
    font-size: 1.6rem;
    width: 100%;
    letter-spacing: 0.03em;
}

/* ---------------- SECCIONES GENERALES ---------------- */
.nosotros,
.que-encontraras,
.lugar,
.mision-vision,
.valores,
.politicas,
.aliados {
  margin-top: 35px;
}

/* SOBRE NOSOTROS */
.info-img-sobre-nosotros {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.info-texto-sobre-nosotros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex: 1 1 300px;
  max-width: 1100px;
  padding: 24px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.img-nosotros {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.info-nosotros {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #333;
}

/* ¿Qué encontrarás aquí? */
/* Sección "¿Qué encontrarás?" no se usa en welcome.blade.php (comentada)
.que-encontraras {
  padding: 40px 20px 30px;
}

.contenedor-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding-top: 24px;
}

.feature-card {
  background: #fff;
  padding: 22px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(249, 168, 37, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card i {
  font-size: 2.2rem;
  color: var(--cecic-brown);
  margin-bottom: 8px;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--cecic-brown-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
}
*/

/* ---------------- CARRUSEL LUGARES ---------------- */
.carrusel-lugar,
.carrusel-aliados {
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 30px auto 10px;
  overflow: hidden;
  padding: 22px;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.imagenes-lugar,
.imagenes-aliados {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide,
.slide-aliado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  flex-shrink: 0;
  padding: 16px 70px;
  box-sizing: border-box;
}

.slide img,
.slide-aliado img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 16px;
}

/*.descripcion-lugar,
.descripcion-aliado {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}*/

.descripcion-aliado {
  flex: 1;
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
  display: flex;
  align-items: center;
}

/* Botones carrusel */
.carrusel-lugar button,
.carrusel-aliados button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.carrusel-lugar button img,
.carrusel-aliados button img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.carrusel-lugar .prev,
.carrusel-aliados .prev-aliado {
  left: 10px;
}

.carrusel-lugar .next,
.carrusel-aliados .next-aliado {
  right: 10px;
}

.carrusel-lugar .prev:hover img,
.carrusel-aliados .prev-aliado:hover img {
  transform: rotate(90deg) scale(1.2);
}

.carrusel-lugar .next:hover img,
.carrusel-aliados .next-aliado:hover img {
  transform: rotate(-90deg) scale(1.2);
}

/* ---------------- MAPA COLOMBIA ---------------- */

.mapa-colombia{
  margin-top: 35px;
  padding: 20px;
}

.mapa-container{
  max-width: 1000px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.mapa-svg svg{
  width: 90%;
  height: auto;
}

.mapa-svg path{
  fill: #c49a5a;
  cursor: pointer;
  transition: fill .25s ease, transform .2s ease;
}

.mapa-svg path:hover{
  fill: var(--cecic-gold);
  transform: scale(1.01);
}

.mapa-info{
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.mapa-info img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
}

@media(max-width:900px){
  .mapa-container{
    grid-template-columns: 1fr;
  }
}


/* ---------------- MISIÓN Y VISIÓN ---------------- */
.mision-vision-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
  padding: 20px;
}

.card-mv {
  position: relative;
  width: 280px;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-mv:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.mv-img {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.mv-piece {
  background-image: var(--bg);
  background-size: 200% 200%;
  transition: transform 0.5s ease;
}

.mv-piece:nth-child(1) { background-position: top left; }
.mv-piece:nth-child(2) { background-position: top right; }
.mv-piece:nth-child(3) { background-position: bottom left; }
.mv-piece:nth-child(4) { background-position: bottom right; }

.card-mv:hover .mv-piece:nth-child(1) { transform: translate(-10px, -10px); }
.card-mv:hover .mv-piece:nth-child(2) { transform: translate(10px, -10px); }
.card-mv:hover .mv-piece:nth-child(3) { transform: translate(-10px, 10px); }
.card-mv:hover .mv-piece:nth-child(4) { transform: translate(10px, 10px); }

.mv-texto {
  position: absolute;
  inset: 0;
  background-color: rgba(62, 39, 35, 0.9);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.card-mv:hover .mv-texto {
  opacity: 1;
}

/* ---------------- VALORES ---------------- */
.valores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 24px 20px 40px;
}

.valor-item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  padding: 18px;
  gap: 18px;
  background-color: #D5C5B4;
  max-width: 420px;
  width: 100%;
  flex: 1 1 320px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.valor-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.valor-item:hover img {
  transform: scale(1.08) rotate(2deg);
}

/* Hover general para la tarjeta */
.valor-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.valor-contenido h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #333;
}

.valor-contenido p {
  font-size: 0.95rem;
  color: #333;
}

/* Cacao flotando */
.cacao-float {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url("../img/cacao-blanco.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  animation: floatCacao 6s linear infinite;
}

.cacao-float:nth-child(1) { left: 20%; bottom: -40px; animation-delay: 0s; }
.cacao-float:nth-child(2) { left: 60%; bottom: -45px; animation-delay: 1.5s; }
.cacao-float:nth-child(3) { left: 80%; bottom: -50px; animation-delay: 3s; }

/* TARJETAS DE VALORES (hover 3D suave) */
.valor-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}

.valor-box:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* ---------------- ÁREAS (flip cards) ---------------- */
.areas {
  margin-top: 35px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px 44px;
}

.area-item {
  perspective: 1200px;
  width: 300px;
  height: 320px;
}

.area-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  border-radius: 14px;
}

.area-item:hover .area-inner {
  transform: rotateY(180deg);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.area-front,
.area-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px;
  text-align: center;
}

.area-front {
  background: linear-gradient(150deg, #e0c58f, #d5b679 55%, #c49a5a);
  overflow: hidden;
}

.area-front img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.area-front h4 {
  font-size: 1.15rem;
  color: #3e2723;
  letter-spacing: 0.01em;
}

.area-back {
  background: linear-gradient(140deg, #f2e9d8, #ead9bd);
  transform: rotateY(180deg);
  border: 1px solid rgba(62,39,35,0.08);
}

.area-back h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #3e2723;
}

.area-back p {
  font-size: 0.95rem;
  color: #4a403a;
  margin: 0;
  line-height: 1.5;
}

/* ---------------- ANUNCIOS / MULTIMEDIA ---------------- */
.anuncios-publicos,
.multimedia-publica {
  margin-top: 35px;
}

.anuncios-grid,
.multimedia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding: 24px 20px 34px;
}

.anuncio-card,
.multimedia-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  border: 1px solid rgba(62,39,35,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anuncio-header,
.multimedia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.anuncio-fecha {
  color: #5d4037;
  font-weight: 600;
}

.tipo-reunion {
  background: #ffe082;
  color: #3e2723;
}

.tipo-multimedia {
  background: #b3e5fc;
  color: #0d47a1;
}

.anuncio-card h4,
.multimedia-card h4 {
  margin: 4px 0;
  color: #3e2723;
}

.anuncio-card p,
.multimedia-card p {
  margin: 0;
  color: #4a403a;
  font-size: 0.95rem;
}

.anuncio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e342e;
  text-decoration: none;
  font-weight: 600;
  margin-top: 6px;
}

.anuncio-link:hover {
  color: #d4af37;
}

.anuncio-vacio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px;
  border: 1px dashed rgba(62,39,35,0.2);
  border-radius: 12px;
  color: #7a6a60;
  background: #fdf7ec;
}


@keyframes floatCacao {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200px) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* ---------------- POLÍTICAS ---------------- */
.politicas-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 26px 20px 40px;
}

.politica-box {
  background-color: rgba(93, 64, 55, 0.92);
  padding: 20px;
  flex: 1 1 320px;
  max-width: 480px;
  color: white;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.politica-box h4,
.politica-box p,
.politica-box ul {
  transform: translateZ(30px);
}

.politica-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.politica-box p,
.politica-box ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.politica-box ul {
  padding-left: 18px;
}

.politica-box li {
  margin-bottom: 6px;
}

.politica-box:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* ---------------- FOOTER ---------------- */
footer.pie.cacao-footer {
  background-color: #2A1B17;
  color: #EEE7DB;
  padding: 28px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ARRIBA */
.footer-top {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #D4AF37;
  font-weight: 600;
}

.footer-chip {
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #EEE7DB;
}

/* ABAJO (2 columnas + línea vertical) */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

/* Izquierda y derecha */
.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

/* Íconos dorados */
.footer-left i,
.footer-right i {
  color: #D4AF37;
  margin-right: 6px;
}

.footer-left a img,
.footer-right a img {
  justify-content: center;
  width: 30px;
  height: 30px;
}

.footer-right a {
  text-decoration: none;
  color: #EEE7DB;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #D4AF37;
  text-decoration: none;
}

/* LÍNEA VERTICAL */
.footer-divider-vertical {
  width: 2px;
  height: 55px;
  background: linear-gradient(
      to bottom,
      transparent,
      #D4AF37,
      transparent
  );
  border-radius: 3px;
  margin-top: 5px;
}

  /* Responsive */
@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-divider-vertical {
    height: 2px;
    width: 80px;
    margin: 10px 0;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  }
}


/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-landing {
    border-radius: 0 0 30px 30px;
  }

  .info-texto-sobre-nosotros {
    padding: 20px;
  }

  .slide,
  .slide-aliado {
    flex-direction: column;
    text-align: center;
  }

  .slide img,
  .slide-aliado img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .nav nav {
    justify-content: center;
  }

  .menu {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}
