/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #141414;
  --bg-3:      #1c1c1c;
  --ink:       #fafafa;
  --ink-soft:  #d4d4d4;
  --mute:      #8a8a8a;
  --accent:    #ff3d1a;      /* fiery orange-red — energy / intensity */
  --accent-2:  #ff8a1e;      /* warm orange, secondary */
  --accent-ink: #0a0a0a;     /* text on accent */
  --line:      rgba(250,250,250,0.12);
  --whatsapp:  #25d366;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Anton", "Arial Narrow", var(--sans);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(4rem, 10vw, 7rem); }
.section-halo {
  position: absolute; inset: -40% -10% -40% -10%;
  background: radial-gradient(45% 35% at 50% 40%, rgba(255,61,26,0.14), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: .75rem;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-sub {
  color: var(--mute);
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.demo-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mute);
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: .2rem .55rem;
  border-radius: 999px;
  text-transform: none;
  font-family: var(--sans);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255,61,26,0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(255,61,26,0.75); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 1.1rem;
  background: rgba(10,10,10,0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(10,10,10,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .7rem;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .02em;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: none;
  gap: 2rem;
  font-weight: 600;
  font-size: .92rem;
}
.nav-links a { position: relative; padding-block: .25rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }
@media (min-width: 960px) { .nav-links { display: flex; align-items: center; } }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  padding-top: 6rem;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle 620px at var(--mx, 20%) var(--my, 30%), rgba(255,61,26,.35) 0%, transparent 60%),
    radial-gradient(circle 700px at calc(var(--mx, 20%) + 30%) calc(var(--my, 30%) + 40%), rgba(255,138,30,.18) 0%, transparent 60%);
  filter: blur(50px);
  transition: background .4s ease;
  mix-blend-mode: screen;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; } }

.hero-photo {
  position: relative;
  isolation: isolate;
  max-width: 380px;
  margin-inline: auto;
}
@media (min-width: 960px) { .hero-photo { max-width: none; order: 2; } }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  filter: grayscale(.15) contrast(1.08);
}
.hero-photo-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2;
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: var(--ink); background: rgba(10,10,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
}
.hero-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 1.2rem;
  max-width: 100%;
}
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,61,26,.25); animation: pulseDot 2.2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.hero-title {
  font-size: clamp(2.8rem, 8.5vw, 6.6rem);
  line-height: 0.94;
  max-width: 15ch;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  font-family: var(--sans);
  text-transform: none;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-stat-value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--ink);
}
.hero-stat-value .accent { color: var(--accent); }
.hero-stat-label {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--mute);
  text-transform: none;
  margin-top: .15rem;
}

/* =============================================================
   7. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--mute);
  display: flex; align-items: center; gap: 3rem;
  white-space: nowrap;
}
.marquee-item .sep { color: var(--accent); }

/* =============================================================
   7b. Energy gallery
   ============================================================= */
.energy { padding-block: clamp(3rem, 6vw, 5rem); }
.energy-grid {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .energy-grid { grid-template-columns: 1.6fr 1fr; } }

.energy-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.energy-photo img { width: 100%; height: 100%; object-fit: cover; }
.energy-photo figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.4rem 1.2rem .9rem;
  background: linear-gradient(0deg, rgba(10,10,10,.88), transparent);
  color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: .85rem;
}
.energy-credit {
  grid-column: 1 / -1;
  font-family: var(--sans); font-size: .72rem; color: var(--mute); text-align: right;
}
.energy-credit:hover { color: var(--accent); }

/* =============================================================
   8. Services
   ============================================================= */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120px 120px at 20% 0%, rgba(255,61,26,.16), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,61,26,.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,61,26,.14);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
  position: relative;
}
.service-card p {
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--mute);
  text-transform: none;
  position: relative;
}

/* =============================================================
   9. Why us
   ============================================================= */
.why-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  background: var(--bg);
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease-out);
}
.why-item:hover { background: var(--bg-2); }
.why-item h3 {
  font-size: 1.05rem;
  color: var(--ink);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .6rem;
}
.why-item h3::before { content: "✓"; color: var(--accent); font-family: var(--sans); font-weight: 800; }
.why-item p { font-family: var(--sans); font-size: .9rem; color: var(--mute); text-transform: none; }

/* =============================================================
   10. Testimonials
   ============================================================= */
.testi-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testi-stars { color: var(--accent); font-size: .95rem; letter-spacing: .12em; }
.testi-quote {
  font-family: var(--sans);
  text-transform: none;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.testi-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.testi-name { font-weight: 700; font-size: .92rem; }
.testi-role { font-size: .78rem; color: var(--mute); display: block; }

/* =============================================================
   11. FAQ
   ============================================================= */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem;
  text-align: left;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: none;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform .35s var(--ease-out), background .35s var(--ease-out);
}
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease-out);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p {
  font-family: var(--sans);
  color: var(--mute);
  font-size: .95rem;
  padding-bottom: 1.4rem;
  max-width: 62ch;
}

/* =============================================================
   12. Contact
   ============================================================= */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-row { display: flex; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic { color: var(--accent); flex-shrink: 0; margin-top: .1rem; }
.contact-row strong { display: block; font-family: var(--sans); font-size: .92rem; text-transform: none; }
.contact-row span { font-family: var(--sans); font-size: .88rem; color: var(--mute); }
.contact-cta {
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  background: linear-gradient(160deg, rgba(255,61,26,.16), rgba(20,20,20,0));
  border: 1px solid rgba(255,61,26,.3);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
}
.contact-cta h3 { font-size: 1.6rem; }
.contact-cta p { font-family: var(--sans); color: var(--ink-soft); text-transform: none; }

/* =============================================================
   13. Pricing
   ============================================================= */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 860px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255,61,26,.35); }
.price-card--featured {
  background: linear-gradient(165deg, rgba(255,61,26,.16), var(--bg-2) 65%);
  border-color: rgba(255,61,26,.45);
}
@media (min-width: 860px) {
  .price-card--featured { transform: scale(1.03); }
  .price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
}
.price-badge {
  position: absolute; top: -.7rem; left: 1.8rem;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px;
}
.price-badge--muted { background: var(--bg-3); color: var(--ink-soft); border: 1px solid var(--line); }
.price-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.price-desc { font-family: var(--sans); text-transform: none; color: var(--mute); font-size: .88rem; margin-bottom: 1.4rem; }
.price-amount { font-family: var(--display); font-size: 2.3rem; color: var(--ink); margin-bottom: 1.4rem; line-height: 1; }
.price-currency { font-size: 1.2rem; color: var(--mute); vertical-align: top; }
.price-period { display: block; font-family: var(--sans); text-transform: none; font-size: .78rem; color: var(--mute); margin-top: .35rem; }
.price-features { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; flex: 1; }
.price-features li { font-family: var(--sans); font-size: .88rem; color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-foot {
  margin-top: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; font-family: var(--sans); color: var(--mute); font-size: .95rem;
}
.price-foot .btn { flex-shrink: 0; }

/* =============================================================
   14. Checkout modal (pasarela de pago simulada)
   ============================================================= */
html.no-scroll, html.no-scroll body { overflow: hidden; }

.checkout-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.checkout-overlay.is-open { opacity: 1; pointer-events: auto; }
.checkout-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  transform: translateY(20px) scale(.97);
  transition: transform .35s var(--ease-out);
}
.checkout-overlay.is-open .checkout-modal { transform: translateY(0) scale(1); }
.checkout-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--mute);
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.checkout-close:hover { color: var(--accent); border-color: var(--accent); }
.checkout-demo-tag { display: inline-block; margin-bottom: 1rem; }
.checkout-title { font-size: 1.5rem; margin-bottom: 1.2rem; }
.checkout-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: 1.6rem;
}
.checkout-summary strong { display: block; font-family: var(--sans); font-size: .95rem; text-transform: none; }
.checkout-summary span { font-family: var(--sans); font-size: .78rem; color: var(--mute); }
.checkout-summary-price { font-family: var(--display); font-size: 1.3rem; color: var(--accent); }
.checkout-form { display: flex; flex-direction: column; gap: 1rem; }
.checkout-field { display: flex; flex-direction: column; gap: .4rem; }
.checkout-field span { font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.checkout-field input {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; color: var(--ink); font-family: var(--sans); font-size: .92rem;
  transition: border-color .25s var(--ease-out);
}
.checkout-field input:focus { border-color: var(--accent); }
.checkout-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.checkout-disclaimer { font-family: var(--sans); font-size: .76rem; color: var(--mute); text-align: center; margin-top: .2rem; }
.checkout-step[data-checkout-step="loading"],
.checkout-step[data-checkout-step="success"] {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem;
  padding-block: 1.5rem;
}
.checkout-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent);
  animation: checkoutSpin .8s linear infinite;
}
@keyframes checkoutSpin { to { transform: rotate(360deg); } }
.checkout-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37,211,102,.16); color: #25d366;
  border: 1px solid rgba(37,211,102,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
}
.checkout-step[data-checkout-step="success"] p { font-family: var(--sans); text-transform: none; color: var(--ink-soft); font-size: .92rem; }
.checkout-order { font-size: .82rem; color: var(--mute); }
.checkout-step[data-checkout-step="success"] .btn { margin-top: .6rem; }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.4rem;
  background: var(--bg-2);
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-brand { font-family: var(--display); font-size: 1.1rem; }
.footer-brand span { color: var(--accent); }
.footer-copy { font-size: .82rem; color: var(--mute); }
.footer-demo-badge {
  font-size: .7rem; color: var(--mute); background: var(--bg-3);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem;
}

/* =============================================================
   16. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .35s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float-ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp);
  animation: waPing 2.4s ease-out infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }

/* =============================================================
   16b. Demo toast (WhatsApp CTAs — no real number in this demo)
   ============================================================= */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 300;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 400px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--sans); font-size: .85rem; text-align: center;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   17. AI chat widget
   ============================================================= */
.chat-toggle {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: calc(clamp(1rem, 3vw, 1.6rem) + 76px);
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(255,61,26,.65);
  transition: transform .35s var(--ease-bounce);
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 26px; height: 26px; fill: #fff; }

.chat-panel {
  position: fixed;
  right: clamp(.75rem, 3vw, 1.6rem);
  bottom: calc(clamp(1rem, 3vw, 1.6rem) + 148px);
  z-index: 95;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(520px, 70vh);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6);
  transform: translateY(16px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
}
.chat-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.chat-head strong { font-family: var(--sans); font-size: .95rem; }
.chat-head span { display: block; font-size: .72rem; opacity: .85; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .7rem;
  font-family: var(--sans);
  font-size: .88rem;
}
.chat-msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--bg-3); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.1rem .8rem; }
.chat-chip {
  font-size: .76rem; padding: .4rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.chat-chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px;
  padding: .65rem 1rem; color: var(--ink); font-family: var(--sans); font-size: .88rem;
}
.chat-form button {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-form button svg { width: 18px; height: 18px; fill: #fff; }

/* =============================================================
   18. Effects (reveal, magnetic, count-up)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 70ms); }

.magnetic { will-change: transform; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {}
@media (min-width: 720px) {}
@media (min-width: 960px) {}
@media (min-width: 1280px) {}

/* =============================================================
   20. Reduced motion — only intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .wa-float-ping { animation: none; }
  .hero-meta .dot { animation: none; }
}
