/* ==========================================================================
   CROCHLY — Landing page
   Identidad visual tomada de la app (src/constants/colors.ts y typography.ts)
   ---------------------------------------------------------------
   --primary:       #E37CA0
   --primary-dark:  #932C58
   --primary-light: #FFB6CA
   --bg:            #F4F0E5
   --text:          #2E1B23
   Fuentes: Poppins (títulos) + Quicksand (cuerpo)
   ========================================================================== */

:root {
  --primary: #E37CA0;
  --primary-dark: #932C58;
  --primary-light: #FFB6CA;
  --secondary: #932C58;
  --accent: #FFB6CA;
  --bg: #F4F0E5;
  --bg-card: #FFFFFF;
  --text: #2E1B23;
  --text-light: #8B7580;
  --border: #E9DCD6;
  --success: #B5768E;
  --danger: #D0455C;
  --warning: #D9A26B;
  --input-bg: #FBE9EE;
  --shadow: rgba(147, 44, 88, 0.12);
  --shadow-lg: rgba(147, 44, 88, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --font-title: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Utilidades ---------- */
.gradient-text {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-dark);
}

.section-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--input-bg);
  border: 1px solid var(--primary-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-card); }
.section-soft { background: linear-gradient(180deg, #FBE9EE 0%, var(--bg) 100%); }

/* ---------- Animaciones reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.reveal-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ==========================================================================
   AQUÍ VA IMAGEN — placeholder gráfico.
   Reemplaza cada <figure class="img-ph"> por el <img> indicado en el comentario.
   ========================================================================== */
.img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 28px 18px;
  border: 2px dashed #DFA8BC;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #FBE9EE 0, #FBE9EE 12px, #FDF4F8 12px, #FDF4F8 24px);
  color: var(--primary-dark);
}
.img-ph figcaption {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.img-ph figcaption small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0;
}
.img-ph--sm { min-height: 130px; font-size: 0.85rem; }
.img-ph--banner { min-height: 320px; }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 10px 24px var(--shadow-lg);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(147,44,88,.28); }
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline:hover { background: var(--primary-dark); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(147,44,88,.18);
}
.btn-light:hover { color: var(--primary-dark); }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }

/* Botones de tiendas (Play Store / App Store) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #1E1B1C;
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.store-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.store-btn--disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.3); }
.store-btn--disabled:hover { transform: none; box-shadow: none; }
.store-btn-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.55);
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 0.55rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
}
.store-btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-btn-text small { font-size: 0.7rem; color: rgba(255,255,255,.7); font-family: var(--font-body); }
.store-btn-text strong { font-size: 1.02rem; font-family: var(--font-title); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 229, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(147,44,88,.1); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text);
}
.header-logo:hover { color: var(--text); }
.header-logo img { height: 40px; width: auto; }
.header-logo .img-ph { min-height: 40px; min-width: 40px; border-radius: 10px; padding: 6px 10px; }
.header-logo .img-ph figcaption { font-size: 0.7rem; }

.header-nav { display: flex; align-items: center; gap: 30px; list-style: none; }
.header-nav a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.header-nav a:hover { color: var(--primary-dark); }
.header-nav .btn { padding: 10px 22px; font-size: 0.9rem; }

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

.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 99;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(147,44,88,.12);
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-110%);
  transition: transform .3s ease;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a {
  padding: 13px 10px;
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
}
.mobile-menu a:hover { background: var(--input-bg); color: var(--primary-dark); }
.mobile-menu .btn { margin-top: 10px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero-blob-1 { width: 480px; height: 480px; background: var(--primary-light); top: -160px; right: -120px; }
.hero-blob-2 { width: 380px; height: 380px; background: #F3D8C8; bottom: -120px; left: -140px; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147,44,88,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,44,88,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--primary-light);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px var(--shadow);
}
.hero-badge-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px var(--primary-light); } 50% { box-shadow: 0 0 0 8px rgba(227,124,160,.25); } }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.12rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero-stat h4 { font-size: 1.35rem; font-weight: 700; margin-bottom: 2px; }
.hero-stat p { font-size: 0.92rem; margin: 0; color: var(--text-light); }

/* Mockup de teléfono */
.hero-media { display: flex; justify-content: center; }
.phone-frame {
  position: relative;
  width: 300px;
  border-radius: 44px;
  background: linear-gradient(160deg, #fff, #FBE9EE);
  border: 10px solid #221a1d;
  box-shadow: 0 40px 80px rgba(147,44,88,.25);
  overflow: hidden;
}
.phone-frame .img-ph { border: none; border-radius: 0; min-height: 560px; }
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #221a1d;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.hero-float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--primary-light);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(147,44,88,.2);
  padding: 12px 18px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary-dark);
  animation: float 5s ease-in-out infinite;
}
.hero-float-card span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; color: var(--text-light); }
.hero-float-card--1 { top: 90px; left: -70px; }
.hero-float-card--2 { bottom: 110px; right: -66px; animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-head { text-align: center; margin-bottom: 72px; }
.features-head .section-desc { margin: 0 auto; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-media { display: flex; justify-content: center; }
.feature-media .img-ph { width: 100%; max-width: 480px; }
.feature-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--input-bg);
  border: 1px solid var(--primary-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.feature-text h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}
.feature-text p { color: var(--text-light); font-size: 1.05rem; }

/* ==========================================================================
   PLANS
   ========================================================================== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; align-items: stretch; }
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px var(--shadow-lg); }
.plan-card--featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff, #FDF0F5);
  box-shadow: 0 24px 48px var(--shadow-lg);
}
.plan-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.15rem; margin-bottom: 4px; }
.plan-sub { font-size: 0.92rem; color: var(--text-light); margin-bottom: 22px; }
.plan-price { margin-bottom: 24px; }
.plan-price .amount { font-family: var(--font-title); font-size: 2.5rem; font-weight: 800; color: var(--primary-dark); }
.plan-price .period { font-size: 0.9rem; color: var(--text-light); }
.plan-list { list-style: none; margin: 0 0 28px; flex: 1; }
.plan-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.96rem;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 2px solid var(--primary);
  box-shadow: inset 0 0 0 3px var(--bg-card);
}
.plan-card--featured .plan-list li::before { background: var(--primary); box-shadow: inset 0 0 0 3px #fff; }
.plan-cta { width: 100%; }

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px var(--shadow-lg); }
.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px var(--shadow-lg);
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--text-light); font-size: 0.96rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq-item.is-open { box-shadow: 0 14px 32px var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--input-bg);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform .25s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-light); font-size: 0.98rem; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-banner {
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 15% 0%, var(--primary) 0%, var(--primary-dark) 60%, #6E1F40 100%);
  color: #fff;
  text-align: center;
  padding: 72px 32px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-banner .store-btn { background: #fff; color: var(--primary-dark); }
.cta-banner .store-btn:hover { color: var(--primary-dark); }
.cta-banner .store-btn-icon { border-color: rgba(147,44,88,.4); color: rgba(147,44,88,.7); background: rgba(147,44,88,.06); }
.cta-banner .store-btn-text small { color: rgba(147,44,88,.75); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #221A1D;
  color: rgba(255,255,255,.75);
  margin-top: 88px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-brand .img-ph { max-width: 200px; min-height: 90px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-light); }
.footer-madeby {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
  text-align: center;
  font-size: 0.95rem;
}
.footer-madeby strong { color: #fff; }
.footer-madeby a { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: 0.88rem; }
.footer-legal a:hover { color: var(--primary-light); }

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.page-header {
  padding: 88px 0 56px;
  background:
    radial-gradient(90% 120% at 80% 0%, var(--primary-light) 0%, transparent 60%),
    radial-gradient(70% 100% at 10% 100%, #F3D8C8 0%, transparent 55%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 10px; }
.page-header .updated { color: var(--text-light); font-size: 0.95rem; }
.page-header .updated strong { color: var(--primary-dark); }

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 60px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin: 34px 0 12px;
  color: var(--primary-dark);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; color: var(--text); }
.legal-content ul { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--primary-dark); }
.legal-content a { font-weight: 600; }
.legal-toc {
  background: var(--input-bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 30px;
}
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--primary-dark); }
.legal-toc ol { margin: 0 0 0 20px; }
.legal-toc li { margin-bottom: 6px; font-size: 0.95rem; }
.legal-contact-box {
  background: var(--input-bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 22px;
}
.legal-contact-box p { margin-bottom: 6px; }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 12px 26px var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { order: 2; }
  .hero-float-card--1 { left: 6px; }
  .hero-float-card--2 { right: 6px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-media { order: -1; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .steps-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-nav { display: none; }
  .header-toggle { display: flex; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-content { padding: 34px 26px; }
  .cta-banner { padding: 56px 24px; }
  .phone-frame .img-ph { min-height: 460px; }
}
