/* =========================================================
   HyAR — Ingeniería en Refrigeración
   Hoja de estilos principal
   ========================================================= */

/* ---------- 1. Variables y reset ---------- */
:root {
  --navy: #01244e;
  --navy-700: #023262;
  --navy-600: #043a73;
  --celeste: #0095de;
  --celeste-dark: #0079b8;
  --celeste-light: #e6f4fc;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;

  --text: #1c2b3a;
  --text-light: #5c7080;
  --text-on-dark: #d7e6f3;

  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --border: #e2eaf1;

  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(1, 36, 78, 0.06);
  --shadow-md: 0 12px 32px rgba(1, 36, 78, 0.12);
  --shadow-lg: 0 24px 60px rgba(1, 36, 78, 0.18);

  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.icon {
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 2. Tipografía general ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
}

.section__header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: #6cc6f2;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-title--light {
  color: #ffffff;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
}

.section-subtitle--light {
  color: var(--text-on-dark);
}

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--celeste);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--celeste-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: #ffffff;
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost-dark:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full {
  width: 100%;
}

/* ---------- 4. Header / Navegación ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.header__logo img {
  height: 34px;
  width: auto;
}

.nav {
  margin-left: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  margin-right: 8px;
  border-right: 1px solid var(--border);
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--celeste);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--celeste);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__actions .btn--whatsapp {
  padding: 11px 22px;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  color: var(--navy);
  padding: 6px;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 55%, var(--navy-700) 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 18%, rgba(0, 149, 222, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(0, 149, 222, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  color: #ffffff;
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  color: var(--text-on-dark);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #cfe6f7;
  font-size: 14px;
  font-weight: 600;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__trust .icon {
  color: var(--celeste);
}

.hero__visual {
  position: relative;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.hero__badge .icon {
  color: var(--celeste);
}

.hero__badge--top {
  top: 24px;
  left: 24px;
}

.hero__badge--bottom {
  bottom: 24px;
  right: 24px;
}

/* ---------- 6. Clientes / prueba social ---------- */
.clients {
  padding: 48px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.clients__title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}

.clients__marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: clients-scroll 55s linear infinite;
}

.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}

.clients__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 92px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clients__logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.clients__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* La Muñeca: logo en blanco, requiere fondo oscuro */
.clients__logo--dark {
  background: var(--navy);
  border-color: var(--navy);
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 16px 40px;
  }
}

.clients__caption {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-light);
}

/* ---------- 7. Pain points ---------- */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pain-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card__icon {
  color: var(--celeste);
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 14.5px;
  color: var(--text-light);
}

.pain__conclusion {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

/* ---------- 8. Beneficios ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--celeste-light);
  color: var(--celeste);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-light);
}

/* ---------- 9. Servicios ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--celeste);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-light);
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--celeste);
  transition: gap var(--transition);
}

.service-card__link:hover {
  gap: 12px;
  color: var(--celeste-dark);
}

/* ---------- 9b. Casos de éxito ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card__image {
  height: 200px;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: 24px 24px 28px;
}

.case-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--celeste);
  background: var(--celeste-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 14.5px;
  color: var(--text-light);
}

/* ---------- 10. Cómo trabajamos ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  color: var(--text-on-dark);
}

.process-step__number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--celeste);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.process-step__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 149, 222, 0.18);
  color: #6cc6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-step h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14.5px;
  color: var(--text-on-dark);
}

/* ---------- 11. Refrigerantes naturales ---------- */
.natural__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.natural__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 440px;
  width: 100%;
  object-fit: cover;
}

.natural__content p {
  color: var(--text-light);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.check-list .icon {
  color: var(--celeste);
  flex-shrink: 0;
}

/* ---------- 11b. Unidades condensadoras ---------- */
.condensers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.condensers__content p {
  color: var(--text-light);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.condensers__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.condensers__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.condensers__item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ---------- 12. Galería ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 20px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(1, 36, 78, 0.85) 0%, rgba(1, 36, 78, 0) 100%);
}

/* ---------- 13. Sobre nosotros ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about__content p {
  color: var(--text-light);
  font-size: 16.5px;
  margin-bottom: 18px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__value .icon {
  color: var(--celeste);
  background: var(--celeste-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.about__value h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.about__value p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.about__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 480px;
  width: 100%;
  object-fit: cover;
}

/* ---------- 14. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 110px;
}

.faq__intro .section__header {
  text-align: left;
  margin: 0 0 24px;
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-question .icon {
  color: var(--celeste);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 4px 22px;
  color: var(--text-light);
  font-size: 15px;
  max-width: 640px;
}

/* ---------- 15. Contacto ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--celeste);
  box-shadow: 0 0 0 3px rgba(0, 149, 222, 0.15);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.form-note.is-success {
  color: var(--whatsapp-dark);
}

.form-note.is-error {
  color: #d64545;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__card {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info__card h3 {
  color: #ffffff;
  font-size: 19px;
  margin-bottom: 22px;
}

.contact-info__card ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info__card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text-on-dark);
}

.contact-info__card li a {
  color: #ffffff;
  font-weight: 600;
  transition: color var(--transition);
}

.contact-info__card li a:hover {
  color: var(--celeste);
}

.contact-info__card .icon {
  color: var(--celeste);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-info__map iframe {
  display: block;
}

/* ---------- 16. CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--celeste) 0%, var(--celeste-dark) 100%);
  padding: 64px 0;
}

.cta-final__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-final h2 {
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 32px);
  margin-bottom: 8px;
}

.cta-final p {
  color: #eaf7ff;
  font-size: 16px;
  max-width: 520px;
}

.cta-final__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-final .btn--primary {
  background: #ffffff;
  color: var(--celeste-dark);
}

.cta-final .btn--primary:hover {
  background: var(--navy);
  color: #ffffff;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding-top: 72px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand img {
  height: 30px;
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-on-dark);
  max-width: 280px;
}

.footer__col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer__col a {
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--celeste);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: #8fadc7;
  text-align: center;
}

/* ---------- 18. Botones flotantes ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: transform var(--transition), background var(--transition);
  animation: pulse 2.4s infinite;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.08);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-lg); }
}

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 96px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
  color: #ffffff;
}

/* ---------- 19. Animaciones scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1100px) {
  .pain__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits__grid,
  .services__grid,
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.is-open {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    margin-right: 0;
    border-right: none;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .header__actions .btn--whatsapp span {
    display: none;
  }

  .header__actions .btn--whatsapp {
    padding: 11px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero__image-card img {
    height: 320px;
  }

  .natural__grid,
  .condensers__grid,
  .about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .natural__image,
  .about__image {
    order: -1;
  }

  .natural__image img,
  .about__image img {
    height: 320px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq__intro {
    position: static;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .pain__grid,
  .benefits__grid,
  .services__grid,
  .cases__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }

  .form-row--split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-final__inner {
    text-align: center;
    justify-content: center;
  }

  .cta-final__actions {
    justify-content: center;
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  .clients__track {
    gap: 18px;
  }

  .clients__logo {
    width: 140px;
    height: 76px;
    padding: 14px 18px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 18px;
    right: 84px;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }

  .hero__trust {
    flex-direction: column;
    gap: 12px;
  }
}
