/* RAVE CLIMATIZACIÓN — hoja de estilos principal */

:root {
  --azul: #101a45;
  --azul-osc: #0b1233;
  --azul-card: #16204f;
  --azul-borde: #2b3970;
  --azul-borde-claro: #46527f;
  --menta: #16b98d;
  --menta-clara: #4fe3bd;
  --texto: #16204a;
  --texto-sec: #4b5578;
  --texto-cuerpo: #3d4666;
  --texto-claro: #c3cade;
  --texto-tenue: #aeb7d3;
  --gris-bg: #f4f6fb;
  --gris-borde: #e6e9f2;
  --gris-linea: #e0e5f0;
  --titulo: 'Montserrat', Helvetica, Arial, sans-serif;
  --cuerpo: 'Barlow', Helvetica, Arial, sans-serif;
  --ancho: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--texto);
  font-family: var(--cuerpo);
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--texto); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--menta); }

section[id], div[id] { scroll-margin-top: 96px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; }
.contenedor-angosto { max-width: 960px; margin: 0 auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-menta { background: var(--menta); color: var(--azul-osc); }
.btn-menta:hover { background: var(--menta-clara); color: var(--azul-osc); }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--menta); color: var(--azul-osc); }
.btn-borde-claro { border: 1px solid var(--azul-borde-claro); color: #fff; }
.btn-borde-claro:hover { border-color: var(--menta-clara); color: var(--menta-clara); }
.btn-borde { border: 1px solid #d3d9e8; color: var(--texto); }
.btn-borde:hover { border-color: var(--menta); color: var(--menta); }
.btn-sm { font-size: 13px; padding: 16px 28px; }

.enlace-menta {
  color: var(--menta-clara);
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--menta-clara);
  padding-bottom: 4px;
}
.enlace-menta:hover { color: #fff; border-color: #fff; }

/* ---------- Barra superior ---------- */
.barra-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--azul);
  color: #fff;
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--titulo);
}
.barra-top a { color: var(--menta-clara); }
.barra-top a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--gris-borde);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 48px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--titulo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav .btn { padding: 12px 22px; }
.nav-servicios { display: flex; align-items: center; gap: 6px; }
.nav-servicios span:last-child { color: var(--menta); font-size: 11px; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gris-linea);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--azul); }

/* ---------- Subnav de servicios ---------- */
.subnav {
  background: var(--gris-bg);
  border-bottom: 1px solid var(--gris-borde);
  padding: 12px 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  font-family: var(--titulo);
  font-weight: 500;
}
.subnav a { color: var(--texto-sec); }

/* ---------- Hero ---------- */
.hero { background: var(--azul); color: #fff; padding: 88px 32px 96px; }
.hero .contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: center;
}
.antetitulo {
  font-family: var(--titulo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--menta-clara);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--titulo);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 .acento { color: var(--menta-clara); }
.hero p { font-size: 19px; line-height: 1.6; color: var(--texto-claro); max-width: 520px; margin: 0 0 36px; }
.grupo-botones { display: flex; gap: 16px; flex-wrap: wrap; }

.marco-video {
  border: 1px solid var(--azul-borde-claro);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--azul-card);
}
.marco-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Redes sociales ---------- */
.redes { background: var(--gris-bg); padding: 56px 32px; border-bottom: 1px solid var(--gris-borde); }
.redes .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.redes h2 {
  font-family: var(--titulo);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.redes h2 span { color: var(--menta); }
.redes-lista { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  border: 1px solid #d3d9e8;
  background: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--titulo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip:hover { border-color: var(--menta); color: var(--menta); }
.chip-menta { border-color: var(--menta); background: var(--menta); color: var(--azul-osc); }
.chip-menta:hover { background: var(--menta-clara); border-color: var(--menta-clara); color: var(--azul-osc); }

/* ---------- Nosotros ---------- */
.nosotros { padding: 96px 32px; }
.nosotros .contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}
.nosotros h2 {
  font-family: var(--titulo);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}
.nosotros p { font-size: 18px; line-height: 1.75; color: var(--texto-cuerpo); margin: 0 0 32px; text-wrap: pretty; }
.nosotros strong { color: var(--texto); }
.marco-foto { border: 1px solid var(--gris-linea); border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.marco-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Por qué elegirnos ---------- */
.elegirnos { background: var(--azul); color: #fff; padding: 96px 32px; }
.elegirnos-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.elegirnos h2 {
  font-family: var(--titulo);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
}
.elegirnos-intro p { font-size: 18px; line-height: 1.65; color: var(--texto-claro); margin: 0 0 24px; }
.rejilla-tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.tarjeta { background: var(--azul-card); border: 1px solid var(--azul-borde); border-radius: 8px; padding: 32px; }
.tarjeta img { height: 48px; width: auto; display: block; margin-bottom: 18px; }
.tarjeta h3 {
  font-family: var(--titulo);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.25;
}
.tarjeta p { font-size: 16px; line-height: 1.6; color: var(--texto-tenue); margin: 0; }

/* ---------- Marcas ---------- */
.marcas { padding: 88px 32px; }
.marcas-encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.marcas h2 {
  font-family: var(--titulo);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
}
.marcas-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.marca {
  border: 1px solid var(--gris-linea);
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
}
.marca img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ---------- Servicios ---------- */
.servicios { background: var(--azul); color: #fff; padding: 96px 32px; }
.servicios h2 {
  font-family: var(--titulo);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  margin: 0 0 56px;
  letter-spacing: -.01em;
}
.servicio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--azul-borde);
}
.servicio:last-child { border-bottom: 1px solid var(--azul-borde); }
.servicio-num { font-family: var(--titulo); font-size: 13px; font-weight: 700; color: var(--menta-clara); margin-bottom: 14px; }
.servicio h3 {
  font-family: var(--titulo);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
  line-height: 1.15;
}
.servicio p { font-size: 17px; line-height: 1.7; color: var(--texto-claro); margin: 0 0 22px; }
.servicio-foto {
  border: 1px solid var(--azul-borde);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--azul-card);
}
.servicio-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.servicio-invertido .servicio-foto { order: -1; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--gris-bg); padding: 88px 32px; }
.faq h2 {
  font-family: var(--titulo);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.faq-intro { font-size: 17px; color: var(--texto-sec); margin: 0 0 44px; }
.faq-intro a { color: var(--menta); border-bottom: 1px solid #b6e8d9; }
.faq-lista { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--gris-linea); border-radius: 8px; padding: 22px 26px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--titulo);
  font-size: 17px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item .mas { color: var(--menta); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq-item[open] .mas { transform: rotate(45deg); }
.faq-item p { font-size: 16px; line-height: 1.65; color: var(--texto-sec); margin: 16px 0 0; }
.faq-item strong { color: var(--texto); }

/* ---------- Contacto ---------- */
.contacto { padding: 88px 32px; }
.contacto .contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}
.contacto h2 {
  font-family: var(--titulo);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.contacto > .contenedor > div > p { font-size: 19px; color: var(--texto-sec); margin: 0 0 32px; }
.mapa { border: 1px solid var(--gris-linea); border-radius: 8px; overflow: hidden; height: 340px; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Privacidad ---------- */
.privacidad { background: var(--gris-bg); padding: 72px 32px; border-top: 1px solid var(--gris-borde); }
.privacidad h2 {
  font-family: var(--titulo);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -.01em;
}
.privacidad p { font-size: 16px; line-height: 1.7; color: var(--texto-sec); margin: 0 0 14px; text-wrap: pretty; }
.privacidad p:last-child { margin-bottom: 0; }
.privacidad a { color: var(--menta); border-bottom: 1px solid #b6e8d9; }

/* ---------- Footer ---------- */
.footer { background: var(--azul); color: #fff; padding: 72px 32px 32px; }
.footer-rejilla {
  max-width: var(--ancho);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
}
.footer-marca { font-family: var(--titulo); font-size: 30px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.footer-marca-sub {
  font-family: var(--titulo);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--menta-clara);
  margin-top: 4px;
}
.footer-desc { font-size: 16px; line-height: 1.6; color: var(--texto-tenue); margin: 22px 0 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-col a { color: var(--texto-claro); }
.footer-col a:hover { color: var(--menta-clara); }
.footer-titulo {
  font-family: var(--titulo);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--menta-clara);
  margin-bottom: 4px;
}
.footer-nav {
  font-family: var(--titulo);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-nav a { color: #fff; }
.footer-wa { color: var(--menta-clara) !important; }
.footer-legal {
  max-width: var(--ancho);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--azul-borde);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8f9cc6;
}
.footer-legal a { color: #8f9cc6; }
.footer-legal a:hover { color: var(--menta-clara); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.wa-flotante:hover { transform: scale(1.06); }
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gris-borde);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .nav.abierto { display: flex; }
  .nav > a, .nav > .nav-servicios { padding: 14px 0; width: 100%; }
  .nav .btn { margin-top: 10px; text-align: center; width: 100%; }
  .header { position: relative; flex-wrap: nowrap; }
  .servicio-invertido .servicio-foto { order: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 20px 64px; }
  .nosotros, .elegirnos, .servicios, .marcas, .faq, .contacto, .privacidad { padding: 56px 20px; }
  .redes { padding: 40px 20px; }
  .footer { padding: 56px 20px 28px; }
  .header, .subnav { padding-left: 20px; padding-right: 20px; }
  .nosotros .contenedor { gap: 36px; }
  .grupo-botones .btn { flex: 1 1 100%; text-align: center; }
}
