@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;

}

body {
    font-family: 'Poppins', sans-serif;
}

html{
  scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background-image:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("images/Foto\ 10.jpeg"); /* 🔴 FOTO REAL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== MENU ===== */
.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
}

.menu .navbar ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

.menu .navbar ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.menu .navbar ul li a:hover {
    color: #165db9;
}

/* ===== HERO ===== */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* LOGO HERO */
.hero-logo {
    max-width: 260px;
    margin-bottom: 25px;
}

/* TITULO */
.header-title {
    font-size: 56px;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.header-title:hover {
    color: #165db9;
}

/* TEXTO */
.header-text {
    max-width: 850px;
    font-size: 15px;
    line-height: 1.7;
    color: #e5e7eb;
    margin-bottom: 35px;
}

/* BOTÓN */
.btn-1 {
    padding: 12px 35px;
    background-color: #165db9;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-1:hover {
    background-color: #0e4995;
}

/* ===== RESPONSIVE ===== */
#menu { display: none; }

.menu label { display: none; }

@media (max-width: 900px) {

    .menu {
        justify-content: flex-end;
        padding: 20px;
    }

    .menu label {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 80px;
        width: 100%;
        background: rgba(0,0,0,0.95);
        display: none;
    }

    #menu:checked ~ .navbar {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        padding: 25px 0;
        gap: 20px;
        align-items: center;
    }

    .header-title {
        font-size: 38px;
    }

    .hero-logo {
        max-width: 200px;
    }
}

/* Sección de Construcción  */

.construction {
    padding: 100px 0;
    background-color: #E1E2E6;
    position: relative;
}

.construction-content {
    text-align: center;
}

/* Título principal */
.construction-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.construction-content h2:hover {
    color: #165db9;
}

/* Texto descriptivo */
.txt-p {
    font-size: 16px;
    color: #414247;
    padding: 0 250px;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Contenedor de las cards */
.construction-group {
    display: flex;
    gap: 30px;                 /* ✅ espacio uniforme entre cards */
    justify-content: center;   /* ✅ evita estiramientos */
    align-items: stretch;
    margin-bottom: 50px;
}

/* Card individual */
.construction-1 {
    flex: 1;
    max-width: 360px;          /* ✅ control del ancho */
    text-align: center;
}

/* Imagen */
.construction-1 img {
    width: 100%;
    height: 220px;             /* ✅ altura consistente */
    object-fit: cover;         /* ✅ buen encuadre */
    border-radius: 12px;       /* ✅ estética */
    display: block;
}

/* Título de la card */
.construction-1 h3 {
    font-size: 20px;
    color: #323337;
    margin: 18px 0 12px;
    transition: color 0.3s ease;
}

.construction-1 h3:hover {
    color: #165db9;
}

/* Texto de la card */
.construction-1 p {
    font-size: 15px;
    line-height: 1.6;
    color: #414247;
    padding: 0 10px;
}

/* Responsive */
@media (max-width: 1100px) {
    .construction-content h2,
    .txt-p {
        padding: 0 80px;
    }
}

@media (max-width: 900px) {
    .construction-group {
        flex-direction: column;
        align-items: center;
    }

    .construction-1 {
        max-width: 100%;
    }

    .construction-content h2,
    .txt-p {
        padding: 0 30px;
    }

    .construction-content h2 {
        font-size: 40px;
        line-height: 52px;
    }
}

/* Sección de Transporte */
/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 100px 60px;
  background: #fff;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 30px;
}

.gallery-tag {
  font-size: 13px;
  border: 1px solid #ddd;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.gallery-title {
  font-size: 48px;
  line-height: 1.1;
  transition: color 0.3s;
}

.gallery-description {
  max-width: 260px;
  font-size: 14px;
  color: #555;
  transition: color 0.3s;
}

/* Hover color solicitado */
.gallery-title:hover,
.gallery-description:hover {
  color: #165db9;
}

/* ===== GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* tamaños especiales */
.item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.item-2 {
  grid-column: span 2;
}

/* ===== LIGHTBOX CSS ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 38px;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .item-1,
  .item-2 {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .gallery-section {
    padding: 70px 20px;
  }

  .gallery-title {
    font-size: 36px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .item-1,
  .item-2 {
    grid-column: span 1;
  }
}
/* Sección de Renta de Bodegas */

/* ====== VISUAL DIARY (igual a la referencia) ====== */
.vdiary{
  padding: 110px 0 90px;
  background: #E1E2E6;
  text-align: center;
}

.vdiary-tag{
  display:block;
  font-size: 12px;
  letter-spacing: 1px;
  color:#6b7280;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.vdiary-title{
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 14px;
  transition: color .25s ease;
}
.vdiary-title:hover{
  color:#165db9; /* hover solicitado */
}

.vdiary-subtitle{
  font-size: 15px;
  color:#6b7280;
  line-height: 1.6;
  margin: 0 0 60px;
}

/* ====== SLIDER CORE ====== */
.vdiary-slider{
  --w: 560px;      /* ancho tarjeta */
  --h: 360px;      /* alto tarjeta  */
  --half: 280px;   /* mitad de --w  */
  --step: 380px;   /* paso por slide (por overlap) */
  overflow: hidden;
  padding: 10px 0 30px;
}

.vdiary-track{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2,.9,.2,1);
  padding: 0 40px;
}

/* Tarjeta */
.vdiary-card{
  width: var(--w);
  height: var(--h);
  border-radius: 26px;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
  position: relative;

  /* Overlap tipo la imagen (se montan entre sí) */
  margin: 0 -90px;

  /* estado base (atrás) */
  transform: scale(.88);
  opacity: .55;
  filter: saturate(.95);
  transition: transform .45s ease, opacity .45s ease, filter .45s ease, box-shadow .45s ease;
}

/* Imagen */
.vdiary-open{
  display:block;
  width:100%;
  height:100%;
  text-decoration:none;
}
.vdiary-card img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* ====== POSICIONAR “CENTRO” según radio ====== */
#vd1:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (0 * var(--step)))); }
#vd2:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (1 * var(--step)))); }
#vd3:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (2 * var(--step)))); }
#vd4:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (3 * var(--step)))); }
#vd5:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (4 * var(--step)))); }
#vd6:checked ~ .vdiary-slider .vdiary-track{ transform: translateX(calc(50% - var(--half) - (5 * var(--step)))); }

/* ====== DESTACAR slide activo y vecinos ====== */
#vd1:checked ~ .vdiary-slider .vdiary-card:nth-child(1),
#vd2:checked ~ .vdiary-slider .vdiary-card:nth-child(2),
#vd3:checked ~ .vdiary-slider .vdiary-card:nth-child(3),
#vd4:checked ~ .vdiary-slider .vdiary-card:nth-child(4),
#vd5:checked ~ .vdiary-slider .vdiary-card:nth-child(5),
#vd6:checked ~ .vdiary-slider .vdiary-card:nth-child(6){
  transform: scale(1.08);
  opacity: 1;
  filter: saturate(1.05);
  z-index: 5;
  box-shadow: 0 28px 60px rgba(0,0,0,.22);
}

/* vecinos (look “detrás” como en la referencia) */
#vd2:checked ~ .vdiary-slider .vdiary-card:nth-child(1),
#vd3:checked ~ .vdiary-slider .vdiary-card:nth-child(2),
#vd4:checked ~ .vdiary-slider .vdiary-card:nth-child(3),
#vd5:checked ~ .vdiary-slider .vdiary-card:nth-child(4),
#vd6:checked ~ .vdiary-slider .vdiary-card:nth-child(5),
#vd1:checked ~ .vdiary-slider .vdiary-card:nth-child(2),
#vd2:checked ~ .vdiary-slider .vdiary-card:nth-child(3),
#vd3:checked ~ .vdiary-slider .vdiary-card:nth-child(4),
#vd4:checked ~ .vdiary-slider .vdiary-card:nth-child(5),
#vd5:checked ~ .vdiary-slider .vdiary-card:nth-child(6){
  transform: scale(.95);
  opacity: .8;
  z-index: 3;
}

/* Hover opcional sobre cualquier card */
.vdiary-card:hover{
  opacity: .95;
  transform: scale(.98);
  filter: saturate(1.02);
}

/* ====== NAV (flechas abajo en círculos) ====== */
.vdiary-nav{
  display:flex;
  justify-content:center;
  gap: 14px;
  margin-top: 10px;
}

/* Botones */
.vdiary-btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #2f2f2f;
  display:none; /* por defecto ocultos, se activan por slide */
  align-items:center;
  justify-content:center;
  font-size: 24px;
  line-height: 1;
  cursor:pointer;
  user-select:none;
  transition: all .2s ease;
  background:#fff;
}
.vdiary-btn:hover{
  border-color:#165db9;
  color:#165db9;
}

/* Mostrar el par correcto según slide activo */
#vd1:checked ~ .vdiary-nav .prev-1,
#vd1:checked ~ .vdiary-nav .next-1{ display:flex; }

#vd2:checked ~ .vdiary-nav .prev-2,
#vd2:checked ~ .vdiary-nav .next-2{ display:flex; }

#vd3:checked ~ .vdiary-nav .prev-3,
#vd3:checked ~ .vdiary-nav .next-3{ display:flex; }

#vd4:checked ~ .vdiary-nav .prev-4,
#vd4:checked ~ .vdiary-nav .next-4{ display:flex; }

#vd5:checked ~ .vdiary-nav .prev-5,
#vd5:checked ~ .vdiary-nav .next-5{ display:flex; }

#vd6:checked ~ .vdiary-nav .prev-6,
#vd6:checked ~ .vdiary-nav .next-6{ display:flex; }

/* ====== LIGHTBOX (click abre imagen grande) ====== */
.vdiary-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index: 9999;
}
.vdiary-lightbox:target{
  opacity:1;
  pointer-events:auto;
}
.vdiary-lightbox img{
  max-width: 90%;
  max-height: 86%;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}
.vdiary-close{
  position:absolute;
  top: 26px;
  right: 40px;
  font-size: 42px;
  color:#fff;
  text-decoration:none;
  font-weight: 700;
  line-height: 1;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px){
  .vdiary-title{ font-size: 36px; }
  .vdiary-subtitle{ margin-bottom: 45px; }

  .vdiary-slider{
    --w: 460px;
    --h: 320px;
    --half: 230px;
    --step: 320px;
  }
  .vdiary-card{ margin: 0 -70px; border-radius: 22px; }
}

@media (max-width: 560px){
  .vdiary{ padding: 80px 0 70px; }
  .vdiary-title{ font-size: 30px; }
  .vdiary-subtitle{ font-size: 14px; }

  .vdiary-slider{
    --w: 320px;
    --h: 240px;
    --half: 160px;
    --step: 230px;
  }
  .vdiary-card{ margin: 0 -45px; border-radius: 18px; }
}



/* sECCIÓN DE Construcción */

/* CLICK VISUAL */
.construction-1 a img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.construction-1 a img:hover {
    transform: scale(1.03);
}

/* MODAL SOLO CSS */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

/* Mostrar modal con :target */
.modal:target {
    opacity: 1;
    pointer-events: auto;
}

/* Imagen del modal */
.modal img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    animation: zoom 0.3s ease;
}

/* Animación */
@keyframes zoom {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Botón cerrar */
.modal .close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}






/* =======================
   SECCIÓN MISIÓN / VISIÓN
========================== */

.general {
    display: flex;
    min-height: 450px;
    width: 100%;
}

/* TEXTO */
.general-1 {
    width: 50%;
    padding: 90px 120px;
    background-color: #fdfdfd;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TÍTULOS */
.general-1 h2 {
    font-size: 48px;
    line-height: 1.2;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.general-1 h2:hover {
    color: #165db9;
}

/* TEXTO */
.general-1 p {
    font-size: 15px;
    color: #414247;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.general-1 p:hover {
    color: #165db9;
}

/* IMAGEN MISIÓN */
.general-2 {
    width: 50%;
    min-height: 450px;
    background-image: url(images/Foto\ 3.jpeg);
    background-position: center center; /* ✅ centrada */
    background-repeat: no-repeat;
    background-size: cover;           /* ✅ encuadre correcto */
    transition: transform 0.5s ease;
}

/* IMAGEN VISIÓN */
.general-3 {
    width: 50%;
    min-height: 450px;
    background-image: url(images/Foto\ 4.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.5s ease;
}

/* HOVER EN IMÁGENES */
.general-2:hover,
.general-3:hover {
    transform: scale(1.03);
}

/* =======================
   RESPONSIVE
========================== */
@media (max-width: 1000px) {
    .general {
        flex-direction: column;
    }

    .general-1,
    .general-2,
    .general-3 {
        width: 100%;
    }

    .general-1 {
        padding: 70px 40px;
        text-align: center;
    }

    .general-2,
    .general-3 {
        min-height: 320px;
    }

    .general-1 h2 {
        font-size: 34px;
    }
}

/* Sección de Valores --------------------------------------- */

:root{
  --brand:#165db9;
  --text:#111;
  --muted:#666;
  --panel:#ffffff;
  --cream:#fff3cf;
  --radius:10px;
}

/* ===== Sección ===== */
.services-section{
  padding: 80px 10%;
  background: var(--panel);
}

/* Contenedor para que todo quede centrado como en tu referencia */
.services-section{
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== Título centrado + hover ===== */
.section-title{
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .5px;
  margin: 0 0 55px;
  color: var(--text);
  transition: color .25s ease;
}

.section-title:hover{
  color: var(--brand);
}

/* ===== Layout 4 - imagen - 3 ===== */
.services-layout{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}

/* Columnas */
.accordion-column{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== Imagen centro ===== */
.services-image{
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-image img{
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
  display: block;
}

/* ===== Accordion estilo (mejor colores) ===== */
.accordion-item{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: transparent;
}

/* Summary = “barra” amarilla */
.accordion-item summary{
  background: var(--brand);
  color: #fff;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  transition: filter .2s ease;
}

/* Quitar marcador default */
.accordion-item summary::-webkit-details-marker{ display:none; }

/* Flecha */
.accordion-item summary::after{
  content:"▾";
  position:absolute;
  right:16px;
  top:50%;
  transform: translateY(-50%);
  transition: transform .25s ease;
  font-size: 14px;
  opacity: .95;
}

/* Abierto -> gira flecha */
.accordion-item[open] summary::after{
  transform: translateY(-50%) rotate(180deg);
}

/* Hover en barra */
.accordion-item summary:hover{
  filter: brightness(0.95);
}

/* Cuerpo */
.accordion-body{
  background: var(--cream);
}

.accordion-item p{
  margin: 0;
  padding: 14px 18px 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .services-layout{
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .services-image{
    order: -1;
  }
}

/* Sección Horarios ------------------------------------ */
/* ==========================================================================
   SECCIÓN HORARIOS – RESPONSIVE MEJORADO
   ========================================================================== */

.blog {
  width: 100%;
  background-color: #E1E2E6; /* ✅ ahora cubre TODO */
  padding: 90px 0;
}

/* El container ahora solo centra el contenido */
.blog .container {
  padding: 0 20px;
  text-align: center;
}
/* TÍTULO */
.blog h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.blog h2:hover {
  color: #165db9;
}

/* TEXTO DESCRIPTIVO */
.blog-desc {
  max-width: 760px;
  margin: 0 auto 55px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  transition: color 0.3s ease;
}

.blog-desc:hover {
  color: #165db9;
}

/* CONTENEDOR CARDS */
.blog-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

/* CARD */
.blog-1 {
  text-align: center;
  background: transparent;
}

/* IMAGEN */
.blog-1 img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.blog-1 img:hover {
  transform: scale(1.06);
}

/* TÍTULO CARD */
.blog-1 h3 {
  font-size: 20px;
  color: #323337;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.blog-1 h3:hover {
  color: #165db9;
}

/* HORARIO */
.blog-1 p {
  font-size: 15px;
  color: #555;
  transition: color 0.3s ease;
}

.blog-1 p:hover {
  color: #165db9;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .blog-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MÓVIL ===== */
@media (max-width: 480px) {
  .blog-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .blog h2 {
    font-size: 28px;
  }

  .blog-desc {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .blog-1 img {
    max-width: 100%;
    height: 220px;
  }
}

/* Sección del Footer -------------------------- */
.footer {
  background: linear-gradient(
    to bottom,
    #165db9 0%,
    #165db9 35%,
    #2a2a2a 65%,
    #1c1c1c 100%
  );
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
}

/* FUERZA TEXTO BLANCO EN TODO EL FOOTER */
.footer,
.footer * {
  color: #ffffff !important;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-col a {
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Contacto */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Redes sociales – estilo elegante */
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.social-icons a:hover svg {
  fill: #cfe1ff;
  transform: translateY(-2px);
  opacity: 1;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
}

/* =====================================
   BOTONES FLOTANTES – WHATSAPP + TOP
   ===================================== */

/* WhatsApp */
.float-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.float-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

/* Botón subir */
.float-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  background-color: #165db9;
  color: #fff;
  font-size: 26px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

/* Vacantes*/
/* OVERLAY */
.overlay {
    background: rgba(0,0,0,0.6);
    padding: 30px;
    text-align: center;
    color: white;
    border-radius: 10px;
}

/* SECTION */
.vacantes {
    padding: 60px 20px;
}

.vacantes h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.card h3 {
    padding: 15px;
    font-size: 1.3rem;
}

.card p {
    padding: 0 15px 10px;
    color: #555;
}

/* BOTÓN WHATSAPP */
.btn-contacto {
    margin: 15px;
    padding: 12px;
    text-align: center;
    text-decoration: none;

    background: #165db9; /* WhatsApp */
    color: white !important;

    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* HOVER */
.btn-contacto:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .overlay h1 {
        font-size: 2rem;
    }

    .overlay p {
        font-size: 1rem;
    }
}

@media(max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .overlay h1 {
        font-size: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}



/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .float-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 85px;
    right: 16px;
  }

  .float-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  .float-top {
    width: 46px;
    height: 46px;
    font-size: 22px;
    right: 16px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}




/* Responsive */
@media (max-width: 768px){
  .footer-container{
    text-align: center;
  }
}


@media (max-width: 991px){
  .menu{
    padding: 30px;
  }
  .menu label{
    display: initial;
  }

  .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #323337;
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .menu .navbar{
    width: 100%;
  }

  #menu:checked ~ .navbar{
    display: initial;
  }

  .header{
    min-height: 0vh;
  }

  .header-content{
    padding: 100px 30px;
  }

  .header-content p{
    padding: 0;
  }

  .construction{
    padding: 30px;
  }

  .construction-content h2{
    padding: 0;
  }

  .txt-p{
    padding: 0;
  }

  .construction-group{
    flex-direction: column;
    margin-bottom: 0;
  }

  .construction-img{
    display: none;
  }

  .services{
    padding: 30px;
  }

  .services-content p{
    padding: 0;
  }

  .services-group{
    flex-direction: column;
    margin-bottom: 0;
  }

  .service-1{
    margin-bottom: 25px;
  }

  .general{
    flex-direction: column;
  }

  .general-1{
    width: 100%;
    padding: 30px;
    text-align: center;
  }

  .general-2, .general-3{
    display: none;
  }

  .blog{
    padding: 30px;
  }

  .blog-content{
    flex-direction: column;
    gap: 25px;
  }

  .blog-1{
    padding: 0;
  }



}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 480px) {

  /* Ocultar título gigante */
  .hero h1 {
    display: none;
  }

  /* Ajustar padding del hero */
  .header-content {
    padding: 80px 20px;
  }

  /* Texto más legible */
  .header-content p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
  }

  /* Botón centrado y cómodo */
  .btn-1 {
    font-size: 16px;
    padding: 12px 28px;
  }

  /* Logo un poco más pequeño */
  .logo-img {
    width: 70px;
  }
}

/* ===== MENÚ MÓVIL MEJORADO ===== */
@media (max-width: 991px){

  .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(25,25,25,0.95);
    backdrop-filter: blur(6px);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .navbar ul{
    width: 100%;
    text-align: center;
  }

  .navbar ul li a{
    padding: 14px 0;
    font-size: 18px;
    display: block;
  }

  .navbar ul li a:hover{
    background-color: rgba(255,255,255,0.08);
  }

  #menu:checked ~ .navbar{
    display: flex;
  }
}

/* ===== FOOTER MOBILE ===== */
@media (max-width: 480px){
  .footer-logo {
    font-size: 20px;
  }

  .footer-col p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

:root{
  --menu-height: 110px;
}

/* HERO – deja espacio arriba */
.hero{
  padding-top: calc(var(--menu-height) + 30px);
}

/* Ajustes específicos para móvil */
@media (max-width: 480px){

  /* El menú en móvil es un poco más alto visualmente */
  :root{
    --menu-height: 120px;
  }

  .hero{
    padding-top: calc(var(--menu-height) + 20px);
  }

  /* Por seguridad, separa aún más el título */
  .hero h1{
    margin-top: 10px;
  }
}
