/* ============================================
   Doumo.ai — Custom Styles
   Complements Tailwind CSS v3
   Studio156 — Sobriedad Arquitectónica
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --color-bone: #F5F5F5;
  --color-carbon: #2F2F2F;
  --color-teal: #008080;
  --color-teal-dark: #006666;
  --color-teal-light: #e0f2f2;
  --color-gray: #D3D3D3;
  --color-gray-mid: #9CA3AF;
  --radius-btn: 4px;
  --font-main: 'Inter', 'DM Sans', sans-serif;
}

/* ---- Base Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bone);
  color: var(--color-carbon);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-teal);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--color-teal);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--color-teal);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--color-teal);
  color: #fff;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-teal-light);
  /* Verde menta */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 128, 128, 0.1);
  transition: transform 0.4s ease, background-color 0.3s ease, opacity 0.4s ease, z-index 0s 0.4s;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-behind {
  opacity: 0;
  z-index: -100;
  pointer-events: none;
}

.navbar.scrolled {
  background-color: rgba(224, 242, 242, 0.95);
  /* Verde menta sólido/borroso */
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--color-teal);
  padding: 0.15rem 0.4rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-top: -12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #008080;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  font-size: 0.85rem !important;
  padding: 0.55rem 1.2rem !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.35rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(47, 47, 47, 0.98);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero_property.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(47, 47, 47, 0.85) 0%,
      rgba(47, 47, 47, 0.5) 60%,
      rgba(47, 47, 47, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  width: 100%;
  display: grid;
  grid-template-columns: 7fr 3fr;
  align-items: center;
  gap: 3rem;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(1px 1px 0 #fff) drop-shadow(-1px 1px 0 #fff) drop-shadow(1px -1px 0 #fff) drop-shadow(-1px -1px 0 #fff) drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 7rem;
  }

  .hero-logo-col {
    display: none;
  }

  .hero-main-logo {
    max-width: 80px;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-inner {
    justify-content: center;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: mintcream;
  background: rgba(245, 255, 250, 0.12);
  border: 1px solid rgba(245, 255, 250, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: mintcream;
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 640px;
  line-height: 1.1;
}

.hero-title strong {
  color: var(--color-teal);
  font-weight: 700;
}

.gradient-doumo,
.hero-title strong.gradient-doumo {
  background: linear-gradient(90deg,
      var(--color-teal) 0%,
      mintcream 50%,
      var(--color-teal) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineDoumo 4s linear infinite;
  display: inline-block;
}

@keyframes shineDoumo {
  to {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stat-bar {
  margin-top: 4rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: nowrap;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.hero-stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-stat-num span {
  color: var(--color-teal);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 2px;
}

/* ---- Section Shared ---- */
.section {
  padding: 5.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-outer {
  background: var(--color-bone);
}

.section-outer-alt {
  background: #fff;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-carbon);
  margin: 0 auto 1rem auto;
  max-width: 600px;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

/* ---- Capabilities Grid ---- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background-color 0.2s;
}

.cap-card:hover {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal);
  box-shadow: 0 8px 30px rgba(0, 128, 128, 0.08);
  transform: translateY(-2px);
}

.cap-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cap-icon {
  width: 44px;
  height: 44px;
  background: var(--color-teal-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--color-teal);
}

.cap-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-teal);
  fill: none;
  stroke-width: 1.8;
}

.cap-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-carbon);
  margin-bottom: 0.6rem;
}

.cap-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ---- ROI / Benefits ---- */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.roi-card {
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--color-teal);
  background: #fff;
  border-radius: 0 4px 4px 0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.roi-card:hover {
  box-shadow: 0 6px 24px rgba(0, 128, 128, 0.09);
  transform: translateX(3px);
}

.roi-icon {
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.roi-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-teal);
  fill: none;
  stroke-width: 1.8;
}

.roi-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-carbon);
  margin-bottom: 0.5rem;
}

.roi-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ---- Dashboard / Cierre ---- */
.cierre-outer {
  background: var(--color-carbon);
}

.cierre-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cierre-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cierre-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
}

.cierre-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 1.2rem;
}

.cierre-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cierre-price-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cierre-price-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 128, 128, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-teal);
}

.cierre-price-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
}

.cierre-price-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.cierre-price-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.dashboard-mockup {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-bar {
  background: #1e1e1e;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-body {
  background: #fff;
  padding: 1.25rem;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.dashboard-head {
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-cell {
  color: var(--color-carbon);
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.dash-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
}

.dash-badge.calif {
  background: #e0f2f1;
  color: #00796b;
}

.dash-badge.pend {
  background: #fff3e0;
  color: #e65100;
}

.dash-badge.cita {
  background: #e8f5e9;
  color: #2e7d32;
}

/* ---- Powered by bar ---- */
.powered-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.powered-bar span {
  color: var(--color-teal);
  font-weight: 600;
}

/* ---- Stack / Tech Section ---- */
.stack-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stack-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-carbon);
  transition: border-color 0.2s;
}

.stack-chip:hover {
  border-color: var(--color-teal);
}

.stack-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* ---- Footer ---- */
.footer {
  background: #1e1e1e;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--color-teal);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-teal);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--color-gray);
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Animations ---- */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ---- Fade-in on scroll ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cierre-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

  .mobile-menu-btn {
    display: flex;
  }

  .nav-inner {
    height: 56px;
    padding: 0 1rem;
  }

  .nav-logo-img {
    height: 32px;
  }

  .hero-content {
    padding: 6rem 1.2rem 2.5rem;
  }

  .hero-stat-bar {
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .hero-stat {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    flex: 1 1 40%;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .roi-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 1.2rem;
  }

  .cierre-inner {
    padding: 3.5rem 1.2rem;
  }

  .dashboard-row {
    grid-template-columns: 2fr 1fr;
  }

  .dashboard-row .col-hide {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ==================================================
   WhatsApp Carousel — Cómo Funciona
   ================================================== */
.wa-carousel {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 100%;
  align-content: center;
}

/* --- Tabs --- */
.wa-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.wa-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: 1.5px solid var(--color-gray);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-main);
  text-align: left;
}

.wa-tab:hover {
  border-color: var(--color-teal);
}

.wa-tab.active {
  border-color: var(--color-teal);
  background: var(--color-teal);
}

.wa-tab-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  transition: color 0.2s;
}

.wa-tab.active .wa-tab-num {
  color: rgba(255, 255, 255, 0.7);
}

.wa-tab-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-carbon);
  transition: color 0.2s;
}

.wa-tab.active .wa-tab-label {
  color: #fff;
  font-weight: 600;
}

/* --- Slides wrapper (clips content) --- */
.wa-slides-wrapper {
  overflow: hidden;
  position: relative;
}

.wa-slides {
  display: flex;
  transition: none;
  /* we do visibility toggle, not translate */
}

.wa-slide {
  display: none;
  width: 100%;
  flex-shrink: 0;
  animation: slideIn 0.35s ease;
}

.wa-slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Slide inner layout --- */
.wa-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  gap: 1.5rem;
  text-align: center;
  padding: 1rem 0;
}

.wa-slide-copy {
  order: 1;
}

.wa-phone-frame {
  order: 2;
}

/* --- Copy side --- */
.wa-step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.wa-slide-title {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  color: var(--color-carbon);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.wa-slide-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.wa-slide-desc strong {
  color: var(--color-carbon);
}

.wa-slide-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wa-slide-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-carbon);
  font-weight: 500;
}

.wa-slide-features li svg {
  stroke: var(--color-teal);
  flex-shrink: 0;
}

/* --- Phone mockup frame --- */
.wa-phone-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
}

.wa-phone-shell {
  position: relative;
  width: 200px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 12px 8px 14px;
  box-shadow:
    0 0 0 1.5px #3a3a3a,
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.wa-phone-notch {
  width: 70px;
  height: 10px;
  background: #111;
  border-radius: 6px;
  margin: 0 auto 10px;
}

.wa-phone-screen {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: none;
}

.wa-phone-screen::-webkit-scrollbar {
  display: none;
}

.wa-phone-screen img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Ambient glow behind the phone */
.wa-phone-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center, rgba(0, 128, 128, 0.18) 0%, transparent 70%);
  filter: blur(28px);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

/* --- Controls (arrows + dots) --- */
.wa-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.wa-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-carbon);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wa-arrow:hover {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: #fff;
}

.wa-dots {
  display: flex;
  gap: 0.5rem;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.wa-dot.active {
  background: var(--color-teal);
  transform: scale(1.3);
}

/* --- Responsive visual trick for tabs/controls on desktop --- */
@media (min-width: 901px) {

  /* Superponer wrappers y controles */
  .wa-slides-wrapper,
  .wa-tabs,
  .wa-controls {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
  }

  .wa-slides-wrapper {
    z-index: 1;
  }

  /* Nuevo Layout Grid para el slide: 3 columnas (Texto - Teléfono - Features) */
  .wa-slide-inner {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) auto minmax(280px, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: 
      "badge phone feat"
      "title phone feat"
      "desc  phone feat";
    column-gap: 3.5rem;
    align-items: start;
    padding-bottom: 2rem;
  }

  .wa-slide-copy {
    display: contents; /* Los hijos se posicionan en el grid del padre */
  }

  .wa-step-badge {
    grid-area: badge;
    justify-self: start;
    margin-top: 5rem; /* Alineado con la parte superior del teléfono */
  }

  .wa-slide-title {
    grid-area: title;
    justify-self: start;
    text-align: left;
    max-width: 450px;
  }

  .wa-slide-desc {
    grid-area: desc;
    justify-self: start;
    text-align: left;
    max-width: 450px;
  }

  .wa-phone-frame {
    grid-area: phone;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .wa-slide-features {
    grid-area: feat;
    justify-self: start;
    align-self: center;
    margin-top: -3.5rem; /* Elevar features para dar espacio a controles debajo */
  }

  /* Posicionar controles debajo de features, lado derecho */
  .wa-controls {
    align-self: center;
    justify-self: start;
    margin-left: calc(50% + 160px); /* Ajuste: centro + mitad teléfono + gap */
    margin-top: 13rem; /* Bajar controles */
    transform: none;
    width: auto;
  }

  .wa-tabs {
    display: none;
  }
}

/* --- Responsive: tablet --- */
@media (max-width: 900px) {
  .wa-slide-inner {
    min-height: calc(100vh - 160px);
    gap: 1.5rem;
  }

  .wa-phone-frame {
    order: 2;
  }

  .wa-phone-shell {
    width: 200px;
  }

  .wa-phone-screen {
    max-height: 380px;
  }
}

/* --- Responsive: mobile — optimized full viewport --- */
@media (max-width: 768px) {
  #como-funciona .section {
    padding-bottom: 2rem !important;
    /* Más respiro abajo */
    padding-top: 3rem !important;
  }

  /* Reducir gap con la siguiente sección */
  #planes .section {
    padding-top: 1.5rem !important;
  }

  .wa-slide-inner {
    min-height: 680px;
    /* Asegura espacio para el teléfono completo */
    gap: 0.8rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .wa-slide-copy {
    order: 1;
  }

  .wa-slide-desc {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .wa-slide-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .wa-slide-features li {
    text-align: left;
  }

  .wa-phone-frame {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .wa-phone-shell {
    width: 280px;
    /* Tamaño equilibrado para visibilidad y espacio */
    max-width: 85vw;
    border-radius: 32px;
    padding: 12px 8px 16px;
  }

  .wa-phone-screen {
    max-height: 540px;
    border-radius: 22px;
  }

  .wa-phone-notch {
    width: 60px;
    height: 8px;
    border-radius: 5px;
    margin-bottom: 8px;
  }

  /* Positioned parent for absolute arrows */
  .wa-carousel {
    position: relative;
    height: auto;
    min-height: calc(100vh - 100px);
  }

  /* Controls bar below: just dots */
  .wa-controls {
    margin-top: 0.8rem;
  }

  /* Ocultar dots en móvil — tapan el mockup */
  .wa-dots {
    display: flex;
  }

  /* Move arrows to side positions, flanking the phone mockup */
  .wa-arrow {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    transform: none;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--color-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  /* Hide button tabs on mobile as requested */
  .wa-tabs {
    display: none;
  }
}

/* --- Responsive: small phones --- */
@media (max-width: 480px) {
  .wa-slide-inner {
    gap: 0.8rem;
  }

  .wa-phone-shell {
    width: 270px;
    max-width: 88vw;
  }

  .wa-phone-screen {
    max-height: 540px;
  }

  .wa-slide-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

#wa-next {
  right: -2px;
}
}

/* ==================================================
   Pricing Section
   ================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .pricing-grid {
    margin-top: 2.5rem;
    gap: 1.5rem;
  }
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
  border: 2.5px solid var(--color-teal);
  box-shadow: 0 8px 30px rgba(0, 128, 128, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-carbon);
  margin-bottom: 0.2rem;
}

.pricing-original-price {
  font-size: 1.1rem;
  color: var(--color-gray-mid);
  text-decoration: line-through;
  margin-bottom: -0.2rem;
  font-weight: 500;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-carbon);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gray-mid);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--color-gray-mid);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--color-carbon);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  color: var(--color-teal);
  font-weight: bold;
}

/* ==================================================
   Capture Form
   ================================================== */
.capture-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.capture-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.capture-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-carbon);
  letter-spacing: 0.02em;
}

.capture-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-gray);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--color-carbon);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.capture-input:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}

.capture-input::placeholder {
  color: var(--color-gray-mid);
}

.capture-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}

/* ==================================================
   Transparency Block
   ================================================== */
.transparency-block {
  background: var(--color-gray);
  border-radius: 6px;
  padding: 2.5rem 3rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  text-align: left;
}

.transparency-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-carbon);
  margin-bottom: 1rem;
}

.transparency-intro {
  font-size: 0.95rem;
  color: var(--color-carbon);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.transparency-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.transparency-item {
  border-left: 3px solid var(--color-carbon);
  padding-left: 1.25rem;
}

.transparency-item-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-carbon);
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.transparency-item-label span {
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 600;
}

.transparency-item p {
  font-size: 0.88rem;
  color: var(--color-carbon);
  line-height: 1.6;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .transparency-block {
    padding: 2rem 1.5rem;
  }

  .transparency-items {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   Setup Block
   ================================================== */
.setup-block {
  background: var(--color-carbon);
  border-radius: 8px;
  padding: 2rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 2.5rem auto;
  gap: 2.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.setup-icon {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.setup-content {
  flex-grow: 1;
}

.setup-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.setup-desc {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.setup-price {
  text-align: right;
  flex-shrink: 0;
}

.setup-price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: mintcream;
  letter-spacing: -0.02em;
}

.setup-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.scarcity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.35rem 0.8rem;
  background: rgba(0, 128, 128, 0.15);
  border: 1px solid rgba(0, 128, 128, 0.4);
  border-radius: 50px;
  color: mintcream;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0, 128, 128, 0.15);
  letter-spacing: normal;
  text-transform: none;
}

.scarcity-badge svg {
  color: var(--color-teal);
  animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.scarcity-badge span {
  font-variant-numeric: tabular-nums;
  background: var(--color-teal);
  color: white;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin: 0 0.15rem;
}

@media (max-width: 768px) {
  .setup-block {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }

  .setup-price {
    text-align: center;
  }
}