body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
}
.site-header {
  color: #000;
  background: #fff; color: #000;
  
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.2em;
  font-weight: bold;
}
.nav {
  display: flex;
  gap: 1em;
}
.nav a {
  color: #af1f24;
  
  text-decoration: none;
  padding: 0.5em;
}
.nav a.active, .nav a:hover {
  background: #ffc11f;
  color: #af1f24;
}
.menu-toggle {
  color: #000;
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}
.hero {
  padding: 2em;
  background: #ffc11f;
  text-align: center;
}
.site-footer {
  color: #000;
  background: #fff; color: #000;
  
  padding: 1em;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.footer-logo img {
  max-width: 80px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  
  padding: 0.8em 1em;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #fff; color: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    z-index: 10;
  }
  .nav.show {
    display: flex;
  }
  .menu-toggle {
  color: #000;
    display: block;
  }
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-img {
  max-height: 50px;
}


main.hero {
  background: #fff;
  position: relative;
  padding: 3em 1em;
  text-align: center;
  z-index: 1;
}
main.hero::before, main.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 80px;
  left: 0;
  z-index: -1;
}
main.hero::before {
  top: 0;
  background: radial-gradient(circle at top, #ffc11f 0%, transparent 70%);
}
main.hero::after {
  bottom: 0;
  background: radial-gradient(circle at bottom, #af1f24 0%, transparent 70%);
}


.features {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 2em;
  background: #f9f9f9;
}
.feature-card {
  background: white;
  border: 2px solid #af1f24;
  border-radius: 10px;
  padding: 1em;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.feature-card:hover {
  transform: scale(1.03);
}

.benefits {
  padding: 2em;
  text-align: center;
  background: #fff;
}
.benefits ul {
  list-style: none;
  padding: 0;
}
.benefits li {
  margin: 0.5em 0;
  font-size: 1.1em;
}

.testimonials {
  background: #ffc11f;
  padding: 2em;
  text-align: center;
}
.testimonials blockquote {
  background: white;
  display: inline-block;
  max-width: 600px;
  padding: 1em;
  margin: 1em;
  border-left: 4px solid #af1f24;
  font-style: italic;
}

.cta {
  background: #af1f24;
  color: white;
  text-align: center;
  padding: 2em;
}
.cta-button {
  background: #ffc11f;
  color: #000;
  padding: 0.7em 1.5em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: inline-block;
  margin-top: 1em;
}

.banner-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 2em;
}


.icono-tarjeta {
  width: 50px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 90%;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 0.8em;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}
.whatsapp-icon {
  width: 28px;
  height: 28px;
}

.servicios {
  padding: 2em;
  background: #fff;
}

.servicio.destacado {
  text-align: center;
  background: #ffc11f20;
  padding: 2em;
  margin-bottom: 2em;
  border-radius: 12px;
}
.servicio.destacado img {
  width: 60px;
}
.servicio.destacado .filosofia {
  margin-top: 1em;
  font-style: italic;
  font-weight: bold;
  color: #af1f24;
}

.grid-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.servicio-card {
  width: 280px;
  background: #fff;
  border: 2px solid #af1f24;
  border-radius: 12px;
  padding: 1em;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.servicio-card img {
  width: 40px;
  margin-bottom: 10px;
}

.cta {
  background: #af1f24;
  color: white;
  text-align: center;
  padding: 2em;
}
.cta-button {
  background: #ffc11f;
  color: #000;
  padding: 0.7em 1.5em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: inline-block;
  margin-top: 1em;
}
.site-footer {
  background: #fff;
  color: #000;
  padding: 2em;
  text-align: center;
}
.site-footer img {
  max-width: 60px;
  margin-bottom: 1em;
}

.banner-servicios {
  margin-bottom: 2em;
}
.banner-servicios .banner-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.domotica-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  padding: 2em;
}
.domotica-card {
  background: #fff;
  border: 2px solid #af1f24;
  border-radius: 12px;
  width: 280px;
  padding: 1em;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.domotica-card img {
  width: 50px;
  margin-bottom: 10px;
}

.banner-domotica {
  margin-bottom: 2em;
}
.banner-domotica .banner-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}


.banner-contacto {
  margin-bottom: 2em;
}
.banner-contacto .banner-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2em;
  padding: 2em;
  background: #fff;
}

.formulario-contacto, .datos-contacto {
  width: 100%;
  max-width: 500px;
}

.formulario-contacto h2,
.datos-contacto h2 {
  text-align: center;
  margin-bottom: 1em;
  color: #af1f24;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

form input,
form select,
form textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

form button {
  background: #af1f24;
  color: white;
  border: none;
  padding: 0.75em;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #8c191e;
}

form label {
  font-size: 0.9em;
}

.datos-contacto p {
  margin: 0.5em 0;
  font-size: 1em;
}

.datos-contacto a {
  color: #af1f24;
  text-decoration: none;
}

.datos-contacto a:hover {
  text-decoration: underline;
}
