/* Redesigned modern corporate styles for Almacenes ASWAN */
:root{
  --brand-500: #06a9a1;
  --brand-600: #088881;
  --accent: #42c4bc;
  --bg: #ffffff;
  --muted: #6b6b6b;
  --maxw: 1600px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(6,169,161,0.08);
  --font-sans: 'Poppins', Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family:var(--font-sans);
  color:#222;
  background: #f7f9fa;
  line-height:1.5;
  margin:0;
}

/* ---------------------- */
/* HEADER Y LOGO          */
/* ---------------------- */

.wrap{max-width:var(--maxw);margin:0 auto;padding:20px}

.site-header{
  position:fixed;
  left:0; right:0; top:0;
  background: rgba(255, 255, 255, 0.35); /* fondo semitransparente */
  backdrop-filter: blur(6px);           /* efecto elegante */
  box-shadow:0 6px 18px rgba(12,12,12,0.06);
  z-index:9999;
}

.header-flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand img{
  height: 90px;
  position: relative;
  left: 80px;
}


/* Texto animado */
.brand-title{
  font-size:22px;
  font-weight:900;
  color:var(--brand-600);
  opacity:0;

  /* Posición */
  margin-left: 20px;        /* mueve a la derecha */
  transform: translateY(-10px); /* mueve hacia arriba */

  animation: aparecer 1.2s ease forwards;
}


@keyframes aparecer {
  to { opacity:1; transform:translateY(0); }
}

/* ---------------------- */
/* NAV                    */
/* ---------------------- */

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:28px;
  cursor:pointer;
}

.main-nav ul{
  list-style:none;
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
}

.main-nav a{
  padding:10px 14px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  color:#233;
}

.main-nav li{position:relative}

.main-nav .sub{
  display:none;
  position:absolute;
  background:transparent;
  padding:10px;
  border-radius:10px;
  box-shadow:var(--shadow);
}

.main-nav li:hover .sub{display:block}

/* ---------------------- */
/* HERO                   */
/* ---------------------- */

.hero{padding-top:120px;padding-bottom:40px}
.hero-grid{display:grid;grid-template-columns:1fr 520px;gap:40px;align-items:center}

.hero h1{font-size:38px;color:var(--brand-600)}
.hero p {
    color: #0e0e0e;
}

.hero-image img{
  width:125%;
  height:380px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:var(--shadow);
  margin-top: 60px; /* ⬅ baja la imagen */
}


/* ---------------------- */
/* CARDS SERVICIOS        */
/* ---------------------- */

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.card{
  height:200px;
  border-radius:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  font-size:22px;
  font-weight:800;
  color:#fff;
  text-shadow:1px 1px 4px rgba(0,0,0,0.8);
  background-size:cover;
  background-position:center;
  position:relative;
}

.card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent, rgba(0,0,0,0.35));
}

/* ---------------------- */
/* CTA                    */
/* ---------------------- */

.cta{
  background:transparent;
  padding:20px;
  border-radius:12px;
  box-shadow:var(--shadow);
}

.cta-inner{
  display:flex;
  gap:20px;
  align-items:center;
}

.cta img{width:160px; border-radius:8px}

/* ---------------------- */
/* FOOTER OPTIMIZADO      */
/* ---------------------- 

.site-footer{
  padding:10px 0;
  background:transparent;
  border-top:1px solid rgba(0,0,0,0.05);
}

.footer-grid{
  max-width:900px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:100px;
  font-size:14px;
}

.footer-grid .f-box img{
  max-width:130px;
}

.footer-grid p{
  font-size:13px;
  line-height:1.3;
}

/* Libro de reclamaciones alineado 
.footer-grid .rec img{
  max-width:95px;
} */

/* FOOTER PRINCIPAL */
.site-footer{
  padding: 40px 0 20px;
  background: rgba(0,0,0,0.45); /* elegante y translúcido */
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #f1f1f1;
}

/* GRID DEL FOOTER */
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
  padding: 0 20px;
  font-size: 14px;
}

/* CAJAS */
.footer-grid .f-box{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TÍTULOS */
.footer-grid h4{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* TEXTOS */
.footer-grid p{
  font-size: 14px;
  line-height: 1.6;
  color: #e6e6e6;
}

/* LOGOS */
.footer-grid img{
  max-width: 140px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
}

/* LIBRO DE RECLAMACIONES */
.footer-libro{
  max-width: 110px;
  transition: transform .3s ease;
}

.footer-libro:hover{
  transform: scale(1.35);
}

/* WHATSAPP */
.footer-wsp{
  max-width: 60px;
  margin-top: 10px;
  transition: transform .3s ease;
}

.footer-wsp:hover{
  transform: scale(1.15);
}

/* COPYRIGHT */
.copyright{
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #ddd;
  opacity: .9;
}



/* COPYRIGHT */
.wrap.copyright{
  text-align:center;
  font-size:12px;
  padding:8px 0;
  background:rgba(6,169,161,0.06);
  border-radius:6px;
  margin-top:8px;
}

.footer-social-right {
    text-align: right;
}
.footer-social-right img {
    display: inline-block;
}


/* ---------------------- */
/* MENU HAMBURGUESA MOVIL */
/* ---------------------- */

@media (max-width:720px){

  .menu-toggle{
    display:block;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:80px;
    right:0;
    width:100%;
    background:transparent;
    padding:20px 0;
    box-shadow:0 6px 20px rgba(0,0,0,0.18);
    z-index:9999; /* <<< IMPORTANTE */
  }

  .main-nav.show{
    display:block !important;
  }

  .main-nav ul{
    flex-direction:column;
    text-align:center;
  }

  .main-nav a{
    font-size:18px;
    padding:14px;
    display:block;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .cta-inner{
    flex-direction:column;
  }

  .footer-grid{
    flex-direction:column;
    text-align:center;
  }
}

/* ======================================================
   CORRECCIÓN COMPLETA DE IMÁGENES NOSOTROS + SERVICIOS
   ====================================================== */

/* --- SECCIÓN NOSOTROS (imagenes uniformes) --- */

.about-media {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-top: 40px; /* ⬇️ BAJA la imagen completa */
}

.about-media .shape {
  width: 100%;
  height: 100%;
  background: var(--brand-500);
  border-radius: 18px;
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
}

.about-media .img {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

/* Responsive para NOSOTROS */
@media (max-width:720px){
  .about-media {
    margin: 0 auto;
  }
  .about-media .img {
    height: 240px;
  }
}

/* ================================
   SECCIÓN NOSOTROS - ABOUT
   ================================ */

.about {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 40px;
    align-items: center;
    padding: 140px 0 80px; /* 👈 BAJA todo (imagen + texto) */
}

/* contenedor que incluye el fondo de color + la imagen */
.about-media {
    position: relative;
    width: 100%;
    height: 280px;
}

.about-media .shape {
    width: 100%;
    height: 100%;
    background: var(--brand-500);
    border-radius: 18px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.about-media .img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-shadow: var(--shadow);
}

/* Texto */
.about-content h1 {
    color: var(--brand-600);
    font-size: 32px;
    margin-bottom: 12px;
}

.about-content p {
    line-height: 1.6;
    font-size: 16px;
    color: #444;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-media {
        height: 240px;
        margin: 0 auto;
        max-width: 380px;
    }

    .about-media .shape {
        top: 15px;
        left: 15px;
    }
}



/* --- SECCIÓN SERVICIOS (imagenes uniformes) --- */

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}

.service-card.alt {
  direction: rtl;
}

.service-card .media {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.service-card .text {
  padding: 8px 0;
}

.service-card h3 {
  color: var(--brand-600);
}

/* Responsive para SERVICIOS */
@media (max-width:720px){
  .service-card {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .service-card .media {
    height: 200px;
  }
}

/* =========================================================
   REPARACIÓN FINAL — SECCIÓN NOSOTROS (Historia / Misión)
   ========================================================= */

/* CONTENEDOR PRINCIPAL */
.about {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

/* CONTENEDOR DE IMAGEN */
.about-media {
    position: relative;
    width: 100%;
    max-width: 420px;
}

/* FONDO DECORATIVO */
.about-media .shape {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    background: var(--brand-500);
    border-radius: 16px;
    z-index: 1;
}

/* IMAGEN PRINCIPAL — ARREGLADA */
.about-media .img {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: 16px;
    z-index: 2;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;

    box-shadow: var(--shadow);
}

/* TEXTO */
.about-content h1 {
    margin-bottom: 12px;
    color: var(--brand-600);
}
.about-content p {
    text-align: justify;
    color: #444;
}


/* =============================
   MISION Y VISION — REPARADO
   ============================= 

.mision-vision {
    display: flex;
    gap: 28px;
    background: linear-gradient(90deg, var(--brand-500), var(--accent));
    padding: 26px;
    border-radius: 12px;
    color: white;
}

.mision-vision .mv {
    flex: 1;
}

.mision-vision p {
    text-align: justify;
}
*/

.about-media {
  margin-top: 100px;
}

.about-media .img {
  top: 30px;
}

.about-text {
  margin-top: 100px;
}




/* =============================
     RESPONSIVE — MÓVIL
   ============================= */

@media (max-width: 720px) {

    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-media {
        margin: 0 auto;
    }

    .about-media .img {
        height: 220px;
    }

    .mision-vision {
        flex-direction: column;
        text-align: center;
    }

    .mision-vision p {
        text-align: justify;
    }
}

/* ==========================================
   REPARACIÓN — ICONOS DE ESTADÍSTICAS
   ========================================== 

.stat img {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
}

*/

/* ============================
   SECCIÓN ESTADÍSTICAS – FORMATO 2 FILAS
============================ */

.stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding: 40px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    max-width: 220px;
}

/* Iconos más pequeños y uniformes */
.stat img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Número */
.stat h4 {
    font-size: 28px;
    font-weight: 900;
    color: var(--brand-600);
    margin: 8px 0;
}

/* Texto */
.stat p {
    font-size: 15px;
    color: #444;
    margin: 0;
}

/* Responsivo */
@media(max-width: 768px){
    .stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .stat img {
        width: 60px;
        height: 60px;
    }
}


/* ================================
   SECCIÓN NOSOTROS - REPARACIÓN
================================ */

.about {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

/* Contenedor visual (rombo + imagen) */
.about-media {
  position: relative;
  width: 100%;
  height: 320px;
}

/* Fondo turquesa detrás de la foto 
.about-media .shape {
  background: var(--brand-500);
  width: 100%;
  height: 100%;
  border-radius: 18px;
  position: absolute;
  top: 20px;
  left: 20px;
}*/

/* Imagen principal */
.about-media .img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 0;
  left: 0;
}

/* Texto */
.about-content h1 {
  margin-bottom: 12px;
  color: var(--brand-600);
  font-size: 28px;
}

/* ================================
   RESPONSIVE NOSOTROS
================================ */
@media (max-width: 720px){
  .about {
    grid-template-columns: 1fr;
  }

  .about-media {
    height: 260px;
  }
}


/* ============================ */
/*   FIX PARA IMAGEN US.JPG     */
/* ============================ */

.about-media {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 320px;
}

.about-media .shape {
    position: absolute;
    inset: 0;
    background: var(--brand-500);
    border-radius: 18px;
    transform: translate(18px, 18px);
    z-index: 1;
}

.about-media .img {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 18px;
    z-index: 2;
}

/* Forzar que la imagen NO desaparezca en móvil */
@media (max-width: 720px) {
    .about-media {
        max-width: 100%;
        height: 260px;
        margin-bottom: 20px;
    }
}


/* FOOTER – Vista móvil en una sola columna */
@media (max-width: 720px) {
    .footer-grid {
        flex-direction: column !important;
        text-align: center;
        gap: 25px !important;
    }

    .footer-grid .f-box {
        width: 100% !important;
    }

    .footer-grid img {
        margin-left: auto;
        margin-right: auto;
    }
}


/* FOOTER GRID MEJORADO */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;              /* Espaciado uniforme */
    padding: 30px 10px;
    flex-wrap: nowrap;      /* Evita que se bajen columnas en PC */
}

.f-box {
    flex: 1;                /* Todas las columnas del mismo tamaño */
    text-align: center;
}

.footer-logo {
    max-width: 150px;
}

.footer-libro {
    width: 95px;
    margin-top: 12px;
}

.footer-wsp {
    width: 60px;
    margin-top: 12px;
}

/* RESPONSIVE: En móviles sí se apilan */
@media (max-width: 850px) {
    .footer-grid {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        text-align: center;
    }

    .f-box {
        flex: 1 1 100%;
    }
}

/* —— TABLAS TARIFARIO —— */
.tarifario {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #143b78; /* azul corporativo */
}

/* Encabezado */
.tarifario thead tr {
    background: #143b78; /* azul corporativo */
    color: white;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Celdas */
.tarifario th,
.tarifario td {
    padding: 16px 22px;     /* separa columnas y filas */
    border-bottom: 1px solid #d6dde9;
}

/* última fila sin borde inferior */
.tarifario tbody tr:last-child td {
    border-bottom: none;
}

/* Filas alternadas */
.tarifario tbody tr:nth-child(even) {
    background: #f4f6fb;
}

/* Ajuste columnas */
.tarifario td {
    line-height: 1.4;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .tarifario th,
    .tarifario td {
        padding: 14px 15px;
        font-size: 14px;
    }
}

/* ===========================
   MENÚ PRINCIPAL
=========================== */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 45px; /* espaciado entre opciones del menú */
    list-style: none;
}

.main-nav ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 5px;
    color: #1e293b; /* gris azulado elegante */
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #0b8c80; /* color corporativo */
}

/* ===========================
   SUBMENÚ
=========================== */

.has-sub {
    position: relative;
}

.has-sub .sub {
    position: absolute;
    top: 45px;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 10px;
    width: 210px;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}

.has-sub:hover .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub li {
    width: 100%;
}

.sub li a {
    display: block;
    padding: 12px 18px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.sub li a:hover {
    background: rgba(11, 140, 128, 0.1); /* color corporativo suave */
    padding-left: 24px;
    border-left: 3px solid #0b8c80;
}

/* BOTONES MINIMALISTAS Y ELEGANTES */
.minimal-buttons {
    margin-top: 14px;
}

.minimal-buttons .btn-minimal {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #222;
    color: #222;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-right: 10px;
}

/* Hover minimal elegante */
.minimal-buttons .btn-minimal:hover {
    background-color: #222;
    color: #fff;
    transform: translateY(-2px);
}

/* Diseño responsivo */
@media (max-width: 600px) {
    .minimal-buttons .btn-minimal {
        display: block;
        margin: 8px 0;
        text-align: center;
    }
}

/* Logo fondo en mosaico */
body {
    background-image: url("img/Logo2.png");
    background-repeat: repeat;
    background-size: 180px; /* Ajusta tamaño del logo en mosaico */
    background-position: 0 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65); /* suaviza el mosaico */
    backdrop-filter: blur(4px) saturate(150%); /* efecto agua/vidrio */
    z-index: -1;
}

/* SLIDER CORREGIDO: 6 IMÁGENES CON PAUSA REAL */
/* SLIDER ASWAN RESPONSIVE */
.aswan-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 480px;
    margin: 0 auto;
    overflow: hidden;
}

.aswan-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: aswanFade 36s infinite;
}

.aswan-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TIEMPOS PARA 6 IMÁGENES (6s por imagen) */
.aswan-slide:nth-child(1) { animation-delay: 0s; }
.aswan-slide:nth-child(2) { animation-delay: 6s; }
.aswan-slide:nth-child(3) { animation-delay: 12s; }
.aswan-slide:nth-child(4) { animation-delay: 18s; }
.aswan-slide:nth-child(5) { animation-delay: 24s; }
.aswan-slide:nth-child(6) { animation-delay: 30s; }

@keyframes aswanFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    20% { opacity: 1; }
    28% { opacity: 0; }
    100% { opacity: 0; }
}

/* FIX ESPECIAL PARA MÓVIL */
@media (max-width: 768px) {
    .aswan-slider {
        height: 320px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .aswan-slide,
    .aswan-slide img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        display: block !important;
    }
}

.aswan-slider {
    max-width: 900px;
    width: 100%;
    display: block;
    margin-left: 15 !important;
    margin-right: 15 !important;
}


/* =============================== */
/*  FORMULARIO LIBRO RECLAMACIONES */
/* =============================== */

.form-libro{
  max-width: 880px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.form-section{
  margin-bottom: 35px;
}

.form-section h2{
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--brand-600);
  border-left: 5px solid var(--brand-500);
  padding-left: 12px;
}

.form-libro input,
.form-libro select,
.form-libro textarea{
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: border .3s, box-shadow .3s;
}

.form-libro input:focus,
.form-libro select:focus,
.form-libro textarea:focus{
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(6,169,161,.15);
}

.form-libro textarea{
  resize: vertical;
  min-height: 110px;
}

.form-libro label{
  font-size: 15px;
  margin-right: 10px;
}

.form-libro .center-button{
  text-align: center;
  margin-top: 25px;
}

.form-libro input[type="submit"]{
  background: var(--brand-500);
  color: #ffffff !important;   /* ✅ FUERZA LAS LETRAS VISIBLES */
  border: none;
  padding: 14px 42px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s, transform .2s;
  opacity: 1 !important;      /* ✅ EVITA QUE DESAPAREZCA */
  visibility: visible !important; /* ✅ FUERZA VISIBILIDAD */
}


.form-libro input[type="submit"]:hover{
  background: var(--brand-600);
  transform: scale(1.05);
}


/* ALERTAS DE MENSAJE */
.alert{
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 600;
}

.alert-success{
  background: #e6f8f6;
  color: #066a66;
}

.alert-danger{
  background: #ffe4e4;
  color: #9b1c1c;
}

/* RESPONSIVE MOVIL */
@media(max-width:700px){
  .form-libro{
    padding: 22px;
  }

  .form-section h2{
    font-size: 18px;
  }
}

/* ===== FORMULARIO LIBRO - CAMPOS UNO DEBAJO DEL OTRO ===== */

.form-libro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-libro label {
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
}

.form-libro input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ===== CONTENEDOR PRINCIPAL UNIFICADO DEL FORMULARIO ===== */

.container_libro {
  max-width: 800px;
  margin: 120px auto 60px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== TODAS LAS SECCIONES IGUAL DE ANCHO ===== */

.form-section {
  width: 100%;
  margin-bottom: 35px;
}

/* ===== FORMULARIO COLUMNA PERFECTA ===== */

.form-libro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-libro label {
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
}

.form-libro input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* ===========================
   VALIDACIÓN VISUAL DEL FORMULARIO
   =========================== */

/* Estilo error */
.form-libro input:invalid,
.form-section input:invalid,
.form-section textarea:invalid,
.form-section select:invalid {
  border: 2px solid #e63946;
  background-color: #fff5f5;
}

/* Estilo correcto */
.form-libro input:valid,
.form-section input:valid,
.form-section textarea:valid,
.form-section select:valid {
  border: 2px solid #2bb673;
  background-color: #f3fff9;
}

/* Mensaje de ayuda debajo de cada campo */
.form-section input:invalid + small::before,
.form-section textarea:invalid + small::before {
  content: "⚠ Campo obligatorio";
  color: #e63946;
  font-size: 12px;
  display: block;
  margin-top: 3px;
}

/* Botón con efecto error si hay fallas
.center-button input:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
} */

/* ✅ VALIDACIÓN VISUAL FORMULARIO RECLAMACIONES */

.form-libro input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 2px solid #ccc;
  margin-bottom: 14px;
  font-size: 15px;
  transition: 0.3s;
}

.form-libro input.error {
  border-color: red;
  background: #fff0f0;
}

.form-libro input.success {
  border-color: #0bb;
  background: #f0fffb;
}

.form-libro small {
  color: red;
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 10px;
  display: block;
  animation: shake 0.3s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(3px); }
  50% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

/* input[type="submit"]:disabled {
  cursor: not-allowed;
}

/* ✅ ALINEACIÓN PERFECTA RECLAMO / QUEJA */

.form-section label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-weight: 500;
}

.form-section input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-libro input[type="submit"] {
  display: inline-block !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

/* ✅ BOTÓN ENVIAR RECLAMO — VISIBILIDAD FORZADA TOTAL */
.boton-reclamo-visible {
  background: #06a9a1 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.boton-reclamo-visible:hover {
  background: #088881 !important;
  color: #ffffff !important;
}

/* ============================= */
/* BOTONES CALCULA TU SERVICIO  */
/* ============================= */

.calc-buttons{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.calc-buttons a{
  display: inline-block;
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* BOTÓN PRINCIPAL */
.btn-primary{
  background: linear-gradient(135deg, #06a9a1, #088881);
  color: white;
}

.btn-primary:hover{
  transform: scale(1.08);
  background: linear-gradient(135deg, #088881, #06a9a1);
}

/* BOTÓN SECUNDARIO */
.btn-secondary{
  background: white;
  color: #088881;
  border: 2px solid #088881;
}

.btn-secondary:hover{
  background: #088881;
  color: white;
  transform: scale(1.08);
}

/* ============================= */
/*  BOTONES TARIFAS — TAMAÑO REDUCIDO */
/* ============================= */

.calc-buttons{
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 20px 0 !important;
  flex-wrap: wrap !important;
}

.btn-force{
  display: inline-block !important;
  padding: 10px 22px !important;   /* ✅ MÁS PEQUEÑO */
  font-size: 14px !important;     /* ✅ TEXTO MÁS FINO */
  font-weight: 700 !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  text-align: center !important;
  min-width: 160px !important;    /* ✅ MÁS ESTRECHO */
  box-shadow: 0 6px 12px rgba(0,0,0,0.18) !important;
  transition: 0.25s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* BOTÓN PRINCIPAL */
.btn-primary{
  background: linear-gradient(135deg, #06a9a1, #088881) !important;
  color: #ffffff !important;
}

/* BOTÓN SECUNDARIO */
.btn-secondary{
  background: #ffffff !important;
  color: #088881 !important;
  border: 2px solid #088881 !important;
}

/* HOVER SUAVE */
.btn-force:hover{
  transform: scale(1.06) !important;
}

/* ============================
   LAYOUT DEPOSITO TEMPORAL — IMÁGENES MÁS A LOS LATERALES
============================ */

.deposito-layout{
  display: grid;
  grid-template-columns: 380px 1fr 380px; /* ✅ MÁS A LOS BORDES IZQ y DER */
  gap: 100px;  /* ✅ separación muy amplia */
  align-items: start;
  width: 100%;
}

/* Laterales de imágenes */
.lateral{
  display: flex;
  flex-direction: column;
  gap: 90px;  /* ✅ separación grande entre imágenes */
}

/* Cuadros de fotos GRANDES */
.foto-box{
  width: 100%;
  height: 360px;      
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.30);
  transition: transform 0.4s ease;
}

/* Efecto elegante al pasar el mouse */
.foto-box:hover{
  transform: scale(1.07);
}

/* Contenido central */
.contenido-central{
  background: transparent;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* RESPONSIVE PARA MÓVILES */
@media(max-width: 980px){
  .deposito-layout{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lateral{
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .foto-box{
    height: 250px;
    max-width: 92%;
  }
}

/* ============================
   TEXTO CENTRAL MÁS ANCHO
============================ */

.deposito-layout{
  grid-template-columns: 340px minmax(900px, 1fr) 340px; 
  /* ✅ Columna central MUCHO más ancha */
}

/* Contenido central más amplio */
.contenido-central{
  padding: 70px 90px;   /* ✅ más aire a los lados */
  max-width: 1100px;   /* ✅ evita que se vuelva infinito en monitores grandes */
  margin: 0 auto;      /* ✅ mantiene centrado perfecto */
}

/* Texto más cómodo para lectura */
.contenido-central p,
.contenido-central li{
  font-size: 17px;
  line-height: 1.75;   /* ✅ más aire entre líneas */
}

/* Títulos más equilibrados */
.contenido-central h2{
  font-size: 24px;
  margin-bottom: 18px;
}

/* BOTÓN DEL MENÚ A LA IZQUIERDA */
.menu-toggle {
    order: -1; /* Lo manda al inicio del contenedor */
    font-size: 28px;
    padding: 6px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Compactar menú móvil */
@media (max-width: 768px) {
    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 18px;
    }

    .main-nav ul li a {
        padding: 10px 12px;
        font-size: 17px;
        border-bottom: 1px solid #e3e3e3;
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    /* Submenú compacto */
    .main-nav .sub {
        padding-left: 18px;
        border-left: 3px solid #ccc;
        margin-top: 5px;
    }
}


/* --- Submenús escondidos --- */
.main-nav ul.sub {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    border: 1px solid #ddd;
    z-index: 1000;
}

/* Submenú visible */
.has-sub.open > .sub {
    display: block;
}

/* Estilo de cada item */
.main-nav ul.sub li {
    width: 100%;
}

.main-nav ul.sub li a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

.main-nav ul.sub li a:hover {
    background: #f0f0f0;
}

.card-noticia p,
.card-noticia li {
  text-align: justify;
}

.video-noticia {
  max-width: 480px;
  margin: 20px 0 40px 0;
}

.video-noticia iframe {
  width: 100%;
  height: 270px;
  border-radius: 12px;
}

.aswan-media-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin: 80px auto;
    max-width: 1300px;
    padding: 0 20px;
}

.aswan-slider {
    width: 60%;
}

.aswan-video {
    width: 60%;
}

.aswan-video {
    margin-left: 40px;
}



.aswan-video iframe {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Responsive para celulares */
@media (max-width: 900px) {
    .aswan-media-grid {
        flex-direction: column;
    }

    .aswan-slider,
    .aswan-video {
        width: 100%;
    }

    .aswan-video iframe {
        height: 260px;
    }
}


.aswan-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 40px;
}

/* SLIDER MÁS GRANDE */
.aswan-slider {
  width: 720px;        /* MISMO ANCHO DEL VIDEO */
  max-width: 100%;
}

.aswan-slide img {
  width: 100%;
  height: 405px;       /* MISMA ALTURA DEL VIDEO */
  object-fit: cover;
  border-radius: 14px;
}

/* VIDEO MISMO TAMAÑO */
.aswan-video {
  width: 720px;
  max-width: 100%;
}

.aswan-video iframe {
  width: 100%;
  height: 405px;
  border-radius: 14px;
}

/* RESPONSIVE PARA CELULAR */
@media (max-width: 900px) {
  .aswan-container {
    flex-direction: column;
    align-items: center;
  }

  .aswan-slider,
  .aswan-video {
    width: 100%;
  }

  .aswan-video iframe,
  .aswan-slide img {
    height: 300px;
  }
}


.aswan-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start; /* ⬅ CLAVE */
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

/* SLIDER */
.aswan-slider {
  width: 100%;
  max-width: 720px;
}

.aswan-slide img {
  width: 100%;
  height: 405px;
  object-fit: cover;
  border-radius: 14px;
}

/* VIDEO */
.aswan-video {
  width: 100%;
  max-width: 720px;
}

.aswan-video iframe {
  width: 100%;
  height: 405px;
  border-radius: 14px;
}

.aswan-slider,
.aswan-video {
  display: flex;
  align-items: stretch;
}


/* MÓVIL */
@media (max-width: 900px) {
  .aswan-media-grid {
    grid-template-columns: 1fr;   /* uno debajo del otro */
  }

  .aswan-slide img,
  .aswan-video iframe {
    height: 300px;
  }
}

/* ===== AJUSTE BLOQUE PARA SABER + VIDEO (MÁS A LA DERECHA) ===== */

.aswan-saber-container{
  margin-top: 50px;
  margin-left: 120px;   /* ✅ ESTO lo mueve a la derecha */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.aswan-saber-texto{
  font-size: 22px;
  font-weight: 800;
  color: #088881;
}

.aswan-saber-video{
  width: 480px;
  max-width: 100%;
}

.aswan-saber-video iframe{
  width: 100%;
  height: 270px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media(max-width: 768px){
  .aswan-saber-container{
    margin-left: 0;       /* ✅ En móvil vuelve al centro */
    align-items: center;
  }

  .aswan-saber-video{
    width: 100%;
  }

  .aswan-saber-texto{
    text-align: center;
  }
}


html {
  background:
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.08)),
    url("../img/fondo_1.png") no-repeat center center fixed;
  background-size: cover;
}

/* Fondos translúcidos para dejar ver el fondo */
.wrap,
.section,
.cards,
.cta,
.form-libro,
.container_libro,
.bloque {
  background: rgba(255,255,255,0);
  backdrop-filter: blur(2px);
}

body {
  background: transparent !important;
}


/* ❄️ EFECTO NAVIDAD - NIEVE 
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.snowflake {
  position: absolute;
  top: -10%;
  color: #fff;
  font-size: 1.5em;
  opacity: 0.8;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-10vh); }
  100% { transform: translateY(110vh); }
}

.snowflakes {
  z-index: 99999;
}

/* 🎄 MODAL NAVIDEÑO 
.modal-navidad {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.contenido-navidad {
  background: #ffffff;
  max-width: 520px;
  width: 90%;
  padding: 30px 35px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  position: relative;
  text-align: center;
  animation: aparecer 0.4s ease;
}

/* Animación suave 
@keyframes aparecer {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Botón cerrar (X) 
.cerrar-navidad {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #c62828;
  color: white;
  border: none;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

/* Botón aceptar 
.btn-aceptar-navidad {
  margin-top: 20px;
  padding: 10px 28px;
  border: none;
  border-radius: 25px;
  background: #0c6b5a;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

/* Texto 
.contenido-navidad h2 {
  margin-bottom: 15px;
  color: #0c6b5a;
}

.contenido-navidad p,
.contenido-navidad li {
  font-size: 14.5px;
  color: #333;
  text-align: left;
}

.contenido-navidad ul {
  margin-top: 10px;
  padding-left: 18px;
} 

*/


/* GALERÍA ENTRE SECCIONES 
.aswan-galeria-servicios {
  background: #f4f7fa;
  padding: 70px 20px;
}
*/

.aswan-galeria-servicios{
  background: transparent; /* fondo semitransparente */
  backdrop-filter: blur(6px);           /* efecto elegante */
  padding: 60px 30px;
  border-radius: 20px;
}

/* Textos NO transparentes */
.informate-aswan h2,
.informate-aswan p,
.informate-aswan a,
.informate-aswan span {
  opacity: 1;
  color: #111; /* o tu color de marca */
}


.galeria-titulo {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--brand-700);
}

/* GRID DE IMÁGENES */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 42px;
}

.galeria-grid img {
  width: 100%;
  height: 680px; /* 🔥 MÁS ALTA */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  transition: transform .45s ease, box-shadow .45s ease;
}

/* HOVER ELEGANTE */
.galeria-grid img:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .galeria-grid img {
    height: 320px;
  }
}

/* 🤖 CHATBOT ASWAN */
#aswan-chatbot{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  font-family: Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  border-radius: 14px;
  overflow: hidden;
  z-index: 9999;
}

.chatbot-header{
  background: var(--brand-600);
  color: #fff;
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.chatbot-header button{
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chatbot-body{
  background: #fff;
  padding: 15px;
}

.chatbot-body input,
.chatbot-body textarea{
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.chatbot-body textarea{
  resize: none;
  height: 70px;
}

.chatbot-enviar{
  width: 100%;
  background: var(--brand-600);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.chatbot-enviar:hover{
  background: var(--brand-700);
}

.chatbot-saludo{
  font-size: 14px;
  margin-bottom: 12px;
}

#chatbot-respuesta{
  background: #f0f9f3;
  border-left: 4px solid #2f6b3f;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.4;
}







