body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #9cabbf;
    color: #0c0808;
  }
  
  header {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: rgb(232, 225, 225);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgb(255, 255, 255);
  }
  
  header img {
    height: 200px;
  }
  
  section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
  }
  
  h2 {
    color: #0a0a0b;
    border-bottom: 2px solid #ffffff;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
  }
  
  .services, .contact {
    background-color: rgb(255, 255, 255);
    margin-top: 20px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .services:hover, .contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(5, 5, 5, 0.15);
  }
  
  ul {
    padding-left: 20px;
  }
  
  .contact-info {
    font-size: 1.2em;
    margin-top: 10px;
  }
  
  .btn-call,.btn-wa {
    display: inline-block;
    margin-top: 15px;
    background-color: #0d0d0e;
    color: rgb(255,255,255);
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .btn-call:hover {
    background-color: #19212c;
  }
  
  .cta-row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

.btn-call, .btn-wa {
  display:inline-block; padding:12px 20px; border-radius:30px; font-weight:700;
  text-decoration:none; color:#fff; transition:background-color .3s ease;
}
.btn-call{ background:#1f2937; }
.btn-call:hover{ background:#19212c; }

.btn-wa{ background:#25D366; }         /* verde WhatsApp */
.btn-wa:hover{ background:#1ebe57; }

/* Animación de “crecer” al interactuar */
.btn-call,.btn-wa{ /* si tienes botón de WhatsApp, inclúyelo aquí */
  transition: transform .15s ease, box-shadow .15s ease, background-color .3s ease;
  transform-origin: center center;
  will-change: transform;
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* iOS: quita el flash azul */
  cursor: pointer;
}

/* Hover (PC/trackpad) */
.btn-call:hover,
.btn-wa:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* Active (TOQUE en móviles) */
.btn-call:active,
.btn-wa:active{
  transform: scale(1.07);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

/* Accesibilidad: foco visible al navegar con teclado */
.btn-call:focus-visible,
.btn-wa:focus-visible{
  outline: 3px solid #9ae6ff;
  outline-offset: 2px;
}

/* Si prefieres desactivar el “hover” en pantallas táctiles */
@media (hover: none){
  .btn-call:hover,
  .btn-wa:hover{ transform: none; box-shadow: none; }
}

/* Tu estilo original */
.btn-call,.btn-wa{
  display: inline-block;
  margin-top: 15px;
  background-color: #0d0d0e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color .3s ease; /* ya lo tenías */
}

/* Hover de color (ya lo tenías) */
.btn-call:hover,.btn-wa:hover{
  background-color: #19212c;
}/* === Añade estas mejoras justo debajo === */
/* Animación de “crecer” y sombra */
.btn-call{
  transition: transform .15s ease, box-shadow .15s ease, background-color .3s ease;
  transform-origin: center;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: pointer;
}
.btn-call:hover,.btn-wa:hover{
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.btn-call:active,.btn-wa:active{
  transform: scale(1.07);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.btn-call:focus-visible,.btn-wa:focus-visible{
  outline: 3px solid #9ae6ff;
  outline-offset: 2px;
}

/* En pantallas táctiles puras, desactiva el hover (opcional) */
@media (hover: none){
  .btn-call:hover,.btn-wa:hover{ transform:none; box-shadow:none; }
}

  footer {
    background-color: #161e2a;
    color: #78d718;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    margin-top: 40px;
  }
  
  @media (max-width: 600px) {
    section {
      padding: 20px 10px;
    }
    h1 {
      font-size: 1.8em;
    }
    .btn-call {
      width: 100%;
      text-align: center;
    }
  }
  
.galeria-seccion {
  margin-bottom: 50px;
}

.contenedor-fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contenedor-fotos img {
  width: 280px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(29, 20, 20, 0.15);
  transition: transform 0.3s ease;
}

.contenedor-fotos img:hover {
  transform: scale(1.05);
}
.menu-principal {
  margin-top: 15px;
}

.boton-menu {
  color: rgb(75, 226, 10);
  background-color: transparent;
  padding: 8px 16px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 4px;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.boton-menu:hover {
  background-color: rgb(75, 226, 10);
  color: #1f2937;
  text-decoration: none;
}

header {
  background: linear-gradient(120deg, rgba(39, 40, 55, 0.5), rgba(39, 50, 83, 0.5)),
              url('header-con-fondo.jpg') no-repeat center center;
  background-size: cover;
  color: rgb(255, 255, 255);
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Hace que el contenido empuje a los logos hacia el fondo del section */
/* 1) Evita scroll horizontal en móviles */
html, body { max-width: 100%; overflow-x: hidden; }

/* 2) Centra y limita el header */
header{
  display: flex;
  flex-direction: column;
  align-items: center;   /* <-- centra todo horizontal */
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

/* 3) Centra el logo y hazlo responsivo */
header img{
  display: block;
  margin: 0 auto;                    /* <-- centra el bloque */
  width: clamp(140px, 40vw, 240px);  /* ancho flexible */
  height: auto !important;           /* ignora alturas inline */
  max-width: 100%;
}

/* 4) Menú sin desbordes */
.menu-principal{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.boton-menu{ white-space: nowrap; }

/* 5) Secciones centradas y con margen seguro */
section{ max-width: 960px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* 6) (Opcional) Si algo aún se sale, recórtalo visualmente */
.services, .contact{ min-width: 0; overflow-wrap: anywhere; }

/* Logo más pequeño y responsivo */
.logo{
  width: clamp(110px, 28vw, 180px);
  height: auto;
}

/* Ajustes finos por tamaño de pantalla (opcional) */
@media (max-width: 600px){
  .logo{ width: clamp(100px, 36vw, 150px); }
}
@media (min-width: 1024px){
  .logo{ max-width: 160px; }
}

/* ===== Base responsive ===== */
*{ box-sizing: border-box; }
html, body{ max-width:100%; overflow-x:hidden; margin:0; padding:0; }
img, video{ max-width:100%; height:auto; display:block; }

/* Tipografía adaptable */
h1{ font-size: clamp(1.6rem, 3.8vw, 2.4rem); margin: .4rem 0; }
h2{ font-size: clamp(1.2rem, 2.8vw, 1.6rem); margin: .6rem 0 .8rem; }
p, li{ font-size: clamp(.95rem, 1.9vw, 1rem); }

/* Header centrado y sin desbordes */
header{
  display:flex; flex-direction:column; align-items:center;
  text-align:center; padding: 16px 12px;
}
header .logo{                 /* añade class="logo" al <img> del logo */
  width: clamp(110px, 28vw, 180px);
  height:auto;
  margin: 0 auto 8px;
}

/* Menú */
.menu-principal{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin:12px 0;
  width:100%;
}
.boton-menu{
  display:inline-block; padding:8px 12px; border-radius:8px;
  white-space:nowrap; text-decoration:none; font-weight:700;
}

/* Contenido / tarjetas */
section{ max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.services, .contact{
  background:#fff; border-radius:10px; padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08); margin-bottom:18px;
  min-width:0; overflow-wrap:anywhere;
}

/* Botón llamar */
.call-button, .btn-call{
  display:inline-block; margin-top:15px; padding:12px 20px;
  background:#1f2937; color:#fff; text-decoration:none; border-radius:30px; font-weight:700;
  transition: background-color .3s ease;
}
.call-button:hover, .btn-call:hover{ background:#19212c; }

/* Galería responsive (si usas .gallery) */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:16px; justify-items:center; margin-top: 16px;
}
.gallery img{ width:100%; max-width:320px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.1); }

/* Logos de marcas */
.brand-row{
  display:flex; flex-wrap:wrap; gap:20px; justify-content:center; align-items:center; margin-top:16px;
  border-top:1px solid rgba(0,0,0,.08); padding-top:12px;
}
.brand-logo{ height: clamp(36px, 6vw, 60px); width:auto; }

/* Footer */
footer{ text-align:center; padding:12px; }

/* ===== Tablets (≤1024px) ===== */
@media (max-width:1024px){
  section{ padding: 28px 20px; }
  .services, .contact{ padding:18px; }
}

/* ===== Teléfonos (≤600px) ===== */
@media (max-width:600px){
  .menu-principal{ flex-direction:column; align-items:center; gap:10px; }
  .boton-menu, .call-button, .btn-call{ width:min(420px, 92%); text-align:center; }
  section{ padding: 22px 14px; }
}
