/* =========================================================
   Servicios de Plomería · Manuel Raymundo Ortega
   Landing estática — sin dependencias de build
   ========================================================= */

:root {
  --navy-950: #060f1e;
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #16305a;
  --blue-500: #1a8cff;
  --blue-400: #3aa6ff;
  --cyan-300: #5fd0ff;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --ink: #0d1b2e;
  --muted: #5b6b82;
  --line: #e3ebf5;
  --bg-soft: #f3f8fe;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(10, 22, 40, .08);
  --shadow-md: 0 14px 40px rgba(10, 22, 40, .12);
  --shadow-lg: 0 30px 70px rgba(10, 22, 40, .22);
  --grad: linear-gradient(135deg, var(--cyan-300), var(--blue-500));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------------- Botones ---------------- */
.btn {
  --bg: var(--blue-500);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 1.3em; height: 1.3em; transition: transform .35s var(--ease); }
.btn::after { /* brillo que cruza */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn--wa { background: linear-gradient(135deg, #2ee27a, var(--wa) 45%, #1aab52); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn--wa:hover { box-shadow: 0 16px 36px rgba(37, 211, 102, .5); }
.btn--wa:hover svg { transform: rotate(-12deg) scale(1.12); }

.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cyan-300); background: rgba(95,208,255,.12); }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--light { background: #fff; color: var(--navy-900); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.btn--light svg { color: var(--wa); }

.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--xl { padding: 1.15em 2.2em; font-size: 1.15rem; }

/* ---------------- Header ---------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled {
  background: rgba(8, 18, 34, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__logo {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(26, 140, 255, .45), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .5s var(--ease);
}
.brand__logo svg { width: 24px; height: 24px; color: #fff; }
.brand:hover .brand__logo { transform: rotate(-10deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; }
.brand__text small { font-weight: 500; font-size: .72rem; letter-spacing: .02em; opacity: .75; margin-bottom: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  color: rgba(255,255,255,.82); font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 50px) 0 150px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(26,140,255,.25), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(95,208,255,.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 50%, var(--navy-800));
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before { /* rejilla sutil */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.glow--1 { width: 420px; height: 420px; background: #1a8cff; top: -120px; right: 5%; }
.glow--2 { width: 320px; height: 320px; background: #00c2ff; bottom: 0; left: -80px; opacity: .3; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }

.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(95,208,255,.15) 60%, transparent 70%);
  border: 1px solid rgba(255,255,255,.18);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(var(--dx, 30px), -110vh) scale(1.1); opacity: 0; }
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(95,208,255,.1); border: 1px solid rgba(95,208,255,.28);
  color: var(--cyan-300); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.grad {
  background: linear-gradient(90deg, var(--cyan-300), var(--blue-400), var(--cyan-300));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 32px; }
.lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.hero__chips svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(37,211,102,.18); color: var(--wa); }

/* composición del hero */
.hero__art { display: grid; place-items: center; }
.art { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1.02; display: grid; place-items: center; }
.art__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(95,208,255,.3); }
.art__ring--1 { inset: 0; animation: spin 40s linear infinite; }
.art__ring--2 { inset: 9%; border-style: solid; border-color: rgba(26,140,255,.18); animation: spin 28s linear infinite reverse; }
.art__ring--1::before { content: ""; position: absolute; top: 8%; left: 14%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 18px var(--cyan-300); }
@keyframes spin { to { transform: rotate(360deg); } }

.art__photo {
  position: relative; margin: 0;
  width: 74%; aspect-ratio: 4 / 5;
  border-radius: 46% 46% 40px 40px / 38% 38% 40px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,.06), 0 0 0 12px rgba(26,140,255,.12);
  background: linear-gradient(160deg, var(--navy-700), var(--blue-500));
  transform: perspective(900px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .4s var(--ease);
}
.art__photo img, .card__media img, .why__photo img { color: transparent; }
.art__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.art:hover .art__photo img { transform: scale(1.12); }
.art__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,15,30,.55)); }

.art__badge {
  position: absolute; top: 4%; right: 12%;
  width: 78px; height: 78px; border-radius: 24px;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 18px 40px rgba(26,140,255,.5), inset 0 1px 0 rgba(255,255,255,.4);
  animation: bob 4.5s ease-in-out infinite;
}
.art__badge svg { width: 40px; height: 40px; color: #fff; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: bob 5s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.float-card b { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #e9f4ff; color: var(--blue-500); }
.fc-ico svg { width: 24px; height: 24px; }
.float-card--1 { top: 22%; left: -4%; }
.float-card--2 { bottom: 14%; right: -6%; animation-delay: -1.6s; }
.float-card--3 { bottom: 2%; left: 4%; animation-delay: -3.2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.wv--back { fill: rgba(255,255,255,.18); animation: wave 9s ease-in-out infinite alternate; }
.wv--front { fill: #fff; }
@keyframes wave { to { transform: translateX(-40px); } }

/* ---------------- Secciones ---------------- */
.section { padding: 110px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 1.07rem; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500);
  padding: 6px 14px; border-radius: 999px; background: #e9f4ff;
}

/* ---------------- Servicios ---------------- */
.services { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 26px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  cursor: pointer;
}
.card::before { /* borde degradado al hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 2;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md), 0 24px 50px rgba(26,140,255,.18); border-color: transparent; }
.card:hover::before { opacity: 1; }

.card__media {
  margin: 0 -26px; height: 190px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.95); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,0) 40%, rgba(10,22,40,.45)); transition: opacity .4s; }
.card:hover .card__media img { transform: scale(1.1); filter: saturate(1.15); }
.card:hover .card__media::after { opacity: .5; }

.card__ico {
  position: relative; z-index: 1;
  width: 60px; height: 60px; margin-top: -30px; margin-bottom: 16px;
  border-radius: 18px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 26px rgba(26,140,255,.4), 0 0 0 5px #fff;
  transition: transform .5s var(--ease);
}
.card__ico svg { width: 30px; height: 30px; }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wa-dark); }
.card__link svg { transition: transform .35s var(--ease); }
.card:hover .card__link svg { transform: translateX(6px); }

/* ---------------- Urgencias ---------------- */
.urgent {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0b4fc4, var(--blue-500) 55%, #22b8ff);
  padding: 46px 0;
}
.urgent::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px);
  animation: stripes 20s linear infinite;
}
@keyframes stripes { to { background-position: 400px 0; } }
.urgent__inner { position: relative; display: flex; align-items: center; gap: 28px; }
.urgent__ico { width: 70px; height: 70px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); animation: pulse 2s infinite; }
.urgent__ico svg { width: 34px; height: 34px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.urgent__text { flex: 1; }
.urgent__text h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.urgent__text p { margin: 0; opacity: .9; }

/* ---------------- Proceso ---------------- */
.process { background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { /* línea conectora */
  content: ""; position: absolute; top: 62px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-400) 0 10px, transparent 10px 20px);
  opacity: .45;
}
.step {
  position: relative; text-align: center;
  background: #fff; border-radius: var(--radius); padding: 34px 22px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step__num { position: absolute; top: 14px; right: 18px; font-weight: 800; font-size: 2.2rem; color: #e6f1fd; line-height: 1; transition: color .35s; }
.step:hover .step__num { color: #cfe6ff; }
.step__ico {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 0 0 8px #e9f4ff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step__ico svg { width: 28px; height: 28px; }
.step:hover .step__ico { transform: scale(1.1) rotate(8deg); box-shadow: 0 0 0 12px #e1efff; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------------- Por qué ---------------- */
.why { background: #fff; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.why__photo {
  margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md); position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}
.why__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.why__photo:hover img { transform: scale(1.06); }
.why__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
.why__copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid transparent;
  transition: background .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover { background: #fff; border-color: var(--line); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #fff; color: var(--blue-500); box-shadow: var(--shadow-sm); transition: background .35s, color .35s; }
.feature__ico svg { width: 26px; height: 26px; }
.feature:hover .feature__ico { background: var(--grad); color: #fff; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------------- Señales ---------------- */
.signs { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; }
.signs .section__head p { color: rgba(255,255,255,.7); }
.signs .kicker { background: rgba(95,208,255,.12); color: var(--cyan-300); }
.signs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sign {
  display: flex; align-items: center; gap: 16px;
  padding: 22px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.sign:hover { background: rgba(95,208,255,.08); border-color: rgba(95,208,255,.35); transform: translateY(-4px); }
.sign span { font-size: 1.7rem; width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: transform .45s var(--ease); }
.sign:hover span { transform: scale(1.12) rotate(-6deg); }
.sign p { margin: 0; color: rgba(255,255,255,.88); }

/* ---------------- FAQ ---------------- */
.faq { background: var(--bg-soft); }
.faq__wrap { max-width: 860px; }
.faq__list { display: grid; gap: 14px; }
.qa { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.qa[open] { border-color: rgba(26,140,255,.35); box-shadow: var(--shadow-md); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-weight: 600; font-size: 1.05rem;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-500); }
.qa__icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #e9f4ff; transition: background .3s, transform .4s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue-500); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--blue-500); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { padding: 0 24px 22px; color: var(--muted); }
.qa__body p { margin: 0; }
.qa[open] .qa__body { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------- CTA ---------------- */
.cta { padding: 110px 0; background: #fff; }
.cta__box {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 80px 30px; border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(10,22,40,.92), rgba(11,79,196,.85)),
    url("https://images.pexels.com/photos/6419128/pexels-photo-6419128.jpeg?auto=compress&cs=tinysrgb&w=1400") center / cover no-repeat,
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.cta__box h2 { position: relative; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 760px; margin-inline: auto; }
.cta__box > p { position: relative; color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 34px; }
.cta__box .btn { position: relative; }
.cta__phone { position: relative; margin: 24px 0 0; color: rgba(255,255,255,.7); }
.cta__phone a { color: #fff; font-weight: 600; border-bottom: 1px dashed rgba(255,255,255,.4); }
.cta__phone a:hover { border-bottom-color: var(--wa); color: var(--wa); }
.cta__drops i {
  position: absolute; width: 14px; height: 14px; border-radius: 0 50% 50% 50%; transform: rotate(45deg);
  background: rgba(95,208,255,.35); top: -20px;
  animation: fall 6s linear infinite;
}
.cta__drops i:nth-child(1) { left: 10%; animation-delay: 0s; }
.cta__drops i:nth-child(2) { left: 28%; animation-delay: -2.2s; width: 10px; height: 10px; }
.cta__drops i:nth-child(3) { left: 55%; animation-delay: -4s; }
.cta__drops i:nth-child(4) { left: 76%; animation-delay: -1s; width: 9px; height: 9px; }
.cta__drops i:nth-child(5) { left: 90%; animation-delay: -3.3s; }
@keyframes fall { to { top: 110%; } }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .25s, padding-left .25s; }
.footer ul a:hover { color: var(--cyan-300); padding-left: 4px; }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer__bottom p { margin: 0; }
.footer__credits a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- WhatsApp flotante ---------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.5);
  transition: transform .35s var(--ease);
}
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite;
}
.wa-float::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float__tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: 10px 14px; border-radius: 12px; white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
}
.wa-float__tip::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------------- Animación de aparición ---------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .signs__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 100px 28px 28px;
    background: rgba(8, 18, 34, .97); backdrop-filter: blur(16px);
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
    transform: translateX(105%); transition: transform .45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) { font-size: 1.15rem; padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__cta { margin-top: 18px; }
  .burger { z-index: 2; }

  .hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 130px; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .lead { margin-inline: auto; }
  .hero__ctas, .hero__chips { justify-content: center; }
  .art { width: min(440px, 100%); }
  .urgent__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section, .cta { padding: 80px 0; }
  .section__head { margin-bottom: 42px; }
  .cards, .steps, .signs__grid, .features { grid-template-columns: 1fr; }
  .card__media { height: 200px; }
  .hero__ctas .btn { width: 100%; }
  .btn--xl { padding: 1em 1.6em; font-size: 1.05rem; white-space: normal; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card small { display: none; }
  .fc-ico { width: 34px; height: 34px; }
  .float-card--1 { left: -2%; }
  .float-card--2 { right: -2%; }
  .art__badge { width: 60px; height: 60px; border-radius: 18px; }
  .art__badge svg { width: 30px; height: 30px; }
  .cta__box { padding: 60px 22px; border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
