/* ============================================================
   RepairBot landing page
   Aesthetic: warm editorial softness. Cream paper, peach/pink
   gradient-mesh atmosphere, deep plum text, Fraunces + Hanken
   Grotesk. WhatsApp green reserved strictly for CTAs.
   ============================================================ */

:root {
  /* warm surface palette */
  --cream:        #FBF4EA;
  --cream-deep:   #F6E8D6;
  --paper:        #FFFCF7;
  --peach:        #F8C9A4;
  --peach-soft:   #FBE2CD;
  --pink:         #F3B6C0;
  --pink-soft:    #FAD8DC;
  --rose:         #DC8A7B;
  --rose-deep:    #C2705F;

  /* ink */
  --plum:         #38202B;   /* headings */
  --plum-ink:     #2A1820;   /* darkest */
  --plum-soft:    #71545F;   /* body */
  --plum-faint:   #9A8088;   /* captions */

  /* whatsapp action */
  --wa:           #25D366;
  --wa-deep:      #1AA851;
  --wa-ink:       #07351b;

  /* utility */
  --line:         rgba(56, 32, 43, 0.09);
  --line-strong:  rgba(56, 32, 43, 0.16);
  --shadow-sm:    0 2px 8px -3px rgba(56,32,43,.18);
  --shadow-md:    0 18px 40px -22px rgba(56,32,43,.40);
  --shadow-lg:    0 40px 80px -34px rgba(56,32,43,.46);
  --shadow-wa:    0 14px 30px -10px rgba(26,168,81,.55);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 56px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--rose); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--plum); }

/* ============================================================
   ATMOSPHERE  (fixed gradient-mesh blobs + grain)
   ============================================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--peach-soft) 0%, transparent 55%),
    radial-gradient(100% 80% at 0% 100%, var(--pink-soft) 0%, transparent 55%),
    var(--cream);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.blob--peach { width: 46vw; height: 46vw; top: -12vw; right: -8vw; background: var(--peach); animation: drift 22s ease-in-out infinite; }
.blob--pink  { width: 40vw; height: 40vw; bottom: -10vw; left: -10vw; background: var(--pink); animation: drift 26s ease-in-out infinite reverse; }
.blob--rose  { width: 28vw; height: 28vw; top: 40%; left: 55%; background: var(--rose); opacity: .22; animation: drift 30s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(3%, 5%) scale(1.08); }
}

.grain {
  position: absolute; inset: 0;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --b-pad-y: .8em;
  --b-pad-x: 1.4em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .002em;
  padding: var(--b-pad-y) var(--b-pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--wa {
  background: var(--wa);
  color: #042a14;
  box-shadow: var(--shadow-wa);
}
.btn--wa:hover { background: var(--wa-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 38px -10px rgba(26,168,81,.65); }

.btn--ghost {
  background: rgba(255,252,247,.7);
  color: var(--plum);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: var(--rose); color: var(--rose-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--sm  { font-size: .92rem; --b-pad-y: .55em; --b-pad-x: 1.05em; }
.btn--lg  { font-size: 1.06rem; --b-pad-y: .92em; --b-pad-x: 1.7em; }
.btn--xl  { font-size: 1.16rem; --b-pad-y: 1.05em; --b-pad-x: 2.1em; }
.btn--block { display: flex; width: 100%; }

.wa-glyph { width: 1.25em; height: 1.25em; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-stuck {
  background: rgba(251,244,234,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(56,32,43,.4);
  padding-top: 12px; padding-bottom: 12px;
}

.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--plum); }
.brand__mark { width: 1.55em; height: 1.55em; color: var(--rose); display: grid; place-items: center; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { letter-spacing: -.02em; }

.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { font-weight: 500; font-size: .98rem; color: var(--plum-soft); position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--rose); border-radius: 2px; transition: width .28s ease; }
.site-nav a:hover { color: var(--plum); }
.site-nav a:hover::after { width: 100%; }

.site-header .btn--wa { margin-left: 8px; }

/* language switcher (EN / BM) */
.lang {
  display: inline-flex; align-items: center;
  background: rgba(255,252,247,.7);
  border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 3px;
  backdrop-filter: blur(6px);
}
.lang__opt {
  font-family: var(--font-body); font-weight: 600;
  font-size: .82rem; letter-spacing: .03em;
  color: var(--plum-soft); line-height: 1;
  padding: .34em .72em; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.lang__opt:hover { color: var(--plum); }
.lang__opt.is-active { background: var(--plum); color: var(--cream); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 11vw, 130px) var(--pad);
}
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section__title { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section__lead { margin-top: 20px; font-size: 1.12rem; color: var(--plum-soft); line-height: 1.66; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-deep);
  background: rgba(220,138,123,.12);
  padding: .5em 1em; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow--center { margin-left: auto; margin-right: auto; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,.25); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--pad) clamp(60px, 9vw, 110px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  font-optical-sizing: auto;
  margin-top: 8px;
}
.hero__title::first-line { } /* keep optical balance */
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--plum-soft);
  max-width: 30ch;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust {
  margin-top: 22px;
  font-size: .96rem;
  color: var(--plum-faint);
  font-weight: 500;
}
.trust span { color: var(--rose); margin: 0 .35em; font-weight: 700; }

/* ---------- phone mockup ---------- */
.hero__phone { position: relative; display: grid; place-items: center; }
.phone__halo {
  position: absolute; z-index: -1;
  width: 115%; height: 115%;
  background: radial-gradient(closest-side, rgba(243,182,192,.6), transparent 72%);
  filter: blur(8px);
}
.phone {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 320 / 660;
  background: linear-gradient(160deg, #3a232f, #25151d);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50%      { transform: translateY(-14px) rotate(.4deg); }
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: #1a0f15; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone__screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #efe6dc;
  display: flex; flex-direction: column;
}

.chat__top {
  display: flex; align-items: center; gap: 10px;
  padding: 26px 16px 12px;
  background: linear-gradient(120deg, var(--wa-deep), var(--wa));
  color: #fff;
}
.chat__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.chat__who { display: flex; flex-direction: column; line-height: 1.15; }
.chat__who strong { font-size: 1rem; font-weight: 600; }
.chat__who small { font-size: .76rem; opacity: .9; display: inline-flex; align-items: center; gap: 5px; }
.dot-online { width: 7px; height: 7px; border-radius: 50%; background: #c7ffd9; box-shadow: 0 0 0 2px rgba(199,255,217,.4); }
.chat__icons { width: 22px; height: 22px; margin-left: auto; fill: rgba(255,255,255,.9); }

.chat__body {
  flex: 1;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  background-color: #e9ddd0;
  background-image:
    radial-gradient(rgba(56,32,43,.045) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow: hidden;
}
.bubble {
  max-width: 82%;
  padding: 9px 13px;
  font-size: .86rem;
  line-height: 1.45;
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(56,32,43,.12);
  position: relative;
}
.bubble--out { align-self: flex-end; background: #d6f5c8; color: #1f3a1a; border-bottom-right-radius: 5px; }
.bubble--in  { align-self: flex-start; background: #fff; color: var(--plum); border-bottom-left-radius: 5px; }
.bubble--quote { font-style: italic; color: var(--plum-soft); border-left: 3px solid var(--wa); }

.typing {
  align-self: flex-start;
  background: #fff; border-radius: 16px; border-bottom-left-radius: 5px;
  padding: 12px 14px; display: inline-flex; gap: 4px;
  box-shadow: 0 1px 1px rgba(56,32,43,.12);
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #c3b5ab; animation: blink 1.3s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 14px; background: #efe6dc;
}
.chat__input {
  flex: 1; background: #fff; border-radius: 999px;
  padding: 9px 14px; font-size: .82rem; color: var(--plum-faint);
}
.chat__send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; color: #fff;
}
.chat__send svg { width: 18px; height: 18px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.prob {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prob:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(220,138,123,.4); }
.prob__num { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--rose); letter-spacing: .04em; }
.prob h3 { font-size: 1.32rem; margin: 12px 0 10px; }
.prob p { color: var(--plum-soft); font-size: 1.02rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section--how { position: relative; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(180deg, var(--paper), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 30px 34px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__index {
  position: absolute; top: -18px; left: 28px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  box-shadow: 0 8px 18px -6px rgba(220,138,123,.7);
}
.step__art { width: 64px; height: 64px; border-radius: 18px; background: var(--peach-soft); display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--plum-soft); font-size: 1.02rem; }

/* shared line-icon style */
.ico { width: 30px; height: 30px; fill: none; stroke: var(--rose-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step__art .ico { width: 32px; height: 32px; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(220,138,123,.35); }
.feature__ico {
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(145deg, var(--pink-soft), var(--peach-soft));
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { color: var(--plum-soft); font-size: 1rem; }

/* ============================================================
   DEMO (before / after)
   ============================================================ */
.section--demo { }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}
.demo-card {
  border-radius: var(--r-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.demo-card--before {
  background: linear-gradient(165deg, #fff0ec, #fbe3dd);
  border: 1px solid rgba(194,112,95,.28);
}
.demo-card--after {
  background: linear-gradient(165deg, #effaf0, #ddf3e3);
  border: 1px solid rgba(26,168,81,.3);
}
.demo-tag {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .42em .9em; border-radius: 999px; margin-bottom: 18px;
}
.demo-tag--before { background: rgba(194,112,95,.16); color: var(--rose-deep); }
.demo-tag--after  { background: rgba(26,168,81,.16); color: var(--wa-deep); }
.demo-text { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.34; color: var(--plum); }
.demo-foot { display: block; margin-top: 18px; font-size: .92rem; color: var(--plum-faint); font-weight: 500; }

.demo-arrow { display: grid; justify-items: center; gap: 8px; color: var(--rose); }
.demo-arrow svg { width: 44px; height: 44px; }
.demo-arrow span { font-family: var(--font-body); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }

/* ============================================================
   SAFETY
   ============================================================ */
.section--safety .section__title { }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px; margin-inline: auto;
}
.safety {
  display: flex; gap: 18px;
  background: rgba(255,252,247,.7);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 26px;
  backdrop-filter: blur(4px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.safety:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.safety__ico { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--cream-deep); display: grid; place-items: center; }
.safety__ico .ico { width: 24px; height: 24px; stroke: var(--plum-soft); }
.safety h3 { font-size: 1.1rem; margin-bottom: 5px; }
.safety p { color: var(--plum-soft); font-size: .96rem; line-height: 1.55; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 840px; margin-inline: auto;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  background: linear-gradient(180deg, #2f1c26, #3c2531);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.plan--featured .plan__name,
.plan--featured .plan__amount { color: #fff; }
.plan--featured .plan__note { color: rgba(255,255,255,.7); }
.plan--featured .plan__list li { color: rgba(255,255,255,.92); }
.plan--featured .plan__list li::before { background: rgba(37,211,102,.2); }

.plan__badge {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-body); font-weight: 700;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--wa); color: #06311a;
  padding: .42em .85em; border-radius: 999px;
}
.plan__name { font-size: 1.5rem; }
.plan__price { margin-top: 12px; font-family: var(--font-body); color: var(--plum-soft); font-weight: 500; }
.plan--featured .plan__price { color: rgba(255,255,255,.75); }
.plan__amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--plum); margin-right: .15em; }
.plan__per { font-size: 1rem; }
.plan__note { margin-top: 8px; font-size: .96rem; color: var(--plum-faint); }

.plan__list { list-style: none; margin: 26px 0 30px; display: grid; gap: 13px; flex: 1; }
.plan__list li { position: relative; padding-left: 30px; font-size: 1.02rem; color: var(--plum-soft); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(26,168,81,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231AA851' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: clamp(40px, 8vw, 90px) var(--pad); }
.final-cta__inner {
  max-width: 980px; margin: 0 auto;
  background: linear-gradient(150deg, var(--rose) 0%, #e7a07e 45%, var(--peach) 100%);
  border-radius: clamp(28px, 5vw, 48px);
  padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-cta__inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 80% -10%, rgba(255,255,255,.4), transparent 60%);
  pointer-events: none;
}
.final-cta__title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); text-shadow: 0 2px 20px rgba(120,50,40,.25); }
.final-cta__sub { color: rgba(255,255,255,.92); margin-top: 16px; font-size: 1.12rem; font-weight: 500; }
.final-cta .btn--wa { margin-top: 32px; background: #fff; color: var(--wa-deep); box-shadow: 0 18px 40px -14px rgba(60,20,15,.5); }
.final-cta .btn--wa:hover { background: #06311a; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad) 48px;
  border-top: 1px solid var(--line);
}
.footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.brand--footer { font-size: 1.18rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a { color: var(--plum-soft); font-weight: 500; font-size: .96rem; }
.footer__nav a:hover { color: var(--rose-deep); }
.footer__disclaimer {
  margin-top: 30px; padding-top: 24px;
  font-size: .9rem; color: var(--plum-faint); max-width: 60ch; line-height: 1.6;
}
.footer__copy { margin-top: 10px; font-size: .88rem; color: var(--plum-faint); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* chat bubble pop-in (runs on load, independent of scroll) */
.pop { opacity: 0; transform: translateY(8px) scale(.96); animation: pop .45s cubic-bezier(.2,.8,.3,1) forwards; animation-delay: var(--delay, 0s); }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 28px; }
  .hero__copy { order: 1; }
  .hero__phone { order: 0; margin-bottom: 8px; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .lang { margin-left: auto; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { gap: 10px; }
  .brand { font-size: 1.12rem; }
  .site-header .btn--wa { --b-pad-x: .85em; font-size: .84rem; }
  .lang__opt { padding: .32em .6em; font-size: .78rem; }
  .problem-grid, .feature-grid, .steps, .safety-grid, .price-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-arrow { transform: rotate(90deg); margin: 4px auto; }
  .plan--featured { transform: none; }
  .section__title br, .hero__title br, .final-cta__title br { display: none; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOTION / ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .pop { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
