:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #647080;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9dee6;
  --brand: #0e7c7b;
  --brand-dark: #075a59;
  --accent: #f2b84b;
  --field: #f3f6f8;
  --shadow: 0 18px 50px rgba(20, 31, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 222, 230, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  background: #fff url("assets/leadia-local-logo-exact.jpg") center / 168% 168% no-repeat;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(8, 40, 91, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #425061;
  font-size: 14px;
  font-weight: 700;
}

.header-action {
  padding: 10px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 18, 25, 0.9), rgba(11, 18, 25, 0.55) 46%, rgba(11, 18, 25, 0.04)),
    linear-gradient(180deg, rgba(11, 18, 25, 0.2), rgba(11, 18, 25, 0.45));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 86px);
  padding: 72px 0 92px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.button {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 18px;
  max-width: 690px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #102028;
  background: var(--accent);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button.outline {
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: #fff;
}

.button.secondary-dark {
  color: #fff;
  background: var(--ink);
}

.hero-stats {
  margin: 36px 0 0;
  padding: 0;
}

.hero-stats a {
  min-width: 150px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-stats a:active,
.hero-stats a:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.hero-stats span {
  display: block;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section,
.band,
.audit,
.faq {
  padding: clamp(56px, 9vw, 98px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 830px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.demo-site,
.chat-demo,
.lead-form,
.checklist,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 35px rgba(20, 31, 45, 0.06);
}

.feature-card {
  padding: 26px;
}

.feature-card p,
.demo-layout p,
.audit p,
.form-note,
.split p,
.faq-grid p,
.privacy-note {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
}

.checklist {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.checklist div {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

.checklist strong {
  font-size: 18px;
}

.checklist span {
  color: var(--muted);
  line-height: 1.5;
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.band {
  background: #eaf1f1;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.chat-demo {
  padding: 20px;
}

.demo-stack {
  display: grid;
  gap: 16px;
}

.demo-site {
  padding: 22px;
}

.demo-label {
  margin: 0 0 10px;
  color: var(--brand) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-site h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.demo-site p {
  margin-bottom: 16px;
}

.demo-actions {
  display: grid;
  gap: 10px;
}

.demo-actions span,
.demo-actions a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-top span {
  width: 11px;
  height: 11px;
  background: #33b37a;
  border-radius: 50%;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.45;
}

.bubble.customer {
  margin-left: auto;
  color: #fff;
  background: var(--brand);
}

.bubble.agent {
  background: var(--field);
}

ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

li {
  margin-bottom: 9px;
}

.payment-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 6vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 74px) clamp(18px, 5vw, 64px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-band p {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.55;
}

.payment-panel {
  display: grid;
  gap: 12px;
}

.payment-panel .button {
  width: 100%;
}

.audit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
  color: #fff;
  background: var(--brand-dark);
}

.audit p {
  color: rgba(255, 255, 255, 0.8);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 6px;
  color: #344154;
  font-size: 14px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  font: inherit;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #102028;
  background: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.privacy-note {
  margin: -4px 0 0;
  font-size: 12px;
}

.privacy-note a,
.legal-page a {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  padding: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: #5d6a79;
  background: #fff;
  border-top: 1px solid var(--line);
}

.legal-page {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 64px);
}

.legal-page > p {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.legal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(20, 31, 45, 0.06);
}

.legal-grid h2 {
  font-size: 24px;
}

.legal-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.review-hero {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 64px) clamp(36px, 6vw, 72px);
  background: #fff;
}

.review-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(38px, 5.8vw, 72px);
}

.review-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.review-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 64px) clamp(56px, 8vw, 90px);
  background: #fff;
}

.review-results article,
.checkout-options article,
.review-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 35px rgba(20, 31, 45, 0.06);
}

.review-results article {
  padding: 26px;
}

.review-results span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.review-results h2 {
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.review-results p,
.checkout-section p,
.checkout-options p,
.review-contact p {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding: clamp(56px, 9vw, 98px) clamp(18px, 5vw, 64px);
  background: #eaf1f1;
}

.checkout-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checkout-options article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.checkout-options h3 {
  margin: 0;
  font-size: 38px;
}

.checkout-options .button {
  width: 100%;
}

.plan-label {
  margin: 0;
  color: var(--brand-dark) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-contact {
  margin: clamp(38px, 7vw, 72px) clamp(18px, 5vw, 64px);
  padding: clamp(24px, 5vw, 42px);
}

.review-contact h2 {
  font-size: clamp(28px, 4vw, 42px);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 18, 25, 0.78), rgba(11, 18, 25, 0.72)),
      linear-gradient(90deg, rgba(11, 18, 25, 0.72), rgba(11, 18, 25, 0.22));
  }

  .hero-content {
    margin-right: 18px;
  }

  .grid.three,
  .demo-layout,
  .payment-band,
  .audit,
  .split,
  .faq-grid,
  .legal-grid,
  .review-results,
  .checkout-section,
  .checkout-options {
    grid-template-columns: 1fr;
  }

  .hero-stats a {
    flex: 1 1 150px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 84px;
    line-height: 1.05;
  }

  .header-action {
    padding-inline: 12px;
  }

  .hero {
    min-height: 760px;
  }

  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }
}

/* === Animaciones futuristas Leadia Local === */
.washer-icon,
.dryer-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.washer-icon {
  background-image: url('assets/washer-outline.svg');
  animation: spin 4s linear infinite;
}

.dryer-icon {
  background-image: url('assets/dryer-outline.svg');
  position: relative;
}

.dryer-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,165,0,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: heat 2s ease-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes heat {
  0%   { width: 0; height: 0; opacity: 0.8; }
  70%  { width: 120px; height: 120px; opacity: 0; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

/* Botón ripple */
.button-ripple {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: background 0.3s;
}
.button-ripple:hover { background: var(--brand-dark); }

.button-ripple::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.3);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s, opacity .5s;
}
.button-ripple:active::after {
  transform: scale(4);
  opacity: 0;
}

/* Fade-in / slide-up para secciones */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner en botón */
.loader {
  position: absolute;
  right: -30px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid transparent;
  border-top-color: var(--brand);
  border-right-color: #ff9800;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.hidden { display: none; }

/* Check-mark éxito */
.success {
  text-align: center;
  margin-top: 1rem;
}
.checkmark {
  width: 52px;
  height: 52px;
  stroke: #4caf50;
  stroke-width: 5;
  stroke-linecap: round;
  animation: draw 0.6s ease-out forwards;
}
.check-circle {
  stroke: #4caf50;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: draw-circle 0.6s ease-out forwards;
}
.check-stroke {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-check 0.4s ease-out 0.6s forwards;
}
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check  { to { stroke-dashoffset: 0; } }
@keyframes draw { from { opacity:0; } to { opacity:1; } }
