@import url('https://fonts.cdnfonts.com/css/bebas-neue');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@700&display=swap');

/* 1200 x 780 */

.btn{
  align-items: center;
}
body{
    margin: 0;
    font-size: 15px;
    background-color:white ;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}
svg{
    color: #fff;
}
:root{
  --width-default: min(1200px, 90vw);
  --diameter: min(1400px, 160vw); /* círculo grande estable */
}

.logo img{
    width: 200px;
}
header{
    width: var( --width-default);
    height: 70px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.slider{
    color: #eee;
    width: 100%;
    height: 520px; /* 🔒 fijo → estable con zoom */
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

/* ================= ITEMS ================= */
.slider .list .item{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
    pointer-events: none;
    opacity: 0;
}

.slider .list .item.active{
    pointer-events: auto;
    opacity: 1;
}

/* ================= CONTENIDO ================= */
.slider .list .item .content{
    position: absolute;
    top: 50%;                 /* 🔧 antes 20% */
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 900px);   /* 🔧 antes max-content */
    text-align: center;
    display: grid;
    gap: 30px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-family: Poppins;
    text-shadow: 0 0 80px #000;
    z-index: 2;
}

.slider .list .item .content h2{
    font-size: 3em;
    font-family: 'Lato', sans-serif;
    line-height: 0.9em;
    transform: translateY(-100%);
    transition: transform 1s;
    grid-row: 1 / 3;
    text-align: center;
}

.slider .list .item .content h1{
    font-size: 3em;
    font-family: 'Lato', sans-serif;
    line-height: 0.9em;
    transform: translateY(-100%);
    transition: transform 1s;
    grid-row: 1 / 3;
    text-align: center;
}

.slider .list .item.active .content h2{
    transform: translateY(0);
}

.slider .list .item.active .content h1{
    transform: translateY(0);
}

.slider .list .item .content p{
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.slider .list .item .content p:last-child{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 25px;
}

/* ================= IMAGEN CIRCULAR ================= */
.slider .list .item .image{
    position: absolute; /* 🔧 clave */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-60deg);
    width: var(--diameter);
    height: var(--diameter);
    background-image: var(--url);
    background-size: var(--diameter) var(--diameter);
    background-position: center;
    border-radius: 50%;
    transition: 1s;
    filter: blur(30px);
    z-index: 1;
}

/* círculos internos */
.slider .list .item .image::before, 
.slider .list .item .image::after{
    position: absolute;
    content: '';
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-120deg);
    background-image: 
        linear-gradient(to right, #0004, #0004),
        var(--url);
    background-size: var(--diameter) var(--diameter);
    background-position: center;
    transition: 1s;
}

.slider .list .item .image::before{
    width: 70%;
    height: 70%;
}

.slider .list .item .image::after{
    width: 30%;
    height: 30%;
    background-image: var(--url);
    border: 3px solid #fff2;
    transform: translate(-50%, -50%) rotate(-170deg);
}

/* ================= ACTIVO ================= */
.slider .item.active .image{
    filter: blur(0);
    transform: translate(-50%, -50%) rotate(0deg);
}

.slider .item.active .image::before,
.slider .item.active .image::after{
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ================= ITEMS POSTERIORES ================= */
.slider .list .item.active ~ .item{
    opacity: 0;
}

.slider .item.active ~ .item .image{
    transform: translate(-50%, -50%) rotate(60deg);
}

.slider .item.active ~ .item .image::before{
    transform: translate(-50%, -50%) rotate(120deg);
}

.slider .item.active ~ .item .image::after{
    transform: translate(-50%, -50%) rotate(170deg);
}

.slider .list .item.active ~ .item .content h2{
    transform: translateY(100%);
}

.slider .list .item.active ~ .item .content h1{
    transform: translateY(100%);
}

/* ================= ARROWS ================= */
.arrows{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    width: var(--width-default);
    display: flex;
    justify-content: space-between;
    z-index: 5;
}

.arrows button{
    all: unset;
    cursor: pointer;
}

.arrows button.d-none{
    opacity: 0;
    pointer-events: none;
}

/* ================= DECORACIÓN ================= */
.slider .list::after{
    position: absolute;
    content: '';
    bottom: 0;
    width: min(1000px, 100vw);
    height: 70%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: showModel 1s ease-in-out forwards;
}

@keyframes showModel{
    from{
        transform: translateX(-50%) scale(1.3) translateY(88px);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px){
    .slider{
        height: 560px;
        margin-top: 15px;
    }

    .slider .list .item .content h2{
        font-size: 2em;
    }

    .slider .list .item .content h1{
        font-size: 2em;
    }

    .slider .list .item .content p{
        font-size: 14px;
    }
}

@media (max-width: 767px){
    .slider{
        height: 460px;
        margin-top: 20px;
    }

    .slider .list .item .content{
        gap: 10px;
    }

    .slider .list .item .content h2{
        font-size: 1.4em;
    }

    .slider .list .item .content h1{
        font-size: 1.4em;
    }
    .slider .list .item .content p{
        font-size: 0.7em;
    }
}








/* Footer Styles */
.footer {
    background-color: #0f172a;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
  }
  
  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e67e22;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: #fff;
  }
  
  .footer-col.logo h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .footer-col.logo p {
    color: #bbb;
  }
  
  .redes-sociales a {
    color: #e67e22;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
  }
  
  .redes-sociales a:hover {
    color: #fff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
  }

  .redes-sociales a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #fff; /* Naranja */
    transition: color 0.3s ease;
  }
  
  .redes-sociales a:hover {
    color: #e67e22;
  }
  
  

  .servicios {
    padding: 60px 40px;
    background-color: #fff;
  }
  
  .servicios h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #2c3e50;
  }
  
  .grid-servicios {
    display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 por fila */
  gap: 30px;
  }
  
  .tarjeta-servicio {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 19rem;
  }
  
  .tarjeta-servicio:hover {
    transform: translateY(-5px);
  }
  
  .tarjeta-servicio img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
  }
  
  .contenido {
    padding: 10px;
    position: relative;
  }
  
  .contenido h3 {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 10px;
  }
  
  .contenido .resumen {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
  }
  
  .info-extra {
    font-size: 0.95em;
    color: #777;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .tarjeta-servicio:hover .info-extra {
    max-height: 200px;
  }
  
  .btn-saber-mas {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #e67e22;
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .tarjeta-servicio:hover .btn-saber-mas {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Modo móvil: mostrar todo desde el inicio */
  @media (max-width: 768px) {
    .info-extra {
      max-height: none;
    }
  
    .btn-saber-mas {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 1024px) {
    .grid-servicios {
      grid-template-columns: repeat(2, 1fr); /* 2 por fila en pantallas medianas */
    }
  }
  
  @media (max-width: 767px) {
    .grid-servicios {
      grid-template-columns: 1fr; /* 1 por fila en móviles */
    }
  }
  .tarjeta-servicio {
    
    max-height: 38rem;
  }

  
  
  /* Estilo general */
  .coverage-section {
    background: linear-gradient(135deg, #e96646, #fc9d55);
    color: white;
    padding: 60px 20px;
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .col-left {
    width: 50%;
  }

  .col-left h2 {
    font-family: 'Playfair Display', serif;
  font-size: 38px;
  letter-spacing: -1px;
}

.col-left p {
    font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: white;
}
  
  .col-right {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .map-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .map-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
  
  /* Tipografía */
  h2 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .row {
      flex-direction: column-reverse;
    }
  
    .col-left,
    .col-right {
      width: 100%;
    }
  
    h2 {
      font-size: 24px;
    }
  }