/* ============================================================
   GRUPO ENERGÍA 365 — Hoja de estilos principal
   ============================================================ */

:root {
  /* Colores de marca (derivados del logo) */
  --ink: #0d2723;
  --dark: #10362e;
  --dark-2: #164a3c;
  --brand: #1c7a3f;
  --accent: #58ab2e;
  --accent-2: #7cc142;
  --accent-soft: #e8f4e0;
  --bg: #f6faf4;
  --surface: #ffffff;
  --text: #33463f;
  --muted: #64766e;
  --line: #e2ece0;

  --grad-brand: linear-gradient(135deg, #1c7a3f 0%, #58ab2e 100%);
  --grad-dark: linear-gradient(160deg, #0a201b 0%, #123c31 55%, #17573f 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(13, 39, 35, .06);
  --shadow-md: 0 10px 30px rgba(13, 39, 35, .10);
  --shadow-lg: 0 24px 60px rgba(13, 39, 35, .16);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 92%); }

.center { text-align: center; margin-top: 3rem; }

/* Iconos SVG inline */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-fill { fill: currentColor; stroke: none; }

/* ============ Badges y botones ============ */
.badge {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--accent-soft);
  color: var(--brand);
  border: 1px solid #d3e8c5;
  margin-bottom: 1rem;
}
.badge-light {
  background: rgba(255, 255, 255, .1);
  color: #d7f0c8;
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46, 125, 50, .35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(46, 125, 50, .45); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

.btn-wa {
  background: #1fae53;
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 174, 83, .35);
}
.btn-wa:hover { box-shadow: 0 12px 32px rgba(31, 174, 83, .45); }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ============ Portada / Intro ============ */
.intro {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 30%, #ffffff 0%, #f2f8ee 55%, #e2efda 100%);
}

.intro-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}
.intro-glow-1 {
  width: 520px; height: 520px;
  background: #a5d98a;
  top: -160px; right: -120px;
}
.intro-glow-2 {
  width: 460px; height: 460px;
  background: #7cc142;
  bottom: -180px; left: -140px;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity;
}

.intro-logo-wrap {
  position: relative;
  margin-bottom: 1.8rem;
}
.intro-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 193, 66, .28) 0%, transparent 70%);
  animation: introHalo 4s ease-in-out infinite;
}
@keyframes introHalo {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.intro-logo {
  position: relative;
  width: min(300px, 55vw);
  filter: drop-shadow(0 24px 50px rgba(13, 39, 35, .25));
  animation: introIn 1.1s cubic-bezier(.2, .7, .3, 1) both;
}

.intro-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  letter-spacing: .14em;
  color: var(--ink);
  animation: introIn 1.1s cubic-bezier(.2, .7, .3, 1) .25s both;
}
.intro-title em { font-style: normal; color: var(--brand); }
.intro-title strong { font-weight: 800; }

.intro-sub {
  margin-top: .7rem;
  font-size: clamp(.72rem, 2vw, .95rem);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--muted);
  animation: introIn 1.1s cubic-bezier(.2, .7, .3, 1) .45s both;
}

@keyframes introIn {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-scroll {
  position: absolute;
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  color: var(--brand);
  animation: introIn 1.1s ease .9s both;
}
.intro-scroll-text {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mouse {
  position: relative;
  width: 26px; height: 42px;
  border: 2px solid var(--brand);
  border-radius: 14px;
}
.wheel {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--brand);
  animation: wheel 1.8s ease-out infinite;
}
@keyframes wheel {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(13px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* La web se desliza por encima de la portada (efecto cortina) */
main, .site-footer {
  position: relative;
  z-index: 2;
}
main {
  background: var(--bg);
  box-shadow: 0 -26px 70px rgba(8, 27, 23, .4);
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: .9rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease,
              transform .45s cubic-bezier(.2, .7, .3, 1), opacity .45s ease;
}
.site-header.header-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.site-header.scrolled {
  background: rgba(10, 32, 27, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  padding: .55rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
}
.brand-logo { width: 46px; height: 46px; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .10em;
  color: #fff;
  white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--accent-2); }
.brand-text strong { margin-left: .35em; font-weight: 800; }

.site-nav ul {
  display: flex;
  gap: 1.6rem;
}
.site-nav a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  font-size: .93rem;
  transition: color .2s ease;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
  transition: width .25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }

.btn-nav { padding: .6rem 1.3rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  padding: 9.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: #2e9147;
  top: -180px; right: -120px;
}
.hero-glow-2 {
  width: 420px; height: 420px;
  background: #1c5233;
  bottom: -160px; left: -140px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.grad-text {
  background: linear-gradient(90deg, #8fd45e, #4cc06a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, .8);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .85);
}
.hero-points .icon { color: var(--accent-2); width: 1.1em; height: 1.1em; }

/* Tarjeta visual del hero */
.hero-visual { position: relative; }

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.hero-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.pill {
  padding: .35rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-head);
}
.pill-green { background: var(--grad-brand); color: #fff; }

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.6rem;
  height: 190px;
  padding-bottom: .4rem;
}
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  height: 100%;
  justify-content: flex-end;
}
.chart-col small { color: rgba(255,255,255,.65); font-size: .82rem; }
.bar {
  width: 74px;
  height: var(--h);
  border-radius: 12px 12px 4px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  animation: growBar 1.1s cubic-bezier(.2, .7, .3, 1) both;
  transform-origin: bottom;
}
.bar-before { background: rgba(255, 255, 255, .22); }
.bar-after {
  background: var(--grad-brand);
  box-shadow: 0 10px 30px rgba(88, 171, 46, .4);
  animation-delay: .25s;
}
@keyframes growBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.chart-arrow {
  align-self: center;
  color: var(--accent-2);
}
.chart-arrow .icon { width: 2rem; height: 2rem; }

.hero-card-note {
  margin-top: 1.2rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}

/* Chips flotantes */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: floatChip 5s ease-in-out infinite;
}
.float-chip .icon { color: var(--brand); width: 1.1em; height: 1.1em; }
.chip-1 { top: -18px; left: -14px; animation-delay: 0s; }
.chip-2 { bottom: -16px; right: -8px; animation-delay: 2.5s; }
.chip-3 { top: 18px; right: -10px; animation-delay: 1s; }
.chip-4 { bottom: 26px; left: -16px; animation-delay: 3.5s; }

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Franja de datos del hero */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  padding: 1.6rem 2rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-2);
}
.stat-label { font-size: .88rem; color: rgba(255, 255, 255, .75); }

/* ============ Secciones genéricas ============ */
.section { padding: 6rem 0; }
.section-alt { background: #eef6ea; }

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .9rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.section-dark {
  background: var(--grad-dark);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }

/* ============ Tarjetas de servicios ============ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #c9e3b8;
}

.card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.card-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .35rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.card-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}
.card-icon .icon { width: 1.9rem; height: 1.9rem; }

.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.card > p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }

.card-list { margin-bottom: 1.6rem; flex-grow: 1; }
.card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .92rem;
  margin-bottom: .45rem;
}
.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card-link span { transition: transform .25s ease; }
.card-link:hover span { transform: translateX(5px); }

/* ============ Features (qué hacemos) ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.feature-icon .icon { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ============ Proceso ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem 1.8rem;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background .3s ease;
}
.step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .11);
}
.step-num {
  position: absolute;
  top: -22px;
  left: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(88, 171, 46, .45);
}
.step h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: rgba(255, 255, 255, .72); }

/* ============ Nosotros ============ */
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.split-visual { position: relative; }

.logo-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-panel img { width: 170px; margin-bottom: 1.6rem; }
.logo-panel-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.logo-panel-text em { font-style: normal; color: var(--brand); }
.logo-panel-text strong { font-weight: 800; }
.logo-panel-sub {
  margin-top: .5rem;
  font-size: .8rem;
  letter-spacing: .35em;
  color: var(--muted);
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.split-copy > p { color: var(--muted); margin-bottom: 1.8rem; font-size: 1.03rem; }

.checklist li {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.checklist .icon {
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
  padding: .3rem;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: .1rem;
}
.checklist strong { color: var(--ink); }
.checklist div { font-size: .98rem; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: .9rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: #c9e3b8; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .3s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-item p {
  padding: 0 1.5rem 1.3rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ============ Contacto ============ */
.section-contact {
  background: var(--grad-dark);
  color: #fff;
}
.section-contact h2 { color: #fff; }
.section-contact .section-head p { color: rgba(255, 255, 255, .72); }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
}
.contact-card-wa:hover { border-color: rgba(37, 211, 102, .6); }

.contact-icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.contact-icon .icon { width: 1.5rem; height: 1.5rem; }
.contact-card-wa .contact-icon { background: linear-gradient(135deg, #128c7e, #25d366); }

.contact-card h3 { font-size: .92rem; color: rgba(255,255,255,.7); font-weight: 600; }
.contact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.contact-value-sm { font-size: .98rem; word-break: break-all; }
.contact-hint { font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* Formulario */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: .4rem;
}
.form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.optional { color: var(--muted); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fbfdf9;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(88, 171, 46, .15);
}
.form-field textarea { resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .4rem;
}
.form-actions .btn { flex: 1; min-width: 200px; }

.form-note {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--muted);
}

/* ============ Footer ============ */
.site-footer {
  background: #081b17;
  color: rgba(255, 255, 255, .72);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { font-size: .9rem; max-width: 26rem; }

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  font-size: .9rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.4rem 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}

/* ============ Botón flotante WhatsApp ============ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.whatsapp-float svg {
  width: 32px; height: 32px;
  fill: #fff;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 38px rgba(37, 211, 102, .55);
}
.whatsapp-float.wa-hidden {
  transform: scale(.4);
  opacity: 0;
  pointer-events: none;
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============ Animaciones de aparición ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .bar, .whatsapp-float::before { animation: none; }
  .wheel, .intro-logo-wrap::before { animation: none; }
  .intro-logo, .intro-title, .intro-sub, .intro-scroll { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: span 2; max-width: 560px; justify-self: center; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .split { grid-template-columns: 1fr; gap: 3.5rem; }
  .split-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(78vw, 320px);
    background: rgba(8, 27, 23, .97);
    backdrop-filter: blur(16px);
    padding: 6rem 2.2rem 2rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 1.6rem; }
  .site-nav a { font-size: 1.1rem; }

  .nav-toggle { display: flex; z-index: 110; }
  .btn-nav { display: none; }

  .hero { padding-top: 7.5rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.6rem; }

  .cards-3 { grid-template-columns: 1fr; }
  .card-featured { grid-column: auto; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section { padding: 4.5rem 0; }
  .float-chip { font-size: .78rem; padding: .5rem .8rem; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}
