/* ==========================================================================
   Estilos principales — SAMIFER_WEB / ServiGasClima
   Orden: topbar, header/nav, botones, hero, trusted, secciones comunes,
          servicios, por qué, proceso, zonas, equipo, galería, testimonios,
          FAQ, CTA final, footer, WhatsApp flotante, cookies banner.
   ========================================================================== */

/* Importa variables y reset al servir por Apache:
   si prefieres cargarlos por separado desde el HTML, elimina estas líneas.
   Dejar importes aquí permite usar <link rel="stylesheet" href="main.css">
   como único fichero en caso de querer simplificar. */
@import url("variables.css");
@import url("reset.css");

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: .02em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--ember); font-weight: 500; }
.topbar-badges { display: flex; gap: 16px; align-items: center; }
.topbar-badges span { display: flex; align-items: center; gap: 6px; opacity: .9; }
.topbar-badges svg { width: 14px; height: 14px; }

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 20, 32, .08);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--flame) 0%, var(--ember) 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(255, 91, 31, .35);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  transition: color .2s;
}
.nav-links a:hover { color: var(--flame); }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(11, 31, 42, .2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 31, 42, .3);
}
.btn-flame {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-2) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 91, 31, .35);
}
.btn-flame:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 91, 31, .5);
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 500px at 85% 20%, rgba(255, 138, 61, .18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(11, 31, 42, .06), transparent 60%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 20, 32, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 32, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 91, 31, .1);
  color: var(--flame);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 91, 31, .2);
  margin-bottom: 24px;
  animation: fadeUp .8s ease .1s backwards;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeUp .8s ease .2s backwards;
}
h1.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeUp .8s ease .3s backwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .4s backwards;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  animation: fadeUp .8s ease .5s backwards;
}
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
}
.hero-meta-item span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  animation: fadeUp 1s ease .4s backwards;
}
.hero-card {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 31, 42, .25);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 91, 31, .4), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(255, 200, 87, .2), transparent 50%);
}
.hero-card-content {
  position: absolute;
  inset: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
}
.flame-icon {
  width: 120px;
  height: 120px;
  opacity: .9;
  filter: drop-shadow(0 10px 30px rgba(255, 91, 31, .5));
}
.hero-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--ember);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.hero-card p {
  font-size: 14px;
  opacity: .75;
  margin-top: 12px;
}

.floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(11, 31, 42, .15);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: grid;
  place-items: center;
  color: #fff;
}
.floating-card strong { font-size: 15px; color: var(--navy); }
.floating-card span { font-size: 12px; color: var(--muted); }

/* ============ TRUSTED BAR ============ */
.trusted {
  background: var(--navy);
  color: var(--cream);
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.trusted-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trusted-label {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
  font-weight: 600;
}
.trusted-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.trusted-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: .9;
}
.trusted-item svg {
  width: 18px;
  height: 18px;
  color: var(--ember);
}

/* ============ SECCIONES COMUNES ============ */
.section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-label {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--flame);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--flame); }
.section-desc { color: var(--muted); font-size: 17px; }

/* ============ SERVICIOS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  padding: 40px 32px;
  border-radius: 24px;
  border: 1px solid rgba(10, 20, 32, .06);
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(11, 31, 42, .1);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 91, 31, .1), rgba(255, 200, 87, .1));
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--flame);
  transition: all .3s;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--flame), var(--flame-2));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-features { list-style: none; margin-bottom: 24px; }
.service-features li {
  font-size: 14px;
  color: var(--ink);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  flex-shrink: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s;
}
.service-link:hover { gap: 10px; color: var(--flame); }

/* ============ POR QUÉ ELEGIRNOS ============ */
.why {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 91, 31, .15) 0%, transparent 60%);
  pointer-events: none;
}
.why .section-title { color: var(--cream); }
.why .section-desc { color: rgba(247, 241, 229, .7); }
.why .section-label { color: var(--ember); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
}
.why-item {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
  transition: all .3s;
}
.why-item:hover {
  border-color: var(--flame);
  background: rgba(255, 91, 31, .05);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  color: var(--cream);
}
.why-item p {
  font-size: 14px;
  color: rgba(247, 241, 229, .7);
  line-height: 1.6;
}

/* ============ PROCESO ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--flame) 0, var(--flame) 8px, transparent 8px, transparent 16px);
  z-index: 0;
  opacity: .3;
}
.process-step { text-align: center; position: relative; z-index: 2; }
.process-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--flame);
  color: var(--flame);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(255, 91, 31, .15);
  transition: all .3s;
}
.process-step:hover .process-circle {
  background: linear-gradient(135deg, var(--flame), var(--flame-2));
  color: #fff;
  transform: scale(1.1);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--muted); }

/* ============ ZONAS ============ */
.zones {
  background: linear-gradient(135deg, rgba(255, 91, 31, .04), rgba(255, 200, 87, .04));
  border-top: 1px solid rgba(10, 20, 32, .06);
  border-bottom: 1px solid rgba(10, 20, 32, .06);
}
.zones-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.zone-tag {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid rgba(10, 20, 32, .08);
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  transition: all .2s;
}
.zone-tag:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ============ EQUIPO ============ */
.team {
  background: var(--paper);
  position: relative;
}
.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.team-intro-img {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(11, 31, 42, .15);
}
.team-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.team-intro-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(11, 31, 42, .3));
}
.team-intro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.team-intro-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: grid;
  place-items: center;
  color: #fff;
}
.team-intro-badge strong { display: block; font-size: 14px; color: var(--navy); }
.team-intro-badge span { font-size: 12px; color: var(--muted); }

.team-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}
.team-content h2 em { font-style: italic; color: var(--flame); }
.team-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 20, 32, .08);
}
.team-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--flame), var(--flame-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.team-stat span { font-size: 13px; color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 32, .06);
  transition: all .3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11, 31, 42, .12);
}
.team-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
  position: relative;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-info { padding: 20px; }
.team-card-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card-info span {
  font-size: 13px;
  color: var(--flame);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.team-card-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.team-card-cert {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--navy);
  background: rgba(255, 200, 87, .2);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
  font-weight: 600;
}

/* ============ COBERTURA / BANNER ============ */
.coverage-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--cream);
  padding: 40px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.coverage-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 91, 31, .2), transparent 70%);
}
.coverage-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 2;
  position: relative;
}
.coverage-icon svg { width: 34px; height: 34px; }
.coverage-text { position: relative; z-index: 2; }
.coverage-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}
.coverage-text p { font-size: 14px; opacity: .8; margin: 0; }

/* ============ GALERÍA TRABAJOS ============ */
.gallery {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
  transition: transform .4s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 31, 42, .85));
  opacity: .7;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: .95; }
.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
  transform: translateY(10px);
  transition: transform .3s;
}
.gallery-item:hover .gallery-item-info { transform: translateY(0); }
.gallery-item-info strong {
  font-family: var(--font-display);
  font-size: 18px;
  display: block;
  font-weight: 600;
}
.gallery-item-info span { font-size: 12px; opacity: .9; }
.gallery-item-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ============ TESTIMONIOS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(10, 20, 32, .06);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--flame);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  opacity: .3;
}
.stars {
  color: var(--ember);
  margin-bottom: 14px;
  font-size: 16px;
  letter-spacing: 2px;
}
.testimonial p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.testimonial-author strong {
  font-size: 14px;
  color: var(--navy);
  display: block;
}
.testimonial-author span { font-size: 12px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 32, .06);
  transition: all .3s;
}
.faq-item[open] {
  border-color: var(--flame);
  box-shadow: 0 10px 30px rgba(255, 91, 31, .08);
}
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--flame);
  transition: transform .3s;
  font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content {
  padding: 0 28px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ CTA FINAL ============ */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 91, 31, .2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 200, 87, .15), transparent 50%);
}
.cta-final-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-final h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-final p { font-size: 18px; opacity: .8; margin-bottom: 32px; }
.cta-final-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: rgba(247, 241, 229, .7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer h5 {
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--ember); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(247, 241, 229, .1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, .4);
  transition: all .3s;
  cursor: pointer;
  animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(37, 211, 102, .6);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: .5;
  animation: waPulse 2s infinite;
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.wa-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============ COOKIES BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 120;
  background: var(--navy);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(11, 31, 42, .35);
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner.is-open { display: flex; }
.cookie-banner p { flex: 1 1 260px; margin: 0; }
.cookie-banner a { color: var(--ember); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  padding: 10px 18px;
  font-size: 13px;
}
.cookie-banner .btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 241, 229, .3);
}
.cookie-banner .btn-outline:hover {
  border-color: var(--ember);
  color: var(--ember);
}
