* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
  background-color: #070b14;
  color: #ffffff;
  scroll-behavior: smooth;
}

/* Hero Banner idéntico a la gráfica */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url(../img/Gemini_Generated_Image_b7fk8jb7fk8jb7fk.png)
    center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(7, 11, 20, 0.65) 100%,
    rgba(11, 17, 30, 0.65) 40%,
    rgba(11, 17, 30, 0.5) 60%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex: 1;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

/* Logo Artico */
.brand-box {
  margin-bottom: 20px;
}

.logo-title {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.logo-sub {
  font-size: 0.9rem;
  letter-spacing: 7px;
  color: #94a3b8;
  text-transform: uppercase;
}

.hero-slogan {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 25px;
  color: #94a3b8;
  line-height: 1.3;
}

.hero-slogan .highlight {
  color: #ffffff;
  font-weight: 700;
}

/* Lista de Servicios Interactivos (Estética de la gráfica) */
.services-list-graphic {
  list-style: none;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-trigger {
  background: transparent; /* Fondo transparente para sacar la caja */
  border: none; /* Sin bordes */
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 8px 0; /* Ajustamos un poco el padding ya que no es una caja */
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.service-trigger i {
  background: #0284c7;
  color: #ffffff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
  flex-shrink: 0;
}

.service-trigger span {
  color: #94a3b8;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.service-trigger strong {
  color: #ffffff;
  display: block;
  font-size: 1rem;
}

/* Efecto cuando se hace clic / se selecciona un servicio */
.service-trigger:hover,
.service-trigger.active {
  background: rgba(2, 132, 199, 0.25);
  border-color: #38bdf8;
  transform: translateX(5px);
}

.service-trigger.active i {
  background: #38bdf8;
  color: #070b14;
}

/* Garantía */
.warranty-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(42, 62, 80, 0.75);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 8px 14px;
  border-radius: 4px;
  backdrop-filter: blur(3px);
  max-width: 350px;
}

.warranty-badge i {
  font-size: 1.8rem;
  color: #38bdf8;
}

.warranty-badge strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.warranty-badge span {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Barra Inferior */
.hero-footer-bar {
  position: fixed; /* Lo fija a la pantalla */
  bottom: 0; /* Lo pega contra el borde inferior */
  left: 0;
  width: 100%; /* Ocupa todo el ancho */
  z-index: 1000; /* Se asegura de que esté siempre por encima de las demás secciones */
  background: rgba(
    7,
    11,
    20,
    0.95
  ); /* Fondo semitransparente para que no se mezcle */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.footer-bar-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 1px;
}

.feature-item i {
  color: #38bdf8;
  font-size: 1.1rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366; /* Color clásico de WhatsApp */
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 60%; /* Lo hace perfectamente redondo */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px; /* Tamaño del logo */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1); /* Pequeño efecto de zoom al pasar el mouse */
  color: #ffffff;
}
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    transform 0.3s,
    background 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta:hover {
  transform: scale(1.05);
  background: #22bf5b;
}

.whatsapp-cta i {
  font-size: 1.8rem;
}

.wa-text span {
  font-size: 0.65rem;
  letter-spacing: 1px;
  display: block;
  opacity: 0.9;
}

.wa-text strong {
  font-size: 1.1rem;
  letter-spacing: 1px;
  line-height: 1;
}

/* Sección de Trabajos Inferior */
.works-section {
  padding: 80px 20px;
  background-color: #0b111e;
}

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

.works-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title {
  font-size: 2rem;
  color: #ffffff;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
}

.btn-show-all {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-show-all:hover {
  background: #38bdf8;
  color: #070b14;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.work-card {
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* Fondos de ejemplo */
.heladera-dom {
  background-image: url("../img/Gemini_Generated_Image_ums3vbums3vbums3.png");
}
.lavarropas-img {
  background-image: url("https://images.unsplash.com/photo-1626806787461-102c1bfaaea1?auto=format&fit=crop&w=600&q=80");
}
.aire-img {
  background-image: url("../img/Gemini_Generated_Image_xs8cdjxs8cdjxs8c.png");
}
.comercial-img {
  background-image: url("../img/Gemini_Generated_Image_a9gqmya9gqmya9gq.png");
}
.heladera-dom2 {
  background-image: url("../img/Gemini_Generated_Image_ej36u1ej36u1ej36.png");
}
.aire-img2 {
  background-image: url("../img/reparacion-aire-acondicionado.jpg");
}

.work-info {
  padding: 25px;
}

.badge-cat {
  display: inline-block;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.work-info h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.work-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.work-action {
  display: inline-block;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.work-action:hover {
  text-decoration: underline;
}

/* Ocultar tarjetas filtradas */
.work-card.hide {
  display: none;
}

@media (max-width: 768px) {
  .footer-bar-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .feature-item {
    justify-content: center;
  }
  .whatsapp-cta {
    justify-content: center;
  }
}

/* Estilo para que la manito funcione únicamente en el título Ártico */
.title-link {
  text-decoration: none;
  color: #ffffff; /* Color blanco original */
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease;
}

.title-link:hover {
  color: #38bdf8; /* Se pone celeste al pasar el mouse */
  transform: scale(1.02);
}

.parrafo-foo {
  font-weight: 300;
}
