
/* --------------------------------------------------
   Empresas Exportadoras refinements
-------------------------------------------------- */
.home-empresas .card-empresas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  width: min(1200px, 90%);
  margin: 0 auto 40px;
}

.home-empresas .card-empresas .empresas {
  box-shadow: 0px 18px 35px rgba(11, 43, 92, 0.12);
  position: relative;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-empresas .card-empresas .empresas:hover {
  transform: translateY(-4px);
  box-shadow: 0px 25px 40px rgba(11, 43, 92, 0.2);
}

.home-empresas .card-empresas .empresas img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.home-empresas .catalogo {
  max-width: 1200px;
  width: min(1200px, 96%);
  margin: 0 auto;
  padding: 40px 0 60px;
  display: grid;
  gap: 28px;
}

.home-empresas .catalogo .empresa {
  margin: 0;
  background: linear-gradient(135deg, rgba(199, 33, 0, 0.05), rgba(31, 111, 224, 0.05));
  border: 1px solid rgba(11, 43, 92, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 70px rgba(8, 22, 55, 0.08);
}

.home-empresas .catalogo .nombre-empresa {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: #0b2b5c;
  margin: 12px 0 18px;
  font-weight: 800;
  text-align: center;
}

.home-empresas .catalogo .descripcion {
  font-size: 1rem;
  color: #2f3a4a;
  line-height: 1.8;
  padding: 22px;
  background-color: rgba(255,255,255,0.92);
  border-radius: 16px;
  border-left: 5px solid #1f6fe0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  max-width: 900px;
  margin: 20px auto 32px;
  text-align: justify;
  letter-spacing: 0.3px;
  font-family: "Maven Pro", sans-serif;
}

.home-empresas .catalogo .descripcion strong {
  color: #c72100;
}

.home-empresas .catalogo .galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.home-empresas .catalogo .imagen {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(11, 43, 92, 0.12);
  background-color: #fff;
  padding: 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-empresas .catalogo .imagen img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.home-empresas .catalogo .imagen img:hover {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.home-empresas .catalogo .titulo-imagen {
  margin: 0;
  padding: 12px 16px;
  font-weight: 600;
  color: #0b2b5c;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(11, 43, 92, 0.05);
}

.maven-pro-titulo-destacado {
  font-family: "Maven Pro", serif;
  font-optical-sizing: auto;
  font-weight: 600; /* Semi-negrita */
  font-style: normal;
}


html {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Prevenir overflow horizontal en todos los elementos principales */
section, main, .container, .wrapper, .content {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Maven Pro', 'Montserrat', 'Poppins', sans-serif;
  padding: 0; 
  min-height: 100vh;
  display: flex;  
  overflow-x: hidden;
  flex-direction: column;
  justify-content: center;
  background-color: #f1f1f1;
  cursor: var(--app-cursor);
  max-width: 100%;
  width: 100%;
}

a,
button,
.boton,
.btn,
.menu-toggle,
.imagen,
.gallery-item,
.scrollToTopBtn {
  cursor: var(--app-cursor);
}

/* Titulares uniformes (mismos atributos que noticias.php) */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Maven Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0b1f3f;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.home-page h1,
.home-page h2,
.home-page h3{
  color:#0b1f3f;
  text-transform:none;
}

.home-page .section-title,
.home-page .baner-content h2,
.home-page .empresas-showcase .showcase-title,
.home-page .reciclaje-bloque h2,
.home-page .reciclaje-calendario-nuevo h2,
.home-page .contenedor .tarjeta__titulo{
  font-family:"Montserrat","Maven Pro",sans-serif;
  letter-spacing:-0.01em;
  color:#0b1f3f;
}


/* Paleta */
:root{
  --celeste:#1f6fe0;
  --naranja:#ff7a00;
  --bg:#ffffff;
  --app-cursor: url("Imagenes/cursor.png") 0 0, auto;
}

/* Tu contenedor principal */
.home-page{
  position: relative;
  min-height: 100vh;
  background: #f1f1f1;
  background-attachment: fixed, fixed, fixed;
  overflow-x: hidden;
}

/* Igual que en tu portfolio: canvas de fondo - OCULTO */
.animated-background{
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Patrones flotantes (reutiliza naming de tu portfolio) */
.floating-patterns{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.pattern{
  position:absolute;
}

.pattern-lines{
  inset: -12vh -8vw;
  width: 130vw;
  height: 130vh;
  opacity: .22;
  animation: float 22s ease-in-out infinite alternate;
  mix-blend-mode: multiply;
}

.pattern-lines g{
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Hero Slider ===== */
.hero-slider{
  position:relative;
  width:100%;
  max-width: 100%;
  min-height: clamp(540px, 88vh, 840px);
  overflow:hidden;
  border-radius:0 0 clamp(24px, 4vw, 36px) clamp(24px, 4vw, 36px) !important;
  margin: 0 auto 40px;
  box-shadow:0 40px 80px rgba(7,23,47,.25);
  isolation:isolate;
  box-sizing: border-box;
}

.hero-slider .slider-track{
  border-radius:inherit;
}

.hero-slider .slide{
  border-radius:inherit;
}

.slider-track{
  width:100%;
  height:100%;
  min-height: inherit;
  position:relative;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.12);
  transition:opacity 1s ease, transform 1.4s ease;
}

.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(5,12,24,.7),rgba(5,12,24,.28),transparent 82%);
  pointer-events:none;
}

.slide.is-active{
  opacity:1;
  transform:scale(1);
  z-index:2;
}

.slide-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: clamp(24px, 7vw, 120px);
  color:#fff;
  gap:14px;
  z-index:2;
}

.slide-overlay p{
  text-transform:uppercase;
  letter-spacing: .35em;
  font-size:.9rem;
  color:rgba(255,255,255,.8);
  margin:0;
}

.slide-overlay h1{
  font-size:clamp(1.9rem, 5vw, 3.6rem);
  margin:0;
  line-height:1.1;
  text-shadow:0 8px 18px rgba(0,0,0,.25);
  color:rgba(255,255,255,.92);
  background:linear-gradient(120deg,#ffffff,#f1f5f9);
  -webkit-background-clip:text;
  color:transparent;
}

.slider-controls{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 clamp(12px, 2vw, 30px);
  z-index:3;
  pointer-events:none;
}

.slider-controls button{
  pointer-events:auto;
  width:54px;
  height:54px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.2);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:1.5rem;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}

.slider-controls button:hover{
  background:rgba(255,255,255,.35);
  transform:translateY(-2px);
}

.slider-dots{
  position:absolute;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  z-index:3;
  padding:0;
  background:none;
  backdrop-filter:none;
  border-radius:0;
  border:none;
  box-shadow:none;
}

.slider-dots button{
  width:10px;
  height:10px;
  min-width:10px;
  min-height:10px;
  max-width:10px;
  max-height:10px;
  aspect-ratio:1/1;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.35);
  cursor:pointer;
  padding:0;
  margin:0;
  position:relative;
  transition:all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow:visible;
  flex-shrink:0;
  display:block;
  box-sizing:border-box;
}

.slider-dots button::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:10px;
  height:10px;
  min-width:10px;
  min-height:10px;
  max-width:10px;
  max-height:10px;
  aspect-ratio:1/1;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  opacity:0;
  transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events:none;
}

.slider-dots button:hover{
  background:rgba(255,255,255,0.65);
  transform:scale(1.4);
}

.slider-dots button:hover::before{
  opacity:1;
  width:24px;
  height:24px;
  min-width:24px;
  min-height:24px;
  max-width:24px;
  max-height:24px;
  background:rgba(255,255,255,0.1);
}

.slider-dots button.is-active{
  width:14px;
  height:14px;
  min-width:14px;
  min-height:14px;
  max-width:14px;
  max-height:14px;
  aspect-ratio:1/1;
  border-radius:50%;
  background:#ffffff;
  border:none;
  box-shadow:0 0 0 3px rgba(255,255,255,0.25), 0 0 0 6px rgba(255,255,255,0.15), 0 4px 16px rgba(0,0,0,0.2);
  animation:dotActivePulse 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform:scale(1);
}

.slider-dots button.is-active::before{
  opacity:0;
  width:0;
  height:0;
}

.slider-dots button.is-active::after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:14px;
  height:14px;
  min-width:14px;
  min-height:14px;
  max-width:14px;
  max-height:14px;
  aspect-ratio:1/1;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
  animation:dotShimmer 2.5s ease-in-out infinite;
  pointer-events:none;
}

@keyframes dotActivePulse{
  0%{
    transform:scale(0.8);
    opacity:0.7;
    box-shadow:0 0 0 0 rgba(255,255,255,0.4), 0 0 0 0 rgba(255,255,255,0.2), 0 2px 8px rgba(0,0,0,0.1);
  }
  50%{
    transform:scale(1.1);
    opacity:1;
    box-shadow:0 0 0 4px rgba(255,255,255,0.3), 0 0 0 8px rgba(255,255,255,0.15), 0 6px 20px rgba(0,0,0,0.25);
  }
  100%{
    transform:scale(1);
    opacity:1;
    box-shadow:0 0 0 3px rgba(255,255,255,0.25), 0 0 0 6px rgba(255,255,255,0.15), 0 4px 16px rgba(0,0,0,0.2);
  }
}

@keyframes dotShimmer{
  0%, 100%{
    opacity:0.8;
    transform:translate(-50%,-50%) scale(1);
  }
  50%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.15);
  }
}

/* Responsive para slider dots */
@media (max-width: 768px) {
  .slider-dots{
    bottom:24px;
    gap:14px;
  }
  
  .slider-dots button{
    width:9px;
    height:9px;
    min-width:9px;
    min-height:9px;
    max-width:9px;
    max-height:9px;
  }
  
  .slider-dots button.is-active{
    width:12px;
    height:12px;
    min-width:12px;
    min-height:12px;
    max-width:12px;
    max-height:12px;
  }
  
  .slider-dots button.is-active::after{
    width:12px;
    height:12px;
    min-width:12px;
    min-height:12px;
    max-width:12px;
    max-height:12px;
  }
  
  .slider-dots button::before{
    width:9px;
    height:9px;
    min-width:9px;
    min-height:9px;
    max-width:9px;
    max-height:9px;
  }
  
  .slider-dots button:hover::before{
    width:20px;
    height:20px;
    min-width:20px;
    min-height:20px;
    max-width:20px;
    max-height:20px;
  }
}

@media (max-width: 480px) {
  .slider-dots{
    bottom:20px;
    gap:12px;
  }
  
  .slider-dots button{
    width:8px;
    height:8px;
    min-width:8px;
    min-height:8px;
    max-width:8px;
    max-height:8px;
  }
  
  .slider-dots button.is-active{
    width:11px;
    height:11px;
    min-width:11px;
    min-height:11px;
    max-width:11px;
    max-height:11px;
  }
  
  .slider-dots button.is-active::after{
    width:11px;
    height:11px;
    min-width:11px;
    min-height:11px;
    max-width:11px;
    max-height:11px;
  }
  
  .slider-dots button::before{
    width:8px;
    height:8px;
    min-width:8px;
    min-height:8px;
    max-width:8px;
    max-height:8px;
  }
  
  .slider-dots button:hover::before{
    width:18px;
    height:18px;
    min-width:18px;
    min-height:18px;
    max-width:18px;
    max-height:18px;
  }
}

.slider-widget{
  position:absolute;
  top:clamp(16px,4vw,32px);
  right:clamp(48px,8vw,110px);
  z-index:3;
}

.slider-widget.weather-pill{
  width:120px;
  max-width:calc(100vw - 40px);
  min-height:200px;
  padding:12px 8px;
  background:rgba(10, 24, 46, 0.52);
  border-radius:28px;
  box-shadow:0 12px 30px rgba(0,0,0,0.28);
  color:#ffffff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  backdrop-filter:blur(8px);
  gap:10px;
  box-sizing:border-box;
}

.weather-pill__icon{
  width:70px;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-shadow:0 3px 6px rgba(0,0,0,0.45);
  margin-bottom:4px;
}

.weather-pill__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.weather-pill__icon:hover svg {
  transform: scale(1.05);
}

.weather-pill__temp{
  margin:0;
  font-size:38px;
  font-weight:600;
  font-family:'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif;
  text-shadow:0 3px 6px rgba(0,0,0,0.45);
  color:#ffffff;
  text-align:center;
  line-height:1.1;
}

.weather-pill__desc{
  margin:0;
  font-size:10px;
  line-height:1.5;
  font-weight:500;
  color:#ffffff;
  text-shadow:0 2px 4px rgba(0,0,0,0.45);
  text-align:center;
  width:100%;
  word-break:normal;
  overflow-wrap:normal;
  word-wrap:normal;
  hyphens:none;
  white-space:normal;
  padding:0 6px;
  box-sizing:border-box;
  min-height:2.2em;
  display:flex;
  align-items:center;
  justify-content:center;
}

.weather-pill__date{
  margin:0;
  font-size:11px;
  letter-spacing:0.05em;
  opacity:0.95;
  text-shadow:0 2px 4px rgba(0,0,0,0.45);
  color:#f7fbff;
  text-align:center;
  font-weight:600;
  width:100%;
  overflow-wrap:anywhere;
}

.slider-widget header,
.slider-widget .weather-body,
.slider-widget .temp,
.slider-widget small,
.slider-widget .condicion,
.slider-widget iframe{
  display:none;
}

.slider-brand{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  font-family:"Great Vibes",cursive;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color:#fff;
  text-shadow:0 12px 30px rgba(0,0,0,.45);
  z-index:3;
  pointer-events:none;
}

/* ===== Residuos Section ===== */
.residuos-section{
  width:min(1200px,80%);
  max-width: 100%;
  margin: clamp(50px,7vw,90px) auto;
  padding: clamp(32px,6vw,60px);
  background: #f6f8fc;
  border-radius: 32px;
  box-shadow: 0 35px 80px rgba(6,18,44,.12);
  box-sizing: border-box;
}

.residuos-hero{
  display:flex;
  gap: clamp(24px,5vw,60px);
  flex-wrap:wrap;
  align-items:stretch;
}

.residuos-copy{
  flex:1 1 320px;
  background:#fff;
  border-radius:28px;
  padding: clamp(24px,4vw,40px);
  box-shadow: 0 25px 60px rgba(7,23,47,.1);
}

.residuos-copy .kicker{
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.4em;
  color:#7380a0;
  margin:0 0 12px;
}

.residuos-copy h2{
  font:800 clamp(1.9rem,3.4vw,2.6rem)/1.1 "Montserrat",sans-serif;
  margin:0 0 14px;
  color:#0b1f3f;
}

.residuos-copy p{
  margin:0 0 18px;
  color:#4a5670;
  line-height:1.7;
}

.residuos-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.residuos-badges span{
  padding:8px 14px;
  border-radius:999px;
  background:#ebf1ff;
  color:#0f2a5c;
  font-weight:600;
  font-size:.9rem;
}

.residuos-media{
  flex:1 1 320px;
  position:relative;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(7,23,47,.2);
}

.residuos-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.media-chip{
  position:absolute;
  bottom:20px;
  right:20px;
  background:rgba(255,255,255,.92);
  padding:12px 18px;
  border-radius:20px;
  box-shadow:0 20px 35px rgba(7,23,47,.25);
  text-align:right;
}

.media-chip strong{
  font-size:1.7rem;
  display:block;
  color:#0b1f3f;
}

.media-chip span{
  font-size:.85rem;
  color:#56607a;
}

.residuos-grid{
  margin: clamp(32px,4vw,48px) 0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.res-card{
  background:#fff;
  border-radius:26px;
  padding:24px;
  box-shadow:0 25px 55px rgba(7,23,47,.08);
  border:1px solid rgba(12,26,68,.05);
  display:flex;
  flex-direction:column;
  gap:16px;
}

.res-card__head{
  display:flex;
  align-items:center;
  gap:12px;
}

.res-card__head span{
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(255,255,255,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
}

.res-card__head h3{
  margin:0;
  font-size:1.3rem;
  color:#fff;
}

.res-card ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  color:#f6fbff;
}

.res-card ul li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:.95rem;
}

.res-card ul li strong{
  color:#fff;
}

.res-card.res-humedo{
  background:linear-gradient(135deg,#004f83,#0090c5);
}
.res-card.res-seco{
  background:linear-gradient(135deg,#2a7b4f,#6bc465);
}
.res-card.res-pesado{
  background:linear-gradient(135deg,#904c2d,#c4753c);
}

.res-card .note{
  margin-top:auto;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.18);
  font-size:.85rem;
}

.residuos-panels{
  margin-top: clamp(28px,4vw,44px);
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap:18px;
}

.zonas-card,
.agenda-card{
  background:#fff;
  border-radius:28px;
  padding:24px;
  box-shadow:0 25px 55px rgba(7,23,47,.08);
  border:1px solid rgba(12,26,68,.05);
}

.zonas-card h3,
.agenda-card h3{
  margin:0 0 16px;
  font-size:1.25rem;
  color:#0b1f3f;
}

.zonas-card table{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
  color:#0b1f3f;
}

.zonas-card thead{
  background:#f1f4ff;
}

.zonas-card th,
.zonas-card td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid rgba(11,31,63,.06);
  word-break: break-word;
  white-space: normal;
}

.zonas-card tr:last-child td{
  border-bottom:none;
}

.zonas-card .zonas-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}

.zonas-card .zonas-chip span{
  width:12px;
  height:12px;
  border-radius:50%;
}
.zonas-card .zonas-chip .dot-1{ background:#ffb347; }
.zonas-card .zonas-chip .dot-2{ background:#7367f0; }
.zonas-card .zonas-chip .dot-3{ background:#3ec9a7; }
.zonas-card .zonas-chip .dot-4{ background:#4c7dff; }
.zonas-card .zonas-chip .dot-5{ background:#f16c6c; }

.agenda-card .agenda-days{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:10px;
  margin-bottom:16px;
}

.agenda-card .agenda-days button{
  border:1px solid rgba(12,26,68,.08);
  border-radius:18px;
  padding:12px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.agenda-card .agenda-days button span{
  font-size:.8rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#6a7796;
}

.agenda-card .agenda-days button strong{
  display:block;
  color:#0b1f3f;
  margin:4px 0;
}

.agenda-card .agenda-days button small{
  color:#6a7796;
}

.agenda-card .agenda-days button.is-active{
  background:#0f2b63;
  color:#fff;
  box-shadow:0 15px 30px rgba(6,18,44,.2);
}

.agenda-card .agenda-days button.is-active span,
.agenda-card .agenda-days button.is-active strong,
.agenda-card .agenda-days button.is-active small{
  color:#fff;
}

.agenda-note{
  margin:0 0 12px;
  color:#4a5670;
  line-height:1.6;
}

/* ================= Estilos responsivos para sección de residuos ================= */
@media (max-width: 768px) {
  .residuos-section {
    width: 95%;
    padding: clamp(24px, 4vw, 40px);
    margin: clamp(30px, 5vw, 60px) auto;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .residuos-hero {
    flex-direction: column;
    gap: 20px;
  }
  
  .residuos-copy {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .residuos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .residuos-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .zonas-card,
  .agenda-card {
    padding: 20px;
  }
  
  .zonas-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .zonas-card table {
    width: 100%;
    font-size: 0.9rem;
    table-layout: fixed;
  }
  
  .zonas-card th,
  .zonas-card td {
    padding: 10px 12px;
  }
  
  .agenda-card .agenda-days {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }
  
  .agenda-card .agenda-days button {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .agenda-card .agenda-days button span {
    font-size: 0.75rem;
  }
  
  .agenda-card .agenda-days button strong {
    font-size: 0.9rem;
  }
  
  .agenda-card .agenda-days button small {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .residuos-section {
    width: 100%;
    padding: 20px 16px;
    margin: 24px auto;
    border-radius: 24px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .residuos-hero {
    gap: 16px;
  }
  
  .residuos-copy {
    padding: 20px;
  }
  
  .residuos-panels {
    margin-top: 24px;
    gap: 12px;
  }
  
  .zonas-card,
  .agenda-card {
    padding: 16px;
    border-radius: 20px;
  }
  
  .zonas-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  
  .zonas-card h3,
  .agenda-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .zonas-card table {
    width: 100%;
    font-size: 0.85rem;
    table-layout: fixed;
  }
  
  .zonas-card th,
  .zonas-card td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .agenda-card .agenda-days {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .agenda-card .agenda-days button {
    padding: 12px;
    width: 100%;
  }
  
  .agenda-note {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

.agenda-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#0f2b63;
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  transition:transform .2s ease, box-shadow .2s ease;
}

.agenda-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(15,43,99,.35);
}

@media (max-width:768px){
  .hero-slider{
    min-height:300px;
    display:flex;
    flex-direction:column;
    gap:18px;
    padding-bottom:0;
    overflow:visible;
    max-width: 100%;
    width: 100%;
  }
  .hero-slider .slider-track{
    min-height:clamp(240px, 58vw, 360px);
  }
  .slider-controls button{
    width:46px;
    height:46px;
  }
  .slide-overlay p{
    letter-spacing:.2em;
    font-size:.8rem;
  }
  .slider-widget{
    position:relative;
    order:2;
    width:min(200px, calc(100% - 32px));
    margin:0 auto 18px;
    top:auto;
    right:auto;
      transform:none;
  }
  .slider-widget.weather-pill {
    position:relative;
    width:min(200px, calc(100% - 32px));
    left:auto;
    transform:none;
  }
  .slider-dots{
    position:static;
    transform:none;
    justify-content:center;
    margin-top:-6px;
  }
  .slider-brand{
    position:static;
    transform:none;
    text-align:center;
    letter-spacing:.45em;
    font-size:.85rem;
  }
}

@media (max-width:520px){
  .hero-slider{
    min-height:280px;
    gap:12px;
  }
  .slide-overlay{
    padding:24px;
  }
  .slide-overlay h1{
    font-size:clamp(1.5rem, 9vw, 2.2rem);
  }
  .slider-controls{
    display:none;
  }
  .slider-widget{
    width:calc(100% - 24px);
  }
  /* Ocultar widget de tiempo en dispositivos pequeños */
  .slider-widget.weather-pill {
    display: none !important;
  }
}

/* ================= Tramites responsive layout ================= */
.tramites-shell{
  padding: clamp(36px, 5vw, 70px) clamp(20px, 6vw, 60px);
  min-height: 100vh;
}

.tramites-content{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tramites-intro{
  text-align: center;
  margin-bottom: 10px;
}

.tramites-intro h1{
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4vw, 2.8rem) !important;
}

.tramites-page .back-btn{
  margin: 0 auto;
  font-size: 1rem;
}

.tramites-page section{
  border-radius: 20px;
  border: 1px solid rgba(11,43,92,0.05);
  box-shadow: 0 18px 40px rgba(15,36,84,0.08);
}

.tramites-page p,
.tramites-page li{
  font-size: 1rem;
  line-height: 1.75;
  color: #2f3a4a;
  overflow-wrap: anywhere;
}

.tramites-page ul{
  padding-left: 1.35rem;
}

.tramites-page li{
  position: relative;
}

.tramites-page li > span:first-child,
.tramites-page li > i:first-child{
  left: 0;
}

@media (max-width: 1024px){
  .tramites-shell{
    padding: 32px clamp(16px, 4vw, 36px) !important;
  }
  .tramites-page section{
    padding: clamp(22px, 4vw, 28px) !important;
  }
  .tramites-page [style*="margin-left: 20px"],
  .tramites-page [style*="margin-left: 30px"]{
    margin-left: 0 !important;
  }
}

@media (max-width: 768px){
  .tramites-content{
    gap: 22px;
  }
  .tramites-intro{
    margin-bottom: 0;
  }
  .tramites-page section{
    padding: 20px !important;
  }
  .tramites-page [style*="padding: 30px"]{
    padding: 22px !important;
  }
  .tramites-page [style*="padding: 20px"]{
    padding: 18px !important;
  }
  .tramites-page [style*="padding: 15px"]{
    padding: 16px !important;
  }
  .tramites-page .back-btn{
    width: 100%;
    justify-content: center;
  }
  .tramites-page h2{
    font-size: clamp(1.35rem, 4.4vw, 1.7rem) !important;
  }
  .tramites-page h3{
    font-size: clamp(1.15rem, 3.8vw, 1.4rem) !important;
  }
  .tramites-page h4{
    font-size: clamp(1.05rem, 3.4vw, 1.25rem) !important;
  }
}

@media (max-width: 540px){
  .tramites-shell{
    padding: 24px 14px !important;
  }
  .tramites-page section{
    padding: 18px !important;
  }
  .tramites-page [style*="padding: 20px"]{
    padding: 16px !important;
  }
  .tramites-page ul{
    padding-left: 1rem !important;
  }
  .tramites-page li{
    padding-left: 0.5rem !important;
  }
}

/* ===== Tramites responsive overrides ===== */
.tramites-shell{
  padding: clamp(36px, 5vw, 72px) clamp(20px, 6vw, 60px);
}

.tramites-content{
  gap: 32px;
}

.tramites-intro h1{
  font-size: clamp(2rem, 4vw, 2.8rem) !important;
}

.tramites-page section{
  border: 1px solid rgba(11,43,92,0.05);
}

.tramites-page ul{
  padding-left: 1.4rem;
}

@media (max-width: 1024px){
  .tramites-shell{
    padding: 32px clamp(16px, 4vw, 36px) !important;
  }
  .tramites-page [style*="margin-left: 20px"],
  .tramites-page [style*="margin-left: 30px"]{
    margin-left: 0 !important;
  }
}

@media (max-width: 768px){
  .tramites-shell{
    padding: 28px clamp(14px, 5vw, 28px) !important;
  }
  .tramites-content{
    gap: 24px;
  }
  .tramites-page [style*="padding: 30px"]{
    padding: 22px !important;
  }
  .tramites-page [style*="padding: 20px"]{
    padding: 18px !important;
  }
  .tramites-page [style*="padding: 15px"]{
    padding: 16px !important;
  }
  .tramites-page h2{
    font-size: clamp(1.35rem, 4.5vw, 1.65rem) !important;
  }
  .tramites-page h3{
    font-size: clamp(1.15rem, 3.6vw, 1.35rem) !important;
  }
  .tramites-page h4{
    font-size: clamp(1.05rem, 3.2vw, 1.2rem) !important;
  }
  
  /* Tablas con scroll horizontal */
  .tramites-page section[style*="overflow-x: auto"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .tramites-page section[style*="overflow-x: auto"] table {
    min-width: 600px;
    font-size: 0.85rem;
  }
  
  .tramites-page table th,
  .tramites-page table td {
    word-wrap: break-word;
    white-space: normal;
  }
  
  /* Grids de 2 columnas a 1 columna */
  .tramites-page div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .tramites-page div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Reducir márgenes laterales */
  .tramites-page [style*="margin-left: 20px"],
  .tramites-page [style*="margin-left: 30px"]{
    margin-left: 0 !important;
    padding-left: 0.75rem !important;
  }
  
  /* Enlaces a bloque */
  .tramites-page a[style*="display: inline-block"] {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
}

@media (max-width: 540px){
  .tramites-shell{
    padding: 22px 14px !important;
  }
  .tramites-page [style*="padding: 20px"]{
    padding: 16px !important;
  }
  .tramites-page [style*="padding: 15px"]{
    padding: 14px !important;
  }
  
  .tramites-page section[style*="overflow-x: auto"] table {
    min-width: 500px;
    font-size: 0.75rem;
  }
  
  .tramites-page table th,
  .tramites-page table td {
    padding: 6px 4px;
    font-size: 0.7rem;
  }
  
  /* Listas con padding ajustado */
  .tramites-page li[style*="padding-left: 25px"],
  .tramites-page li[style*="padding-left: 30px"] {
    padding-left: 1.25rem !important;
    padding-right: 0.5rem !important;
  }
}

/* ================= Prevenir desbordamiento general en tramites ================= */
.tramites-page section,
.tramites-page div {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Excepción para el chatbot - no aplicar estilos restrictivos */
.tramites-page .eva-chatbot,
.tramites-page .eva-chatbot * {
  max-width: none;
  word-wrap: normal;
  overflow-wrap: normal;
}

/* Ajustar chips de sugerencias en páginas de trámites */
.tramites-page .eva-option-chip {
  flex: 1 1 calc(50% - 10px) !important;
  min-width: 140px !important;
  max-width: none !important;
}

/* ================= Estilos responsivos para index.html ================= */
@media (max-width: 640px) {
  /* Botones responsivos */
  .botones-container {
    padding: 20px 16px;
    gap: 16px;
  }
  
  .boton {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    max-width: 100%;
    font-size: 0.9rem;
    padding: 12px 16px;
    word-wrap: break-word;
  }
  
  .boton img {
    max-width: 24px;
    height: auto;
  }
}

@media (max-width: 480px) {
  /* Contenedor de dependencias */
  .contenedor-dependencias {
    padding: 16px;
    margin: 16px auto;
    gap: 16px;
  }
  
  .cajon {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .texto,
  .telefono {
    font-size: 0.85rem;
    text-align: center;
  }
  
  .telefono {
    padding: 8px 12px;
  }
  
  /* Botones en móviles pequeños */
  .botones-container {
    padding: 16px 12px;
    gap: 12px;
  }
  
  .boton {
    flex: 1 1 100%;
    width: 100%;
    font-size: 0.85rem;
  }
  
  .botones-obras {
    padding: 16px;
    gap: 12px;
  }
  
  .botones-obras .boton {
    flex: 1 1 calc(50% - 6px);
    min-width: auto;
  }
  
  /* Showcase empresas exportadoras */
  .empresas-showcase {
    margin: 24px 8px 80px;
    padding: 40px 16px;
  }
  
  .empresas-showcase .showcase-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  
  .empresas-showcase .showcase-subtitle {
    font-size: 1rem;
  }
  
  .descripcion-empresas p {
    font-size: 0.95rem;
  }
}

@keyframes float{
  0%,100%{ transform: translateY(0) rotate(0deg) scale(1); }
  50%{ transform: translateY(-20px) rotate(2deg) scale(1.01); }
}

/* Responsive: bajar densidad en mobile */
@media (max-width: 768px){
  .pattern-lines{
    opacity:.22;
    inset:-18vh -20vw;
  }
}

/* Respeta accesibilidad */
@media (prefers-reduced-motion: reduce){
  .pattern-lines, .animated-background{ animation:none !important; }
}



/*HEADER*/

/* Estilos generales del header */
header {
  display: flex;
  justify-content: space-between;
  background-color: white;
  align-items: center;
  color: rgb(66, 66, 66);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra inferior suave */
  padding: 6px 32px;
}


/* El triángulo */

.brand-logo {
  height: 65px;
  width: auto;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Estilos para el nav-container */
.nav-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Estilos para el nav */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  background-color: rgba(0, 0, 0, 0); /* Fondo semitransparente */
  padding: 7px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
}

/* Estilo base para los enlaces en nav */
nav a {
  color: #5f5f5f; /* Color negro para los enlaces */
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  position: relative; /* Necesario para posicionar la línea debajo */
  transition: color 0.3s;
}

/* Línea debajo del enlace con un pseudo-elemento */
nav a::after {
  content: ''; /* Necesario para crear el pseudo-elemento */
  position: absolute;
  bottom: 0; /* Posiciona la línea en la parte inferior del enlace */
  left: 0;
  width: 0; /* La línea empieza oculta */
  height: 3px; /* Alto de la línea */
  background-color: #f39c12; /* Color de la línea */
  transition: width 0.3s ease; /* La línea se anima */
}

/* Efecto hover: hacer que la línea se extienda */
nav a:hover {
  color: #f39c12; /* Cambia el color del texto al hacer hover */
}

nav a:hover::after {
  width: 100%; /* La línea se extiende completamente al hacer hover */
}

.nav-pp-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:#1f6fe0 !important;
  letter-spacing:-0.01em;
}

.nav-pp-link::after{
  display:none;
}

.badge-new{
  background:#f97316;
  color:#fff;
  font-size:.55rem;
  font-weight:700;
  text-transform:uppercase;
  padding:1px 6px;
  border-radius:999px;
  box-shadow:none;
}

.nav-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  margin-left:8px;
  border-radius:999px;
  background:linear-gradient(120deg,#f97316,#facc15);
  color:#fff;
  font-size:.6rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.04em;
}

.nav-pill--pulse{
  animation: navPulse 1.6s ease-in-out infinite;
  box-shadow:0 0 0 0 rgba(249,115,22,.45);
}

.nav-pill--mini{
  font-size:.55rem;
  padding:2px 6px;
  margin-left:6px;
}

@keyframes navPulse{
  0%{
    box-shadow:0 0 0 0 rgba(249,115,22,.45);
    transform:translateY(0);
  }
  70%{
    box-shadow:0 0 0 10px rgba(249,115,22,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(249,115,22,0);
    transform:translateY(-1px);
  }
}

/* Cuando se hace scroll y el nav pierde color */
nav.scrolled {
  background-color: rgba(60, 65, 126, 0.363); /* Azul oscuro con algo de transparencia */
}

/* Estilo para el texto de los enlaces cuando hay scroll */
nav.scrolled a {
  color: #ffffff; /* Aseguramos que el texto sea blanco */
}

/* Estilos para menús desplegables */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown.active .dropdown-menu {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  color: #5f5f5f;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
  border-bottom: none;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #f39c12;
}

.menu-badge-nuevo {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-left: auto;
  white-space: nowrap;
}

/* Evitar que el toggle tenga efectos de hover de enlace */
.dropdown-toggle,
.submenu-toggle {
  pointer-events: auto;
}

.dropdown-toggle:hover,
.submenu-toggle:hover {
  color: #f39c12;
}

/* Submenú dentro de dropdown */
.dropdown-submenu {
  position: relative;
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu-toggle {
  cursor: pointer;
}

.submenu-toggle i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.dropdown-submenu.active .submenu-toggle i {
  transform: rotate(90deg);
}

.dropdown-submenu-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #ffffff;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  border-radius: 8px;
  padding: 8px 0;
  margin-left: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ajustar posición del submenú si se sale de la pantalla */
.dropdown-submenu:last-child .dropdown-submenu-content {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 5px;
}

.dropdown-submenu.active .dropdown-submenu-content {
  display: block;
  animation: fadeInRight 0.3s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dropdown-submenu-content a {
  padding: 10px 20px;
  font-size: 0.95rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.dropdown-submenu-content a::after {
  display: none;
}

.dropdown-submenu-content a:hover {
  background-color: #f5f5f5;
  color: #f39c12;
}

.congreso-link-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-right: 10px; /* separa del siguiente */
}

.congreso-link {
  font-weight: bold;
  color: #185abc;
  background: #f5fafd;
  border: 1px solid #b4d6ff;
  border-radius: 8px;
  padding: 10px 18px 8px 18px;
  box-shadow: 0 2px 8px #cbe2fd55;
  margin-top: 14px;
}

.nuevo-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg,#ffbb00,#ff5e62);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 8px #ffd08044;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  animation: badge-pop 1s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes badge-pop {
  0% { transform: translateX(-50%) scale(0.7); opacity: 0; }
  70% { transform: translateX(-50%) scale(1.15); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Estilos para el menú desplegable en dispositivos pequeños */
.menu-toggle {
  display: none; /* Ocultar el botón de menú en pantallas grandes */
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 8px 12px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.menu-toggle:hover {
  background: #f5f5f5;
  border-color: #1f6fe0;
  color: #1f6fe0;
}

/* Ajustes para dispositivos pequeños */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Mostrar el botón de menú */
  }

  .nav-container {
    display: none; /* Ocultar el menú por defecto en móviles */
    flex-direction: column;
    position: fixed;
    top: var(--home-header-offset, 0px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--home-header-offset, 0px));
    background-color: #ffffff; /* Fondo blanco */
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out;
    transform: none;
    opacity: 0;
    overflow-y: auto;
  }

  .nav-container.active {
    display: flex; /* Mostrar el menú cuando está activo */
    opacity: 1;
  }

  .nav-container {
    justify-content: flex-start;
  }

  nav {
    flex-direction: column; /* Apilar enlaces verticalmente */
    padding: 0;
    width: 100%;
  }

  nav a {
    padding: 18px 20px;
    text-align: left;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.2s ease;
    width: 100%;
  }

  nav a:hover {
    background-color: #f5f5f5;
    color: #1f6fe0;
  }

  nav a::after {
    display: none; /* Ocultar la línea animada en móviles */
  }

  /* Estilos para dropdowns en móviles */
  .dropdown {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    border-bottom: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    transition: all 0.2s ease;
  }

  .dropdown-toggle > span,
  .dropdown-toggle > text {
    flex: 1;
    text-align: left;
  }

  .dropdown-toggle:hover {
    background-color: #f5f5f5;
    color: #1f6fe0;
  }

  .dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 8px;
  }

  .dropdown.active .dropdown-toggle {
    background-color: #f0f7ff;
    color: #1f6fe0;
    border-bottom: 1px solid #e0e0e0;
  }

  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 1000px;
    }
  }

  .dropdown-menu a {
    padding: 16px 20px 16px 40px;
    border-bottom: 1px solid #e8e8e8;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
    text-align: left;
    display: block;
    width: 100%;
  }

  .dropdown-menu a:hover {
    background-color: #e8f4ff;
    color: #1f6fe0;
  }

  .dropdown-submenu {
    width: 100%;
  }

  .submenu-toggle {
    width: 100%;
    padding: 16px 20px 16px 40px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    transition: all 0.2s ease;
  }

  .submenu-toggle > span,
  .submenu-toggle > text {
    flex: 1;
    text-align: left;
  }

  .submenu-toggle:hover {
    background-color: #e8f4ff;
    color: #1f6fe0;
  }

  .submenu-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 8px;
  }

  .dropdown-submenu.active .submenu-toggle {
    background-color: #e0f0ff;
    color: #1f6fe0;
  }

  .dropdown-submenu.active .submenu-toggle i {
    transform: rotate(90deg);
  }

  .dropdown-submenu-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background-color: #f0f4f8;
    border-top: 1px solid #e0e0e0;
  }

  .dropdown-submenu.active .dropdown-submenu-content {
    display: block;
    animation: slideDown 0.3s ease;
  }

  .dropdown-submenu-content a {
    padding: 14px 20px 14px 60px;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
    display: block;
    text-align: left;
    width: 100%;
  }

  .dropdown-submenu-content a:hover {
    background-color: #d9ecff;
    color: #1f6fe0;
  }

  /* Ajustar el header para dispositivos pequeños */
  header {
    flex-wrap: wrap; /* Permitir que los elementos se ajusten */
    padding: 12px 15px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .brand-logo {
    height: 48px; /* Reducir más el tamaño del logo en móviles */
  }

  .example-2 {
    display: none !important;
  }
  
  .social-icons {
    flex-wrap: nowrap; /* Evita que se vayan a otra línea */
    justify-content: flex-end;
  }
}

/*----------------------BANNER DE INICIO------------------------------------------------------*/


#banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
  z-index: -1; /* La imagen no se solapará con el contenido */
}

/* Posicionamiento absoluto centrado dentro del banner */
#banner {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px; /* grosor del borde inferior */
  background: linear-gradient(90deg, #FFA500, #00BFFF);
  z-index: 1; /* por encima de la imagen de fondo, debajo del contenido */
}



.contenido-banner {
  color: white;
  z-index: 1;
}

.decoracion-inferior {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  padding-bottom: 10px;
  z-index: 2;
}

.flor-invertida {
  font-size: 2.9rem;
  transform: rotate(180deg);
  margin: 0 15px;
  color: #ffffff;
}

.espirales {
  flex: 1;
  height: 40px;
  background-image: repeating-linear-gradient(
    135deg,
  );
  background-size: 20px 20px;
  opacity: 0.4;
}







/* Sección de equipo */

.team {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0px 0;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  margin: 0;
  margin-bottom: 50px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Estilo para cada tarjeta - Diseño moderno y profesional */
.team-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  border-radius: 28px;
  box-shadow: 
    0 8px 24px rgba(15, 29, 52, 0.08),
    0 2px 8px rgba(15, 29, 52, 0.04);
  padding: 0;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 680px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 29, 52, 0.06);
  cursor: pointer;
}

/* Borde superior con color sutil */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f6fe0 0%, #ff7a00 50%, #1f6fe0 100%);
  border-radius: 28px 28px 0 0;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.team-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(31, 111, 224, 0.15),
    0 8px 24px rgba(15, 29, 52, 0.12);
  border-color: rgba(31, 111, 224, 0.2);
}

.team-card:hover::before {
  opacity: 1;
  height: 5px;
}

/* Contenedor de la imagen con mejor estética */
.team-card picture {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #e9f2ff 100%);
  margin-bottom: 0;
  flex-shrink: 0;
  height: 520px;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px 24px 0 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.team-card:hover .team-photo {
  transform: scale(1.08);
}

/* Overlay sutil en hover */
.team-card picture::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 111, 224, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.team-card:hover picture::after {
  opacity: 1;
}

/* Contenedor del contenido de texto */
.team-card > h3,
.team-card > p {
  padding: 0 1.5rem;
}

/* Título y descripción */
.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem 0;
  color: #0d2347;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.team-role {
  font-size: 0.8rem;
  color: #4b5b74;
  margin: 0 0 1rem 0;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.team-description {
  font-size: 0.95rem;
  color: #4b5b74;
  line-height: 1.6;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding: 0 1.5rem;
}

/* Efectos hover en texto */
.team-card:hover .team-name {
  color: #1f6fe0;
}

.team-card:hover .team-role {
  color: #ff7a00;
}

@media (max-width: 600px) {
  .team-container {
      grid-template-columns: 1fr;
      padding: 0 10px;
      gap: 1rem;
  }

  .team-card {
      height: 680px;
      max-width: 100%;
  }

  .team-card picture {
      height: 500px;
  }
}

@media (max-width: 900px) {
  .team-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      padding: 1rem;
  }
}

@media (min-width: 1200px) {
  .team-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
  }
}

/* Estilos para el modal del equipo */
.team-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 29, 52, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.team-modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  border-radius: 32px;
  box-shadow: 
    0 20px 60px rgba(15, 29, 52, 0.3),
    0 8px 24px rgba(15, 29, 52, 0.2);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(15, 29, 52, 0.1);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.team-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  font-weight: 300;
  color: #4b5b74;
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 29, 52, 0.1);
}

.team-modal-close:hover {
  background: #1f6fe0;
  color: white;
  transform: rotate(90deg);
}

.team-modal-info {
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  text-align: center;
}

.team-modal-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d2347;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.team-modal-role {
  font-size: 1rem;
  color: #4b5b74;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-modal-description {
  font-size: 1.1rem;
  color: #2d3e50;
  margin: 0;
  line-height: 1.9;
  text-align: left;
  padding: 2rem;
  background: rgba(31, 111, 224, 0.05);
  border-radius: 16px;
  border-left: 4px solid #1f6fe0;
}

@media (max-width: 600px) {
  .team-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 24px;
  }

  .team-modal-info {
    padding: 2.5rem 1.5rem 2rem 1.5rem;
  }

  .team-modal-name {
    font-size: 1.8rem;
  }

  .team-modal-role {
    font-size: 0.9rem;
  }

  .team-modal-description {
    font-size: 1rem;
    padding: 1.5rem;
    line-height: 1.8;
  }

  .team-modal-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }
}


/* Estilos para el título */

.team-intro {
    position: relative;
    background-color: #f1f1f1; /* El color de fondo de la sección */
    padding: 30px;
    text-align: center;
}

.team-title {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

/* Crear el efecto de punta en la parte inferior */
.team-intro::after {
    content: '';
    position: absolute;
    bottom: -20px; /* Ajusta según el tamaño de la punta */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f1f1f1; /* Mismo color que el fondo */
}

/* FOOTER*/
footer {
  background: linear-gradient(135deg, #0b2a63 0%, #1f6fe0 100%);
  color: #f8fbff;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  position: relative;
  margin-top: 50px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -10px 35px rgba(9, 25, 58, 0.3);
}

footer.footer-muni {
  background: #c72100 !important;
  color: #ffffff;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
  margin-top: 0;
}

footer.footer-copy-muni {
  background: #000000 !important;
  color: #ffffff;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 26px 20px 14px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  max-width: 95px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  flex: 1;
}

.footer-horarios,
.footer-contacto {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
}

.footer-contacto {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-horarios strong,
.footer-contacto strong {
  color: #ffffff;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.footer-contacto svg,
.footer-horarios svg {
  color: #8dd5ff;
  margin-right: 10px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.footer-contacto svg path,
.footer-horarios svg path {
  fill: currentColor;
  stroke: none;
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  padding: 12px 20px 20px;
  position: relative;
  background-color: transparent;
}

.footer-sub p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  margin: 4px 0;
}

.footer-sub a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: opacity 0.2s ease;
}

.footer-sub a:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* Flor de lis como ícono decorativo */
.lis-icon {
  width: 30px;
  height: 30px;
  background-image: url('Imagenes/flaticon/municipalidad.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 8px;
  opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 22px 15px 12px;
    gap: 18px;
  }

  .footer-info {
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    max-width: 80px;
  }

  .footer-sub {
    padding: 10px 12px 16px;
  }
}






/* Estilo del slider */

.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.slides-wrapper {
  display: flex; /* Contenedor para las imágenes, con disposición en fila */
  transition: transform 1s ease-in-out; /* Suaviza la transición de las imágenes */
}

.slide {
  width: 100%; /* Las imágenes ocupan el 100% del contenedor */
  height: auto;
  border-radius: 10%;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;

}


/* Animación de deslizamiento de las imágenes */
@keyframes slideIn {
  0% {
    transform: translateX(100%); /* Inicia fuera del contenedor (derecha) */
  }
  50% {
    transform: translateX(0); /* Se mueve hacia su posición original */
  }
  100% {
    transform: translateX(-100%); /* Sale del contenedor (izquierda) */
  }
}

.slider-container .slides-wrapper {
  animation: slideIn 10s infinite; /* La animación dura 10 segundos y se repite infinitamente */
}


/* Botones de navegación */

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #40424413, #7575754f); /* Fondo degradado */
  color: white;
  font-size: 22px; /* Tamaño del texto */
  padding: 3px 5px; /* Tamaño del botón */
  cursor: pointer;
  border: 2px solid #ffffff; /* Borde azul más oscuro */
  border-radius: 7px; /* Bordes ligeramente redondeados */
  z-index: 2;
  display: inline-block;
  margin: 0 10px; /* Espaciado entre los botones */
  transition: all 0.3s ease; /* Transición suave para todo */
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

.prev:hover, .next:hover {
  background-color: #15405e; /* Cambia a un azul más oscuro */
  transform: translateY(-50%) scale(1.2); /* Animación de expansión */
  opacity: 1; /* Aumenta la opacidad al hacer hover */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.prev {
  left: 20px; /* Alineación a la izquierda */
}

.next {
  right: 20px; /* Alineación a la derecha */
}

.prev, .next {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  0% {
    transform: translateY(-50%) translateX(-20px); /* Comienzo con un pequeño desplazamiento a la izquierda */
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) translateX(0); /* Vuelve a la posición original */
    opacity: 1;
  }
}



@media (max-width: 768px) {
  .slide img {
    height: 350px;  
  }

  .prev, .next {
    font-size: 20px;  
    padding: 8px; 
  }
}


@media (max-width: 480px) {
  .slide img {
    height: 250px;  
  }

  .prev, .next {
    font-size: 18px;  
    padding: 6px;  
  }
}


/* ===== Contenedor ===== */
.botones-container{
  display:flex;                 /* siempre en fila */
  flex-wrap:wrap;               /* si no entran, saltan de línea */
  justify-content:center;
  gap:26px;                     /* espacio entre botones */
  padding:32px;
  margin:32px auto 48px;
}

/* ===== Botón ===== */
.boton{
  flex:0 0 260px;               /* ancho fijo aproximado */
  max-width:280px;
  min-height:120px;             /* más altos */
  padding:20px 24px;

  display:flex;
  align-items:center;
  gap:16px;

  background: var(--sheet);
  border:1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration:none;
  font:600 1.1rem/1.3 "Poppins",system-ui,sans-serif;

  box-shadow:0 8px 28px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

/* Icono más grande */
.boton img[class="iconos.tramites"]{
  width:52px; height:52px;
  flex:0 0 52px;
  object-fit:contain;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.12));
  transition: transform .25s ease;
}

/* Hover */
.boton:hover{
  transform: translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,.25);
  border-color:var(--celeste);
}
.boton:hover img[class="iconos.tramites"]{
  transform: scale(1.1);
}

/* Animaciones laterales y brillo (igual que antes) */
.boton::before{
  content:"";
  position:absolute; inset:0 auto 0 0; width:6px;
  background: linear-gradient(180deg, var(--celeste), var(--naranja), var(--celeste));
  background-size:100% 200%;
  animation: stripeFlow 4s linear infinite;
}
@keyframes stripeFlow{
  0%{ background-position-y:0% } 100%{ background-position-y:200% }
}

.boton::after{
  content:"";
  position:absolute; inset:-20%;
  background: linear-gradient(105deg,#ffffff00 45%, #ffffff66 50%, #ffffff00 55%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.boton:hover::after{ transform: translateX(40%); }

/* ===== Presupuesto Participativo ===== */
.pp-section{
  display:flex;
  justify-content:center;
  padding:48px 0;
  background:linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.pp-card{
  width:100%;
  max-width:960px;
  margin:0 24px;
  padding:32px 40px;
  border-radius:34px;
  background:var(--sheet,#fff);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 20px 60px rgba(15,23,42,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
  text-align:center;
}

.pp-card--vertical{
  max-width:640px;
  padding:32px 32px;
  gap:22px;
}
.pp-card--vertical .pp-banner img{
  max-width:320px;
}

.pp-banner img{
  width:100%;
  max-width:380px;
  height:auto;
  display:block;
  margin:0 auto;
  object-fit:contain;
}

.pp-content h2{
  font-family:"Maven Pro","Poppins",system-ui,sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight:700;
  color:#1f2937;
  text-transform: lowercase;
}

.pp-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.pp-content p{
  font-size:1.1rem;
  color:#475569;
  margin:0;
  text-transform:lowercase;
}

.pp-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 28px;
  border-radius:999px;
  background:linear-gradient(120deg,#f97316,#facc15);
  color:#1f1f1f;
  text-decoration:none;
  font-weight:700;
  text-transform:lowercase;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 10px 30px rgba(249,115,22,.35);
}

.pp-link::after{
  content:"↗";
  font-size:1.2rem;
  line-height:1;
}

.pp-link:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 40px rgba(249,115,22,.45);
}

@media (max-width:768px){
  .pp-card{
    padding:28px 24px;
    border-radius:24px;
  }
  .pp-card--vertical{
    max-width:100%;
    padding:28px 24px;
  }
  .pp-card--vertical .pp-banner img{
    max-width:260px;
  }
  .pp-banner img{
    max-width:280px;
  }
}

/* ===== Botones obras también en fila ===== */
.botones-obras{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:26px;
  padding:24px;
  margin:32px auto 48px;
}
.botontyn{
  flex:0 0 260px;
  max-width:280px;
  min-height:120px;
  padding:20px 24px;
  display:flex;
  align-items:center;
  gap:16px;
  background: var(--sheet);
  border:1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font:600 1.1rem/1.3 "Poppins",system-ui,sans-serif;
  box-shadow:0 8px 28px rgba(0,0,0,.08);
  position:relative;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}




  .imagen-contenedor {
    padding: 5%;               /* Espaciado alrededor de la imagen */
    display: inline-block;     /* Hace que el contenedor se ajuste al tamaño de la imagen */
    text-align: center;
    width: 100%;               /* Asegura que el contenedor ocupe todo el ancho disponible */
}

.imagen-clickeable {
    width: 100%;               /* Hace que la imagen ocupe el 100% del ancho disponible del contenedor */
    max-width: 800px;          /* Limita el tamaño máximo de la imagen */
    height: auto;              /* Mantiene la proporción de la imagen */
    cursor: pointer;          /* Cambia el cursor a mano cuando pasas el mouse */
    border-radius: 8px;        /* Bordes redondeados en la imagen */
    padding: 5%;               /* Espaciado interno de la imagen */
}
@media (max-width: 400px) {
  .imagen-clickeable {
      width: 90%;            /* Reduce el tamaño de la imagen en pantallas más pequeñas */
      padding: 2%;           /* Reduce el padding en pantallas más pequeñas */
  }
}

@media (max-width: 200px) {
  .imagen-clickeable {
      width: 100%;           /* La imagen ocupará el 100% del ancho disponible en pantallas muy pequeñas */
      padding: 0;            /* Elimina el padding extra en pantallas pequeñas */
  }
}


/* Estilo para ocultar las publicaciones adicionales */
.hidden-posts {
    display: none;
}


/* Estilo para el botón flotante */
.scrollToTopBtn {
    position: fixed;
    bottom: 12px;
    left: 50%;
    right: auto;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1f6fe0 0%, #0056b3 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(31, 111, 224, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateX(-50%);
}

.scrollToTopBtn:hover {
    transform: translate(-50%, -4px);
    box-shadow: 0 6px 20px rgba(31, 111, 224, 0.6);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.scrollToTopBtn:active {
    transform: translate(-50%, -2px);
}

.scrollToTopBtn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 768px) {
    .scrollToTopBtn {
        bottom: 8px;
        left: 50%;
        right: auto;
        width: 45px;
        height: 45px;
        transform: translateX(-50%);
    }
    
    .scrollToTopBtn svg {
        width: 20px;
        height: 20px;
    }
}
/* PDF DE HT.CUENTAS*/
.pdf-section {
    margin-bottom: 40px;
    width: 80%;
    padding: 35px;
}

.pdf-section h2 {
    color: #213469;
    margin-bottom: 10px;
    text-align: center;
}

.pdf-item {
    background-color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pdf-item h3 {
    color: #213469;
}

.pdf-links {
    margin-top: 10px;
}

.pdf-links a {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 15px;
    background-color: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pdf-links a:hover {
    background-color: #f39c12;
}

/*CARDS EMPRESAS EXPORTADORAS*/

.card-empresas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  width: min(1200px, 90%);
  margin: 0 auto 40px;
}

.empresas {
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.15);
  position: relative;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 120px;
}

/* Efecto hover (opcional) para los logos de las empresas */
.empresas:hover {
  transform: translateY(-5px); /* Efecto de elevación al pasar el mouse */
  box-shadow: 0px 12px 28px -9px rgba(0, 0, 0, 0.5); /* Sombra más fuerte al hover */
}
@media (max-width: 768px) {
  .card-empresas {
    grid-template-columns: repeat(2, 1fr); /* 2 tarjetas por fila */
    width: 90%; /* Ocupa el 90% del ancho de la pantalla */
  }

  .empresas {
    padding: 15px; /* Ajuste de padding para dispositivos más pequeños */
  }
}

/* Cuando la pantalla sea extra pequeña (típicamente en teléfonos más pequeños) */
@media (max-width: 480px) {
  .card-empresas {
    grid-template-columns: 1fr; /* 1 tarjeta por fila */
    width: 100%; /* Ocupa todo el ancho disponible */
  }

  .empresas {
    padding: 20px; /* Ajuste de padding para pantallas aún más pequeñas */
  }
}

.empresas img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}



/* IMAGENES PRODUCTOS EMPRESAS*/


.home-empresas {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #ffffff;
  box-sizing: border-box;
  display: block;
}

.catalogo {
  text-align: center;
  max-width: 1200px;
  width: 100%; /* Asegura que el contenedor no sea más grande que la pantalla */
  margin: 0 auto; /* Centra el contenedor */
}

.empresa {
  margin-bottom: 60px;
}

.nombre-empresa {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 50px;
  margin-top: 50px;
}

.descripcion {
  font-size: 1rem;
  color: #2f3a4a;
  line-height: 1.8;
  padding: 22px;
  background-color: rgba(255,255,255,0.92);
  border-radius: 16px;
  border-left: 5px solid #1f6fe0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  max-width: 900px;
  margin: 20px auto 32px;
  font-family: "Maven Pro", sans-serif;
  text-align: justify;
  letter-spacing: 0.3px;
}



.galeria {
  display: flex;
  flex-wrap: nowrap; /* Asegura que las imágenes estén en una fila (no se envuelvan) */
  justify-content: center; /* Centra las imágenes en la página */
  gap: 20px; /* Espacio entre las imágenes */
  margin-top: 20px;
}

.imagen {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 10px;
  text-align: center;
  width: 300px; /* Controlamos el ancho de las imágenes */
  transition: transform 0.3s ease;
}

.imagen img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

.imagen img:hover {
  transform: scale(1.15);
}

.titulo-imagen {
  margin-top: 2q0px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* =======================================================
   NOTICIAS — diseño 2 columnas, títulos completos,
   cuerpo con Leer más, e imágenes adaptadas
   ======================================================= */

/* ===== Título de sección centrado ===== */
.seccion-titulo{
  max-width:1200px;
  margin:40px auto 30px; /* Aumentado el margen superior e inferior */
  padding:0 16px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
}
.seccion-titulo h2{
  margin:0;
  padding:0 20px;
  text-align:center;
  color:#0b2b5c;
  font:800 2.2rem/1.15 "Maven Pro", system-ui;
  white-space:nowrap;
  flex-shrink:0;
}
.seccion-titulo .linea{
  height:2px;
  background:linear-gradient(to right, transparent, #cdd6e4 20%, #cdd6e4 80%, transparent);
  border-radius:2px;
  flex:1;
  max-width:200px;
}

/* ===== Contenedor principal ===== */
.noticias-container{
  max-width:1200px;
  margin:0 auto 36px;
  padding:0 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:28px;
}

/* ===== Tarjeta de noticia ===== */
.noticias-container .noticia{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e7ecf3;
  border-radius:16px;
  padding:18px;
  box-shadow:0 6px 18px rgba(2,6,23,.06);
  transition:transform .12s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}
.noticias-container .noticia:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(2,6,23,.1);
  border-color:#dfe6f0;
}

/* ===== Imagen ===== */
.noticias-container .noticia img{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  border:2px solid #e5e8ef;
  background:#f3f6fa;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  transition:transform .3s ease, box-shadow .3s ease;
  aspect-ratio:16/10;
  object-position:center;
}

/* ==== Orientación inteligente ==== */
/* Por defecto: paisaje */
.noticias-container .noticia img.is-landscape{
  object-fit:cover;
}

/* Vertical: mostrar completa sin recortar */
.noticias-container .noticia img.is-portrait{
  object-fit:contain;
  background:#eef3fb;
  aspect-ratio:auto;
  max-height:400px;
}

/* Adaptar contenedor de noticia según orientación */
.noticias-container .noticia.is-portrait{
  align-items:center;
}

.noticias-container .noticia.is-portrait img{
  width:auto;
  max-width:100%;
  height:auto;
}

/* Hover suave */
.noticias-container .noticia:hover img{
  transform:scale(1.03);
  box-shadow:0 10px 28px rgba(0,0,0,.15);
}

/* ===== Título ===== */
.noticias-container .noticia .titulo{
  margin:16px auto 8px !important;
  color:#111 !important;
  text-align:center !important;
  font:800 clamp(1.06rem, 1.4vw, 1.28rem)/1.32 "Maven Pro", system-ui !important;
  max-width:92% !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:unset !important;
  display:block !important;
  overflow:visible !important;
  max-height:none !important;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}

/* ===== Fecha ===== */
.noticias-container .noticia .fecha{
  color:#6b7280;
  font-size:.9rem;
  margin-bottom:8px;
  text-align:center;
}

/* ===== Cuerpo colapsable ===== */
.noticias-container .noticia .contenido{
  position:relative;
  color:#1f2937;
  font-size:1rem;
  line-height:1.7;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}
.noticias-container .noticia .contenido.collapsed{
  display:-webkit-box;
  -webkit-line-clamp:7;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.noticias-container .noticia .contenido.collapsed::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:3rem;
  background:linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events:none;
}
.noticias-container .noticia.expandida .contenido{
  -webkit-line-clamp:unset;
  overflow:visible;
}
.noticias-container .noticia.expandida .contenido::after{ display:none }

/* ===== Botón "Leer más" ===== */
.noticias-container .noticia .leer-mas-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:auto;
  align-self:center;
  padding:10px 18px;
  border:1px solid #d8dfeb;
  border-radius:999px;
  background:#fff;
  color:#0b2b5c;
  font:700 13px/1 "Maven Pro", system-ui;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(2,6,23,.05);
  transition:transform .08s, box-shadow .12s, background .12s;
}
.noticias-container .noticia .leer-mas-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(2,6,23,.10);
  background:#f7fbff;
}
.noticias-container .noticia .leer-mas-btn::after{
  content:"▾";

/* ================= NOTICIAS EN HOME PAGE ================= */

/* Resetear estilos globales que puedan afectar */
.noticias-home-container *,
.noticias-home-container *::before,
.noticias-home-container *::after {
  box-sizing: border-box;
}

/* Contenedor principal de noticias en home */
.noticias-home-container{
  max-width: 1200px !important;
  margin: 0 auto 60px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.noticias-loading,
.noticias-error,
.noticias-empty{
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-size: 1rem;
}

/* Grid de 3 columnas para las noticias */
.noticias-home-grid{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 40px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  list-style: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.noticia-home-card {
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.noticia-home-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}

.noticias-home-container .noticias-home-grid{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Tarjeta de noticia en home */
.noticia-home-card{
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: auto !important;
  border: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  min-width: 0 !important;
}

.noticia-home-card:hover{
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

/* Imagen de la noticia */
.noticia-home-image{
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
  background: #f1f1f1 !important;
  position: relative !important;
  flex-shrink: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.noticia-home-image img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.noticia-home-image img.is-landscape{
  object-fit: cover !important;
}

.noticia-home-image img.is-portrait{
  object-fit: contain !important;
  background: #f1f1f1 !important;
}

.noticia-home-card:hover .noticia-home-image img{
  transform: scale(1.05) !important;
}

/* Contenido de la tarjeta */
.noticia-home-content{
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Meta información (fecha y categoría) */
.noticia-home-meta{
  margin: 0 0 10px 0 !important;
  color: #6b7280 !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  display: block !important;
  padding: 0 !important;
  text-align: left !important;
}

.noticia-home-date{
  color: #6b7280 !important;
  display: inline !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  font-family: "Maven Pro", system-ui, sans-serif !important;
}

.noticia-home-category{
  color: #6b7280 !important;
  display: inline !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  font-family: "Maven Pro", system-ui, sans-serif !important;
}

/* Título de la noticia */
.noticia-home-content h3.noticia-home-title{
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-family: "Maven Pro", system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Preview del contenido */
.noticia-home-content p.noticia-home-preview{
  margin: 0 !important;
  padding: 0 !important;
  color: #4b5563 !important;
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex-grow: 1 !important;
  font-family: "Maven Pro", system-ui, sans-serif !important;
  font-weight: 400 !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Botón Ver todas */
.noticias-home-ver-todas{
  text-align: center !important;
  margin-top: 32px !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.noticias-home-ver-todas a.btn-ver-todas{
  display: inline-block !important;
  padding: 10px 32px !important;
  background: #9ca3af !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-family: "Maven Pro", system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: background 0.2s ease;
  border: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.noticias-home-ver-todas a.btn-ver-todas:hover{
  background: #6b7280 !important;
  color: #ffffff !important;
  transform: none !important;
}

/* Responsive: tablet */
@media (max-width: 1024px){
  .noticias-home-container{
    padding: 0 16px;
  }
  
  .noticias-home-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  
  .noticia-home-image{
    height: 200px !important;
  }
}

/* Responsive: móvil */
@media (max-width: 768px){
  .noticias-home-container{
    padding: 0 16px;
    margin-bottom: 40px;
  }
  
  .noticias-home-grid{
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 30px;
  }
  
  .noticia-home-image{
    height: 220px !important;
  }
  
  .noticia-home-content{
    padding: 16px !important;
  }
  
  .noticia-home-title{
    font-size: 0.9375rem !important;
    min-height: auto;
  }
  
  .noticia-home-preview{
    font-size: 0.8125rem !important;
  }
  
  .noticias-home-ver-todas{
    margin-top: 32px !important;
  }
  
  .btn-ver-todas{
    padding: 10px 24px !important;
    font-size: 0.875rem !important;
  }
}

/* ================= MODAL DE NOTICIAS (reutilizable) ================= */
.noticia-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.noticia-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.noticia-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  z-index: 10001;
}

.noticia-modal-content.modal-landscape {
  max-width: 900px;
}

.noticia-modal-content.modal-portrait {
  max-width: 600px;
}

.noticia-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: all 0.2s ease;
}

.noticia-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.noticia-modal-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.noticia-modal-imagen {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border-radius: 20px 20px 0 0;
  background: #f3f6fa;
  display: block;
}

.noticia-modal-texto {
  padding: 32px;
}

.noticia-modal-texto h2 {
  margin: 0 0 12px 0;
  color: #0b2b5c;
  font: 800 1.8rem/1.3 "Maven Pro", system-ui;
}

.noticia-modal-fecha {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.noticia-modal-contenido {
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .noticia-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }
  
  .noticia-modal-content.modal-portrait {
    max-width: 85%;
  }
  
  .noticia-modal-content.modal-landscape {
    max-width: 95%;
  }

  .noticia-modal-texto {
    padding: 24px;
  }

  .noticia-modal-texto h2 {
    font-size: 1.5rem;
  }

  .noticia-modal-imagen {
    max-height: 50vh;
    object-fit: contain;
  }
}
  font-size:12px;
  margin-left:4px;
  transition:transform .18s ease;
}
.noticias-container .noticia.expandida .leer-mas-btn::after{
  transform:rotate(180deg);
}

/* ===== Paginación ===== */
.pagination-bar{width:100%;display:block;margin:22px 0}
.pagination-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:0}
.pagination{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin:0;
}
.pagination a,.pagination span{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid #d9dfe8;
  border-radius:10px;
  text-decoration:none;
  color:#1f2937;
  font:700 14px/1 "Maven Pro",system-ui;
  background:#fff;
  transition:transform .06s, box-shadow .12s, background .12s;
}
.pagination a:hover{
  box-shadow:0 6px 18px rgba(2,6,23,.08);
  transform:translateY(-1px);
  background:#f8fbff;
}
.pagination .active{
  background:#0b2b5c;
  color:#fff;
  border-color:#0b2b5c;
}
.pagination .disabled{
  opacity:.55;
  pointer-events:none;
}
.pagination .meta{
  border:none;
  background:transparent;
  min-width:auto;
  padding:0 4px;
  color:#6b7280;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .seccion-titulo{
    flex-direction:column;
    gap:15px;
    margin:30px auto 25px;
  }
  .seccion-titulo h2{
    white-space:normal;
    font-size:1.8rem;
    padding:0 15px;
  }
  .seccion-titulo .linea{
    max-width:150px;
  }

  .noticias-container{
    grid-template-columns:1fr;
    gap:22px;
  }
  .noticias-container .noticia img{
    aspect-ratio:16/12;
  }
}

@media (max-width: 768px){
  .seccion-titulo{
    margin:25px auto 20px;
  }
  .seccion-titulo h2{
    font-size:1.6rem;
  }
  .seccion-titulo .linea{
    max-width:100px;
  }
}

@media (max-width: 480px){
  .seccion-titulo{
    margin:20px auto 15px;
  }
  .seccion-titulo h2{
    font-size:1.4rem;
  }
  .seccion-titulo .linea{
    max-width:80px;
  }
}


/* CARD PARA EMPRESAS EXPORTADORAS */ 
.wrapper2 {
  display: flex;
  justify-content: center;  /* Centra horizontalmente */
  align-items: center;      /* Centra verticalmente */
  height: 75vh;            /* La altura del contenedor es igual a la altura de la ventana */
  margin: 0;                /* Elimina márgenes por defecto */
  background-image: url(Imagenes/SLIDER/white-abstract-background-vector.jpg);
  cursor: pointer;  /* Cambia el cursor para indicar que es clickeable */
  transition: transform 0.3s ease;  /* Si quieres algún efecto visual en hover */
}


section.card {
  position: relative;
  width: 700px;
  height: 350px;
  background-color: #474dc3;
  border-radius: 10px;
  display: grid;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 20, 20, 20 ,20px;
  background-image: url('Imagenes/EmpresasExportadoras.png'); /* Agrega la URL de tu imagen */
  background-size: cover; /* Hace que la imagen cubra toda la tarjeta */
  background-position: center; /* Centra la imagen */
}
.card-link {
  text-decoration: none;  /* Elimina el subrayado de los enlaces */
  
}

.card-link:hover .card {
  transform: scale(1.05);  /* Asegura que el hover también afecte la tarjeta */
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px #000000;
  background-color: #474dc3;
  color: #050505;
  text-align: center;
  
}

.card__content {
  display: grid;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  padding-left: 5px;
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
}

.card:hover svg {
  scale: 0;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #000000;
  line-height: 1.4;
}



/*PARRAFOS DE EMPRESAS EXPORTADORAS*/

.parrafo-estilizado {
  font-size: 18px;  /* Tamaño de la fuente */
  line-height: 1.6;  /* Espaciado entre líneas */
  font-family: "Maven Pro", serif;
  background-color: #f9f9f9;  /* Fondo claro */
  padding: 20px;  /* Espaciado interno */
  border-radius: 8px;  /* Bordes redondeados */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Sombra suave */
  color: #333;  /* Color del texto */
  max-width: 900px;  /* Ancho máximo para mantener el párrafo en un tamaño manejable */
  margin: 20px auto;  /* Centrado en la página */
  text-align: justify;  /* Alineación del texto */
  border-left: 5px solid #3498db;  /* Borde izquierdo azul para darle un toque */
  transition: all 0.3s ease;  /* Transición suave */
}

/* Efecto al pasar el mouse */
.parrafo-estilizado:hover {
  background-color: #ecf0f1;  /* Fondo más claro al pasar el mouse */
  transform: translateY(-5px);  /* Desplazamiento hacia arriba */
}






/* Estilo para la descripción general */
.descripcion-general {
  margin-bottom: 20px;
}

.descripcion-general h2 {
  font-size: 24px;
  font-weight: bold;
}

.descripcion-general p {
  font-size: 16px;
  line-height: 1.6;
}

/* Estilo de la galería */
.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.galeria-item {
  width: 30%;
  text-align: center;
  margin-bottom: 20px;
}

.galeria-imagen {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.descripcion-imagen {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

/* ===== Tokens del tema (celeste + blanco + naranja) ===== */
:root{
  --celeste:#1f6fe0;
  --naranja:#ff7a00;
  --ink:#0f172a;
  --bg:#ffffff;
  --muted:#6a7386;
}

/* ===== Banner base ===== */
/* ===== Sección de Licitación ===== */
.licitacion-section {
  width: 100%;
  margin: 60px 0;
  padding: 0 16px;
}

.licitacion-container {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 252, 255, 0.98));
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(11, 43, 92, 0.12);
  overflow: hidden;
  border: 1px solid rgba(31, 111, 224, 0.1);
}

.licitacion-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, rgba(31, 111, 224, 0.05), rgba(255, 122, 0, 0.05));
  border-bottom: 2px solid rgba(31, 111, 224, 0.1);
}

.licitacion-title {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: #0b2b5c;
  text-align: center;
  letter-spacing: 0.3px;
}

.licitacion-content {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.licitacion-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 43, 92, 0.15);
  transition: transform 0.3s ease;
}

.licitacion-image:hover {
  transform: translateY(-4px);
}

.licitacion-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.licitacion-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.licitacion-description {
  margin: 0;
  font-family: "Maven Pro", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2f3a4a;
  text-align: justify;
}

.licitacion-resumen {
  margin: 20px 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(31, 111, 224, 0.08), rgba(255, 122, 0, 0.08));
  border-left: 4px solid #1f6fe0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resumen-item {
  font-family: "Maven Pro", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2f3a4a;
}

.resumen-item strong {
  color: #1f6fe0;
  font-weight: 600;
  margin-right: 6px;
}

.licitacion-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1f6fe0, #0d4ba7);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(31, 111, 224, 0.3);
  width: fit-content;
}

.licitacion-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 111, 224, 0.4);
  background: linear-gradient(135deg, #0d4ba7, #1f6fe0);
}

.licitacion-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.licitacion-button:hover svg {
  transform: translateX(4px);
}

.licitacion-button span {
  display: inline-block;
}

/* Responsive para tablets */
@media (max-width: 968px) {
  .licitacion-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .licitacion-header {
    padding: 24px 24px 20px;
  }
  
  .licitacion-content {
    padding: 24px;
  }
}

/* Responsive para móviles */
@media (max-width: 640px) {
  .licitacion-section {
    margin: 40px 0;
    padding: 0 12px;
  }
  
  .licitacion-container {
    border-radius: 16px;
  }
  
  .licitacion-header {
    padding: 20px 16px 16px;
  }
  
  .licitacion-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .licitacion-content {
    padding: 20px 16px;
    gap: 20px;
  }
  
  .licitacion-description {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .licitacion-resumen {
    padding: 14px 16px;
    gap: 10px;
  }
  
  .resumen-item {
    font-size: 0.85rem;
  }
  
  .licitacion-button {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
}

.baner{
  position: relative;
  width: 100%;
  margin: 0;
  padding: 60px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  overflow: visible;
}

/* Eliminar cualquier efecto decorativo del banner */
.baner::before{
  display: none;
}

/* Contenido centrado - simplificado */
.baner-content{
  position:relative;
  text-align:center;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* ===== Título simplificado - solo texto limpio ===== */
.baner-content h2{
  margin:0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing:.6px;
  text-transform: uppercase;
  color: #0b2b5c;
  position:relative;
  display:inline-block;
  line-height:1.15;
  background: transparent;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* Eliminar todos los efectos decorativos */
.baner-content h2::after,
.baner-content h2::before{
  display: none;
  content: none;
}

/* ===== Accesibilidad: reduce motion ===== */
@media (prefers-reduced-motion: reduce){
  .baner-content h2{ animation: none; }
}

/* ===== Media queries ===== */
@media (max-width: 768px){
  .baner{ margin:30px 0; padding:36px 12px; }
  .baner-content h2::after{ bottom:-10px; height:3px; width:72%; }
}

@media (max-width: 480px){
  .baner{ margin:22px 0; padding:28px 10px; }
  .baner-content h2{ letter-spacing:.4px; }
  .baner-content h2::after{ bottom:-8px; width:68%; }
}

/* ===== Keyframes ===== */
@keyframes underlineGrow{
  to { transform: translateX(-50%) scaleX(1); }
}




/*--------------------------------DIRECTORIO DE TELEFONOS---------------------------------------*/

/* ===== Paleta y base ===== */
:root{
  --gris-fondo:#e9edf3;
  --gris-borde:#d6dde8;
  --gris-osc:#404651;

  --sheet:#ffffff;
  --celeste:#1f6fe0;     /* acento celeste */
  --naranja:#ff7a00;     /* acento naranja */
  --zebra:#f8fbff;       /* gris/blanco para filas */
  --radius:18px;
  --shadow:0 16px 40px rgba(20,32,50,.15);
}

/* Lienzo general del bloque */
.contenedor-dependencias{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;    /* tus dos columnas se mantienen */
  gap:24px;
  max-width:980px;
  margin:24px auto;
  padding:26px;
  background: var(--gris-fondo);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* “marco” / acentos del poster */
.contenedor-dependencias::before{
  content:"";
  position:absolute; inset:-8px auto auto -8px;
  width:90px; height:36%;
  background: var(--naranja);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 6px 18px #ff7a0022;
}
.contenedor-dependencias::after{
  content:none; /* Eliminamos el decorado azul diagonal */
}


/* Cada columna contiene su “hoja” */
.columna{
  position:relative;
  background: var(--sheet);
  border:1px solid var(--gris-borde);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Cabecera visual del directorio (no modifica tu HTML) */
.columna::before{
  content:"Directorio de Telefonos";
  display:block;
  background: #2b3342;
  color:#fff;
  font: 700 0.95rem/1.1 "Poppins", system-ui, sans-serif;
  letter-spacing:.3px;
  padding:14px 18px;
  border-bottom:1px solid #1d2330;
}

/* Filas tipo tabla */
.fila-cajon{
  display:flex;
  align-items:center;
  gap:0;                 /* tabla compacta */
  min-height:56px;
  border-bottom:1px solid var(--gris-borde);
  counter-increment: rownum;        /* para numerar */
  position:relative;
}

/* Zebra (por fila, por columna) */
.columna .fila-cajon:nth-child(odd){ background: var(--zebra); }
.columna .fila-cajon:hover{ background:#ecf3ff; }

/* Numeración estilo “No.” a la izquierda (como en el póster) */
.fila-cajon::before{
  content: counter(rownum) ".";
  width:56px; min-width:56px;
  text-align:center;
  color:#6a7386;
  font:600 0.9rem/1 "Poppins", system-ui, sans-serif;
}

/* Ícono: pequeño bloque celeste (si no hay img, igual queda prolijo) */
.icono{
  width:0; min-width:0; height:0;      /* ocultamos el bloque original */
}
.icono img{ display:none; }            /* por si viniera algo */

/* Tarjeta interna ahora actúa como fila con dos columnas: Nombre | Teléfono */
.cajon{
  flex:1;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;  /* nombre / teléfono */
  align-items:center;
  gap:0;
  background: transparent;
  border:none;
  box-shadow:none;
  min-height:56px;
  transition: background .2s ease;
}

/* Celdas */
.texto, .telefono{
  padding:14px 16px;
  font-family:"Poppins", system-ui, sans-serif;
  color: var(--gris-osc);
}

/* Nombre (columna izquierda) */
.texto{
  font-weight:600;
  white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;
  border-right:1px solid var(--gris-borde);
}

/* Teléfono (derecha) con “pill” naranja discreta */
.telefono{
  justify-self:end;
  display:inline-flex; align-items:center; gap:10px;
  font-weight:700;
  color:#fff;
  padding-right:22px;
  position:relative;
}
.telefono::before{
  content:"";
  width:10px; height:10px; border-radius:50%;
  background: #fff; opacity:.9;
}
.telefono::after{
  content: attr(data-label);
  display:none;
}

/* Pastilla naranja de fondo (bordes redondeados hacia la derecha) */
.telefono{
  background:
    linear-gradient(90deg, var(--naranja), #ffa357);
  border-radius: 999px 0 0 999px;
}

/* Hover en fila: enfatiza celeste en bordes y título */
.fila-cajon:hover .texto{ color:#13203a; }
.fila-cajon:hover .telefono{
  background: linear-gradient(90deg, #ff8a1f, #ff7a00);
}

/* Puntos decorativos (lado izquierdo de cada hoja) */
.columna::after{
  content:"";
  position:absolute; left:10px; top:62px; bottom:12px;
  width:6px;
  background:
    radial-gradient(circle 2px, var(--celeste) 98%, #0000) 0 0/6px 18px repeat-y;
  opacity:.65;
}

/* Animación de entrada sutil (si ya usás fade-in-scroll) */
.fade-in-scroll{ opacity:0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.fade-in-scroll.is-visible{ opacity:1; transform:none; }

/* ===== Responsivo ===== */
@media (max-width: 980px){
  .contenedor-dependencias{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .cajon{ grid-template-columns: 1fr auto; }
  .texto{ font-size:.95rem; }
  .telefono{ font-size:.95rem; padding:10px 16px; }
  .fila-cajon::before{ width:44px; min-width:44px; }
  .columna::before{ font-size:.9rem; }
  
  /* Prevenir desbordamiento en botones */
  .botones-container {
    padding: 20px 16px !important;
    gap: 16px !important;
  }
  
  .boton {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 140px !important;
    max-width: 100% !important;
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .boton img {
    max-width: 24px !important;
    height: auto !important;
  }
}

/* Estado inicial oculto y desplazado hacia abajo */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

/* Cuando se agrega la clase visible, aparece */
.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}



h1 span.obraspublicas{
  align-items: center;
  text-align: center;
  padding: 500px;
}



/*PDF Y LOGO OBRAS PRIVADAS*/
.tramites-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
p, ul {
  margin: 10px 0;
  padding-left: 20px;
}

ul {
  list-style-type: disc;
}

strong {
  font-weight: bold;
}
.pdf-item {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Crea 4 columnas de igual tamaño */
  gap: 20px; /* Espacio entre las columnas */
  margin-top: 20px; /* Espacio superior */
}

/* Estilo para cada entrada del PDF */
.pdf-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* Centra el texto debajo del logo */
  padding: 10px;
  border: 1px solid #ddd; /* Añade borde opcional */
  border-radius: 8px; /* Bordes redondeados para las cajas */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra ligera */
  background-color: #ffffff; /* Fondo suave */
  height: 300px; /* Altura constante para alinear los botones de manera uniforme */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Alinea los elementos para que los botones estén al final */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave para el zoom y sombra */
}

.pdf-entry:hover {
  transform: translateY(-5px); /* Efecto de elevar ligeramente la entrada */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada en el hover */
}

.pdf-entry .logo {
  width: 100px; /* Aumentamos el tamaño de la imagen */
  height: 100px; /* Mantiene la imagen circular */
  border-radius: 50%; /* Hace la imagen circular */
  border-color: rgb(247, 165, 33);
  border-style:dotted;
  margin-bottom: 10px; /* Espacio entre el logo y el título */
  object-fit: cover; /* Asegura que la imagen se recorte adecuadamente */
  transition: transform 0.3s ease; /* Transición suave para el zoom de la imagen */
}

.pdf-entry .logo:hover {
  transform: scale(1.1); /* Efecto de zoom en la imagen */
}

.pdf-entry h3 {
  margin: 0 0 10px 0; /* Elimina margen superior y agrega espacio abajo */
  font-size: 14px; /* Reducimos el tamaño del título */
  font-weight: 600; /* Peso de fuente para que el título resalte */
}

.pdf-entry .pdf-links {
  margin-top: auto; /* Alinea los enlaces hacia la parte inferior */
}

.pdf-entry .pdf-links a {
  text-decoration: none;
  color: #f39c12; /* Color del enlace */
  font-weight: bold; /* Estilo en negrita para el enlace */
}

@media (max-width: 1200px) {
  .pdf-item {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas para pantallas más pequeñas */
  }
}

@media (max-width: 900px) {
  .pdf-item {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
  }
}

@media (max-width: 600px) {
  .pdf-item {
    grid-template-columns: 1fr; /* 1 columna en pantallas muy pequeñas (móviles) */
  }

  .pdf-entry .logo {
    width: 80px; /* Reducimos el tamaño de la imagen para pantallas pequeñas */
    height: 80px;
  }

  .pdf-entry h3 {
    font-size: 12px; /* Reducimos el tamaño de la fuente */
  }
}




/* ==================== Banner Obras Privadas ==================== */
.obras-hero-banner {
  width: 100%;
  margin: 0 0 clamp(30px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
  border-radius: 0 0 42px 42px;
  overflow: hidden;
  background: #0b1f3f;
  color: #fff;
  box-shadow: 0 35px 80px rgba(7, 23, 47, 0.35);
  position: relative;
  isolation: isolate;
}

.obras-hero-banner::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ff9a3c 0%, #c72100 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(199, 33, 0, 0.35);
  opacity: 0.9;
  pointer-events: none;
}

.obras-hero-image {
  min-height: 300px;
  background: url("Imagenes/baners/banerobras.jpg") center/cover no-repeat;
  position: relative;
}

.banner-tramites-obras .obras-hero-image {
  background-image: url("Imagenes/baners/obrasprivadas/2.jpeg");
}

.banner-tramites-urbanizaciones .obras-hero-image {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.banner-tramites-urbanizaciones .obras-hero-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.banner-obras-publicas .obras-hero-image {
  background-image: url("Imagenes/Obras Publicas/Obra 1.jpg");
}

.obras-hero-content {
  background: linear-gradient(135deg, #0b1f3f 0%, #123b7a 45%, #1f6fe0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
}

.obras-hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .obras-hero-banner {
    grid-template-columns: 1fr;
    border-radius: 0 0 32px 32px;
  }

  .obras-hero-banner::after {
    display: none;
  }

  .obras-hero-image {
    display: none;
  }

  .banner-tramites-urbanizaciones .obras-hero-image {
    display: block;
    min-height: 250px;
  }

  .obras-hero-content {
    padding: clamp(32px, 8vw, 60px);
  }
}

/* Fondo específico para la subpágina-ObrasPrivadas */
.subpage-container {
  background-image: url(Imagenes/SLIDER/fondo-obrasprivadas.png); /* Cambia este color por el que prefieras */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

a {
  text-decoration: none;
}

/*TRAMITES OBRAS PRIVADAS*/
.tramites-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Títulos principales */
.titulo-principal {
  font-size: 2.5rem;
  text-align: center;
  color: #2c3e50; /* Color oscuro para el título principal */
  margin-bottom: 20px;
  text-transform: uppercase; /* Texto en mayúsculas */
}

/* Títulos de sección */
.titulo-seccion {
  font-size: 2rem;
  color: #e67e22; /* Color vibrante para los subtítulos */
  margin-top: 30px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e67e22; /* Línea inferior para resaltar el subtítulo */
  padding-bottom: 5px;
}

/* Estilo de párrafos */
p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555; /* Texto de párrafo con color más suave */
}

/* Estilo de listas */
ul {
  list-style: disc;
  margin-left: 20px;
  line-height: 1.8; /* Interlineado más amplio para listas */
}

/* Estilo de links */
a {
  color: #3498db; /* Color azul para enlaces */
  text-decoration: none;
}


/* Mejorar el aspecto de los enlaces importantes */
strong {
  font-weight: 600;
  color: #1e1d1d;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  .titulo-principal {
      font-size: 2rem; /* Reducir el tamaño en pantallas más pequeñas */
  }
  
  .titulo-seccion {
      font-size: 1.5rem; /* Reducir los subtítulos */
  }

  p {
      font-size: 0.9rem; /* Ajustar el tamaño de los párrafos */
  }
}

@media (max-width: 480px) {
  .titulo-principal {
      font-size: 1.6rem; /* Aún más pequeño para dispositivos móviles */
  }
  
  .titulo-seccion {
      font-size: 1.3rem; /* Subtítulos aún más pequeños */
  }

  ul {
      margin-left: 15px; /* Ajustar la lista en pantallas muy pequeñas */
  }
}
/* Estilos para el nuevo contenedor y el enlace */
.pdf-button-container {
  text-align: center; /* Centra el botón dentro del contenedor */
  margin-top: 20px; /* Separación del contenido superior */
  align-items: center;
  text-align: center;
}

.pdf-button-container a {
  display: inline-block;
  text-decoration: none;
  color: #fff; /* Color del texto */
  background-color: #f39c12; /* Fondo verde */
  padding: 12px 24px; /* Relleno en el botón */
  border-radius: 8px; /* Bordes redondeados */
  font-size: 14px; /* Tamaño de la fuente */
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
  transition: all 0.3s ease; /* Transición suave para los efectos */
 
}

.pdf-button-container a:hover {
  background-color: #f39c12; /* Fondo más oscuro cuando se pasa el ratón */
  color: #ffffff; /* El texto se vuelve blanco al pasar el ratón */
  transform: translateY(-4px); /* Efecto de elevación */
}
.blog-post {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrar el contenido horizontalmente */
  justify-content: center; /* Centrar el contenido verticalmente */
  text-align: center;
  max-width: 400px; /* Ajusta el ancho del cuadro */
  margin: 50px auto; /* Centra el cuadro horizontalmente */
  padding: 20px;
  border: 2px solid #ccc; /* Borde del cuadro */
  border-radius: 10px; /* Bordes redondeados */
  background-color: #f9f9f9; /* Color de fondo */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para efecto visual */
}

.blog-content p {
  margin: 10px 0; /* Espaciado entre párrafos */
}

.blog-content a {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
}

.blog-content a:hover {
  text-decoration: underline;
}


/*REDES SOCIALES HEADER*/
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background-color: #128c7e;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
  background-color: #3b5998;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

/*EFECTO ACORDION PARA BOLETINES*/

.boletines-container{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:min(100%, 980px);
  margin: 0 auto 36px;
  padding: 6px 14px 18px;
}

/* ====== Bloque por año ====== */
.year{
  width:100%;
  margin: 12px 0;
}

/* ====== Título del año (centrado real, caret absoluto) ====== */
.year h2{
  cursor:pointer;
  position:relative;
  display:block; /* importante para centrar con text-align y permitir pseudo absolutos */
  width:100%;
  padding: 16px 56px 16px 28px; /* deja lugar a caret derecha y barrita izquierda */

  text-align:center;             /* centrado real del texto */
  color: var(--ink, #0f172a);
  background: var(--sheet, #ffffff);
  border:1px solid var(--line, #e5eaf2);
  border-radius: var(--radius, 14px);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  font: 800 1.125rem/1.2 "Poppins", system-ui, sans-serif;
  letter-spacing:.3px;

  transition: border-color .25s ease, box-shadow .25s ease, transform .12s ease, background .25s ease;
  will-change: transform, box-shadow;
  user-select:none;
}

/* Barra lateral con gradiente celeste→naranja */
.year h2::before{
  content:"";
  position:absolute; inset:0 auto 0 0; width:8px;
  border-radius: var(--radius, 14px) 0 0 var(--radius, 14px);
  background: linear-gradient(180deg, var(--celeste, #00b0ff), var(--naranja, #ff7a00));
}

/* Flecha (caret) posicionada absoluta a la derecha para no romper el centrado */
.year h2::after{
  content:"›";
  position:absolute;
  right:18px;
  top:50%;
  transform: translateY(-50%) rotate(90deg); /* cerrada */
  font-size: 22px;
  line-height: 1;
  color: var(--celeste, #00b0ff);
  transition: transform .25s ease, color .25s ease, opacity .25s ease;
  opacity:.9;
}

/* Hover */
.year h2:hover{
  border-color: color-mix(in oklab, var(--celeste, #00b0ff) 20%, #fff);
  box-shadow: 0 14px 32px rgba(15,23,42,.16);
  background: color-mix(in oklab, var(--sheet, #fff) 92%, var(--celeste, #00b0ff));
}

/* Estado abierto (se setea a .year cuando la lista está visible) */
.year.is-open h2::after{
  transform: translateY(-50%) rotate(-90deg);
  color: var(--naranja, #ff7a00);
}

/* ====== Lista de meses (acordeón) ====== */
.pdf-lista{
  /* Reseteo */
  list-style:none;
  margin:10px 0 0; padding: 10px 12px 8px;

  /* Caja */
  background: #ffffff;
  border:1px solid var(--line, #e5eaf2);
  border-radius: max(10px, calc(var(--radius, 14px) - 6px));
  box-shadow: 0 6px 18px rgba(15,23,42,.08);

  /* Layout interno en grid para ordenar prolijo en columnas fluidas */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 10px;

  /* Acordeón cerrado por defecto */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform-origin: top;
  transition: max-height .40s ease, opacity .25s ease;
}

/* Abierto */
.pdf-lista.show{
  max-height: 1000px; /* grande para cubrir contenido típico; ajustable */
  opacity: 1;
  pointer-events: auto;
}

/* Ítems (meses) */
.pdf-item{
  background:#ffffff;
  border-radius: 12px;
  transition: background-color .20s ease, transform .12s ease, box-shadow .20s ease, border-color .20s ease;
  padding: 10px 12px;
  border: 1px solid #f2f6fd;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Enlaces */
.pdf-item a{
  color: var(--ink, #0f172a);
  text-decoration: none;
  font: 600 .98rem/1.3 "Inter", system-ui, sans-serif;
  display:flex; align-items:center; gap:10px;
  white-space: normal; word-wrap: break-word; overflow-wrap: break-word;
  flex: 1; min-width: 0;
  text-transform: uppercase;
}

/* Iconito PDF opcional (no rompe si no hay fuente) */
.pdf-item a::before{
  content: "📄";
  font-size: 1rem;
  opacity:.85;
}

/* Hover/Focus visible */
.pdf-item:hover,
.pdf-item:has(a:focus-visible){
  background: linear-gradient(90deg, #fff, #fff7f0);
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--naranja, #ff7a00) 25%, #f2f6fd);
  box-shadow: 0 6px 16px rgba(15,23,42,.10);
}

/* Accesibilidad focus del título (si se le agrega tabindex en HTML/JS) */
.year h2:focus-visible{
  outline: 3px solid color-mix(in oklab, var(--celeste, #00b0ff) 45%, #fff);
  outline-offset: 2px;
  border-color: var(--celeste, #00b0ff);
}

/* Reduce motion respetuoso */
@media (prefers-reduced-motion: reduce){
  .year h2,
  .year h2::after,
  .pdf-lista{
    transition: none !important;
  }
}

/* Responsive suave */
@media (max-width: 560px){
  .boletines-container{ width: 95%; padding: 6px 6px 16px; }
  .year h2{ font-size: 1rem; padding: 14px 52px 14px 24px; }
  .year h2::before{ width:6px; }
  .pdf-lista{ grid-template-columns: 1fr; } /* una columna en móvil para lectura limpia */
}




/* ESCRITURA TUS TRAMITES */

.container-escritura h1{
  font-family: "Montserrat", system-ui, sans-serif; /* nueva fuente */
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin: 80px auto 40px;
  letter-spacing: .5px;
}

#typewriter{
  /* mantiene tu degradado */
  background: linear-gradient(90deg, #1f6fe0, #ff7a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* pedidos: mayúsculas y look más firme */
  text-transform: uppercase;      /* << fuerza MAYÚSCULAS */
  letter-spacing: .8px;           /* separa un toque las letras */
}

.cursor-blink{
  color: #ff7a00;
  font-weight: 800;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 680px){
  .container-escritura h1{ font-size: 2.2rem; }
}





/*MAPA INTERACTIVO*/

/* Asegurar que los elementos del formulario y mapa estén en una fila (Flexbox) */
.input-container {
  display: flex;
  flex-wrap: wrap; /* Permite que los elementos se ajusten a una nueva línea si es necesario */
  justify-content: space-between;
  gap: 20px; /* Añadido espacio entre los elementos */
}

/* Ajustar el tamaño del contenedor del mapa */
.map-container {
  flex: 1; /* El mapa ocupará el 50% de la fila si el contenedor tiene 2 elementos */
  padding-left: 20px;
  min-width: 300px; /* Esto asegura que el mapa no se vuelva demasiado pequeño */
}

/* Asegurarse de que el mapa sea más pequeño */
.map-container iframe {
  width: 100%;
  height: 500px; /* Ajustamos la altura para que el mapa sea más pequeño */
}

/* Para pantallas pequeñas, cambiar la disposición */
@media screen and (max-width: 767px) {
  .input-container {
      flex-direction: column; /* Esto asegura que el formulario y el mapa se apilen uno encima del otro en pantallas pequeñas */
  }

  /* Ajuste para el mapa en pantallas pequeñas */
  .map-container {
    padding-left: 0;
    margin-top: 20px;
    min-width: 100%;
  }
}


/*PORTAL TRIBUTARIO*/
.banner-tributario {
  background-image: url(Imagenes/baners/6.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-tributario p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: white;
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}

.beneficios-container {
  margin-top: 0px;
  display: flex;
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */
  background-color: #eaeff031;
  margin-bottom: 70px;
}

.titulo-beneficios {
  margin-bottom: 120px; /* Espacio entre el h1 y los h2 */
  text-align: center; /* Centra el h1 */
  font-size: 2em; /* Tamaño por defecto del h1 */
  color: #323232;
  font-family: "Maven Pro", serif;
}

.beneficios-content {
  text-align: center; /* Centra el texto dentro del contenedor */
}

.beneficios-info {
  display: flex;
  justify-content: space-around; /* Centra los h2 horizontalmente */
  gap: 6px; /* Espacio entre los h2 */
  flex-wrap: wrap; /* Permite que los h2 se muevan a la siguiente línea en pantallas pequeñas */
}


.beneficios-info h2 {
  font-size: 5.2em; /* Tamaño más grande del h2 */
  color: #3565be;
  margin: 0; /* Elimina márgenes */
  text-decoration: solid;
  font-family: Verdana, Geneva, Tahoma, sans-serif
}

/* Justificación del texto y colores personalizables */
.beneficio {
  width: 33%;
  text-align: center;
  
}

.subtitulo-30,
.subtitulo-10 {
  font-size: 1.2em;
  color: #3565be;
  margin-top: 35px;
}

.descripcion-30,
.descripcion-10 {
  color: #555; /* Cambiar color del párrafo */
  font-size: 14px;
  margin-bottom: -14px;
}
.descripcion-10::before{
  content: '•'; /* El símbolo de la viñeta */
} 
.descripcion-30::before{
  content: '•'; /* El símbolo de la viñeta */
} 

/* Justificación del párrafo */
.descripcion-30, 
.descripcion-10 {
  text-align: left;
  margin-top: 35px;
}

@media (max-width: 768px) {
  .titulo-beneficios {
      font-size: 2em; /* Tamaño del h1 para pantallas más pequeñas */
  }

  .beneficios-info h2 {
      font-size: 4em; /* Tamaño más pequeño para los h2 en pantallas más pequeñas */
  }

  .beneficios-info {
      gap: 10px; /* Reduce el espacio entre los h2 */
  }
  
}

@media (max-width: 480px) {
  .titulo-beneficios {
      font-size: 1.5em; /* Tamaño del h1 más pequeño para pantallas muy pequeñas */
  }

  .beneficios-info h2 {
      font-size: 3.8em; /* Tamaño más pequeño para los h2 en pantallas muy pequeñas */
  }

  .beneficios-info {
      gap: 5px; /* Reduce aún más el espacio entre los h2 */
  }

  .beneficios-info h2 {
      width: 100%; /* Los h2 ocuparán toda la línea */
      text-align: center; /* Centra los h2 en pantallas pequeñas */
  }
  .beneficios-info > div {
    width: 100%; /* Los divs con los h2 y p ocuparán toda la línea en pantallas pequeñas */
    margin-bottom: 10px; /* Añade un poco de espacio entre cada grupo */
}
}

/* Nuevo contenedor de medios de pago */
.metodos-de-pago {
  list-style: none;
  padding: 0;
  display: flex; /* Usamos flex para colocar los elementos en fila */
  justify-content: center; /* Centra los items horizontalmente */
  background-color: rgb(249, 248, 248);
  gap: 40px; /* Espacio entre los elementos */
}

.metodos-de-pago > li {
  padding: 7px;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column; /* Los items estarán en una columna dentro de cada menú */
  align-items: center; /* Centra los items dentro de cada lista */
  font-family: "Maven Pro", serif;
  cursor: pointer;

}

.metodos-de-pago a {
  display: block;
  padding: px 20px;
  color: #000000;
  background-color: rgb(249, 248, 248);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Efecto hover para los enlaces */
.metodos-de-pago a:hover {
  background-color: #d66f1b;
  color: white;
}

/* Submenú */
.metodos-de-pago .submenu {
  display: none;
  list-style: none;
  position: absolute;
  top: 0%;
  left: 100%;
  background-color: rgb(249, 248, 248);
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 10;
}

/* Mostrar el submenú al hacer clic o al estar en foco */
.metodos-de-pago .submenu-item:focus-within .submenu,
.metodos-de-pago .submenu-item:hover .submenu {
  display: block;
}

/* Submenú de niveles adicionales */
.metodos-de-pago ul ul {
  top: 0;
  left: 100%;
  margin-left: 1px;
}

/* Estilos para los elementos dentro del submenú */
.metodos-de-pago .submenu li a {
  font-size: 14px;
  padding: 10px 15px;
  color: #666;
  border-radius: 4px;
}

.metodos-de-pago .submenu li a:hover {
  background-color: #db511a;
  color: white;
}

/* Flecha de indicación */
.metodos-de-pago .submenu-item > a::after {
  content: ' ▼';
  font-size: 10px;
  color: #4b4b4b;
  margin-left: 8px;
}

/* Cambiar el color de la flecha */
.metodos-de-pago .submenu-item:hover > a::after {
  color: white;
}

/* Media Queries para hacer el diseño responsive */

@media (max-width: 768px) {
  .metodos-de-pago {
    flex-direction: column; /* Los items se apilan verticalmente en pantallas pequeñas */
    gap: 20px; /* Menos espacio entre los elementos */
    margin-top: 0px; 
  }

  .metodos-de-pago > li {
    align-items: center; /* Asegura que los items se centren */
  }

  /* Ajustar el tamaño del texto para dispositivos móviles */
  .metodos-de-pago a {
    font-size: 12px;
    padding: 10px 15px; /* Reducir el padding para ahorrar espacio */
  }

  /* Ajustar el submenú para dispositivos pequeños */
  .metodos-de-pago .submenu {
    min-width: 160px; /* Reducir el ancho del submenú */
  }

  .metodos-de-pago .submenu li a {
    font-size: 12px; /* Reducir el tamaño del texto en submenú */
    padding: 8px 12px;
  }

  .metodos-de-pago .submenu-item > a::after {
    font-size: 8px; /* Reducir el tamaño de la flecha */
  }
}

@media (max-width: 480px) {
  .metodos-de-pago {
    margin-top: 0px; /* Menos margen superior */
  }

  .metodos-de-pago > li {
    flex-direction: row; /* Los elementos en fila en dispositivos aún más pequeños */
    gap: 15px;
  }

  .metodos-de-pago a {
    font-size: 10px; /* Font-size más pequeño */
    padding: 8px 12px; /* Reducir más el padding */
  }

  .metodos-de-pago .submenu {
    min-width: 20px; /* Reducir aún más el submenú */
  }

  .metodos-de-pago .submenu li a {
    font-size: 10px; /* Reducir aún más el texto */
    padding: 6px 10px;
  }

  .metodos-de-pago .submenu-item > a::after {
    font-size: 8px; /* Reducir el tamaño de la flecha */
  }
}

.info{
  padding: 35px;
  display: grid;
  text-align: center;
  color: #FF7F00;
  margin-bottom: 50px;
  margin-top: 50px;
  background-color: rgb(249, 248, 248);
}

.baner-vencimiento {
  margin-bottom: 45px;
  text-align: center;
  background-color: #9d9d9d11;
  padding: 30px;
  border-radius: 10px;
}

.titulo-vencimiento {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #363636;
}

.fechas {
  display: flex;
  justify-content: center;
  gap: 40px; /* Espacio entre las fechas */
}

.fecha {
  text-align: center;
}

.numero {
  font-size: 5em; /* Número grande */
  font-weight: bold;
  color: #ff0000f1; /* Color llamativo para el número */
}

.mes {
  font-size: 1.5em;
  color: #333;
  margin-left: 10px;
}

.separador {
  width: 100%; /* Ancho de la línea separadora */
  height: 1px; /* Grosor de la línea */
  background-color: rgba(0, 0, 0, 0.2); /* Color oscuro con algo de transparencia */
  margin: 10px auto; /* Espaciado alrededor y centrado */
}

.icono-con-subtitulo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.icono-vencimiento {
  width: 70px; /* Ajusta el tamaño del icono */
  margin-right: 10px; /* Espacio entre el icono y el subtítulo */
}

.iconos-tramites{
  width: 20px; /* Ajusta el tamaño del icono */
  margin-right: 10px; /* Espacio entre el icono y el subtítulo */
}
.subtitulo {
  font-size: 1em;
  color: #333;
  font-weight: 500;
}
/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
  .titulo-vencimiento {
      font-size: 2em; /* Reducir tamaño del título en pantallas pequeñas */
  }

  .numero {
      font-size: 3.5em; /* Reducir el tamaño de los números */
  }

  .mes {
      font-size: 1.2em; /* Reducir el tamaño del mes */
  }

  .separador {
      width: 50%; /* Reducir ancho de la línea separadora */
  }

  .fechas {
      gap: 20px; /* Reducir el espacio entre las fechas */
  }

  .fecha {
      margin-bottom: 15px; /* Espaciado más pequeño entre las fechas */
  }

  .icono-con-subtitulo {
      flex-direction: column;
      align-items: center; /* Asegura que el icono y subtítulo se apilen verticalmente */
  }

  .icono {
      width: 25px; /* Reducir tamaño del icono */
  }
}

@media (max-width: 480px) {
  .titulo-vencimiento {
      font-size: 1.8em; /* Aún más pequeño en pantallas muy pequeñas */
  }

  .numero {
      font-size: 3em; /* Reducir el tamaño de los números aún más */
  }

  .mes {
      font-size: 1em; /* Reducir aún más el tamaño del mes */
  }

  .separador {
      width: 70%; /* Ancho de la línea más amplio en pantallas muy pequeñas */
  }

  .fechas {
      flex-direction: column; /* Las fechas se apilan verticalmente */
      gap: 20px; /* Menor espacio entre las fechas */
  }
}

.contenedor-cidi {
  display: flex;                      /* Flexbox para las columnas */
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  max-width: 1200px;
  margin: 50px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  gap: 30px;                         /* Espacio entre columnas */
  align-items: center;               /* Centra verticalmente */
}

/* Columna izquierda (40%) */
.columna-izq {
  flex: 0 0 40%;                    /* Ancho fijo del 40% */
}

.vector-tarjeta img {
  width: 85%;                      /* Ajusta la imagen al contenedor */
  height: auto;
  display: block;
}

/* Columna derecha (60%) */
.columna-der {
  flex: 0 0 50%;                    /* Ancho fijo del 60% */
  text-align: center;                 /* Alineación izquierda para el contenido */
}

/* Estilos existentes (conservados) */
.titulo-cidi {
  font-size: 2.1em;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

.informacion-cidi {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.texto-info {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-cidi {
  background-color: #FF7F00;
  color: white;
  font-size: 1.1em;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-cidi:hover {
  background-color: #e66d00;
}

.icono-cidi {
  width: 150px;                      /* Ajusta según necesites */
  margin-bottom: 15px;
}

/* Responsive: Apila columnas en móviles */
@media (max-width: 768px) {
  .contenedor-cidi {
      flex-direction: column;
      text-align: center;
  }
  .columna-izq {
    width: 60%;  /* Ocupa solo el 60% del ancho en móviles */
    margin: 0 auto 20px; /* Centra el SVG y añade margen inferior */
  }
  .vector-tarjeta img {
    max-width: 200px; /* Tamaño máximo para el SVG */
    height: auto;
    margin: 0 auto; /* Centra la imagen */
  }
  .columna-der {
      text-align: center;          /* Centra contenido en móviles */
  }
}

.boton-emav {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 15px 30px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background-image: url('Imagenes/flaticon/emav2.png'); /* Pon aquí la URL de tu imagen */
  background-size: cover;
  border-radius: 7%;
  width: 170px; /* Puedes cambiar el tamaño si lo deseas */
  height: 100px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.boton-emav span {
  position: relative;
  z-index: 1;
}

.boton-emav:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.boton-emav:active {
  transform: scale(0.98);
}

/*BOTONES NORMATIVA Y TRAMITES OBRAS PRIVADAS*/
.btn-container {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  margin-top: 20px;
  justify-content: center;
}

.btn-normativas-tramites:hover {
  background: #1f6fe0 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 111, 224, 0.3) !important;
}

/* Estilos para el selector de PDF */
.pdf-selector-dropdown {
  flex: 0 0 260px;
  max-width: 280px;
}

.pdf-selector-dropdown .boton {
  position: relative;
  width: 100%;
}

.pdf-selector-dropdown .boton i {
  transition: transform 0.3s ease;
}

.pdf-selector-menu {
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pdf-option:hover {
  background-color: #f0f7ff !important;
  color: #1f6fe0 !important;
}

.btn-obras {
  padding: 15px 30px;
  text-decoration: none;
  color: white;
  background: linear-gradient(145deg, #007BFF, #0056b3); /* Fondo degradado */
  border-radius: 10px; /* Bordes más redondeados */
  text-align: center;
  font-size: 18px; /* Aumenté el tamaño de la fuente */
  font-weight: bold; /* Texto en negrita */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra más grande */
  transition: all 0.3s ease; /* Transición suave para todos los efectos */
}

.btn-obras:hover {
  background: linear-gradient(145deg, #0056b3, #004085); /* Cambio de degradado al pasar el mouse */
  transform: scale(1.1) rotate(2deg); /* Efecto de escalado y rotación */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
  animation: pulse 0.5s ease infinite; /* Efecto de pulso */
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}


.popup {
  display: block;
  background-color: #ffffff;
  color: #4b3436;
  padding: 15px;
  font-size: 16px;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #721c24;
  z-index: 1000;
}
button {
  background-color: #000000;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  
}


/* Contenedor del icono flotante */
.icono-flotante {
  position: fixed;
  bottom: 20px; /* Distancia desde el fondo de la página */
  right: 20px; /* Distancia desde la derecha */
  z-index: 1000;
}

/* Estilo del icono que aparecerá al costado de la página */
.icono {
  width: 50px; /* Tamaño del icono */
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Menú con el código QR que se despliega */
.menu-qr {
  display: none; /* Inicialmente oculto */
  position: absolute;
  right: -220px; /* Empieza fuera de la pantalla (a la derecha) */
  bottom: 0;
  width: 220px; /* Tamaño del panel */
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transform: translateX(20px); /* Desplazamiento hacia la derecha al principio */
  transition: transform 0.5s ease, right 0.5s ease;
}

/* Estilo del título sobre el código QR */
.qr-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

/* Estilo del código QR */
.qr {
  width: 100px; /* Tamaño del código QR */
  height: 100px;
  display: block;
  margin: 0 auto;
}

/* Mostrar el menú cuando se pasa el mouse sobre el icono */
.icono-flotante:hover .menu-qr {
  display: block;
  right: 0; /* El menú se moverá hacia la posición correcta */
  transform: translateX(0); /* El menú se moverá a su lugar final */
}

/* Efecto de transformación en el icono al pasar el mouse */
.icono-flotante:hover .icono {
  transform: scale(1.1); /* Agranda ligeramente el icono */
}


/* ------------------------------------------ BANER EMPRESAS EXPORTADORAS------------------------------*/
:root{
  --celeste:#1f6fe0;
  --naranja:#ff7a00;
  --ink:#0f172a;
  --muted:#6a7386;
  --sheet:#ffffff;
  --soft:#f6faff;
  --radius:22px;
  --shadow: 0 18px 50px rgba(15,23,42,.15);
}

/* ===== Card principal ===== */
/* ============================================
   EMPRESAS EXPORTADORAS - SHOWCASE HORIZONTAL
   ============================================ */

.empresas-showcase {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 60px) 20px;
  margin: 60px auto 100px;
  max-width: 1100px;
  overflow: hidden;
  isolation: isolate;
}

/* Fondo con orbes animados */
.showcase-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #4af5ff, #1f6fe0);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff7a00, #ffb703);
  bottom: -20%;
  right: -10%;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -40px) scale(1.15);
  }
}

/* Contenedor principal */
.showcase-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Contenido horizontal */
.showcase-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  padding: clamp(40px, 5vw, 60px) clamp(32px, 4vw, 60px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.showcase-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-badge {
  display: inline-block;
  width: fit-content;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 245, 255, 0.2), rgba(31, 111, 224, 0.2));
  border: 1px solid rgba(74, 245, 255, 0.4);
  color: #1f6fe0;
  font: 700 0.85rem/1 "Poppins", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  animation: fadeInLeft 0.8s ease;
}

.showcase-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
}

.title-word {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInLeft 0.8s ease backwards;
}

.title-word:nth-child(1) {
  color: #0f1d34;
  animation-delay: 0.1s;
}

.title-word.highlight {
  background: linear-gradient(135deg, #4af5ff 0%, #1f6fe0 50%, #ff7a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.2s;
}

.title-word:nth-child(3) {
  color: #4b5b74;
  animation-delay: 0.3s;
}

.showcase-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.showcase-description {
  font: 500 clamp(1rem, 1.3vw, 1.15rem)/1.7 "Poppins", sans-serif;
  color: #4b5b74;
  margin: 0;
  animation: fadeInRight 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Elementos decorativos */
.showcase-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: 32px;
}

.decoration-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(74, 245, 255, 0.3), transparent);
  height: 2px;
  animation: lineMove 8s ease-in-out infinite;
}

.line-1 {
  top: 20%;
  left: -100%;
  width: 40%;
  animation-delay: 0s;
}

.line-2 {
  bottom: 20%;
  right: -100%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.3), transparent);
  animation-delay: -4s;
}

@keyframes lineMove {
  0%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
  50% {
    transform: translateX(400%);
    opacity: 1;
  }
}

.decoration-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4af5ff, #1f6fe0);
  animation: dotPulse 3s ease-in-out infinite;
}

.dot-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.dot-2 {
  bottom: 25%;
  left: 8%;
  background: linear-gradient(135deg, #ff7a00, #ffb703);
  animation-delay: -1s;
}

.dot-3 {
  top: 50%;
  right: 5%;
  animation-delay: -2s;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Botón CTA */
.showcase-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font: 700 1rem/1 "Poppins", sans-serif;
  color: #0f1d34;
  background: linear-gradient(135deg, #4af5ff 0%, #1f6fe0 50%, #ff7a00 100%);
  box-shadow: 0 8px 24px rgba(31, 111, 224, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInRight 0.8s ease 0.5s backwards;
}

.showcase-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff7a00 0%, #ffb703 50%, #4af5ff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31, 111, 224, 0.4);
}

.showcase-button:hover::before {
  opacity: 1;
}

.button-text,
.button-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.showcase-button:hover .button-text {
  transform: translateX(-3px);
}

.showcase-button:hover .button-icon {
  transform: translateX(3px);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.button-icon svg {
  width: 100%;
  height: 100%;
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* Estados reveal on scroll */
.empresas-showcase.hidden {
  opacity: 0;
}

.empresas-showcase.visible {
  opacity: 1;
}

/* Responsive */
@media (max-width: 980px) {
  .empresas-showcase {
    padding: 40px 16px;
    margin: 40px auto 80px;
  }

  .showcase-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .showcase-left {
    text-align: center;
    align-items: center;
  }

  .showcase-right {
    align-items: center;
    text-align: center;
  }

  .title-word {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .showcase-content {
    padding: 32px 24px;
  }

  .showcase-button {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
  }

  .title-word {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .showcase-description {
    font-size: 0.95rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb,
  .decoration-line,
  .decoration-dot,
  .button-shine {
    animation: none !important;
    transition: none !important;
  }
}





/*FLIP CARD PORTAL TRIBUTARIO*/
.contenedor-flipcard {
  display: flex;
  justify-content: center;  /* Centrado horizontal */
  align-items: center;  /* Centrado vertical */
  margin-bottom: 40px;
  background-color: rgb(249, 248, 248); /* Fondo claro para la página */
}
.flip-card {
  background-color: transparent;
  width: 240px;
  height: 154px;
  perspective: 1000px;
  color: white;
}

.heading_8264 {
  position: absolute;
  letter-spacing: .2em;
  font-size: 0.9em;
  top: 0.5em;
  left: 5.6em;
}

.logo {
  position: absolute;
  top: 6.8em;
  left: 11.7em;
}

.chip {
  position: absolute;
  top: 1.3em;
  left: 1.5em;
}

.contactless {
  position: absolute;
  top: 3.em;
  left: 12.4em;
}

.number {
  position: absolute;
  font-weight: bold;
  font-size: 0.8em;
  top: 4.5em;
  left: 1.6em;
}

.valid_thru {
  position: absolute;
  font-weight: bold;
  top: 95.8em;
  font-size: .05em;
  left: 25.3em;
}

.date_8264 {
  position: absolute;
  font-weight: bold;
  font-size: 0.7em;
  top: 7.6em;
  left: 3.2em;
}

.name2{
  position: absolute;
  font-weight: bold;
  font-size: 0.7em;
  top: 10.1em;
  left: 1.1em;
  right: 5.1em;
}

.strip {
  position: absolute;
  background-color: black;
  width: 15em;
  height: 1.5em;
  top: 2.4em;
  background: repeating-linear-gradient(
    45deg,
    #303030,
    #303030 10px,
    #202020 10px,
    #202020 20px
  );
}

.mstrip {
  position: absolute;
  background-color: rgb(255, 255, 255);
  width: 8em;
  height: 0.8em;
  top: 5em;
  left: .8em;
  border-radius: 2.5px;
}

.sstrip {
  position: absolute;
  background-color: rgb(255, 255, 255);
  width: 4.1em;
  height: 0.8em;
  top: 5em;
  left: 10em;
  border-radius: 2.5px;
}

.code {
  font-weight: bold;
  text-align: center;
  margin: .2em;
  color: black;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0,0,0,0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
}

.flip-card-front {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
  background-color: #171717;
}

.flip-card-back {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
  background-color: #171717;
  transform: rotateY(180deg);
}

/*PAGINA NORMATIVAS OBRAS PRIVADAS*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.pdf-page {
  font-family: "Maven Pro";
  background-color: #ffffff;
}

/* Estilos para el Acordeón de Normativas */
.accordion-container {
  margin-bottom: 60px;
  width: 100%;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  margin-bottom: 12px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  width: 100%;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  color: #333;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
  border-bottom: 1px solid transparent;
}

.accordion-header:hover {
  background: #f6f8fa;
}

.accordion-item.active .accordion-header {
  border-bottom-color: #d0d7de;
  background: #f6f8fa;
}

.accordion-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f6fe0;
}

.accordion-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: #1f6fe0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.accordion-item.active .accordion-content {
  max-height: 10000px;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.inner-accordion {
  margin: 0;
  border: none;
  border-top: 1px solid #e1e4e8;
  background: #fafbfc;
}

.inner-accordion:first-child {
  border-top: none;
}

.inner-accordion-header {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #24292f;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.inner-accordion-header:hover {
  background: #f1f3f5;
  color: #1f6fe0;
}

.inner-accordion-header.active {
  background: #e7f3ff;
  color: #1f6fe0;
}

.inner-accordion-header i {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
  color: #1f6fe0;
}

.inner-accordion-header.active i {
  transform: rotate(180deg);
}

.inner-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.inner-accordion-header.active + .inner-accordion-content {
  max-height: 5000px;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Las tarjetas PDF dentro de acordeones no se animan hasta que se abra el acordeón */
.accordion-content .pdf-card {
  animation: none;
  opacity: 0;
  transform: translateX(100%);
}

.accordion-item.active .accordion-content .pdf-card {
  animation: slideIn 1.8s forwards;
}

/* Ajustes responsive para el acordeón */
@media (max-width: 768px) {
  .accordion-header {
    padding: 16px 20px;
  }
  
  .accordion-header h2 {
    font-size: 1.15rem;
  }
  
  .inner-accordion-header {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  
  .pdf-container {
    padding: 15px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .pdf-link {
    font-size: 13px;
    padding: 10px 14px;
    gap: 12px;
  }
  
  .pdf-link-image {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .accordion-header {
    padding: 14px 16px;
  }
  
  .accordion-header h2 {
    font-size: 1rem;
  }
  
  .inner-accordion-header {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .pdf-container {
    padding: 12px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .pdf-link {
    font-size: 12px;
    padding: 8px 12px;
    gap: 10px;
  }
  
  .pdf-link-image {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }
}

.pdf-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  align-items: stretch;
  justify-items: center;
}

.pdf-link {
  color: #1f6fe0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #d1d9e0;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.5;
}

.pdf-link-image {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.pdf-link-text {
  flex: 1;
  text-align: left;
}

.pdf-link:hover {
  color: #ffffff;
  background-color: #1f6fe0;
  border-color: #1f6fe0;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(31, 111, 224, 0.25);
}

.pdf-link:hover .pdf-link-image {
  opacity: 0.9;
}

.pdf-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);  /* Inicialmente fuera de la pantalla a la derecha */
  opacity: 0;
  animation: slideIn 1.8s forwards;
  animation-delay: calc(0.2s * var(--i)); /* Calcula el retraso dinámico */
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 150px;
  justify-content: center;
}

/* Definimos la animación 'slideIn' */
@keyframes slideIn {
  0% {
    transform: translateX(100%); /* Empieza fuera de la pantalla */
    opacity: 0;
  }
  100% {
    transform: translateX(0); /* Desliza a su posición original */
    opacity: 1; /* Vuelve a ser visible */
  }
}
/* Para pantallas de tabletas o más grandes (min-width: 768px) */
@media (max-width: 1024px) {
  .pdf-card {
    max-width: 320px; /* Ajustar el tamaño de las tarjetas */
  }
}

/* Para pantallas móviles o más pequeñas (max-width: 768px) */
@media (max-width: 768px) {
  .pdf-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 15px;
    margin: 0 auto;
  }

  .pdf-link {
    font-size: 14px;
    padding: 10px 15px;
  }

  .accordion-item.active .accordion-content .pdf-container {
    padding: 15px;
  }

  .inner-accordion-content .pdf-container {
    padding: 15px;
  }

  .pdf-card {
    max-width: 300px; /* Ajustar el tamaño de las tarjetas para pantallas pequeñas */
  }
}

/* Para pantallas aún más pequeñas (max-width: 480px) */
@media (max-width: 480px) {
  .pdf-container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    margin: 0 auto;
  }

  .pdf-link {
    font-size: 13px;
    padding: 10px 14px;
  }

  .accordion-item.active .accordion-content .pdf-container {
    padding: 12px;
  }

  .inner-accordion-content .pdf-container {
    padding: 12px;
  }

  .pdf-card {
    max-width: 100%; /* Ajustar aún más el tamaño de las tarjetas */
  }
}
.pdf-card.visible {
  transform: translateX(0); /* Aparece desde la derecha */
  opacity: 1;
}

.pdf-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pdf-thumbnail {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: transform 0.3s ease; /* Transición para el movimiento y expansión */
}
.pdf-card:hover .pdf-thumbnail {
  transform: translateY(10px) scale(1.1); /* Mueve la imagen hacia abajo y la escala para mostrar más contenido */
}
.pdf-details {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 12px;
}

.pdf-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.pdf-summary {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.pdf-card:hover .pdf-name {
  color: #1e88e5;
}

.pdf-card:hover .pdf-summary {
  color: #333;
}

/* Estilos para el botón "Ver PDF" */
.pdf-boton {
  display: flex;
  justify-content: center; /* Centra el texto dentro del botón */
  align-items: center;
  background: linear-gradient(145deg, #007BFF, #0056b3);
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 30px;
  margin-bottom: 10px;
  width: auto;
  max-width: 100px;
}

.pdf-boton:hover {
  background-color: #1565c0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pdf-boton:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilos específicos para graficospdf.html - Restaurar diseño original */
.graficos-pdf-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.graficos-pdf-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  opacity: 0;
  animation: slideIn 1.8s forwards;
  animation-delay: calc(0.2s * var(--i));
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 150px;
  justify-content: center;
}

.graficos-pdf-card.visible {
  transform: translateX(0);
  opacity: 1;
}

.graficos-pdf-thumbnail {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.graficos-pdf-details {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 12px;
}

.graficos-pdf-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.graficos-pdf-summary {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}


.graficos-pdf-boton {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #007BFF, #0056b3);
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 30px;
  margin-bottom: 10px;
  width: auto;
  max-width: 100px;
  cursor: pointer;
}

.graficos-pdf-boton:hover {
  background: linear-gradient(145deg, #0056b3, #004085);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.graficos-pdf-boton:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive para graficospdf.html */
@media (max-width: 1024px) {
  .graficos-pdf-card {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .graficos-pdf-container {
    gap: 20px;
    padding: 30px 15px;
    justify-content: center;
  }

  .graficos-pdf-card {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .graficos-pdf-container {
    gap: 15px;
    padding: 20px 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .graficos-pdf-card {
    width: 100%;
  }
}

.tramites-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -80px 0 30px 0;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .tramites-actions {
    flex-direction: column;
    align-items: stretch;
    margin: -40px 0 25px 0;
  }

  .tramites-actions .back-btn,
  .tramites-actions .btn-finales-obra {
    width: 100%;
    justify-content: center;
  }

  .tramites-actions .finales-obra-dropdown {
    width: 100%;
  }

  .tramites-actions .finales-obra-menu {
    min-width: 100%;
    right: 0;
  }
}

/*GRAFICO 23*/
.pdf-grafico23 {
  width: 80%; /* Tamaño del contenedor */
  height: 80vh; /* Alto de la ventana */
  text-align: center;
}

embed {
  width: 100%;  /* Ancho al 100% del contenedor */
  height: 100%; /* Alto al 100% del contenedor */
}


/*FORMULARIOS*/
.pdf-custom-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
  padding: 20px;
}

.pdf-custom-container {
  width: 100%;
  max-width: 900px;
  height: 120vh;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-custom-btn-container {
  text-align: center;
}

.pdf-custom-btn-form {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.pdf-custom-btn-form:hover {
  background-color: #0056b3;
}


/* Estilos para el banner */
.video-banner {
  width: 100%;
  height: 650px;
  overflow: hidden;
  position: relative;
  margin-top: -150px;
  margin-bottom: 55px;
}

.video-banner video {
  width: 100%;
  height: 1200px;
}

/*Banner Formularios*/
.banner-formulario {
  background-image: url(Imagenes/baners/1.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(202, 27, 27); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 80px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #fff8f82c;
  margin-bottom: 20px;
}
.banner-formulario p {
  color: rgb(255, 255, 255);
  font-size: 38px;
}

.banner-obrasprivadas {
  background-image: url(Imagenes/baners/obrasprivadas/banerobrasprivadas.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(202, 27, 27); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 0px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #fff8f82c;
  margin-bottom: 20px;
}
.banner-obrasprivadas p {
  color: rgb(255, 255, 255);
  font-size: 38px;
  margin-top: 80px;
  margin-bottom: 120px;
}

/*GALERIA DE IMAGENES OBRAS PUBLICAS*/
/* Estilos generales */
.galeria-obraspublicas {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Contenedor de la galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Estilos para cada ítem de la galería */
.gallery-item {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeIn 0.6s ease-in-out;
  background: #f5f5f5;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Animación de aparición */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Imágenes de la galería */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Efecto hover en el ítem */
.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

/* Superposición al hacer hover */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 111, 224, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Icono de búsqueda en overlay */
.overlay i {
  font-size: 3rem;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Estilos para el Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  color: #ff4444;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  pointer-events: all;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .galeria-obraspublicas {
    padding: 30px 15px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .gallery-item {
    max-width: 100%;
  }
  
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 24px;
    padding: 10px 15px;
  }
  
  .lightbox-nav {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .galeria-obraspublicas {
    padding: 20px 10px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .overlay i {
    font-size: 2.5rem;
  }
}



/* Ajustes para tablets */
@media (max-width: 768px) {
  .baner-semicirculo {
    height: 150px; /* Reducir altura */
    margin-top: -50px;
    flex-direction: column; /* Si necesitas cambiar la disposición en móviles */
  }
}

/* Ajustes para celulares */
@media (max-width: 480px) {
  .baner-semicirculo {
    height: 120px;
    margin-top: -30px;
  }
}

/*PAGINA DE NOTICIAS*/
.banner-noticias {
  background-image: url(Imagenes/baners/banernoticias.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-noticias p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: rgb(0, 0, 0);
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}
/* Estilos específicos para la página de noticias */
.noticias-page {
  font-family: "Maven Pro", serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}




/*FORMULARIO NOTICIAS*/
/* Estilos del formulario */
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

input[type="text"], textarea, input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  height: 150px;
}

/* Estilos para mensajes de éxito o error */
.mensaje {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.mensaje.exito {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensaje.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/*FORMULARIO INICIO DE SESION PARA FORMULARIO NOTICIAS*/
@keyframes gradientBackground {
  0% {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
  }
  50% {
    background: linear-gradient(45deg, #58bc82, #45a56b);
  }
  100% {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
  }
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Contenedor principal con fondo blanco y altura completa */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  background: linear-gradient(to bottom, #721c24, #001f3f); /* Rojo arriba, azul abajo */
}

/* Contenedor del formulario con mayor ancho */
.login-form {
  max-width: 480px; /* Aumentado para más uniformidad */
  width: 100%;
  padding: 50px; /* Más espacio interno */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(15px); /* Mayor desenfoque */
  animation: fadeIn 1s ease-in-out; /* Animación de entrada */
}

/* Título */
.form-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Estilo de los inputs */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  outline: none;
  color: #333;
  transition: all 0.3s ease-in-out;
}

.input-group input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.input-group input:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: #ff4b4b;
  box-shadow: 0 0 15px rgba(255, 75, 75, 0.4);
}

/* Efecto flotante en las etiquetas */
.input-group .label {
  position: absolute;
  top: -16px;
  left: 14px;
  font-size: 13px;
  color: #666;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.input-group input:focus + .label {
  top: -22px;
  font-size: 12px;
  color: #333;
  opacity: 1;
}

/* Enlace "¿Olvidaste tu contraseña?" */
.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password a {
  font-size: 15px;
  color: #ff4b4b;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.forgot-password a:hover {
  opacity: 1;
  color: #cc0000;
}

/* Botón de enviar con animación */
.submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(45deg, #ff4b4b, #cc0000);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.submit:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 75, 75, 0.4);
}

/* Enlace de registro */
.signup-link {
  text-align: center;
  font-size: 15px;
  color: #333;
  margin-top: 20px;
}

.signup-link a {
  color: #ff4b4b;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: #cc0000;
}

/* Animación de entrada */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Diseño responsivo */
@media (max-width: 480px) {
  .login-form {
    width: 90%;
    padding: 35px;
  }
}


.tramites-container ul {
  list-style: none; /* Quita las viñetas por defecto */
  padding-left: 30px; /* Espaciado a la izquierda para la imagen */
}

.tramites-container ul li {
  position: relative;
  padding-left: 35px; /* Espacio para el ícono */
  margin-bottom: 10px; /* Espacio entre elementos */
}

.tramites-container ul li::before {
  content: "";
  background: url('Imagenes/flaticon/icons8-martillo-94.png') no-repeat center center;
  background-size: contain; /* Ajusta el tamaño del ícono */
  width: 25px; /* Ancho del ícono */
  height: 25px; /* Alto del ícono */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Centra el ícono verticalmente */
}

/*DESCUBRI LAS VARILLAS*/

.descubri-page{
  background-image: url('Imagenes/logo\ descubri\ blanco\ y\ negro.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* opcional, para efecto parallax */

}
.banner-descubri {
  background-image: url(Imagenes/flaticon/banerdescubrilasvarillas.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-descubri p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: rgb(0, 0, 0);
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}
.contenedor-banerempresas {
  width: 100%;
  display: flex;
  justify-content: center;
}
        
.banner-descubri-empresas {
  width: 80%;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 150px;
  border-top-right-radius: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
        
.banner-descubri-empresas img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
        
.banner-descubri-empresas:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
        
.banner-descubri-empresas:hover img {
  transform: scale(1.05);
}
        
.banner-descubri-empresas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
        
.banner-descubri-empresas:hover::after {
  opacity: 1;
}
/* Sección de descripción */
.description {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  text-align: center;
}

.description h2 {
  color: #333;
  margin-bottom: 10px;
}

.description p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
  .description {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  .description {
      padding: 10px;
  }

  .description p {
      font-size: 14px;
  }
}

.container-leyenda {
  padding: 30px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  opacity: 1;
  transform: none;
  max-width: 1100px;
  width: 100%;
  margin: 30px auto 0;
}


@keyframes flotar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.legend {
  width: 100%;
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .container-leyenda {
    padding: 20px;
  }

  .legend {
    width: 100%;
  }

  .ilustracion-persona {
    width: 220px;
  }
}


.mapa3D {
  width: 100%;
  max-width: 1100px;
  margin: 5rem auto 2rem; /* Margen superior aumentado para separarlo más de las tarjetas */
  position: relative;
  padding: 0; /* Sin padding para que el iframe ocupe todo el espacio */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: visible; /* Permite que el SVG sobresalga */
  z-index: 0; /* Asegurar que esté por debajo de las tarjetas al hacer hover */
}


.mapa3D iframe {
  width: 100%;
  height: 450px;
  background-color: #fff;
  border: none;
  border-radius: 12px;
  display: block;
  position: relative;
  z-index: 1; /* Asegurar que el iframe esté por encima del fondo pero por debajo del SVG */

  /* Redondeado igual o menor para mantener efecto visual */
  border-radius: 8px;
}





.legend {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Maven Pro", serif;
  z-index: 1;
  
}


.legend-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.legend-item img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.legend-text {
  display: flex;
  flex-direction: column;
}

.legend-title {
  font-weight: bold;
}

.legend-description {
  font-size: 14px;
  color: #555;
}
.muñequito {
  position: absolute; /* Posicionamos el muñequito de manera absoluta */
  bottom: -30px; /* Lo colocamos justo fuera del contenedor */
  left: 120%; /* Centrado horizontal */
  transform: translateX(-50%) translateY(20px); /* Asegura que quede centrado y ligeramente inclinado */
  z-index: -1; /* Asegura que quede por encima de los elementos */
}

.muñequito img {
  width: 400px; /* Tamaño del muñequito */
  height: auto;
  transition: transform 0.3s ease; /* Transición para el efecto de agarre */
}
/* Media Query para pantallas pequeñas */
@media (max-width: 768px) {
  .muñequito {
      display: none; /* Ocultamos el muñequito en pantallas pequeñas */
  }
}

/* Efecto de "agarre" al pasar el mouse */
.legend-item:hover .muñequito img {
  transform: translateX(10px) translateY(-10px) rotate(15deg); /* Movimiento hacia la leyenda y pequeño giro */
}
/* Media Queries para pantallas más pequeñas */
@media (max-width: 768px) {
  .map-wrapper {
      width: 90%;
      height: 80vh;
  }
}

@media (max-width: 480px) {
  .map-wrapper {
      width: 55%;
      height: 85vh;
  }

  .legend {
      padding: 10px;
  }

  .legend-item img {
      width: 20px;
      height: 20px;
  }

  .legend-description {
      font-size: 12px;
  }
}

.main-header {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 50%, #faf0ff 100%);
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.main-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Container de Categorías */
.container-descubri {
    width: 80%;
    margin: 0 auto;
    padding: 0 1rem 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-descubri {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-block; /* Para que se ajuste al contenido */
    max-width: 100%; /* Opcional: para que no se desborde */
}

.card-descubri:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-descubri img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}



.card-descubri:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card-descubri:hover .card-overlay {
    opacity: 0.9;
}

.card-name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.card-descubri:hover .card-arrow {
    opacity: 1;
    transform: scale(1);
}

/* Contenedor de Categorías */
#contenedor-categorias {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.content-section {
    display: none;
    min-height: 100vh;
}

.content-section.active {
    display: block;
}

/* Header de Categoría */
.category-header {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.back-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.category-info h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.category-count {
    color: #6b7280;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Grid de Negocios */
.fila {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 2fr));
    gap: 1.5rem;
}

.negocio {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.negocio:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.negocio-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}


.negocio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.negocio:hover .negocio-image img {
    transform: scale(1.05);
}

.negocio-content {
    padding: 1.5rem;
}

.negocio h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.negocio p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.negocio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location-info {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
    gap: 0.25rem;
}

.redirect-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.redirect-btn:hover {
    background: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.25rem;
    }
    
    .main-subtitle {
        font-size: 1.125rem;
    }
    
    .container-descubri {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem 2rem;
    }
    
    .fila {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-info h2 {
        font-size: 1.5rem;
    }
    
    .card-name {
        font-size: 1rem;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 2rem 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .negocio-content {
        padding: 1rem;
    }
    
    .negocio h3 {
        font-size: 1.125rem;
    }
    
    .negocio-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .redirect-btn {
        justify-content: center;
    }
}


/* Estilos personalizados */
.tarjeta {
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  height: 200px;
  margin: 0 auto;
  perspective: 1000px;
  isolation: isolate; /* Crea un nuevo contexto de apilamiento */
}

.tarjeta .face {
  width: 100%;
  height: 100%;
  transition: 0.5s;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

.tarjeta .face.face1 {
  position: relative;
  background: #0b2b5c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateY(100px);
  border-radius: 18px;
}

.tarjeta:hover .face.face1 {
  background: #1f6fe0;
  transform: translateY(0);
  z-index: 2;
}

.tarjeta .face.face1 .content {
  opacity: 0.2;
  transition: 0.5s;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tarjeta:hover .face.face1 .content {
  opacity: 1;
}

.tarjeta .face.face1 .content .tarjeta__fondo {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  opacity: 0.3;
  z-index: -1;
}

.tarjeta:hover .face.face1 .content .tarjeta__fondo {
  opacity: 0.6;
}

.tarjeta .face.face1 .content h3 {
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.tarjeta .face.face2 {
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(-100px);
  border-radius: 18px;
  z-index: 1;
}

.tarjeta:hover .face.face2 {
  transform: translateY(0);
  z-index: 3;
}

.tarjeta .face.face2 .content {
  text-align: center;
}

.tarjeta .face.face2 .content p {
  margin: 0;
  padding: 0;
  color: #2f3a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tarjeta .face.face2 .content a,
.tarjeta .face.face2 .content .link-button {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #1f6fe0;
  padding: 8px 16px;
  border: 2px solid #1f6fe0;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tarjeta .face.face2 .content a:hover,
.tarjeta:hover .face.face2 .content .link-button {
  background: #1f6fe0;
  color: #fff;
}

/* Contenedor principal */
.contenedor {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas para las 3 tarjetas */
  gap: 30px;
  padding: 40px 20px 100px; /* Más padding inferior para evitar que tapen el mapa */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 100px; /* Margen inferior aumentado para separar más del mapa */
  justify-items: center;
  position: relative;
  z-index: 1;
  overflow: visible; /* Permite que las tarjetas se vean al hacer hover */
}

.tarjeta__enlace {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 200px;
  position: relative;
  isolation: isolate; /* Cada tarjeta tiene su propio contexto de apilamiento */
}

/* Responsive: ajustes para tablets y móviles */
@media (max-width: 1024px) {
  .contenedor {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    gap: 25px;
  }
  
  .tarjeta {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contenedor {
    grid-template-columns: 1fr; /* 1 tarjeta por fila en móviles */
    width: 100%;
    gap: 40px; /* Aumentado para más separación entre tarjetas */
    padding: 30px 20px 80px; /* Más padding inferior en móviles */
    margin-bottom: 60px; /* Margen inferior en móviles */
  }

  .tarjeta {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 200px;
  }

  .tarjeta .face {
    width: 100%;
    height: 100%;
  }

  /* Asegurar que las tarjetas no se superpongan en móviles */
  .tarjeta__enlace {
    width: 100%;
    height: 200px;
    margin-bottom: 0;
  }
}

/* Estilos exclusivos para la página de clubes */
.banner-deportivos {
  background-image: url(Imagenes/baners/Deportivo1.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-deportivos p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: white;
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}
.banner-areas {
  background-image: url(Imagenes/SLIDER/slider1.jpeg); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-areas p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: white;
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}
.banner-plazas {
  background-image: url(Imagenes/baners/BanerPlazayEspaciosVerdes.png); /* Reemplaza con la ruta de tu imagen */
  background-size: cover; /* Hace que la imagen cubra todo el banner */
  background-position: center; /* Centra la imagen */
  color: rgb(255, 255, 255); /* Color del texto */
  text-align: center; /* Centra el texto dentro del banner */
  padding: 50px 0; /* Espaciado vertical */
  font-size: 2.5em; /* Tamaño de fuente del banner */
  font-weight: bold; /* Aumenta el peso del texto */
  width: 100%; /* Asegura que el banner ocupe todo el ancho */
  height: 200px;
  background-color: #d8d5d52c;
  margin-bottom: 20px;
}

.banner-plazas p {
  margin: 0; /* Elimina márgenes para el texto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Agrega sombra al texto para que se vea mejor sobre imágenes */
  color: white;
  text-decoration: solid;
  text-align: center;
  font-size: 1em;
  font-family: "Maven Pro", serif;
}
.clubes-page {
  font-family: "Maven Pro", serif;
  margin: 0;
  padding: 0px;
  background-color: #f0f0f0;
}
.clubes-container {
  max-width: 80%; /* Ajusta el ancho según tu preferencia */
  margin: 0 auto; /* Centra el contenedor */
  padding: 20px;
  background-color: #ffffff27; /* Color de fondo opcional */
  border-radius: 15px;
  margin-bottom: 20px;
}

.club {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  margin-top: 50px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.club img {
  width: 400px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
}

/* 🎨 Efecto hover: Zoom + sombra */
.club img:hover {
  transform: scale(1.05); /* Aumenta un 5% el tamaño */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Agrega sombra */
}

.club-info {
  flex: 1;
  text-align: justify; /* Justifica el texto */
}

.hidden-text {
  display: block;
  text-align: justify;
}

.hidden-text ul {
  padding-left: 25px; /* Ajusta el margen izquierdo de la lista */
  list-style-type: none; /* Elimina el estilo de viñeta predeterminado */
}

.hidden-text li {
  text-align: left; /* Asegura que los elementos de la lista estén alineados a la izquierda */
  margin-bottom: 5px; /* Espaciado entre elementos de la lista */
}

/* Opcional: Asegurar que las viñetas (✅) estén alineadas correctamente */
.hidden-text li::before {
  content: "✅ "; /* Agrega el ícono manualmente */
  font-size: 16px;
}


.club h2 {
  margin: 0;
  color: #21a4b6;
}

.club p {
  margin: 5px 0 10px;
  color: #666;
}

.separator {
  height: 4px;
  background: orange;
  width: 100%;
  margin: 10px 0;
  border-radius: 2px;
}

.hidden-text {
  display: none;
}

.read-more-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.read-more-btn:hover {
  background-color: #e65c00;
}



/* RESPONSIVE DESIGN */

/* 📱 Móviles (menos de 768px) */
@media screen and (max-width: 768px) {
  .club {
    flex-direction: column;
    text-align: center;
  }

  .club img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .separator {
    width: 80%;
  }
}

/* 🖥️ Tablets y pantallas medianas (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .club {
    width: 95%;
  }

  .club img {
    width: 350px;
    height: 180px;
  }
}

.club-contact {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #555;
}

.club-contact p {
  margin: 5px 0;
}

/* Íconos de redes sociales */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* RESPONSIVE DESIGN */

/* 📱 Móviles (menos de 768px) */
@media screen and (max-width: 768px) {
  .club {
    flex-direction: column;
    text-align: center;
  }

  .club img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .separator {
    width: 80%;
  }

  .club-contact {
    font-size: 12px;
  }

  .social-icons img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 400px) {
  .clubes-container {
    max-width: 95%; /* Aumenta el contenedor para que ocupe más espacio */
    padding: 10px; /* Reduce el padding para ahorrar espacio */
  }

  .club {
    flex-direction: column; /* Cambia la disposición a columna */
    margin-top: 20px; /* Reduce el margen superior */
  }

  .club img {
    width: 100%; /* Hace que la imagen ocupe todo el ancho del contenedor */
    height: auto; /* Ajusta la altura proporcionalmente */
    margin-right: 0; /* Elimina el margen derecho */
    margin-bottom: 15px; /* Agrega margen inferior entre imagen y texto */
  }

  .club-info {
    text-align: left; /* Alinea el texto a la izquierda */
  }

  .club h2 {
    font-size: 1.4rem; /* Reduce el tamaño del título */
    margin-bottom: 10px; /* Reduce el margen inferior */
  }

  .club p {
    font-size: 14px; /* Ajusta el tamaño del párrafo */
    margin-bottom: 10px;
  }

  .separator {
    height: 3px; /* Reduce el grosor de la línea de separación */
    margin: 8px 0; /* Reduce el margen superior e inferior */
  }

  .read-more-btn {
    padding: 6px 10px; /* Reduce el tamaño del botón */
    font-size: 12px; /* Ajusta el tamaño de la fuente del botón */
  }
}

/*-----------------------------------FOOTER DESCUBRI------------------------------------------------*/
/* Header Descubrí */
.header-descubri {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 30px 30px;
  background: linear-gradient(135deg, #c72100 0%, #ef4020 100%);
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 6px solid #ffdd00;
}

.header-descubri::after {
  content: none;
}

.header-control-bar {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.back-button {
  background-color: #ffffff;
  color: #c72100;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-family: "Maven Pro", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.back-button:active {
  transform: translateY(0);
}

.logo-link {
  display: inline-flex;
  justify-content: center;
}

.header-descubri .brand-logo {
  height: 150px;
  width: auto;
}

.color-line-descubri {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffdd00, #09c7ff, #00b894, #ff6f61);
  max-width: 400px;
}

.hero-descubri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 30px;
  padding: 50px 30px;
  background: radial-gradient(circle at top right, rgba(255, 221, 0, 0.2), transparent),
    linear-gradient(120deg, #fff7f5 0%, #ffe8e1 100%);
  border-radius: 24px;
  max-width: 1200px;
  margin: 30px auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #c72100;
  margin-bottom: 10px;
}

.hero-descubri h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 15px;
  color: #1f1f1f;
}

.hero-lead {
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-cta .btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-cta .btn.primary {
  background-color: #c72100;
  color: white;
  box-shadow: 0 12px 25px rgba(199, 33, 0, 0.35);
}

.hero-cta .btn.ghost {
  background-color: transparent;
  border: 2px solid #c72100;
  color: #c72100;
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
}

.hero-highlight {
  position: relative;
  display: grid;
  gap: 18px;
}

.stat-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #777;
}

.stat-value {
  font-size: 2.4rem;
  color: #c72100;
  line-height: 1;
}

.hero-pattern {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(9, 199, 255, 0.35), transparent);
  position: absolute;
  right: -40px;
  top: -20px;
  filter: blur(0.5px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-descubri {
    padding: 35px 20px;
    margin: 20px;
  }
}

@media (max-width: 600px) {
  .hero-descubri {
    grid-template-columns: 1fr;
    padding: 26px 16px;
    margin: 16px;
    border-radius: 18px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-highlight {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .stat-card {
    padding: 16px;
  }

  .hero-pattern {
    display: none;
  }
}

.section-block {
  padding: 60px 20px;
}

.soft-section {
  background: linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
}

.section-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.banner-descubri-empresas {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-descubri-empresas:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.mapa-leyenda-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.mapa-leyenda-section .mapa3D,
.mapa-leyenda-section .container-leyenda {
  width: min(100%, 1100px);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legend-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.legend-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  padding: 0;
  background: none;
  box-shadow: none;
}

.legend-title {
  font-weight: 700;
  color: #222;
}

.legend-description {
  color: #555;
  font-size: 0.95rem;
}

.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.calendar-event {
  border-radius: 12px;
  padding: 6px 8px;
  background: rgba(199, 33, 0, 0.12);
  color: #c72100;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.calendar-event:hover {
  transform: translateY(-2px);
  background: rgba(199, 33, 0, 0.2);
}

.btn,
.footer-form button,
.back-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible,
.footer-form button:focus-visible,
.back-button:focus-visible {
  outline: 3px solid rgba(9, 199, 255, 0.5);
  outline-offset: 3px;
}

.footer-content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 30px;
}

.footer-content-columns h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-contact-extra p {
  margin: 6px 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-social a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-quick-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.footer-quick-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.2s ease;
}

.footer-quick-links a:hover::after {
  width: 100%;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form input,
.footer-form textarea {
  border-radius: 10px;
  border: none;
  padding: 10px 14px;
  font-family: inherit;
}

.footer-form button {
  border: none;
  border-radius: 999px;
  background: white;
  color: #c72100;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
}

.footer-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.alt-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
}

.section-block + .section-block {
  margin-top: -30px;
}

@media (max-width: 768px) {
  .container-leyenda {
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .header-descubri {
    padding: 20px;
  }

  .header-descubri .brand-logo {
    height: 110px;
  }

  .back-button {
    font-size: 14px;
    padding: 6px 16px;
  }
}

/* Texto de fondo decorativo grande */

.footer-bg-text {
  background-color: white;
  text-align: center;
  font-size: 170px;
  font-weight: 900;
  color: #c72100; /* Mismo color del footer con opacidad baja */
  letter-spacing: 5px;
  position: relative;
  z-index: 1;
  margin-bottom: -45px; /* Se solapa más con el footer */
  pointer-events: none;
  user-select: none;
  font-family: "Maven Pro", serif;
}


/* Footer principal */
.footer-muni {
  background-color: #c72100;
  color: white;
  padding: 40px 20px;
  font-family: "Maven Pro", serif;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.footer-muni .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-muni .footer-logo {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 20px;
}

.footer-muni .footer-logo img {
  max-width: 200px;
}

.footer-muni .footer-contacto {
  flex: 1 1 100%;
  text-align: center;
  color: white;
}

.footer-muni .footer-contacto p {
  color: white;
  margin: 6px 0;
}

.footer-muni .footer-contacto strong {
  color: white;
}

.footer-muni .footer-contacto i {
  margin-right: 8px;
  color: #ffc107;
}

/* Mini-footer con copy legal */
footer.footer-muni + .footer-copy-muni {
  margin-top: 0;
}

.footer-copy-muni {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  padding: 12px 0;
  font-family: "Maven Pro", serif;
  border-top: 3px solid #ffffff;
  text-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-muni .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-muni .footer-contacto {
    text-align: center;
  }

  .footer-bg-text {
    font-size: 40px;
    margin-bottom: -30px;
  }
}



.social-float {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  padding-left: 10px;
}

.social-float .icon {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.social-float .icon:hover {
  transform: scale(1.1);
}

.social-float .icon img {
  width: 40px;
  height: 40px;
}

/* Tooltip base */
.social-float .icon .tooltip {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 4px;
  white-space: nowrap;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Mostrar el tooltip al hacer hover */
.social-float .icon:hover .tooltip {
  opacity: 1;
}

/* Colores personalizados por red */
.social-float .whatsapp .tooltip {
  background-color: #25D366;
}

.social-float .instagram .tooltip {
  background-color: #E1306C;
}

.social-float .facebook .tooltip {
  background-color: #1877F2;
}

/* Responsivo: ocultar en móviles */
@media (max-width: 600px) {
  .social-float {
    display: none;
  }
}

/* Estilo para el contenedor del calendario */
.titulo-calendario {
  text-align: center;
  margin-bottom: 55px;
  margin-top: 55px;
}

.titulo-calendario h1 {
  color: #a50707; /* rojo vino */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-size: 3.5em;
  margin: 0;
}


#calendar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Altura mínima: ocupa toda la pantalla, pero se expande si es necesario */
  width: 100%;
  box-sizing: border-box;
  padding: 20px; /* Espaciado opcional */
  flex-direction: column; /* Asegura que los contenidos dentro se acomoden verticalmente */
  position: relative; /* Evita superposición absoluta innecesaria */
}


/* Estilo principal del calendario */
.calendar-container {
  background: linear-gradient(135deg, #ffffff 0%, #ffe4db 100%);
  width: min(90%, 1000px);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  padding: 32px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(199, 33, 0, 0.2);
}


.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.calendar-header button {
  background: rgba(199, 33, 0, 0.1);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  color: #c72100;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.calendar-header button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(199, 33, 0, 0.2);
  background: rgba(199, 33, 0, 0.2);
}

#todayBtn {
  background: #ffffff;
  border: 2px solid #c72100;
}

.calendar-header h2 {
  font-size: 2em;
  margin: 0;
}

.calendar-days,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-days {
  font-weight: bold;
  margin-bottom: 10px;
}

.calendar-grid {
  gap: 8px;
}

.calendar-grid.week-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calendar-week {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(199, 33, 0, 0.1);
}

.week-label {
  font-weight: 700;
  color: #c72100;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.week-days {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calendar-cell {
  min-height: 120px;
  overflow: visible;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.calendar-grid .calendar-cell:nth-child(even) {
  background: rgba(199, 33, 0, 0.08);
}

.calendar-grid .calendar-cell:nth-child(even)::after,
.calendar-grid .calendar-cell:nth-child(odd)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}


.calendar-cell:hover {
  background: rgba(199, 33, 0, 0.15);
}

@media (max-width: 640px) {
  .calendar-days {
    display: none;
  }

  .calendar-week .calendar-cell {
    min-height: auto;
  }

  .calendar-week .calendar-event {
    font-size: 1rem;
  }
}

.calendar-cell .day-number {
  font-weight: bold;
  margin-bottom: 5px;
}

/* 🌐 Estilo general por defecto */
.calendar-event {
  font-size: 0.85em;
  padding: 4px 6px;
  border-radius: 6px;
  margin: 2px 0;
  box-sizing: border-box;
  line-height: 1.3;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  color: #333; /* texto oscuro para buen contraste */
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease;
}

.calendar-event:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.event-title {
  font-weight: bold;
}

.event-time {
  font-size: 0.75em;
  margin-top: 2px;
  color: #ffe;
  opacity: 0.9;
}

.event-description {
  font-size: 0.7em;
  margin-top: 2px;
  color: #000000;
}

.today {
  border: 2px solid #007bff;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.reset-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
}




@media (min-width: 401px) and (max-width: 768px) {
  .calendar-container {
    width: 90%;
    padding: 25px 15px;
    border-radius: 18px;
  }

  .calendar-header {
    flex-direction: column;
    gap: 12px;
  }

  .calendar-header h2 {
    font-size: 1.6em;
    text-align: center;
  }

  .calendar-header button {
    font-size: 1.1em;
    padding: 8px 16px;
  }

  .calendar-days {
    font-size: 0.9em;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-cell {
    min-height: 90px;
    max-height: 140px;
    padding: 5px;
    overflow-y: auto;
  }

  .event {
    font-size: 0.75em;
    background: #007bff;
    color: white;
    padding: 5px 7px;
    border-radius: 4px;
    margin-top: 4px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }

  .event-title {
    font-weight: bold;
  }

  .event-time {
    font-style: italic;
    font-size: 0.75em;
  }

  .event-description {
    font-size: 0.75em;
    color: #000000;
  }

  .reset-btn {
    font-size: 1em;
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .calendar-container {
    width: 95%;
    padding: 20px 10px;
    border-radius: 15px;
  }

  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .calendar-header h2 {
    font-size: 1.4em;
    text-align: center;
  }

  .calendar-header button {
    font-size: 1em;
    padding: 6px 12px;
  }

  .calendar-days {
    font-size: 0.8em;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-cell {
    min-height: 80px;
    max-height: 120px;
    padding: 4px;
    overflow-y: auto;
  }

  .event {
    font-size: 0.65em;
    background: #007bff;
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    margin-top: 3px;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }

  .event-title {
    font-weight: bold;
  }

  .event-time {
    font-style: italic;
    font-size: 0.65em;
  }

  .event-description {
    font-size: 0.65em;
    color: #000000;
  }

  .reset-btn {
    font-size: 0.9em;
    padding: 8px;
  }
}

/* Responsive para móviles: adapta tamaño y scroll */
@media (max-width: 480px) {
  .calendar-container {
    width: 100%;
    padding: 15px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-cell {
    min-height: 90px;
    max-height: 110px;
    font-size: 0.75em;
  }

  .event {
    font-size: 0.7em;
    line-height: 1.2;
  }
}



/*ADMIN HTML --- FORMULARIO PARA AGREGAR EVENTO*/
.admin-body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
  margin: 0;
  padding: 2rem;
  background: linear-gradient(135deg, #00c6ff, rgb(226, 128, 0));
}
.admin-container {
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Nueva clase para el h1 */
.form-title {
    color: #00000098;
    margin-bottom: 30px;
    font-size: 28px;
}

/* Estilos para los campos del formulario */
.event-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

/* Nueva clase para el textarea */
.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Enfoque de los campos */
.form-group input:focus, .form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    background-color: #ffffff;
}

/* Botón de enviar */
.submit-btn {
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 600px) {
    .admin-container {
        width: 90%;
    }
    
}

/*-------------------------------------------- BOTON RESOLUCIONES ----------------------------------------------------*/
.resoluciones-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  text-align: center;
}

.boton-animado {
  display: inline-block;
  background-color: #2a7c2a;
  color: #fff;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.boton-animado:hover {
  background-color: #256b25;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------- Emergencias ---------------------------------------------------------- */
.emergencias-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #fff5f5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergencias-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff4444 0%, #ff6b6b 50%, #ff4444 100%);
}

.emergencias-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.emergencias-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
  animation: pulse-emergency 2s ease-in-out infinite;
}

@keyframes pulse-emergency {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.4);
  }
}

.emergencias-main-icon {
  font-size: 40px;
  color: #ffffff;
}

.emergencias-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.emergencias-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.contenedor-emergencias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cuadro-emergencia {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.cuadro-emergencia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cuadro-emergencia:hover::before {
  opacity: 1;
}

.cuadro-emergencia:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.emergencia-bomberos {
  color: #ff4444;
}

.emergencia-bomberos:hover {
  border-color: #ff4444;
  box-shadow: 0 20px 40px rgba(255, 68, 68, 0.25);
}

.emergencia-policia {
  color: #1f6fe0;
}

.emergencia-policia:hover {
  border-color: #1f6fe0;
  box-shadow: 0 20px 40px rgba(31, 111, 224, 0.25);
}

.emergencia-emma {
  color: #00b894;
}

.emergencia-emma:hover {
  border-color: #00b894;
  box-shadow: 0 20px 40px rgba(0, 184, 148, 0.25);
}

.emergencia-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.4s ease;
}

.emergencia-bomberos .emergencia-icon-container {
  background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
}

.emergencia-policia .emergencia-icon-container {
  background: linear-gradient(135deg, #1f6fe0 0%, #4a90e2 100%);
}

.emergencia-emma .emergencia-icon-container {
  background: linear-gradient(135deg, #00b894 0%, #00d4aa 100%);
}

.cuadro-emergencia:hover .emergencia-icon-container {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.emergencia-icon {
  font-size: 38px;
  color: #ffffff;
  transition: transform 0.4s ease;
  display: block;
}

.cuadro-emergencia:hover .emergencia-icon {
  transform: scale(1.1);
}

.emergencia-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nombre-servicio {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: -0.01em;
}

.numero-servicio {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: currentColor;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, currentColor, currentColor);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.numero-servicio:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.emergencia-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.08));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .emergencias-section {
    padding: 50px 16px;
  }

  .emergencias-header {
    margin-bottom: 40px;
  }

  .emergencias-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .emergencias-main-icon {
    font-size: 32px;
  }

  .emergencias-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 8px;
  }

  .emergencias-subtitle {
    font-size: 0.95rem;
  }

  .contenedor-emergencias {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .cuadro-emergencia {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .emergencia-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .emergencia-icon {
    font-size: 32px;
  }

  .nombre-servicio {
    font-size: 1rem;
  }

  .numero-servicio {
    font-size: 1.75rem;
  }

  .emergencia-badge {
    padding: 5px 12px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .emergencias-section {
    padding: 40px 12px;
  }

  .cuadro-emergencia {
    padding: 20px 16px;
  }

  .emergencia-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .emergencia-icon {
    font-size: 28px;
  }

  .nombre-servicio {
    font-size: 0.95rem;
  }

  .numero-servicio {
    font-size: 1.5rem;
  }
}

.decoracion-svg {
  display: none;
}

.decoracion-svg img {
  width: 60px;
  height: auto;
}

/*------------------------------------ EVENTOS CALENDARIOS -------------------------------------------------*/
.evento-calendario {
  width: 80%;
  margin: 0 auto; /* centra el contenedor */
  margin-bottom: 55px;
  display: flex;
  align-items: center;         /* centra verticalmente */
  justify-content: center;     /* centra horizontalmente el contenido */
  gap: 40px;                   /* espacio entre texto e imagen */
  padding: 40px 20px;
  background-color: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;             /* para que se acomode en pantallas chicas */
}

.texto-calendario {
  flex: 1;
  text-align: center;
}

.texto-calendario h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #333;
}

.texto-calendario p {
  font-size: 1rem;
  color: #666;
}

.imagen-calendario {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-calendario img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .evento-calendario {
    flex-direction: column;
    text-align: center;
  }

  .imagen-calendario {
    margin-top: 20px;
  }
}

.la-muni-video {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px 48px;
}

@media (max-width: 768px) {
  .la-muni-video {
    padding: 0 16px 32px;
  }
}

/*--------------------------------------------------PORTA VIDEO ------------------------------------------------*/
/* Contenedor principal con efecto de perspectiva */
.tablet {
  width: 90%;
  max-width: 800px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

/* Pantalla con estilo moderno y bordes finos */
.pantalla {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 8px solid #d1d1d1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* El video ocupa toda la pantalla de la tablet */
.pantalla video,
.pantalla iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

/* Parte inferior tipo base de la tablet */
.base {
  width: 100%;
  height: 50px;
  background: #d1d1d1;
  border-radius: 0 0 24px 24px;
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -10px;
}

/* Logo centrado en la base, opcional */
.base .logo {
  width: 60px;
  height: auto;
  object-fit: contain;
}

/* -------------------------
   RESPONSIVE: Tablets y móviles
-------------------------- */
@media (max-width: 768px) {
  .tablet {
    width: 95%;
    margin: 40px auto;
  }

  .pantalla {
    border-width: 6px;
    border-radius: 18px;
  }

  .base {
    height: 40px;
    border-radius: 0 0 18px 18px;
    margin-top: -8px;
  }

  .base .logo {
    width: 48px;
  }
}

@media (max-width: 480px) {
  .pantalla {
    border-width: 5px;
    border-radius: 16px;
  }

  .base {
    height: 36px;
    border-radius: 0 0 16px 16px;
    margin-top: -6px;
  }

  .base .logo {
    width: 40px;
  }
}


/*--------------------------------------------------- MODAL EVENTOS ---------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  text-align: center;
}

.modal-content img {
  width: 100%;
  height: auto;
  margin: 10px 0;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#eventModal .modal-content {
  max-width: 600px;
  margin: 10% auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
}

#eventModal img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 6px;
}

/*---------------------------------------------- PAGINA RECICLAJE -----------------------------------------------------*/
/* ======================= */
/*      TOKENS / BASE      */
/* ======================= */
:root{
  --celeste:#1f6fe0;
  --naranja:#ff7a00;
  --ink:#0f172a;
  --muted:#6a7386;
  --sheet:#ffffff;
  --soft:#f7fbff;
  --line:#e9eff7;
  --radius:18px;
  --shadow-lg:0 18px 50px rgba(15,23,42,.14);
  --shadow:0 10px 28px rgba(15,23,42,.10);
}

/* Bloque general */
.reciclaje-bloque{
  padding: 48px 20px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
}

/* ======================= */
/*  VIDEO + DESCRIPCIÓN    */
/* ======================= */

.reciclaje-superposicion{
  position:relative;
  display:flex; flex-wrap:wrap;
  align-items:center; justify-content:center;
  gap:32px;
  margin: 16px auto 72px;
  max-width: 1200px;
}

/* Tarjeta de video */
.reciclaje-video{
  z-index:2;
  flex:1 1 560px;
  min-width: 320px;
  margin:0;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
}
.reciclaje-video video{
  width:100%; height:auto; object-fit:cover;
  border-radius: 20px;
  outline:1px solid var(--line);
}

/* Panel de info con borde-gradiente */
.reciclaje-info{
  position:relative;
  z-index:3;
  flex:1 1 460px;
  max-width: 560px;
  background: var(--sheet);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  isolation:isolate;
}
.reciclaje-info::before{
  content:"";
  position:absolute; inset: -1px;
  border-radius: 20px;
  padding:1px;
  background: linear-gradient(120deg, var(--celeste), var(--naranja));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.reciclaje-info h2{
  margin:0 0 8px 0;
  font:800 clamp(1.4rem, 2.6vw, 2rem)/1.2 "Montserrat", system-ui, sans-serif;
  letter-spacing:.3px;
  background: linear-gradient(90deg,var(--celeste),var(--naranja));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-transform: uppercase;
}
.reciclaje-info p{
  margin:10px 0 0;
  color: var(--muted);
  line-height:1.7;
  font-weight:500;
}

/* ======================= */
/*     TARJETAS RESIDUO    */
/* ======================= */

.seccion-residuos-real{
  padding: 24px 0;
}
.contenedor-residuos-real{
  display:flex; flex-wrap:wrap;
  gap:22px; justify-content:center;
  max-width:1200px; margin:0 auto;
}

/* Tarjeta base */
.tarjeta-residuo{
  position:relative;
  flex:1 1 320px;
  max-width:390px;
  min-height:320px;
  padding:68px 22px 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
  color:#fff;
  isolation:isolate;
  transform: translateY(14px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.tarjeta-residuo:hover{
  transform: translateY(0);
  box-shadow: var(--shadow-lg);
}

/* Fondo con textura sutil */
.tarjeta-residuo::before{
  content:"";
  position:absolute; inset:-20%;
  background:
    radial-gradient(1000px 260px at -10% -20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(800px 280px at 110% 120%, rgba(255,255,255,.10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 6px);
  opacity:.5;
  z-index:0;
}

/* Letras gigantes de fondo (ya tenés clases) */
.letra-fondo{
  position:absolute; top:-100px; left:16px;
  font-size: 140px; font-weight: 900; line-height:1;
  opacity:.12; z-index:0; pointer-events:none;
}

/* Headers y contenido por encima */
.tarjeta-residuo h2,
.tarjeta-residuo .contenido-recicla,
.tarjeta-residuo .nota{ position:relative; z-index:1; }

.tarjeta-residuo h2{
  margin:0 0 14px; text-align:center;
  font:800 19px/1.2 "Montserrat", system-ui, sans-serif;
  letter-spacing:.6px; text-transform:uppercase;
}

/* Ítems */
.contenido-recicla p{
  display:flex; align-items:flex-start; gap:10px;
  margin:10px 0; font-size:14px;
  color: rgba(255,255,255,.9);
}
.contenido-recicla p strong{
  color:#fff; font-weight:800; margin-right:4px;
  min-width:unset; display:inline-block;
}
.icono{ width:28px; height:28px; margin-top:2px; flex-shrink:0; }

/* Nota al pie */
.nota{
  margin-top:auto; margin-bottom:0;
  padding:12px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff; font-weight:600;
}

/* Paletas por tipo (más modernas) */
.humedo   { background: linear-gradient(180deg,#3c444f 0%, #2b323c 100%); }
.seco     { background: linear-gradient(180deg,#4f8c3c 0%, #3a6a2e 100%); }
.forestal { background: linear-gradient(180deg,#a84e25 0%, #7b3517 100%); }

/* Colores de letras grandes (más integrados) */
.letra-se{ color:#ffffff; }
.letra-ra{ color:#ffffff; }
.letra-pa{ color:#ffffff; }

/* Imagen en la tarjeta “Pesados” */
.imagen-residuo{
  width:100%; height:auto; border-radius:12px;
  margin-top:6px; position:relative; z-index:1;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Leyenda de zonas */
.leyenda-zonas{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:10px; margin-top:18px; text-align:center;
}
.titulo-leyenda{
  width:100%; font-size:16px; font-weight:800;
  color:#6c7686; margin-bottom:8px;
}
.item-zona{
  padding:8px 12px; border-radius:10px; color:#fff; font-weight:800; font-size:14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.zona-1{ background:#f0a64a; }
.zona-2{ background:#8f57c5; }
.zona-3{ background:#5f8a4f; }
.zona-4{ background:#4f74e0; }
.zona-5{ background:#e25b4b; }

/* Responsive tarjetas */
@media (max-width: 768px){
  .contenedor-residuos-real{ flex-direction:column; align-items:center; }
  .tarjeta-residuo{ width:92%; max-width:520px; }
  .letra-fondo{ display:none; }
}

/* ======================= */
/*     CALENDARIO UI       */
/* ======================= */

.reciclaje-calendario-nuevo{
  margin-top:60px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 20px;
  text-align:center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}
.reciclaje-calendario-nuevo h2{
  font:700 clamp(1.5rem,2.8vw,2.1rem)/1.3 "Montserrat", system-ui, sans-serif;
  color:#1a1a1a; margin:0 0 12px;
  letter-spacing:-0.5px;
}
.reciclaje-calendario-nuevo p{
  color:#666; margin:0 0 32px; font-weight:400;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

/* Leyenda */
.leyenda-calendario{
  display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin-bottom: 32px;
}
.item-leyenda{
  display:flex; align-items:center; gap:10px;
  padding:12px 20px; border-radius:10px; color:#fff; font-weight:600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.item-leyenda:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.leyenda-humedo{ background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); }
.leyenda-seco{ background: linear-gradient(135deg, #2d7a3d 0%, #1e5a2e 100%); }
.item-leyenda img{ width:24px; height:24px; }

/* Grid días */
.calendario-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap:20px; padding: 24px;
  background:#f8f9fa; border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}
.dia-cal{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px; padding: 24px 16px;
  border-radius:14px; color:#fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align:center;
  position: relative;
  overflow: hidden;
}
.dia-cal::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dia-cal:hover::before{
  opacity: 1;
}
.dia-nombre{
  font: 700 1.1rem/1.2 "Montserrat", system-ui, sans-serif;
  letter-spacing:0.5px; color:#fff;
  position: relative;
  z-index: 1;
}
.dia-tipo{
  font: 500 0.85rem/1.3 "Montserrat", system-ui, sans-serif;
  letter-spacing:0.3px; color:rgba(255,255,255,0.9);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}
.dia-cal:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.dia-humedo{ 
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border: 1px solid rgba(255,255,255,0.1);
}
.dia-seco{ 
  background: linear-gradient(135deg, #2d7a3d 0%, #1e5a2e 100%);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Responsive calendario */
@media (max-width: 600px){
  .reciclaje-calendario-nuevo{ padding: 30px 20px; }
  .calendario-grid{ 
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    gap:14px; 
    padding: 20px;
  }
  .dia-cal{ padding:20px 12px; }
  .dia-nombre{ font-size: 1rem; }
  .dia-tipo{ font-size: 0.75rem; }
  .leyenda-calendario{ gap:12px; margin-bottom: 24px; }
  .item-leyenda{ padding:10px 16px; font-size: 0.85rem; }
}

/* ======================= */
/*  SCROLL REVEAL (tu flow)*/
/* ======================= */
.hidden{ opacity:0; transform: translateY(16px); }
.visible{ opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease; }

/* ======================= */
/*    ACCESIBILIDAD        */
/* ======================= */
@media (prefers-reduced-motion: reduce){
  .tarjeta-residuo, .dia-cal, .reciclaje-info{ transition:none !important; }
}

/*--------------------------- PAGINA DENGUE -----------------------------*/

/*--------------------------- FIN PAGINA DENGUE -----------------------------*/
