:root{
  --accent:#0ea5a4;
  --dark:#0f172a;
  --muted:#6b7280;
}

*{box-sizing:border-box}
body{
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin:0;
  color:#0f172a;
  line-height:1.5;
}
a{color:var(--accent); text-decoration:none}

header{
  background:linear-gradient(90deg,#f8fafc, #ecfeff);
  border-bottom:1px solid #e6eef0;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.logo{
  width:56px;
  height:56px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),#06b6d4);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-weight:700;
}

nav ul{
  display:flex;
  gap:18px;
  list-style:none;
  padding:0;
  margin:0;
}

.hero{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:28px;
  align-items:center;
  padding:34px 0;
}

.badge{
  background:#ecfeff;
  color:#065f46;
  padding:6px 10px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  display:inline-block;
  margin-bottom:12px;
}

h1{font-size:28px;margin:6px 0}
p.lead{color:var(--muted);margin-top:6px}

.cta-wrap{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.btn{
  background:var(--accent);
  color:#fff;
  padding:12px 16px;
  border-radius:10px;
  display:inline-flex;
  gap:8px;
  align-items:center;
}

.btn.outline{
  background:transparent;
  color:var(--dark);
  border:1px solid #e6eef0;
}

.card{
  background:white;
  border:1px solid #edf2f7;
  padding:18px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(12,16,24,0.04);
}

.services{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:16px;
  margin-top:18px;
}

.service-item{
  padding:14px;
  border-radius:10px;
  border:1px solid #f1f5f9;
  background:linear-gradient(180deg,#fff,#fbfeff);
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

footer{
  background:#0b1220;
  color:#dbeafe;
  padding:28px 0;
  margin-top:30px;
}

form input, form textarea, form button{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #e6eef0;
}

label{
  display:block;
  font-size:14px;
  margin-bottom:8px;
  color:var(--muted);
}

.map{
  width:100%;
  height:220px;
  border-radius:10px;
  overflow:hidden;
}

@media (max-width:880px){
  .hero{grid-template-columns:1fr;}
  .top{flex-direction:column;gap:12px}
  .grid{grid-template-columns:1fr}
  .container{padding:16px}
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo imagen */
.logo-img {
  width: 130px;
  height: 100px;
  height: auto;
  border-radius: 8px;
}

/* Texto pequeño bajo el título */
.brand .sub {
  font-size: 13px;
  color: var(--muted);
}

/* Botón dentro de la navegación */
nav ul li .btn-nav {
  padding: 6px 14px;
  border: 1px solid #e6eef0;
  border-radius: 8px;
  background: #fff;
  font-weight: 500;
}

nav ul li .btn-nav:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* clase boton wha */
.whatsapp-btn {
  position: fixed;
  bottom: 20px; /* Distancia desde la parte inferior */
  left: 10px; /* Distancia desde el borde derecho */
  z-index: 1000; /* Asegura que el botón esté sobre otros elementos */
  width: 60px;
  height: 60px;
  background-image: url('/img/wa.ico'); /* Ruta de la imagen del icono de WhatsApp */
  background-size: cover; /* Ajusta el tamaño de la imagen al tamaño del botón */
  border: 2px solid #25D366; /* Borde sólido de 2px de color verde */
  border-radius: 50%; /* Hace que el botón sea completamente redondo */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra */
  transition: transform 0.2s, background-color 0.2s; /* Transición de transformación y color de fondo */
  overflow: hidden; /* Oculta el exceso de animación */
  will-change: transform;
  
}

/* Efecto de ondas */
.whatsapp-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: ripple 1s infinite;
}

@keyframes ripple {
  from {
      transform: scale(0);
      opacity: 1;
  }
  to {
      transform: scale(2.5);
      opacity: 0;
  }
}

/* Estilos cuando se pasa el cursor sobre el botón */
.whatsapp-btn:hover {
  transform: scale(1.1); /* Aumenta ligeramente el tamaño del botón */
  background-color: #4CAF50; /* Cambia el color de fondo cuando se pasa el cursor sobre el botón */
}



/* Estilo para pantallas móviles (ancho máximo de 768px) */
@media (max-width: 768px) {
  .responsive-link {
      font-size: 21px; /* Tamaño de letra más pequeño en móviles */
  }
}


/* clase boton llamada */
.call-btn {
  position: fixed;
  bottom: 20px; /* Distancia desde la parte inferior */
  left: 97%; /* Posición horizontal centrada */
  transform: translateX(-90%); /* Ajuste para centrar el botón completamente */
  z-index: 1000; /* Asegura que el botón esté sobre otros elementos */
  width: 60px;
  height: 60px;
  background-image: url('/img/llamada.webp'); /* Ruta de la imagen del icono de llamada */
  background-size: cover; /* Ajusta el tamaño de la imagen al tamaño del botón */
  border: 2px solid #34b7f1; /* Borde sólido de 2px de color azul */
  border-radius: 50%; /* Hace que el botón sea completamente redondo */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra */
  transition: transform 0.2s, background-color 0.2s; /* Transición de transformación y color de fondo */
  overflow: hidden; /* Oculta el exceso de animación */
  will-change: transform;
}

/* Efecto de ondas */
.call-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: ripple 1s infinite;
}

@keyframes ripple {
  from {
      transform: scale(0);
      opacity: 1;
  }
  to {
      transform: scale(2.5);
      opacity: 0;
  }
}

/* aqui va la seccion #3 */
.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.feature {
  flex: 1 1 calc(25% - 20px);
  text-align: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon {
  font-size: 40px;
  color: #e60000; /* rojo Bosch */
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .feature {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .feature {
    flex: 1 1 100%;
  }
}

/* aqui va la seccion 3 */

.visit-section {
  background-color: #928d8d; /* Rojo Bosch */
  color: white;
  padding: 40px 20px;
}

.visit-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.visit-image img {
  max-width: 100%;
  border-radius: 8px;
}

.visit-text {
  flex: 1;
  padding: 20px;
}

.visit-text h2 {
  font-size: 28px;
  font-weight: bold;
}

.visit-text h2 span {
  color: #fff;
}

.visit-text p {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.5;
}

.celular {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0,0,0,0.2);
  padding: 12px 20px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.celular:hover {
  background-color: rgba(0,0,0,0.3);
}

.phone-icon {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .visit-container {
    flex-direction: column;
    text-align: center;
  }
  
  .visit-text {
    padding: 10px 0;
  }
}


/* aqui va la seccion 4 */
.cta-section {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
}

.cta-section h3 {
  color: #928d8d; /* Rojo Bosch */
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.phone-number {
  font-size: 48px;
  font-weight: bold;
  color: #555;
  margin: 10px 0 20px;
}

.what {
  display: inline-block;
  background-color: #8CC63F; /* Rojo Bosch */
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.what .arrow {
  margin-left: 10px;
}

.what:hover {
  background-color: #6cc57f;
}

/* Responsive */
@media (max-width: 768px) {
  .phone-number {
    font-size: 36px;
  }
}


#hero-heading {
  font-size: 2rem;        /* tamaño ajustado */
  line-height: 1.3;       /* espaciado entre líneas */
  font-weight: 700;       /* negrita */
  margin: 0 0 12px 0;     /* margen inferior */
  color: #1f2937;         /* gris oscuro (ajústalo a tu paleta) */
}

