* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f7fb;
}
/*header */
/* ================= HEADER BASE ================= */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  background: #0066cc;
  color: white;
  font-weight: bold;
  font-size: 1.8rem;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.logo-text strong {
  display: block;
  font-size: 1.3rem;
}

.logo-text small {
  font-size: 0.8rem;
  color: #666;
}

/* Navegación desktop */
.desktop-nav {
  display: none; /* oculto en móvil por defecto */
}

.desktop-btn {
  display: none; /* oculto en móvil */
}

/* Menú hamburguesa - solo móvil */
.menu-toggle {
  display: none; /* ocultamos el checkbox */
}

.menu-icon {
  display: block;
  font-size: 2rem;
  cursor: pointer;
  color: #0066cc;
  z-index: 1100;
  order: 3; /* va al final en móvil */
}

/* Menú móvil - oculto por defecto */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.mobile-menu a {
  display: block;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: #f0f7ff;
  color: #0066cc;
}

/* Cuando está checked → mostramos menú */
#menu-toggle:checked ~ .mobile-menu {
  max-height: 600px; /* suficiente para todos los items */
  padding: 1rem 0;
}

/* Cuando está abierto cambia el icono a X */
#menu-toggle:checked + .menu-icon {
  content: '✕';
  font-size: 2.2rem;
}

/* ── DESKTOP ─────────────────────────────── */
@media (min-width: 769px) {
  .menu-icon,
  .mobile-menu {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    gap: 1.8rem;
  }

  .desktop-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }

  .desktop-nav a:hover {
    color: #0066cc;
  }

  .desktop-btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
  }

  .desktop-btn:hover {
    background: #0055aa;
  }

  .header-content {
    flex-wrap: nowrap;
  }
}
/* UTILIDADES */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    background: #2563eb;
    color: #fff;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 6px;
}

.logo small {
    display: block;
    font-size: 12px;
    color: #666;
}

/* NAV */
.nav {
    display: flex;
    gap: 18px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.nav a:hover {
    color: #2563eb;
}

/* BOTÓN */
.btn-contact {
    background: #2563eb;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 80px 0;
    
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* MOBILE */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav, .btn-contact {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-menu {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
    }
}


/*css cuadro que dice : sobre nosotros  */
.hero-about {
    background: linear-gradient(135deg, #0055aa 0%, #0077e6 100%);
    color: white;
    text-align: center;
    padding: 4.5rem 1.2rem 5rem;
    position: relative;
    overflow: hidden;
  }

  .hero-about h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: -0.6px;
  }

  .hero-about p {
    font-size: 1.18rem;
    font-weight: 400;
    opacity: 0.94;
    line-height: 1.45;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Mejora visual sutil en móviles */
  @media (max-width: 480px) {
    .hero-about {
      padding: 4rem 1rem 4.8rem;
    }
    
    .hero-about h1 {
      font-size: 2.2rem;
    }
    
    .hero-about p {
      font-size: 1.08rem;
    }
  }

  @media (min-width: 768px) {
    .hero-about {
      padding: 7rem 2rem 8rem;
    }
    
    .hero-about h1 {
      font-size: 3.8rem;
    }
    
    .hero-about p {
      font-size: 1.4rem;
    }
  }



/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
}

#section1{
  border: solid black 3px;
}


/* HERO SECTION */
.hero {
    padding: 60px 5%;
    
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Imagen */
.hero-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Contenido */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: black;
}

.hero-content h1 span {
    color: #2563eb; /* azul destacado */
}

.hero-content p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 25px;
    max-width: 520px;
}

/* Lista */
.hero-list {
    list-style: none;
    margin-bottom: 35px;
}

.hero-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: black;
}

/* Check azul */
.hero-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Botón */
.hero-btn {
    display: inline-block;
    background-color: #2563eb;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background-color: #1d4ed8;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-list li {
        padding-left: 0;
    }

    .hero-list li::before {
        position: static;
        margin-right: 8px;
    }
}


/*section lugares*/
/* Sección */
.coverage {
    padding: 80px 5%;
}

.coverage-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.coverage-header {
    text-align: center;
    margin-bottom: 60px;
}

.coverage-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.h2servicio{

    color: white
}

.coverage-header h2 span {
    color: #2563eb;
}

.coverage-header p {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 650px;
    margin: auto;
    line-height: 1.6;
}

/* Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Cards */
.coverage-card {
    background: #f9fafb;
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coverage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.coverage-card h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

/* Línea azul */
.coverage-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #93c5fd;
    border-radius: 2px;
}

/* Lista */
.coverage-card ul {
    list-style: none;
    margin-top: 15px;
}

.coverage-card ul li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .coverage {
        padding: 60px 20px;
    }

    .coverage-header h2 {
        font-size: 2.1rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .coverage-card {
        padding: 25px 20px;
    }
}


/*cogido del globo azul*/

.servicio-domicilio-banner {
  background-color: #0066cc;     /* azul característico */
  color: white;
  padding: 20px 15px;
  text-align: center;
  width: 100%;
}

/* Contenedor para centrar y dar ancho máximo en pantallas grandes */
.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Wrapper principal del contenido */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Icono de ubicación */
.icon-location {
  font-size: 2.8rem;           /* grande en móvil */
  margin-bottom: 8px;
  line-height: 1;
}

/* Título - muy importante en móvil */
h2 {
  font-size: 1.45rem;           /* tamaño legible pero no excesivo */
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  text-transform: uppercase;    /* ← coincide con tu captura */
  letter-spacing: 0.5px;
}

/* Texto descriptivo */
p {
  font-size: 1.1rem;
  margin: 8px 0 4px;
  font-weight: 400;
  line-height: 1.4;
}

.emoji {
  font-size: 1.15em;
}

/* Texto pequeño inferior */
.extra-info {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 6px;
  font-weight: 500;
}

/* ──────────────────────────────────────────────
   Media query - cuando hay más espacio (tablet+)
─────────────────────────────────────────────── */
@media (min-width: 576px) {
  .servicio-domicilio-banner {
    padding: 28px 20px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .content-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
  }
  
  .icon-location {
    font-size: 3.5rem;
    margin: 0;
  }
  
  p {
    font-size: 1.25rem;
    margin: 0;
  }
}





/*nuestro compromiso contigo */

.compromiso-section {
  padding: 50px 18px 60px;
  background: white;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin: 0 0 1.2rem;
  line-height: 1.15;
  color: #1a1a1a;
}

.highlight {
  color: #0066cc;          /* azul corporativo principal */
  font-weight: 700;
}

.intro {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 2.8rem;
}

.compromiso-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #f0f0f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: #0066cc;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  margin: 0 auto 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.card h3 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: #222;
  line-height: 1.25;
  font-weight: 700;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ── TABLET y superior ─────────────────────────────── */
@media (min-width: 640px) {
  .compromiso-section {
    padding: 70px 30px;
  }

  h2 {
    font-size: 2.6rem;
  }

  .intro {
    font-size: 1.25rem;
  }

  .compromiso-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
  }

  .card {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
  }

  .icon-circle {
    width: 90px;
    height: 90px;
    font-size: 2.8rem;
  }
}

@media (min-width: 992px) {
  .card {
    max-width: 340px;
  }
}






/*foother*/

.site-footer {
  background: #1a1a2e; /* azul oscuro / negro azulado típico */
  color: #e0e0ff;
  padding: 40px 15px 20px;
  font-size: 0.95rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  text-align: center;
}

.logo {
  margin-bottom: 0.8rem;
}

.logo-box {
  display: inline-block;
  background: #0066cc;
  color: white;
  font-weight: bold;
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 10px;
  text-align: center;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin: 0.4rem 0;
  color: white;
}

.footer-brand p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-column {
  text-align: center;
}

.footer-column h4 {
  color: white;
  font-size: 1.15rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.social-icons a {
  color: #e0e0ff;
  font-size: 1.8rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.25s;
}

.social-icons a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ── TABLET y superior ─────────────────────────────── */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-column {
    text-align: left;
  }

  .site-footer {
    padding: 60px 25px 30px;
  }
}