/* CanchaFix Mantenimiento - sitio institucional de mantenimiento de canchas sintéticas */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.catec-body {
  margin: 0;
  background: #07110d;
  color: #f5fbf4;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.catec {
  --bg: #07110d;
  --bg-deep: #030705;
  --surface: #0e1814;
  --surface-2: #13211b;
  --surface-3: #182923;
  --text: #f5fbf4;
  --muted: #b6c8bd;
  --soft: #8aa394;
  --green: #4fbd6d;
  --green-bright: #6ad487;
  --green-2: #2f7848;
  --blue: #80d8ff;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(79, 189, 109, 0.28);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --pad: clamp(18px, 4vw, 34px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  background:
    linear-gradient(180deg, rgba(7, 17, 13, .94), rgba(3, 7, 5, .98)),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.catec img,
.catec svg {
  display: block;
  max-width: 100%;
}

.catec a {
  color: inherit;
  text-decoration: none;
}

.catec button {
  font: inherit;
}

.catec :focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -150%);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--green-bright);
  color: #061109;
  font-weight: 800;
  transition: transform .25s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container--narrow {
  max-width: 900px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(3, 7, 5, .68);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(3, 7, 5, .92);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  height: 78px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__mark {
  width: 176px;
  height: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.site-header__cta {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-ig {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.header-ig:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(79, 189, 109, .08);
}

/* ============ Buttons ============ */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  color: #061109;
  background: linear-gradient(180deg, #68cf80, #31844e);
  box-shadow: 0 12px 26px rgba(49, 132, 78, .22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(49, 132, 78, .3);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .035);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .075);
}

.btn--small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: .88rem;
}

.btn--large {
  min-height: 54px;
  padding: 16px 26px;
}

/* ============ Mobile menu ============ */
.menu-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(79, 189, 109, .1);
}

.menu-toggle[aria-expanded="true"] {
  border-color: var(--line-strong);
  background: rgba(79, 189, 109, .12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 8px var(--pad) 20px;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 5, .96);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a:not(.btn) {
  min-height: 50px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mobile-nav a:not(.btn):hover {
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: 16px;
  color: #061109;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .site-header__cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ============ Headings ============ */
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
}

h2 {
  max-width: 18ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

h3 {
  line-height: 1.2;
  letter-spacing: -.02em;
  font-size: 1.1rem;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100svh - 78px));
  display: grid;
  align-items: center;
  padding: clamp(64px, 8vw, 110px) 0;
  background: #030705;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0 44%, transparent 78%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 44%, transparent 78%);
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 48%;
  filter: brightness(.72) contrast(1.08) saturate(1.05);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 7, 5, .97) 0%, rgba(3, 7, 5, .84) 32%, rgba(3, 7, 5, .4) 62%, rgba(3, 7, 5, .74) 100%),
    linear-gradient(180deg, rgba(3, 7, 5, .52) 0%, rgba(3, 7, 5, .06) 42%, rgba(3, 7, 5, .96) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__copy {
  max-width: 760px;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.2vw, 4.7rem);
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: 30px;
  color: rgba(245, 251, 244, .88);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(79, 189, 109, .26);
  border-radius: 999px;
  color: #dceee2;
  background: rgba(79, 189, 109, .08);
  font-size: .82rem;
  font-weight: 700;
}

.hero__proof li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(106, 212, 135, .2);
}

/* ============ Trust strip ============ */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-block: 20px;
}

.trust-strip__label {
  color: var(--soft);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip__list li {
  color: var(--muted);
  font-weight: 700;
  font-size: .98rem;
}

/* ============ Section base ============ */
.section {
  padding: clamp(68px, 9vw, 120px) 0;
}

.catec section[id] {
  scroll-margin-top: 92px;
}

.section__head {
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section__head h2 {
  margin-left: auto;
  margin-right: auto;
}

.section__head p:not(.eyebrow) {
  max-width: 64ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.section__head--split {
  max-width: none;
  display: grid;
  gap: 18px;
  text-align: left;
  align-items: end;
}

.section__head--split h2 {
  max-width: 16ch;
  margin: 0;
}

.section__head--split p:not(.eyebrow) {
  margin: 0;
}

@media (min-width: 860px) {
  .section__head--split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 40px;
  }
}

/* ============ Services ============ */
.services {
  background:
    radial-gradient(720px 420px at 80% 16%, rgba(79, 189, 109, .09), transparent 64%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 46%, #08120e);
}

.services__layout {
  display: grid;
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}

@media (min-width: 960px) {
  .services__layout {
    grid-template-columns: minmax(280px, .74fr) minmax(0, 1.26fr);
  }
}

.services__intro h2 {
  max-width: 14ch;
}

.services__intro p {
  max-width: 52ch;
  margin-bottom: 26px;
  color: var(--muted);
}

.service-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)),
    #0d1713;
  box-shadow: var(--shadow-soft);
}

.service-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
  transition: background .2s var(--ease);
}

.service-row:hover {
  background: rgba(255, 255, 255, .035);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row--featured {
  background:
    linear-gradient(90deg, rgba(79, 189, 109, .1), rgba(255, 255, 255, .018)),
    rgba(255, 255, 255, .025);
}

.service-row__num {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #9be2aa;
  background: rgba(79, 189, 109, .11);
  border: 1px solid rgba(79, 189, 109, .24);
  font-weight: 900;
}

.service-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.service-row h3 {
  margin-bottom: 5px;
  font-size: 1.12rem;
}

.service-row p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.service-row__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #d9eadf;
  background: rgba(255, 255, 255, .035);
  font-size: .9rem;
  font-weight: 800;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.service-row__cta:hover {
  border-color: rgba(79, 189, 109, .4);
  color: var(--text);
  background: rgba(79, 189, 109, .1);
}

/* ============ Why CanchaFix ============ */
.why {
  background: linear-gradient(180deg, #08120e, var(--surface));
  border-block: 1px solid var(--line);
}

.why-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(79, 189, 109, .05);
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--green-bright);
  background: rgba(79, 189, 109, .1);
  border: 1px solid rgba(79, 189, 109, .24);
}

.why-card h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

/* ============ Diagnostic / process ============ */
.diagnostic {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(79, 189, 109, .06), transparent 44%),
    var(--surface);
}

.diagnostic__grid {
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 920px) {
  .diagnostic__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  }
}

.diagnostic__media {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.diagnostic__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 54%;
  filter: brightness(1.12) contrast(1.04) saturate(1.06);
}

.diagnostic__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 5, .02), rgba(3, 7, 5, .3));
}

.diagnostic__stamp {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #e4f6e9;
  background: rgba(7, 17, 13, .78);
  font-weight: 800;
  font-size: .9rem;
}

.diagnostic__content h2 {
  max-width: 15ch;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.process-list li:hover {
  border-color: var(--line-strong);
  background: rgba(79, 189, 109, .045);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--green-bright);
  background: rgba(79, 189, 109, .08);
  border: 1px solid rgba(79, 189, 109, .22);
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 4px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

/* ============ Results ============ */
.results {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 500px at 12% 14%, rgba(79, 189, 109, .09), transparent 62%),
    linear-gradient(180deg, #050a08, #0b1510);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.compare__panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: clamp(300px, 33vw, 460px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare__panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 56% 48%;
}

.compare__panel--before img {
  filter: grayscale(.22) saturate(.5) brightness(.6) contrast(1.06) sepia(.12);
  transform: scale(1.02);
}

.compare__panel--after img {
  filter: saturate(1.14) brightness(1.03) contrast(1.05);
}

.compare__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 5, .04), rgba(3, 7, 5, .5));
}

.compare__panel figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compare__panel--before figcaption {
  color: #f1ddcb;
  background: rgba(7, 17, 13, .82);
  border: 1px solid rgba(255, 255, 255, .22);
}

.compare__panel--after figcaption {
  color: #eaf7ee;
  background: rgba(7, 17, 13, .82);
  border: 1px solid rgba(79, 189, 109, .45);
}

.result-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 760px) {
  .result-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.result-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
}

.result-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green-bright);
  font-weight: 900;
}

.result-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.result-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

/* ============ Coverage ============ */
.coverage {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.coverage__grid {
  display: grid;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

@media (min-width: 900px) {
  .coverage__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  }
}

.coverage__content h2 {
  max-width: 13ch;
}

.coverage__content p {
  max-width: 60ch;
  color: var(--muted);
}

.coverage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.coverage__chips span {
  padding: 9px 15px;
  border: 1px solid rgba(79, 189, 109, .22);
  border-radius: 999px;
  color: #dbf4e2;
  background: rgba(79, 189, 109, .06);
  font-weight: 700;
  font-size: .9rem;
}

.coverage__image {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.coverage__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% 36%;
  filter: brightness(1.12) contrast(1.04) saturate(1.04);
}

/* ============ FAQ ============ */
.faq {
  background: #050a08;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}

.faq-item.is-open {
  border-color: var(--line-strong);
}

.faq-item__q {
  margin: 0;
  font-size: 1rem;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79, 189, 109, .26);
  border-radius: 50%;
  color: var(--green-bright);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform .25s var(--ease), background .2s var(--ease);
}

.faq-item.is-open button::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(79, 189, 109, .12);
}

.faq-item__answer {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p {
  margin: 0;
  color: var(--muted);
}

/* ============ Final CTA ============ */
.final-cta {
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    linear-gradient(135deg, rgba(79, 189, 109, .12), rgba(128, 216, 255, .04) 50%, rgba(3, 7, 5, 1)),
    #07110d;
}

.final-cta__inner {
  text-align: center;
}

.final-cta h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p:not(.eyebrow) {
  max-width: 60ch;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ============ Footer ============ */
.footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer__grid {
  display: grid;
  gap: 34px;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.5fr .8fr 1fr;
  }
}

.footer__logo {
  width: 174px;
  margin-bottom: 14px;
}

.footer__brand p {
  max-width: 38ch;
}

.footer p,
.footer a,
.footer span {
  color: var(--muted);
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer a {
  display: block;
  margin: 8px 0;
  overflow-wrap: anywhere;
  transition: color .2s var(--ease);
}

.footer a:hover {
  color: var(--green-bright);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  color: #061109;
  background: linear-gradient(180deg, #63cc7a, #2f9a4f);
  box-shadow: 0 16px 34px rgba(49, 132, 78, .34);
  font-weight: 800;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(49, 132, 78, .42);
}

.wa-float svg {
  width: 27px;
  height: 27px;
}

.wa-float__label {
  font-size: .96rem;
}

/* El contenido se muestra siempre (sin animaciones de entrada): evita
   secciones en blanco en previews/dispositivos lentos. La textura premium
   la dan tipografía, color y micro-interacciones de hover. */

/* ============ Responsive ============ */
@media (max-width: 720px) {
  .site-header__inner {
    height: 66px;
  }

  .brand__mark {
    width: 140px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero__image {
    object-position: 62% 50%;
    filter: brightness(.82) contrast(1.06) saturate(1.06);
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 7, 5, .86) 0%, rgba(3, 7, 5, .6) 44%, rgba(3, 7, 5, .9) 100%),
      linear-gradient(90deg, rgba(3, 7, 5, .84), rgba(3, 7, 5, .32));
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .section__head {
    text-align: left;
  }

  .section__head h2,
  .section__head p:not(.eyebrow) {
    margin-left: 0;
    margin-right: 0;
  }

  .service-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 16px;
    padding: 20px;
  }

  .service-row__num {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .service-row__body {
    flex: 1 1 calc(100% - 56px);
  }

  .service-row__cta {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }

  .diagnostic__media,
  .coverage__image {
    min-height: 340px;
  }

  .compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compare__panel {
    min-height: clamp(240px, 60vw, 320px);
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .final-cta__actions .btn {
    width: 100%;
  }

  .footer {
    padding-bottom: 96px;
  }

  .wa-float {
    height: 54px;
    padding: 0 18px 0 14px;
  }
}

@media (max-width: 380px) {
  .brand__mark {
    width: 126px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.92rem;
  }

  .wa-float__label {
    display: none;
  }

  .wa-float {
    width: 56px;
    padding: 0;
    justify-content: center;
  }
}

/* ============ Motion preferences ============ */
@media (hover: none) and (pointer: coarse) {

  .btn:hover,
  .service-row__cta:hover,
  .why-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
