:root{
  --blue-900:#133d61;
  --blue-600:#264fff;
  --blue-300:#00b7fd;
  --black:#000000;
  --white:#00b7fd;
  --bg:#ffffff;
  --text:#1a1f2b;
  --muted:#5b6375;
  --radius:16px;
  --radius-lg:24px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow-sm:0 6px 18px rgba(0,0,0,.06);
  --ring:0 0 0 3px rgba(38,79,255,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;display:block}
a{color:var(--blue-600);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1120px, 92%);margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:1000;background:var(--white);transition:box-shadow .3s ease;
}
.site-header.is-scrolled{box-shadow:var(--shadow-sm)}
.nav{
  display:flex;align-items:center;justify-content:space-between;padding:24px 0;
}
.logo{font-weight:800;letter-spacing:.5px;color:var(--blue-900);font-size:1.25rem}
.logo span{color:var(--blue-300)}
.primary-nav{display:flex;gap:24px;align-items:center}
.nav-link{color:#2d3340}
.btn{display:inline-block;padding:.75rem 1rem;border-radius:999px;border:1px solid transparent;box-shadow:none;transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg, var(--blue-600), var(--blue-300));color:white;box-shadow:var(--shadow)}
.btn-ghost{border-color:#e6e8ef;color:var(--blue-900);background:#fff}
.header-actions{display:flex;align-items:center;gap:10px}
.lang-switch{border:1px solid #e6e8ef;background:#fff;color:#6b7280;border-radius:999px;padding:.5rem .8rem;cursor:not-allowed;opacity:.75}
.menu-toggle{display:none;background:none;border:0;padding:.25rem .4rem;cursor:pointer}
.menu-toggle span{display:block;width:22px;height:2px;background:#1f2937;margin:5px 0;transition:.2s}

/* ======= Hero ======= */
.hero{
  position:relative;
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(15,182,251,.12), transparent 60%),
    radial-gradient(900px 300px at 90% -20%, rgba(38,79,255,.10), transparent 60%);
  padding:64px 0 24px;
}

/* Hero: layout balanceado (texto 65% / info 35%) */
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap:32px;
  align-items:center;
  padding:0; /* el padding queda en .container */
}


.hero h1, .hero-title {
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 10px;

  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.accent{background:linear-gradient(135deg, var(--blue-600), var(--blue-300));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);max-width:58ch;margin-bottom:18px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.badges{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.badge{background:#f1f5ff;border:1px solid #e1e8ff;color:#2f3a68;border-radius:999px;padding:.35rem .6rem;font-weight:600;font-size:.85rem}
.hero-visual{position:relative;min-height:280px}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: 360px;
  z-index: 1;
}
.hero-visual .kpi {
  position: static;
  animation: floatKpi 6s ease-in-out infinite;
}


.orb{position:absolute;filter:blur(6px);opacity:.8;border-radius:50%}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.kpi{position:absolute;left:20px;bottom:16px;background:#fff;border:1px solid #eef1f7;border-radius:18px;padding:16px 18px;box-shadow:var(--shadow);min-width:110px}
.kpi.alt{left:auto;right:210px;bottom:auto;top:10px}
.kpi-value{font-weight:800;font-size:1.4rem;color:var(--blue-900)}
.kpi-label{color:var(--muted);font-size:.9rem}

/* === Animaciones flotantes para los KPI === */
.kpi{ animation: floatKpi 6s ease-in-out infinite; }
@keyframes floatKpi{
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-10px); }
}

.hero-visual{ min-height: 360px; }

.kpi{ z-index: 3; }                
.kpi.alt{ right: 200px; top: 16px; }

.kpi {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  max-width: 130px;
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #eef1f7;
  box-shadow: var(--shadow);
  border-radius: 18px;
  z-index: 3;
}


.section-title{font-size:1.8rem;margin:0 0 14px}
.services{padding:28px 0 22px}
.grid.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid #eef1f7;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(0,0,0,.10);border-color:#e2e8f8}
.card .icon{color:var(--blue-600);background:linear-gradient(135deg, rgba(38,79,255,.10), rgba(15,182,251,.10));border-radius:12px;padding:10px;width:max-content;margin-bottom:10px}

.cta-band{padding:36px 0}
.cta-grid{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg, rgba(19,61,97,.06), rgba(15,182,251,.06));border:1px solid #e7effc;border-radius:var(--radius-lg);padding:20px 22px}

.highlights{padding:10px 0 46px}
.highlights-grid{grid-template-columns:repeat(3,1fr)}

.page-hero{padding:38px 0 10px;background:linear-gradient(135deg, rgba(38,79,255,.06), rgba(15,182,251,.06));border-bottom:1px solid #e9effd}
.page-hero .lead{color:var(--muted)}

.service-sections{display:grid;gap:24px;padding:28px 0 40px}
.service-block{background:#fff;border:1px solid #eef1f7;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.checklist{padding-left:1.1rem}
.checklist li{margin:.25rem 0;list-style:"✓ ";color:#1f2937}

.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:28px 0 34px}
.bullets{padding-left:1.1rem}
.bullets li{list-style:"– "}
.team .cards{grid-template-columns:repeat(3,1fr)}

.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;padding:26px 0 40px}
.field{display:flex;flex-direction:column;gap:6px}
.field input,.field textarea{
  border:1px solid #e6e8ef;border-radius:12px;padding:.9rem .9rem;font:inherit;outline:none;transition:border-color .2s, box-shadow .2s;
}
.field input:focus,.field textarea:focus{border-color:var(--blue-600);box-shadow:var(--ring)}
.field .error{color:#b42318;display:none}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.actions{display:flex;align-items:center;gap:12px;margin-top:8px}
.map-skeleton{height:220px;border-radius:16px;border:1px dashed #d0d6ea;background:repeating-linear-gradient(45deg,#f8faff,#f8faff 12px,#f1f5ff 12px,#f1f5ff 24px)}

.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:28px 0 40px}
.news-meta{color:#6b7280;font-size:.9rem;margin-bottom:6px}

.site-footer{border-top:1px solid #eef1f7;background:#fff;margin-top:8px}
.footer-grid{display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:18px;padding:24px 0 16px}
.logo.small{font-size:1.1rem}
.legal{border-top:1px solid #eef1f7;padding:10px 0;color:#6b7280;font-size:.95rem}

.reveal-on-scroll{opacity:0;transform:translateY(12px);animation:fadeUp .7s ease forwards}
.reveal-on-scroll.delay-1{animation-delay:.12s}
.reveal-on-scroll.delay-2{animation-delay:.24s}
.reveal-on-scroll.delay-3{animation-delay:.36s}
@keyframes fadeUp{to{opacity:1;transform:none}}

@media (max-width: 980px){
  .grid.cards{grid-template-columns:repeat(2,1fr)}
  .hero-grid{grid-template-columns:1fr}
  .kpi.alt{right:20px}
  .highlights-grid,
  .about-grid,
  .team .cards,
  .news-grid{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}

  .primary-nav{
    position:fixed;
    inset:60px 0 auto 0;
    background:#fff;
    border-top:1px solid #eef1f7;
    display:none;
    flex-direction:column;
    padding:12px;

      
  .hero { padding: 44px 0 12px; }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-content{
    max-width: none;
    margin: 0 12px;                
    padding: 20px 16px;           
    border-radius: 16px;
    background: rgba(255,255,255,.82); 
    backdrop-filter: blur(6px);
  }

  .hero-lead{
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .hero-cta{
    gap: 10px;
  }
  .hero-cta .btn{
    padding: .7rem 1rem;
  }

  .transport-switch{
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .transport-switch::-webkit-scrollbar{ display: none; }
  .transport-btn{ font-size: .95rem; padding: .5rem .8rem; }

  .hero-info{
    margin: 14px 12px 0;
  }
  .info-item h3{
    font-size: 1.25rem;
  }
  .info-item p{
    font-size: .98rem;
  }

  }

  .menu-toggle{display:inline-block}

  .site-header.nav-open #primary-nav{
    display:flex;
    animation:menuDrop 260ms ease-out both;
    transform-origin:top center;
    z-index:9999;
  }
  }

  @keyframes menuDrop{
    from{
      transform:translateY(-10px);
      opacity:0;
      filter:blur(2px);
    }
    to{
      transform:translateY(0);
      opacity:1;
      filter:blur(0);
    }

    
}

@media (max-width:600px){
  .grid.cards{grid-template-columns:1fr}
  .news-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}

  .hero { padding: 44px 0 12px; }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-content{
    max-width: none;
    margin: 0 12px;                
    padding: 20px 16px;            
    border-radius: 16px;
    background: rgba(255,255,255,.82); 
    backdrop-filter: blur(6px);
  }

  .hero-lead{
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .hero-cta{
    gap: 10px;
  }
  .hero-cta .btn{
    padding: .7rem 1rem;
  }

  .transport-switch{
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .transport-switch::-webkit-scrollbar{ display: none; }
  .transport-btn{ font-size: .95rem; padding: .5rem .8rem; }

  .hero-info{
    margin: 14px 12px 0;
  }
  .info-item h3{
    font-size: 1.25rem;
  }
  .info-item p{
    font-size: .98rem;
  }

}

@media (prefers-reduced-motion: reduce){
  .reveal-on-scroll{animation:none;opacity:1;transform:none}
  .orb{animation:none}
}

.no-scroll { overflow: hidden; }

@keyframes menuDrop{
  from{ transform:translateY(-10px); opacity:0; filter:blur(2px); }
  to{   transform:translateY(0);     opacity:1; filter:blur(0);  }
}

@keyframes menuUp{
  from{ transform:translateY(0);     opacity:1; filter:blur(0);  }
  to{   transform:translateY(-8px);  opacity:0; filter:blur(1px);}
}

@media (max-width: 980px){
  .site-header.nav-open #primary-nav{
    animation: menuDrop 260ms ease-out both;
    transform-origin: top center;
    z-index: 9999;
  }
  .site-header.nav-closing #primary-nav{
    display: flex;
    animation: menuUp 180ms ease-in both;
    transform-origin: top center;
    z-index: 9999;
  }
}

.no-scroll { overflow: hidden; }

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.whatsapp-button:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.whatsapp-button img {
  width: 28px;
  height: 28px;
  display: block;
}
.hero {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
  background: radial-gradient(1200px 400px at 20% -10%, rgba(15,182,251,.12), transparent 60%),
              radial-gradient(900px 300px at 90% -20%, rgba(38,79,255,.10), transparent 60%);
}


.hero-bg { position:absolute; inset:0; overflow:hidden; z-index:0; }

.hero-bg { 
  position:absolute; inset:0; overflow:hidden; z-index:0;
  background: #eef3ff;
}

.hero-bg-img:not(.is-active):not(.is-exiting) {
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
}


.hero-bg-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  pointer-events:none;

  transform: translateX(100%);
  opacity: 0;

  transition: transform 700ms ease, opacity 700ms ease;
  will-change: transform, opacity;
  z-index:0;
}

.hero-bg-img.is-active{
  transform: translateX(0%);
  opacity: 1;
  z-index:2;
}

.hero-bg-img.is-exiting{
  transform: translateX(-100%);
  opacity: 0;
  z-index:1;
}

.hero::after{
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(1200px 400px at 20% -10%, rgba(15,182,251,.12), transparent 60%),
              radial-gradient(900px 300px at 90% -20%, rgba(38,79,255,.10), transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.07) 28%, transparent 55%);
}

.hero .container { position: relative; z-index: 1; }

.transport-switch{
  display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;
}
.transport-switch{ margin-top: 12px; }
.badges{ margin-top: 12px; gap:8px; }

.transport-btn{
  border:1px solid #e6e8ef; background:#fff; color:#1f2937;
  padding:.55rem .8rem; border-radius:999px; font-weight:600;
  transition:transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.transport-btn:hover{ transform: translateY(-1px); }
.transport-btn.is-active{
  border-color: rgba(38,79,255,.35);
  box-shadow: var(--ring);
}


.hero-copy {
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  padding: 32px 48px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);

  width: 100%;
  max-width: unset;
}



.hero-copy h1,
.hero-copy p {
  color: #1a1f2b;
}

.hero-services {
  margin-top: 48px;
  z-index: 1;
  position: relative;
}

.hero-services .cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.hero-split {
  grid-template-columns: 1.2fr 1fr;
  align-items: flex-start;
  gap: 40px;
}

.hero-content-left {
  background: rgba(255, 255, 255, 0.75);
  padding: 32px;
  border-radius: 18px;
  backdrop-filter: blur(5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hero-info-right {
  background: rgba(255, 255, 255, 0.75);
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-info-right h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--blue-900);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 40px;
}

.hero-left .hero-box {
  background: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
  white-space: normal;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 60ch;
}

.hero-info-box {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.info-item {
  text-align: center;
}

.info-item h3 {
  font-size: 1.7rem;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.info-item p {
  color: var(--muted);
}


.hero-grid{
  grid-template-columns:1.3fr 0.7fr;
  gap:2rem;
}


.hero-content {
  max-width: 600px;
}


.hero-content{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 32px 40px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  max-width: 680px;
}

.hero-title, .hero-lead{
  color: var(--blue-900);
}
.hero-title{
  margin:0 0 10px;
}
.hero-lead{
  margin: 0 0 18px;
}


.hero-info{
  background: rgba(255,255,255,.85);
  padding: 24px 32px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 240px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-info h3{
  color: var(--blue-900);
  margin: 0 0 8px;
}
.hero-info p{
  margin:0;
}

/* Menú más compacto */
.primary-nav {
  display: flex;
  gap: 16px; /* antes 24px */
  align-items: center;
}

/* Estilo general de los links */
.primary-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #000000;
  padding: 0 6px;
  position: relative;
}

/* Remover decoradores por defecto */
.primary-nav .nav-link::before {
  content: '';
}

/* Mostrar > antes de la pestaña activa */
.primary-nav .nav-link.active::before {
  content: '> ';
  color: #000000;
  font-weight: 700;
  margin-right: 4px;
}

/* Botón ENG especial */
.primary-nav .nav-link.eng-btn {
  background-color: #000;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.primary-nav .nav-link.eng-btn:hover {
  background-color: #111;
  transform: scale(1.05);
}

/* HERO: modo con íconos inferiores */
.hero.hero-icons {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 40px;
}

/* HERO: modo con íconos inferiores */
.hero.hero-icons {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 0; /* eliminamos padding inferior */
}

/* Nueva posición fija relativa al hero */
.transport-icons {
  position: absolute;    /* Cambiamos de sticky a absolute */
  bottom: 0;             /* Pegada al fondo del hero */
  left: 0;
  right: 0;
  z-index: 10;

  display: flex;
  justify-content: center;
  gap: 60px;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 20px 28px;
  border-top: 2px solid #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}


/* Cada ícono individual */
.transport-icon {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px; /* separación vertical entre imagen y texto */
  transition: transform 0.25s ease, opacity 0.25s ease;
  margin: 10px 20px; /* espaciado externo */
}

.transport-icon img {
  display: block;
  height: 60px;
  margin: 0 auto 8px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.transport-icon span {
  margin-top: 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: block;
  transition: all 0.25s ease;
}

/* Animaciones en hover */
.transport-icon:hover {
  transform: translateY(-6px) scale(1.05);
  opacity: 1;
}

.transport-icon:hover img {
  transform: scale(1.1);
}

.transport-icon:hover span {
  text-shadow: 0 0 6px #ffd701; /* dorado */
  transform: translateY(-2px);
}

.hero.hero-icons {
  height: 90vh;          /* antes 100vh, así se “recorta” y sube el fondo */
  padding-bottom: 20px;  /* menos espacio debajo */
}

.about-section {
  background: #eef3ff;
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}
.about-text h2,
.about-text h3 {
  color: var(--blue-900);
  margin-bottom: 12px;
}
.about-text p {
  color: var(--text);
  font-size: 1rem;
}


.commitment {
  padding: 48px 0;
  background: #ffffff;
}
.commitment .cards {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.commitment .card {
  text-align: center;
}

.news {
  padding: 48px 0;
  background: #f9fbff;
}
.news-grid {
  margin-top: 20px;
}
.news .card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.cta-final {
  padding: 40px 0;
  background: #000;
  color: white;
}
.cta-final h2 {
  margin: 0 0 10px;
}
.cta-final .cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-final .cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-block {
  background-color: #ffffff; /* celeste */
  padding: 40px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #00b7fd;
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
  color: #000;
}

.about-title {
  font-size: 2.1rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: #000;
}

.about-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 20px;
  color: #000; /* azul oscuro */
  text-transform: uppercase;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000;
  margin-top: 4px;
}

.about-image {
  flex: 0 0 450px;
  max-width: 600px;
  align-self: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about-container {
  background: #00b7fd; /* fondo azul celeste como en imagen 2 */
  padding: 30px 40px;
  border-radius: 20px;
  color: #ffffff; /* texto blanco por defecto */
}

.about-text h2.about-title {
  color: #000000;
  font-weight: 900;         /* muy negrita */
  font-size: 2.5rem;        /* aumenta el tamaño del título */
  line-height: 1.2;
}

.about-text h3.about-subtitle {
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;        /* tamaño más notorio para MISION / VISION */
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
  margin-top: 24px;
}

.about-text p {
  color: #000;
  font-weight: 600;
  font-size: 1.05rem;       /* tamaño un poco más grande para facilitar lectura */
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  margin-top: 8px;
}
.commitment-slider {
  background: #f4f4f4;
  padding: 60px 0;
  text-align: center;
}



.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-card {
  position: relative;
  /* 3 por vista: restamos 2 gaps de 24px (12px + 12px) -> 48px */
  min-width: calc((100% - 48px) / 3);
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
  margin: 0 12px;
}

/* Tablet: 2 tarjetas visibles -> 1 hueco = 24px */
@media (max-width: 980px){
  .carousel-card{
    min-width: calc((100% - 24px) / 2);
    height: 300px;
  }
}

/* Móvil: 1 tarjeta visible -> sin huecos a los lados (el padding ya hace de gutter) */
@media (max-width: 600px){
  .carousel-card{
    min-width: 100%;
    height: 260px;
  }
}


.carousel-card:hover {
  transform: scale(1.03);
}

.carousel-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  color: #fff;
  text-align: left;
  z-index: 2;

  /* Quitamos el bloque gris */
  background: none;         
  border-radius: 0;         

  /* Opcional: agrega sombra al texto para legibilidad */
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}


.carousel-card .card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.carousel-card .card-content p {
  font-size: 0.95rem;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.9); /* círculo blanco semitransparente */
  color: #133d61; /* azul corporativo */
  font-size: 1.6rem; /* más pequeño */
  font-weight: bold;

  border: none;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);

  transition: all 0.3s ease;
  z-index: 20;
}

.carousel-btn:hover {
  background: #133d61;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}


.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.card-info-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;

  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.301);
  color: #133d61;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
  z-index: 5;
}

.card-info-btn img {
  width: 20px;   /* ajusta el tamaño del icono */
  height: 20px;
  display: block;
}


.card-info-btn:hover {
  background: #133d61;
  color: #fff;
  transform: scale(1.1);
}

/* Modal oculto por defecto */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;           /* <-- oculto */
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Clase para abrirlo (opcional si prefieres clase en vez de style) */
.modal.is-open{
  display: flex;
}


.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.news-box {
  background: #00b7fd;           /* azul celeste */
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: #000;
}

.news-box img {
  width: 100%;
  max-width: 820px;   /* 🔹 límite máximo */
  border-radius: 12px;
  margin: 0 auto 12px; /* 🔹 centra horizontalmente */
  display: block;      /* asegura que margin auto funcione */
}


.news-content p {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-items: center; /* centra cada tarjeta */
}

.news-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap:20px;
  justify-items:center;
}

.news-box{
  max-width:420px;            /* ancho máximo de cada tarjeta */
  background:#00b7fd;
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
  color:#000;
}

.news-box img{
  width:100%;
  max-width:500px;            /* límite superior de la imagen */
  display:block;
  margin:0 auto 12px;
  border-radius:12px;
}

.news-content .news-meta{ color:#00324a; font-weight:700; margin-bottom:6px; }
.news-content h3{ margin:0 0 6px; font-size:1.05rem; font-weight:800; color:#000; }
.news-content p{ margin:0; line-height:1.6; font-weight:500; }

/* ===== CTA azul tipo banner ===== */
.cta-blue {
  padding: 40px 0;         /* espacio interno arriba/abajo */
  margin: 60px 0;          /* espacio externo con otras secciones */
  background: #f4f6fb;     /* (puedes mantener o quitar) */
}

.cta-blue-wrap{
  display: grid;
  grid-template-columns: 420px 1fr; /* imagen | texto */
  align-items: center;
  gap: 28px;

  background: #00b7fd;
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.cta-blue-media img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.cta-blue-content h2{
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.2;
  color: #000; /* negro profundo como en la referencia */
  font-weight: 800;
}

.cta-blue-actions{
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 8px 0 18px;
}

/* Botón negro (Servicios) */
.btn-dark{
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 800;
  border: none;
}

/* Botón celeste suave (Contactar) que contrasta sobre el fondo azul */
.btn-pill{
  background: rgba(255,255,255,.28);
  color: #fff;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(2px);
}

/* Hover */
.btn-dark:hover   { transform: translateY(-1px); }
.btn-pill:hover   { transform: translateY(-1px); }

/* Puntos en 3 columnas, todo en MAYÚSCULAS como en la ref */
.cta-blue-points{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.cta-blue-points p{
  margin: 0;
  color: #000;
  font-weight: 800;
  font-size: .88rem;
  line-height: 1.1;
  letter-spacing: .4px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .cta-blue-wrap{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-blue-actions{
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-blue-points{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .cta-blue-points{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===== Footer Azul (banner inferior) ===== */
.footer-blue{
  background:#00b7fd;
  padding: 22px 0 14px;
  border-radius: 0; /* va a todo el ancho */
  box-shadow: var(--shadow);
}

.fb-wrap{
  display:grid;
  grid-template-columns: repeat(3, 1fr) 160px; /* 3 textos + logo */
  gap: 28px;
  align-items:center;
}

.fb-col p{
  margin:0;
  color:#000;
  font-weight: 900;
  letter-spacing:.3px;
  line-height:1.1;
  font-size: .98rem;
  text-transform: uppercase;
}

.fb-logo{
  justify-self:end;
  text-align:center;
  color:#000;
  font-weight:800;
}
.fb-logo img{
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  display:block;
  margin: 0 auto 6px;
  background: transparent;
}

/* Línea legal centrada */
.fb-legal{
  text-align:center;
  margin-top: 8px;
}
.fb-legal p{
  margin:0;
  color:#000;
  font-weight:900;
  letter-spacing:.3px;
  font-size:.9rem;
}

/* Responsive */
@media (max-width: 980px){
  .fb-wrap{
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .fb-logo{ justify-self:center; }
}
@media (max-width: 600px){
  .fb-wrap{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .fb-col p{ font-size:.95rem; }
}

.about-container2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #ffffff; /* ✅ blanco */
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: var(--shadow);
}

.about-subtitle2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 20px;
  color: #000; /* azul oscuro */
  text-transform: uppercase;
}

.hero-copy {
  text-align: center;
}

.hero3 {
  position: relative;
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  height: 100vh;           /* ocupa toda la pantalla */
  padding: 0;
}

.hero3 .container3 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateY(200px); /* mueve todo el bloque hacia abajo */
}

/* ===========================
   NOTICIAS — ESTILOS ESPECÍFICOS
   =========================== */

/* Header activo para esta sección (opcional) */
.primary-nav .nav-link[href*="noticias"].active::before{
  content: '> ';
  color:#000;
  font-weight:700;
  margin-right:4px;
}

/* ---------- HERO (imagen a pantalla completa con título centrado) ---------- */
.hero3{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 84vh;              /* un poco menos que 100vh para que no tape el header */
  padding:0;
  overflow: clip;
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(15,182,251,.12), transparent 60%),
    radial-gradient(900px 300px at 90% -20%, rgba(38,79,255,.10), transparent 60%);
}
.hero3 .hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero3 .hero-bg img.hero-bg-img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
  transition: transform .6s ease, opacity .6s ease;
}
.hero3 .container3{
  position:relative; z-index:2;
  width:min(1120px,92%);
  display:flex; align-items:center; justify-content:center; text-align:center;
  transform: translateY(180px); /* baja el bloque para que quede como en la referencia */
}
.hero3 .hero-copy3 h1{
  color:#fff;
  font-weight:900;
  font-size: clamp(1.9rem, 3.6vw, 2.3rem);
  line-height:1.2;
  margin:0;
}
.hero3 .hero-copy3 p{
  color:#fff; opacity:.9; margin-top:10px;
}

/* ---------- LISTA DE NOTICIAS (tarjetas con overlay) ---------- */
.container .grid{ /* refina separación vertical con el resto de páginas */
  margin-top: 10px;
}

.news-item{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  min-height:260px;
  background:#0b1320; /* fallback */
  box-shadow: var(--shadow);
  isolation: isolate; /* asegura overlays correctos */
}
.news-item > img{
  width:100%; height:260px; object-fit:cover; display:block;
  transition: transform .45s ease;
}
.news-item::after{
  content:"";
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 55%, transparent);
}
.news-item:hover > img{ transform: scale(1.04); }

/* Meta (fecha + categoría) */
.news-item .news-meta-top{
  position:absolute; top:14px; left:16px; z-index:2;
  color:#fff; font-weight:700; font-size:.95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Texto inferior (título + bajada) */
.news-item .news-copy{
  position:absolute; left:20px; right:20px; bottom:18px; z-index:2; color:#fff;
}
.news-item .news-copy h2{
  margin:0 0 6px;
  font-weight:900;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height:1.25;
}
.news-item .news-copy p{ margin:0; opacity:.95; }

/* Grid responsive coherente con el resto del sitio */
section.container .grid{
  display:grid;
  gap:26px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){
  section.container .grid{ grid-template-columns: 1fr 1fr; }
  .hero3 .container3{ transform: translateY(140px); }
}
@media (max-width: 600px){
  section.container .grid{ grid-template-columns: 1fr; }
  .hero3{ min-height: 78vh; }
  .hero3 .container3{ transform: translateY(110px); }
}

/* ---------- FOOTER AZUL (ya presente en tu hoja: .footer-blue) ----------
   Solo afinamos el margen superior para separarlo de la grilla. */
.footer-blue{ margin-top: 26px; }

.gridservicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  place-items: stretch;
}

/* ====== BLOQUE AZUL: GROUP INTERCOMER (about-block11) ====== */
.about-block11{ background:#fff; padding:40px 0; }
.about-container11{
  display:flex; align-items:center; justify-content:space-between; gap:40px;
  background:#00b7fd; border-radius:20px; padding:30px 40px; box-shadow:var(--shadow);
}
.about-text11{ flex:1; color:#000; }
.about-title11{ color:#000; font-weight:900; font-size:2.5rem; line-height:1.2; margin:0 0 12px; }
.about-subtitle11{ color:#fff; font-weight:800; font-size:1.4rem; text-transform:uppercase; margin:22px 0 6px; }
.about-text11 p{ color:#000; font-weight:600; font-size:1.05rem; line-height:1.6; margin:0 0 6px; }
.about-image11{ flex:0 0 460px; max-width:600px; align-self:center; }
.about-image11 img{ width:100%; height:auto; border-radius:12px; object-fit:cover; }

@media (max-width:980px){
  .about-container11{ flex-direction:column; text-align:left; }
  .about-image11{ width:100%; }
}

/* ====== COMPROMISO: 3 TARJETAS + FLECHAS ====== */
.commitment11{ background:#fff; padding:32px 0 8px; }
.commitment-title11{
  font-weight:900; font-size:1.1rem; text-transform:uppercase; color:#000; margin:0 0 4px;
}
.commitment-sub11{ margin:0 0 16px; color:#000; font-weight:700; font-size:.95rem; }

.cards-row11{
  position:relative; display:grid; grid-template-columns: 1fr 1fr 1fr; gap:18px; align-items:stretch;
}
.mini-card11{
  position:relative; border-radius:14px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.15);
  display:flex; flex-direction:column; justify-content:flex-end; min-height:220px; background:#000;
}
.mini-card11 img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; z-index:0; transition:transform .35s ease; }
.mini-card11::after{
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.18) 55%, transparent);
}
.mini-card11:hover img{ transform:scale(1.04); }
.mini-card-copy11{ position:relative; z-index:2; color:#fff; padding:14px; }
.mini-card-copy11 h4{ margin:0 0 4px; font-size:1rem; font-weight:900; line-height:1.15; }
.mini-card-copy11 p{ margin:0; font-size:.93rem; }

.cards-nav11{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:none;
  border-radius:50%; background:#fff; color:#133d61; font-size:1.6rem; font-weight:700; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 8px rgba(0,0,0,.2); z-index:5;
}
.cards-nav11:hover{ background:#133d61; color:#fff; transform:translateY(-50%) scale(1.08); }
.cards-nav11.prev{ left:-6px; }  /* como en la imagen, pegadas al grid */
.cards-nav11.next{ right:-6px; }

@media (max-width:980px){
  .cards-row11{ grid-template-columns:1fr; }
  .cards-nav11{ display:none; }
}

/* ====== TÍTULO “Últimas noticias” ====== */
.news-heading11{ padding:10px 0 0; }
.news-heading11 h3{ margin:0; font-size:1rem; font-weight:900; letter-spacing:.2px; color:#000; text-transform:uppercase; }
.news-kicker11{ margin:2px 0 14px; color:#000; font-weight:700; font-size:.95rem; }

/* ====== TARJETA GRANDE AZUL ====== */
.news-feature11{ padding:0 0 24px; }
.feature-box11{
  background:#00b7fd; border-radius:18px; padding:16px; box-shadow:var(--shadow); overflow:hidden; color:#000;
}
.feature-box11 img{
  width:100%; max-width:1080px; display:block; margin:0 auto 10px; border-radius:12px; object-fit:cover;
}
.feature-caption11{
  margin:0; color:#000; font-size:.92rem; font-weight:800; line-height:1.4;
}

/* ====== CTA AZUL INFERIOR (renombrado) ====== */
.cta-blue11{ padding:36px 0; }
.cta-blue-wrap11{
  display:grid; grid-template-columns:420px 1fr; align-items:center; gap:28px;
  background:#00b7fd; border-radius:22px; padding:24px 28px; box-shadow:var(--shadow);
}
.cta-blue-media11 img{ width:100%; height:auto; border-radius:14px; display:block; box-shadow:0 8px 24px rgba(0,0,0,.15); }
.cta-blue-content11 h2{
  margin:0 0 16px; font-size:clamp(1.6rem,3.2vw,2rem); line-height:1.2; color:#000; font-weight:800;
}
.cta-blue-actions11{ display:flex; gap:16px; align-items:center; margin:6px 0 16px; }
.btn-dark11{ background:#000; color:#fff; border-radius:999px; padding:.7rem 1.2rem; font-weight:800; border:none; display:inline-block; }
.btn-pill11{
  background:rgba(255,255,255,.28); color:#fff; border-radius:999px; padding:.7rem 1.2rem; font-weight:800;
  border:1px solid rgba(255,255,255,.45); backdrop-filter:blur(2px); display:inline-block;
}
.btn-dark11:hover,.btn-pill11:hover{ transform:translateY(-1px); }
.cta-blue-points11{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
.cta-blue-points11 p{ margin:0; color:#000; font-weight:900; font-size:.9rem; line-height:1.1; letter-spacing:.4px; text-transform:uppercase; }

@media (max-width:980px){
  .cta-blue-wrap11{ grid-template-columns:1fr; text-align:center; }
  .cta-blue-actions11{ justify-content:center; flex-wrap:wrap; }
  .cta-blue-points11{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  .cta-blue-points11{ grid-template-columns:1fr; gap:10px; }
}

.feature-box11 img {
  width: 100%;
  max-width: 360px;   /* antes 1080px */
  display: block;
  margin: 0 auto 10px; /* centra la imagen */
  border-radius: 12px;
  object-fit: cover;
}

.feature-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  font-weight: 900;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 50%, transparent);
  z-index: 2;
}

.feature-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-size: 1.8rem;
}

.feature-text {
  position: relative;
  z-index: 3;
  padding: 0 20px 18px;
  font-size: 1.4rem;
  line-height: 1.2;
}

.grid44 {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-header {
  background: #00b7fd; /* azul del header */
  height: 72px; /* ajusta según el alto exacto del logo */
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
 /*
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);

  /* Vars para tamaño/posición */
 /*  --scoop-w: 80px;   /* ancho de la elipse */
 /*  --scoop-h: 40px;   /* alto de la elipse */
 /*  --scoop-x: 35%;     /* posición X (0% = izq, 100% = der) */
 /*  --scoop-y: 100%;    /* posición Y (100% = borde inferior) */

  /* Máscara invertida */
 /*  -webkit-mask:
    radial-gradient(var(--scoop-w) var(--scoop-h) at var(--scoop-x) var(--scoop-y),
                    black 99%, transparent 100%),
    linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out, add;
          mask:
    radial-gradient(var(--scoop-w) var(--scoop-h) at var(--scoop-x) var(--scoop-y),
                    black 99%, transparent 100%),
    linear-gradient(#000 0 0);
          mask-composite: exclude;
}
*/

/* Opcional: reducir el notch en móviles para que no invada demasiado */
@media (max-width: 600px){
  .site-header{
    --scoop-w: 80px;
    --scoop-h: 40px;
  }
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0; /* quitar padding vertical extra */
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  max-height: 90px; /* asegúrate de que sea un poco menos que el header */
  height: auto;
  display: block;
}

/* Por defecto, el nav se oculta en móviles */
@media (max-width: 991px) {
  .primary-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
  }

  .site-header.nav-open .primary-nav {
    display: flex;
  }
}

/* ======== Ajustes RESPONSIVE ======== */

/* Tablets y pantallas medianas */
@media (max-width: 980px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .about-image {
    max-width: 100%;
  }

  .carousel-card {
    min-width: 80%;
  }

  .cta-blue-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-blue-actions {
    justify-content: center;
  }
  .fb-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Teléfonos pequeños */
@media (max-width: 600px) {
  .transport-icons {
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px;
  }
  .transport-icon img {
    height: 48px;
  }
  .transport-icon span {
    font-size: 0.9rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-box {
    max-width: 100%;
  }

  .cta-blue-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Debajo de tus grids: activa columnas responsivas para .grid44 */
.grid44{
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px){
  .grid44{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .grid44{ grid-template-columns: 1fr; }
}

/* Debajo de .card / .feature: capa, número y texto */
.feature-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.feature-card > img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.feature-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 55%, transparent);
}
.feature-card:hover > img{ transform: scale(1.04); }

.feature-number{
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-weight: 900;
  font-size: 1.8rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.feature-text{
  position: relative;
  z-index: 2;
  padding: 16px 18px;
  font-weight: 800;
  line-height: 1.2;
}

/* Ajustes tipográficos por breakpoints */
@media (max-width: 980px){
  .feature-number{ font-size: 1.6rem; }
  .feature-text{ font-size: 1.02rem; }
}
@media (max-width: 600px){
  .feature-number{ font-size: 1.45rem; }
  .feature-text{ font-size: .98rem; }
}

/* Debajo de tus about*: pila y centra en móviles */
@media (max-width: 980px){
  .about-container2{
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }
  .about-container2 .about-image{ width: 100%; max-width: 640px; }
}
@media (max-width: 600px){
  .about-container2{ padding: 18px; }
}

/* Debajo de .hero / .hero3: título legible y posición */
.hero3 .hero-copy3 h1{
  text-wrap: balance;
}
@media (max-width: 980px){
  .hero3 .container3{ transform: translateY(140px); }
}
@media (max-width: 600px){
  .hero3{ min-height: 78vh; }
  .hero3 .container3{ transform: translateY(110px); padding: 0 12px; }
  .hero3 .hero-copy3 h1{ font-size: clamp(1.6rem, 5vw, 1.9rem); }
}

/* Debajo de .footer-blue: columnas a una sola y centrado */
@media (max-width: 980px){
  .footer-blue .fb-wrap{ grid-template-columns: 1fr; text-align:center; }
  .footer-blue .fb-logo{ justify-self: center; }
}

/* CONTACT: grilla principal */
@media (max-width: 980px){
  .contact-page .container{
    width: min(960px, 92%);
  }
  .contact-intro{
    display: grid;
    grid-template-columns: 1fr !important; /* apila texto y tarjeta */
    gap: 22px !important;
    margin-bottom: 28px !important;
  }
  .contact-intro > div:first-child h2{
    font-size: clamp(1.4rem, 3.8vw, 1.8rem);
    line-height: 1.25;
  }
}
/* teléfonos */
@media (max-width: 600px){
  .contact-intro{
    gap: 16px !important;
  }
  .contact-intro > div:first-child p{
    font-size: .98rem !important;
  }
}
/* CONTACT: tarjeta WhatsApp (2do div) */
@media (max-width: 980px){
  .contact-intro > div:last-child{
    padding: 20px !important;
  }
  .contact-intro > div:last-child p{
    line-height: 1.35;
  }
  .contact-intro > div:last-child .btn{
    display: inline-block;
    margin-top: 6px;
  }
}
@media (max-width: 600px){
  .contact-intro > div:last-child{
    padding: 18px !important;
    border-radius: 14px !important;
  }
  .contact-intro > div:last-child .btn{
    width: 100%;
    text-align: center;
  }
}
/* CONTACT: mapa responsivo */
@media (max-width: 980px){
  .map-section h3{ font-size: 1.15rem !important; }
  .map-section p { margin-bottom: 12px !important; }
  .map-section iframe{ height: 260px !important; }
}
@media (max-width: 600px){
  .map-section iframe{ height: 220px !important; }
}
/* CONTACT: datos de contacto */
@media (max-width: 980px){
  .contact-info{
    font-size: 1rem !important;
  }
  .contact-info p{
    margin: 8px 0 !important;
  }
  .contact-info a{
    word-break: break-word;
  }
}
@media (max-width: 600px){
  .contact-info{ font-size: .98rem !important; }
}
/* CONTACT: aire antes del footer azul */
@media (max-width: 980px){
  .contact-page{ padding: 44px 0 !important; } /* antes 60px */
}
@media (max-width: 600px){
  .contact-page{ padding: 36px 0 !important; }
}

/* Botones de transporte: hacerlos clicables y con estado activo */
.transport-icon { cursor: pointer; border: none; background: transparent; }
.transport-icon:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(38,79,255,.35); border-radius: 12px; }

.transport-icon.is-active span {
  text-shadow: 0 0 8px #ffd701; /* resalta el seleccionado */
  transform: translateY(-1px);
}

@media (max-width: 980px){
  .transport-icons { gap: 28px; flex-wrap: wrap; } /* menos separación en móviles */
}

/* ---- FIX Razones (cards 01–04) ---- */
.grid44 {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Feature cards con imagen o video */
.feature-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  isolation: isolate;
}

.feature-card > img,
.feature-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recorta para llenar */
  z-index: 1;
  transition: transform .45s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.70), rgba(0,0,0,.22) 55%, transparent);
  z-index: 2;
}

.feature-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-weight: 900;
  font-size: 1.8rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.feature-text {
  position: relative;
  z-index: 3;
  margin-top: auto;
  width: 100%;
  padding: 18px 20px 20px;
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.25;
}

.about-image {
  width: 100%;
  max-width: 400px;       /* 🔹 ajusta según el diseño */
  aspect-ratio: 1 / 1;    /* 🔹 cuadrado perfecto */
  overflow: hidden;       /* 🔹 recorta lo que sobresalga */
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔹 recorta para llenar */
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #000; /* fallback */
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* llena el contenedor */
  filter: brightness(.82); /* igual al filtro que tenías en la imagen */
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* evita que bloquee clics */
}

.feature-box11 img {
  width: 100%;
  max-width: 820px;   /* o incluso 100% para que llene el ancho */
  height: auto;       /* mantiene proporción */
  display: block;
  margin: 0 auto 10px;
  border-radius: 12px;
  object-fit: cover;
}

/* ===== HERO Animación: Zoom Out + Fade solo en AÉREO → TERRESTRE ===== */

.hero-transition-zoom .hero-bg-img.zoom-out-fade {
  transition: transform 0.8s ease, opacity 0.8s ease;
  transform: scale(0.94);
  opacity: 0;
  z-index: 1;
}

.hero-transition-zoom .hero-bg-img.zoom-in-fade {
  transition: transform 0.8s ease, opacity 0.8s ease;
  transform: scale(1.04);
  opacity: 0;
  z-index: 2;
  animation: zoomInFade 0.8s ease forwards;
}

@keyframes zoomInFade {
  0%   { transform: scale(1.04); opacity: 0; }
  100% { transform: scale(1);    opacity: 1; }
}

/* ===== HERO Animación: Cortina lateral (Slide Reveal) ===== */

.hero-bg.hero-transition-wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.719);
  z-index: 9999;
  transform: translateX(0%);
  animation: wipeSlide 0.8s ease forwards;
}

@keyframes wipeSlide {
  0%   { transform: translateX(0%); }
  50%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ===== HERO Animación: Paneles que se ensamblan (3 cortes verticales) ===== */

.hero-bg.hero-transition-panels::before,
.hero-bg.hero-transition-panels::after,
.hero-bg.hero-transition-panels .panel-middle {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.3333%;
  background: rgba(255, 255, 255, 0.705);
  z-index: 9999;
  pointer-events: none;
}

.hero-bg.hero-transition-panels::before {
  left: 0;
  animation: panelSlideLeft 0.7s ease forwards;
}
.hero-bg.hero-transition-panels::after {
  right: 0;
  animation: panelSlideRight 0.7s ease forwards;
}
.hero-bg.hero-transition-panels .panel-middle {
  left: 33.3333%;
  animation: panelSlideMiddle 0.7s ease forwards;
  position: absolute;
}

@keyframes panelSlideLeft {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
@keyframes panelSlideRight {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}
@keyframes panelSlideMiddle {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}

/* ===== Animación 4: blur-slide (desenfoque lateral) ===== */
.hero-transition-blur .hero-bg-img.is-active {
  transform: translateX(0%);
  opacity: 1;
  filter: blur(0px);
}

.hero-transition-blur .hero-bg-img.zoom-out-blur {
  transform: translateX(-60%);
  opacity: 0;
  filter: blur(8px);
}

.hero-transition-blur .hero-bg-img.zoom-in-blur {
  transform: translateX(60%);
  opacity: 0;
  filter: blur(8px);
}

.hero-transition-blur .hero-bg-img.is-active.zoom-in-blur {
  transform: translateX(0%);
  opacity: 1;
  filter: blur(0px);
}

.hero-info-box {
  position: absolute;
  top: 20%;
  left: 6%;
  max-width: 520px;

  background: rgba(0, 0, 0, 0.75);
  padding: 36px 40px;
  border-radius: 0;
  box-shadow: none;

  color: #fff;
  z-index: 3;

  display: flex;
  flex-direction: column;  
  align-items: flex-start;
}

.hero-info-box h3 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.hero-info-box p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
}

.hero-info-box1 {
  position: absolute;
  top: 20%;
  left: 6%;
  max-width: 520px;

  background: rgba(255, 0, 0, 0);
  padding: 36px 40px;
  border-radius: 0;
  box-shadow: none;

  color: #fff;
  z-index: 3;

  display: flex;
  flex-direction: column;  
  align-items: flex-start;
}

.hero-info-box1 h3 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.hero-info-box1 p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
}

/* Barra independiente */
.blue-bar {
  display: block;
  width: 50px;
  height: 5px;
  background: #00b7fd;
  margin-bottom: 14px;
  margin-left: 50px; /* 🔹 mueve la barra a la derecha */
}

/* Modal general */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none; /* Oculto por defecto */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Caja blanca dentro */
.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
  animation: fadeIn .3s ease;
}

.modal-content img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}

.modal-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 10px;
  color: #133d61;
}

.modal-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Tarjeta clickeable */
.news-item {
  cursor: pointer;
}

.modal-extra {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

@media (max-width: 768px) {
  .hero.hero-icons {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 80px; /* más aire arriba y abajo */
  }

  .hero-info-box {
    margin: 0 16px;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.82);
    max-width: 90%;
  }

  .transport-icons {
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px;
    position: static;
    box-shadow: none;
    background: transparent;
  }

  .transport-icon img {
    height: 48px;
  }

  .transport-icon span {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .transport-icons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    padding: 12px 16px;
    border-top: 2px solid #fff;
    z-index: 100;
    scrollbar-width: none; /* Firefox */
  }

  .transport-icons::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .transport-icon {
    flex: 0 0 auto;
    text-align: center;
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .transport-icon img {
    height: 36px;
    margin-bottom: 4px;
    filter: brightness(0) invert(1);
  }

  .transport-icon span {
    font-size: 0.8rem;
  }
}
@media (max-width:600px){
  .hero.hero-icons {
    position: relative;
    height: 92vh;
    padding: 0;
    align-items: flex-end;
  }

  .hero-bg-img {
    object-position: center top;
  }

  .transport-icons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }
}

/* === Home: 1 noticia destacada === */
.home-news-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  isolation: isolate;
}
.home-news-card img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.home-news-card::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.20) 55%, transparent);
  z-index: 2;
}
.home-news-content{
  position: relative; z-index: 3;
  color:#fff;
  padding: 18px 18px 18px;
  display:flex; flex-direction:column; gap:6px;
  height:100%; justify-content:flex-end;
}
.home-news-content .news-meta{
  font-size:.9rem; opacity:.9;
}
.home-news-content h3{
  margin: 0; font-weight:900; line-height:1.2;
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
}
.home-news-content p{
  margin: 0; opacity:.95;
}

/* Botón “Leer más” en esquina */
.home-news-read{
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 4;
  background:#0b1320; color:#fff;
  border:0; border-radius:999px;
  padding: 10px 14px;
  font-weight:800; font-size:.9rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  text-decoration:none; display:inline-block;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.home-news-read:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
}
@media (max-width: 600px){
  .home-news-card{ min-height: 260px; }
}


 .card-full-button {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
/* Botón que cubre toda la tarjeta para hacerla clickeable */
.card-full-button{
  position: absolute;
  inset: 0;           /* ocupa todo el contenedor */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4;         /* debajo del botón info (que tiene z-index: 5) */
}

/* ===== Modal de servicio (estilo premium) ===== */
.service-modal{
  position: relative;
  background: #fff;
  width: min(980px, 92vw);
  min-height: 520px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  padding: 32px;
}

.modal-close{
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px; height: 36px;
  border: 0; background: transparent;
  font-size: 28px; line-height: 1;
  color: #555; cursor: pointer;
}

.sm-left{
  display: flex; flex-direction: column; gap: 18px;
}
.sm-left h2{
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  color: #1a1f2b;
  font-weight: 800;
}
.sm-left p{
  margin: 0;
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Cajita CTA */
.sm-cta{
  margin-top: 8px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06) inset;
}
.sm-cta h3{
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #111827;
}
.sm-cta p{
  margin: 0 0 14px;
}
.sm-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #264fff;         /* botón rojo estilo “WhatsApp CTA” de la imagen de referencia */
  color: #fff; font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(33, 8, 173, 0.25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sm-cta-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(29, 10, 201, 0.35);
}

/* Imagen derecha */
.sm-right{
  border-radius: 22px;
  background: #111; /* fondo oscuro detrás de la foto */
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sm-right img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

/* Responsive */
@media (max-width: 900px){
  .service-modal{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .sm-right{ min-height: 260px; }
}

/* Modal general */
#serviceModal.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Cuando se abre */
#serviceModal.modal.is-open {
  display: flex;
}

/* Contenido del modal */
#serviceModal .modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
}

/* Botón de cierre */
#serviceModal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Imagen destacada */
#serviceModal #modalImage {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Título */
#serviceModal #modalTitle {
  font-size: 1.4rem;
  color: #133d61; /* azul corporativo */
  margin: 0 0 12px;
  font-weight: 800;
}

/* Texto principal */
#serviceModal #modalText {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Sección extra opcional */
#serviceModal #modalExtra {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-top: 8px;
  background: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

/* Ajustes responsive para transport-icons */
@media (max-width: 768px) {
  .transport-icons {
    flex-wrap: wrap;              /* permite que los botones bajen a otra línea */
    gap: 20px;                    /* menos separación */
    padding: 12px 16px;           /* padding más compacto */
    justify-content: space-around;/* reparte el espacio mejor */
  }

  .transport-icon img {
    height: 40px;                 /* íconos más pequeños */
    margin-bottom: 4px;
  }

  .transport-icon span {
    font-size: 0.85rem;           /* texto más pequeño */
  }
}

@media (max-width: 480px) {
  .transport-icons {
    flex-direction: column;       /* todos en columna */
    align-items: center;
    gap: 12px;
    padding: 10px;
  }

  .transport-icon {
    margin: 0;                   /* elimina margenes grandes */
  }
}

@media (max-width: 600px) {
  .transport-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 16px 24px;                        /* espacio entre filas y columnas */
    justify-items: center;                 /* centra horizontalmente cada botón */
    align-items: center;                   /* centra verticalmente */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85); /* mantiene tu fondo */
  }

  .transport-icon {
    margin: 0;               /* elimina márgenes grandes */
  }

  .transport-icon img {
    height: 50px;            /* tamaño equilibrado para móvil */
  }

  .transport-icon span {
    font-size: 0.9rem;        /* texto más legible en móvil */
  }
}

.servicios-carousel {
  padding: 60px 0;
  background: #f9fbff;
  position: relative;
}

.servicios-carousel .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #133d61;
}

.servicios-carousel .carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.servicios-carousel .carousel-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.servicios-carousel .carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.servicios-carousel .card-content {
  padding: 16px;
}

.servicios-carousel .card-content h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: #133d61;
}

.servicios-carousel .card-content p {
  font-size: 0.95rem;
  margin: 0;
  color: #333333;
}

/* Botones laterales */
.servicios-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #133d61;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 5;
}

.servicios-carousel .carousel-btn.prev { left: 60px; }
.servicios-carousel .carousel-btn.next { right: 60px; }

.servicios-carousel .carousel-btn:hover {
  background: #133d61;
  color: white;
}

.servicios-carousel .carousel-track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.servicios-carousel .carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.servicios-carousel .section-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
  color: #000000;
}

.servicios-carousel .section-subtitle {
  color: #444;
  margin-bottom: 36px;
  font-size: 1rem;
  font-weight: 500;
}
/* === Apariencia personalizada de las tarjetas del carrusel === */
.carousel-card {
  position: relative;
  min-width: calc((100% - 48px) / 3);
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  margin: 0 12px;

  /* 🔹 Imagen ocupa todo el bloque */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-card:hover {
  transform: scale(1.03);
}

/* Texto encima de la imagen */
.carousel-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;

  color: #fff;
  text-align: left;

  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
}


/* Imagen como fondo absoluto */
.carousel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  z-index: 0;
}

/* Esto permitirá que cada tarjeta ponga su propia imagen vía inline style */
.carousel-card[data-img]::before {
  background-image: attr(data-img url);
}

/* Texto encima */
.carousel-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;

  color: #fff;
  text-align: left;

  /* gradiente suave abajo para mejorar legibilidad */
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.carousel-card .card-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.carousel-card .card-content p {
  font-size: 0.95rem;
  margin: 0;
}


/* Responsivo: tablet */
@media (max-width: 980px) {
  .carousel-card {
    min-width: calc((100% - 24px) / 2);
    height: 300px;
  }
}

/* Responsivo: móvil */
@media (max-width: 600px) {
  .carousel-card {
    min-width: 100%;
    height: 260px;
  }
}

/* ===== Carrusel Servicios Nuevo ===== */
.carruselservicionuevo {
  padding: 60px 0;
  background: #f9fbff;
  position: relative;
}

.carruselservicionuevo .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 32px;
  font-weight: 800;
  color: #222020;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

#carruselServicioTrack {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.servicio-slide {
  min-width: calc(100% / 3);
  margin: 0 12px;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: transform 0.3s ease;
}
.servicio-slide:hover {
  transform: scale(1.05);
}

.servicio-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}
.servicio-slide h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}
.servicio-slide p {
  margin: 0;
  font-size: 0.95rem;
}

/* Botones */
.carruselservicionuevo .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  cursor: pointer;
  font-size: 1.5rem;
  color: #133d61;
  transition: all 0.3s ease;
  z-index: 10;
}
.carruselservicionuevo .carousel-btn:hover {
  background: #133d61;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carruselservicionuevo .carousel-btn.prev { left: 12px; }
.carruselservicionuevo .carousel-btn.next { right: 12px; }

/* ===== Responsividad ===== */
@media (max-width: 980px){
  .servicio-slide { min-width: calc(100% / 2); height: 280px; }
}
@media (max-width: 600px){
  .servicio-slide { min-width: 100%; height: 240px; }
}

/* ===== Panel de servicio ===== */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.panel-overlay.is-open {
  display: flex;
}

.panel-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 600px;
  width: 92%;
  box-shadow: 0 8px 26px rgba(0,0,0,.25);
  position: relative;
  animation: fadeInUp .3s ease;
}

.panel-box img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}

.panel-box h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #133d61;
}

.panel-box p {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

.panel-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.6rem;
  border: none;
  background: none;
  cursor: pointer;
  color: #555;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}


/* Panel modernizado con dos columnas */
.split-panel {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  position: relative;
}

.panel-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.panel-content {
  flex: 1 1 55%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.panel-content h3 {
  font-size: 1.8rem;
  color: #111;
  margin: 0;
}

.panel-content p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.panel-cta {
  background: #f8f8f8;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}

.panel-cta h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
}

.panel-cta p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.btn-whatsapp {
  background-color: #00b7fd;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}
.btn-whatsapp:hover {
  background-color: #00b7fd;
}

.panel-image-box {
  flex: 1 1 45%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Responsividad para modales/paneles ===== */
@media (max-width: 980px) {
  .modal-content,
  .panel-box {
    max-width: 92%;
    width: 92%;
    height: auto;
    max-height: 90vh;
    margin: auto;
    border-radius: 14px;
    padding: 18px;
    overflow-y: auto;
  }

  .panel-box.split-panel {
    flex-direction: column;
  }

  .panel-content, 
  .panel-image-box {
    width: 100%;
    max-width: 100%;
  }

  .panel-image-box img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
  }

  .panel-cta {
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .modal-content,
  .panel-box {
    padding: 14px;
    border-radius: 10px;
  }

  .panel-content h3 {
    font-size: 1.2rem;
  }

  .panel-content p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

/* ===== Responsividad para modales/paneles ===== */
@media (max-width: 980px) {
  .modal-content,
  .panel-box {
    max-width: 92%;
    width: 92%;
    height: auto;
    max-height: 90vh;
    margin: auto;
    border-radius: 14px;
    padding: 18px;
    overflow-y: auto;
  }

  .panel-box.split-panel {
    flex-direction: column;
  }

  .panel-content, 
  .panel-image-box {
    width: 100%;
    max-width: 100%;
  }

  .panel-image-box img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
  }

  .panel-cta {
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .modal-content,
  .panel-box {
    padding: 14px;
    border-radius: 10px;
  }

  .panel-content h3 {
    font-size: 1.2rem;
  }

  .panel-content p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}


@media (max-width: 980px) {
  .panel-box.split-panel {
    display: block;   /* fuerza layout en bloque */
  }

  .panel-image-box {
    display: none !important; /* oculta por completo la imagen */
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .panel-content {
    width: 100% !important;  /* ocupa todo el ancho */
  }
}

.carruselservicionuevo .section-subtitle {
  text-align: center;
  margin: 0 auto 2rem; /* 2rem = espacio debajo */
  max-width: 700px;    /* opcional */
}

