

:root{
  --yellow:#f2c100;
  --black:#0b0b0b;
  --white:#ffffff;
  --container:1100px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--black);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

.container{
  width:90%;
  max-width:var(--container);
  margin:0 auto;
}

/* HEADER */
.site-header{
  background:var(--yellow);
  position:fixed;
  left:0;right:0;top:0;
  z-index:60;
  box-shadow:0 1px 0 rgba(0,0,0,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
}
.logo{
  font-weight:700;
  letter-spacing:1px;
  color:var(--black);
  text-decoration:none;
  font-size:28px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:24px;
  align-items:center;
}
.nav-list a{
  text-decoration:none;
  color:var(--black);
  font-weight:500;
}
.consult-btn{
  background:var(--black);
  color:var(--white);
  padding:10px 18px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* MENU TOGGLE (MOBILE) */
.menu-toggle{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--black);
  margin:5px 0;
}

/* HERO */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:74px;
  background-image:url('assets/Portada.jpg');
  background-size:cover;
  background-position:center;
  color:var(--white);
  text-align:center;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.55));
  z-index:1;
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:900px;
  padding:80px 24px;
}
.badge{
  display:inline-block;
  background:var(--yellow);
  color:var(--black);
  padding:10px 18px;
  border-radius:4px;
  font-weight:600;
  margin-bottom:18px;
}
.hero-title{
  font-size:72px;
  line-height:0.98;
  margin:18px 0;
  font-weight:700;
}
.hero-sub{
  font-size:18px;
  color:rgba(255,255,255,0.95);
  margin:22px 0 28px;
  line-height:1.6;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}
.primary{background:var(--yellow);color:var(--black);}
.outline{background:var(--white);color:var(--black);}

.arrow-down{
  display:inline-block;
  width:28px;
  height:28px;
  border-left:3px solid rgba(255,255,255,0.9);
  border-bottom:3px solid rgba(255,255,255,0.9);
  transform:rotate(-45deg);
  margin:auto;
  animation:bounce 2s infinite;
}
@keyframes bounce{
  0%,100%{transform:translateY(0) rotate(-45deg)}
  50%{transform:translateY(10px) rotate(-45deg)}
}

/* QUIENES SOMOS */
.quienes{
  padding:80px 0;
  background:#fff;
}
.quienes-inner{
  display:flex;
  gap:40px;
  align-items:center;
  justify-content:space-between;
}
.quienes-img img{
  width:100%;
  border-radius:6px;
  display:block;
}

/* RUBROS */
.rubros{
  text-align:center;
  padding:60px 0;
}
.rubros-cards{
  display:flex;
  gap:24px;
  justify-content:center;
  flex-wrap:wrap;
}
.rubro-card{
  background:#f4f4f4;
  border-radius:12px;
  padding:30px 20px;
  width:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:.3s;
}
.rubro-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.icon-circle{
  width:70px;
  height:70px;
  background:#f7ecc5;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:12px;
}
.icon-circle img{width:32px;}

/* SERVICIOS */
.servicios{
  background:#070707;
  color:#fff;
  padding:60px 0;
}
.cards{
  display:flex;
  gap:20px;
  justify-content:space-between;
  flex-wrap:wrap;
}
.card{
  background:#0f0f0f;
  border-radius:8px;
  overflow:hidden;
  flex:1;
  min-width:260px;
  max-width:360px;
  box-shadow:0 8px 24px rgba(0,0,0,0.5);
}

.card-thumb {
    height: 220px;           /* altura uniforme para todas */
    background-size: cover;   /* cubre el contenedor sin deformar */
    background-position: center;
    border-radius: 8px;
}

.card-body{
  padding:18px;
}
.card-body .icon{
  background:var(--yellow);
  width:44px;
  height:44px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

/* CONTACTO */
.contacto-container{
  max-width:1200px;
  margin:auto;
  padding:40px 20px;
}
.contenido{
  display:flex;
  gap:40px;
}
.informacion{flex:1;}
.formulario{
  flex:1;
  background:#fff;
  padding:30px;
  border-radius:8px;
  box-shadow:0 0 12px rgba(0,0,0,0.1);
}
form{display:flex;flex-direction:column;}

button{
  margin-top:20px;
  background:#ebb308;
  border:none;
  padding:12px;
  border-radius:6px;
  cursor:pointer;
  font-weight:bold;
}

/* FOOTER */
.footer{
  background:#000;
  padding:40px 20px;
  color:#d1d1d1;
}
.footer-container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  max-width:1200px;
  margin:auto;
  gap:30px;
}

/* ===========================
   🔥 RESPONSIVE GENERAL
   =========================== */

/* Tablets / Móviles grandes */
@media (max-width:900px){

  .nav-list{display:none;}
  .menu-toggle{display:block;}

  .main-nav{
    position:fixed;
    top:64px;
    right:0;
    width:260px;
    height:calc(100% - 64px);
    background:var(--yellow);
    padding:20px;
    flex-direction:column;
    transform:translateX(100%);
    transition:.3s;
  }

  .main-nav.open{
    transform:translateX(0);
  }

  .quienes-inner{
    flex-direction:column;
    text-align:center;
  }

  .contenido{
    flex-direction:column;
    gap:20px;
  }

  .cards{
    flex-direction:column;
    align-items:center;
  }
  .card{
    max-width:90%;
  }
}

/* Móviles pequeños */
@media (max-width:480px){
  .hero-title{font-size:38px;}
  .titulo{font-size:30px;}
}

.flushing-box {
  background: #0d0a00;          /* fondo casi negro */
  border: 1px solid #f2c100;     /* borde amarillo */
  padding: 30px;
  border-radius: 10px;
  color: #e6e6e6;                /* texto gris claro */
  max-width: 1200px;
  margin: 40px auto;
  line-height: 1.6;
}

.flushing-box h2 {
  color: #f2c100;
  font-size: 24px;
  margin-bottom: 15px;
}

.flushing-alert {
  margin-top: 25px;
  padding: 15px 20px;
  background: rgba(242, 193, 0, 0.05);  /* leve tono dorado */
  border-left: 4px solid #f2c100;       /* barra amarilla */
  border-radius: 6px;
  color: #f2c100;
  font-weight: 500;
}
.flushing-alert i {
  margin-right: 10px;
  color: #f2c100;
  font-size: 18px;
}
.footer-logo {
  width: 120px;  /* Ajustá este valor al tamaño que quieras */
  height: auto;
  display: block;
}
.card-img {
  width: 100%;
  height: 220px;           /* ALTURA IGUAL PARA TODAS */
  overflow: hidden;        /* Recorta lo que sobra */
  border-radius: 10px;     /* Opcional */
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* ADAPTA Y RECORTA SIN DEFORMAR */
  display: block;
}
@media (min-width: 768px) {
  .card-img {
    height: 260px;
  }
}
.footer-bottom{
  text-align: center;
}
.footer-title{
  color: #f2c100;   /* Tu amarillo */
}
.footer-links{
  color: #ffffff;        /* blanco */
  
}
.enclace{
  color: white;
}
.titulo{
  text-align: center;
    /* opcional: lo hace más grueso */
}

.subtitulo{
  text-align: center;
}
.section-title{
  text-align: center;
}
.P1{
  text-align: center;
}
.cobertura {
  background-color: #000; /* fondo negro */
  color: #fff;            /* texto blanco por defecto */
  padding: 20px;
  border-radius: 8px;     /* bordes redondeados */
  max-width: 600px;       /* ancho máximo opcional */
  margin: 0 auto;         /* centrado horizontal */
  text-align: center;
}

.cobertura h2 {
  color: #f2c100; /* título amarillo */
  margin-bottom: 10px;

}
.h2center{
  text-align: center;
}

.icono {
  background-color: #f2c100; /* amarillo */
  display: inline-flex;       /* para centrar el ícono dentro */
  justify-content: center;
  align-items: center;
  width: 50px;                /* tamaño del fondo */
  height: 50px;
  border-radius: 50%;         /* opcional: círculo */
  color: #000;                /* color del ícono */
  font-size: 24px;           /* tamaño del ícono */
  
}

.informacion {
  max-width: 700px;
  padding: 30px;

  border-radius: 10px;
  text-align: center;     /* centra títulos y párrafos */
}
/* Contenedor principal: imagen y texto en la misma fila */
.quienes-inner {
  display: flex;
  align-items: center;    /* alinea verticalmente imagen y texto */
  gap: 30px;              /* espacio entre texto e imagen */
  flex-wrap: wrap;        /* permite que en pantallas pequeñas se acomode */
}

/* Texto */
.quienes-text {
  flex: 1;                /* ocupa todo el espacio disponible */
}

/* Imagen */
.quienes-img {
  flex: 1;                /* ocupa la mitad del contenedor */
}

.quienes-img img {
  width: 100%;            /* ocupa todo el ancho del contenedor de imagen */
  height: auto;           /* mantiene proporción */
  border-radius: 10px;    /* opcional: bordes redondeados */
  object-fit: cover;      /* recorta proporcionalmente si es necesario */
}

/* Ajuste responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .quienes-inner {
    flex-direction: column;  /* imagen arriba, texto abajo */
    text-align: center;      /* centra el texto */
  }
  
  .quienes-img, .quienes-text {
    flex: unset;
    width: 100%;
  }

  .quienes-img img {
    max-width: 90%;         /* reduce un poco para que no toque los bordes */
    margin: 0 auto;
  }
}
.caja-resaltada {
  background-color: #fdf2b5; /* amarillo pálido */
  color: #000;               /* texto negro para buena legibilidad */
  padding: 20px;             /* espacio interno */
  border-radius: 10px;       /* bordes redondeados */
  margin-top: 20px;          /* separación del texto anterior */
  line-height: 1.6;          /* mejor lectura */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* sombra opcional */
}

#titloquienes{
  text-align: center;
  font-size: 40px;      /* tamaño del título, puedes ajustar */
  font-weight: bold;    /* opcional: lo hace más grueso */
}
/* Contenedor principal */
.informacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
}

/* Títulos h2 */
.informacion h2 {
   font-size: 22px !important;
    font-weight: 600;
    font-weight: bold;
    margin-bottom: 20px;
    color:  #000;
    

}

/* Items de información */
.info-item {
    display: flex;
    align-items: center;  /* alinea icono y texto verticalmente */
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

/* Círculo amarillo para icono */
.icono {
    background-color: #f2c100;
    color: #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* Contenedor de texto dentro de info-item */
.info-item > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center; /* asegura que h3 y p estén centrados verticalmente */
    text-align: left;        /* alineamos texto a la izquierda del bloque */
}

/* h3 y p */
.info-item h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.info-item p {
    margin: 0;
    font-size: 16px;
    color: #000;
}

/* Cobertura */
.cobertura p {
    max-width: 600px;
    margin: 0 auto;
}

/* Formulario */

.formulario {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* ✔ alinea todo hacia la izquierda */
    text-align: left;          /* ✔ textos alineados */
    width: 100%;
    max-width: 500px;
}

.formulario form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.formulario button {
    padding: 12px;
    font-size: 16px;
    background-color: #f2c100;
    border: none;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

.formulario button i {
    margin-right: 8px;
}
.cobertura h2 {
    color: #f2c100; /* amarillo */
    font-size: 32px;
}
.footer-col .footer-links a {
    color: white;
    text-decoration: none;
}
/* Reduce espacio entre subtítulo y la información */
#contacto .subtitulo {
    margin-bottom: 10px !important;
}

#contacto .informacion h2 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

/* === RECUADRO DE INFORMACIÓN DE CONTACTO === */

.informacion {
    background: #ffffff;           /* fondo blanco como el formulario */
    border-radius: 10px;           /* bordes redondeados */
    padding: 30px 40px;            /* espacio interno */
    box-shadow: 0 0 12px rgba(0,0,0,0.15); /* sombra ligera */
    max-width: 600px;              /* mismo ancho visual del formulario */
    margin: 0 auto 40px auto;      /* centrado + espacio abajo */
}

/* Título */
.informacion h2 {
    font-size: 24px !important;
    margin-bottom: 20px;
}

/* Espaciado entre items */
.informacion .info-item {
    background: #f7f7f7;           /* recuadro suave individual (opcional) */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Separación entre cada item */
.informacion .info-item + .info-item {
    margin-top: 15px;
}

/* Ícono */
.informacion .icono {
    width: 50px;
    height: 50px;
    background: #f2c100;
    color: #000;
}

/* Alineación del texto */
.informacion .info-item h3 {
    font-size: 18px;
}

.informacion .info-item p {
    font-size: 15px;
    color: #444;
}

@media (min-width: 768px) {
  .card-thumb {
    height: 260px;
  }
}
