/* ==========================================================
   GetYourSiteHere — styles (version 3)
   Look: soft warm cream background, yellow glow, clean type,
   dark pill buttons with gold text, lots of white space.

   1. Colors + sizes (EDIT here first)
   2. Base
   3. Top bar
   4. Hero + device mockup
   5. Sections (intro, cards, steps, examples, FAQ, contact)
   6. Footer + floating button
   7. Fade animations (7b = slide-in from the sides)
   8. Phones / tablets
   ========================================================== */

/* ---------- 1. COLORS + SIZES ---------- */
:root {
  /* EDIT: main colors */
  --bg-top: #E7E5E2;        /* background at the top of the page  */
  --bg-bottom: #F5F2EE;     /* background further down            */
  --panel: #FBFAF8;         /* the big off-white shape + cards    */
  --ink: #22232E;           /* headlines (dark navy / charcoal)   */
  --text: #4A4B55;          /* normal text                        */
  --muted: #73747D;         /* small grey text                    */
  --line: rgba(34, 35, 46, .10); /* thin borders                  */
  --dark: #25252D;          /* dark pill button                   */
  --gold: #F2D59B;          /* warm gold text on dark buttons     */
  --glow: #FFD86B;          /* yellow glow in the corner          */

  /* EDIT: font */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 900px, var(--bg-bottom) 100%);
  background-color: var(--bg-bottom);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; }
.wrap--narrow { width: min(100% - 40px, 760px); }
.center { text-align: center; }

/* The yellow glow (top-left corner). JS moves it slightly as you scroll.
   .glow-wrap keeps it from making the page wider than the screen. */
.glow-wrap { position: absolute; top: 0; left: 0; right: 0; height: 1500px; overflow: hidden; pointer-events: none; z-index: 0; }
.glow {
  position: absolute;
  top: -260px; left: -260px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 107, .55) 0%, rgba(255, 216, 107, .22) 38%, rgba(255, 216, 107, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--glow-y, 0px), 0);
}
.glow--center { top: 50%; left: 50%; width: 760px; height: 520px; margin: -260px 0 0 -380px; opacity: .55; transform: none; }
.glow--low { opacity: .45; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.btn--dark { background: var(--dark); color: var(--gold); box-shadow: 0 10px 24px -12px rgba(20, 20, 30, .6); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20, 20, 30, .7); }
.btn--outline { border: 1px solid rgba(34, 35, 46, .25); color: var(--ink); background: rgba(255, 255, 255, .35); }
.btn--outline:hover { background: var(--dark); color: var(--gold); border-color: var(--dark); }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.display { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text); max-width: 600px; margin: 22px auto 0; }
.muted { color: var(--muted); margin-top: 14px; }

/* ---------- 3. TOP BAR ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px clamp(20px, 4vw, 48px);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.brand b { font-weight: 800; color: #B08A3E; } /* EDIT: color of the word "Here" */
.brand__mark { width: 22px; height: 22px; }
.pills { display: flex; gap: 8px; }
.pills a {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 8px 14px; border: 1px solid rgba(34, 35, 46, .2); border-radius: 999px;
  transition: background-color .3s, color .3s;
}
.pills a:hover { background: var(--dark); color: var(--gold); }
.help {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.help__icon {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800;
}

/* ---------- 4. HERO ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 24px;
  padding: 120px clamp(20px, 5vw, 80px) 70px;
  max-width: 1440px; margin: 0 auto;
}
/* Big off-white shape behind the devices (right side on desktop) */
.hero__panel {
  position: absolute; z-index: -1;
  top: 96px; right: clamp(20px, 3vw, 48px); bottom: 56px;
  width: 58%;
  background: linear-gradient(160deg, #FDFCFB 0%, #F4F2EF 100%);
  border-radius: 34px;
  box-shadow: 0 30px 80px -50px rgba(40, 35, 25, .35);
}
.hero__text { max-width: 600px; position: relative; z-index: 2; will-change: opacity, transform; }
.hero__eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.hero__title { font-size: clamp(46px, 5vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); margin-top: 24px; max-width: 420px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 36px; }
.hero__call { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(34, 35, 46, .3); padding-bottom: 2px; }
.hero__call:hover { border-color: var(--ink); }

.hero__devices { position: relative; z-index: 1; display: flex; justify-content: center; }

/* --- Device mockup ---
   Everything inside is sized in "em", so changing --size scales the whole thing. */
.devices {
  --size: min(680px, 47vw);
  font-size: calc(var(--size) / 62);   /* 1em = 1/62 of the laptop width */
  position: relative;
  width: var(--size);
  padding-bottom: 4em;
  text-align: left;
  will-change: transform;
}
.floor-shadow {
  position: absolute; left: 6%; right: -2%; bottom: .8em; height: 5em;
  background: radial-gradient(ellipse at center, rgba(30, 28, 25, .32) 0%, rgba(30, 28, 25, .12) 45%, rgba(30, 28, 25, 0) 70%);
  filter: blur(4px);
}
.laptop { position: relative; width: 62em; margin: 0 auto; }
.laptop__lid {
  position: relative;
  width: 52em; margin: 0 auto;
  padding: 1.6em 1.6em 1.8em;
  background: #2A2A31;
  border-radius: 2.2em 2.2em .6em .6em;
  box-shadow: inset 0 0 0 .18em #3B3B44, 0 2em 4em -2em rgba(0, 0, 0, .35);
}
.laptop__cam { position: absolute; top: .6em; left: 50%; width: .5em; height: .5em; margin-left: -.25em; border-radius: 50%; background: #4a4a55; }
.laptop__base {
  position: relative; height: 2.2em;
  background: linear-gradient(180deg, #E6E4E1 0%, #C9C6C1 60%, #A9A6A1 100%);
  border-radius: .3em .3em 2.2em 2.2em / .3em .3em 1.6em 1.6em;
  box-shadow: 0 .6em 1.2em -.4em rgba(0, 0, 0, .3);
}
.laptop__base span { position: absolute; top: 0; left: 50%; width: 9em; height: .8em; margin-left: -4.5em; background: #BDBAB5; border-radius: 0 0 .8em .8em; }

/* The little sample website on the screens */
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #FFFCF6;
  border-radius: .5em;
  padding: 1.8em 2.4em;
  color: #2B2620;
}
.mock-nav { display: flex; align-items: center; justify-content: space-between; }
.mock-logo { font-weight: 800; font-size: 1.3em; letter-spacing: -.02em; }
.mock-links { display: flex; gap: 1em; }
.mock-links i { display: block; width: 3.4em; height: .5em; border-radius: 1em; background: #E3DCCF; }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2em; align-items: center; margin-top: 2.6em; }
.mock-copy { display: flex; flex-direction: column; align-items: flex-start; }
.mock-kicker { font-size: .8em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B08A3E; }
.mock-h { display: block; font-weight: 800; font-size: 2.15em; line-height: 1.08; letter-spacing: -.03em; margin: .4em 0 .7em; }
.mock-btn { display: inline-block; font-size: .85em; font-weight: 700; padding: .7em 1.4em; border-radius: 2em; background: #2B2620; color: #F2D59B; }
.mock-art {
  position: relative; height: 13em; border-radius: 1.2em;
  background: linear-gradient(140deg, #F6E3BE 0%, #EBC98C 100%);
  overflow: hidden;
}
/* Simple round "bread / pastry" shapes */
.mock-art span { position: absolute; border-radius: 50%; background: #C98F4C; box-shadow: inset -.5em -.6em 0 rgba(0, 0, 0, .12), inset .4em .4em 0 rgba(255, 255, 255, .25); }
.mock-art span:nth-child(1) { width: 6.5em; height: 6.5em; left: 12%; top: 22%; }
.mock-art span:nth-child(2) { width: 4.5em; height: 4.5em; left: 52%; top: 14%; background: #D9A35F; }
.mock-art span:nth-child(3) { width: 5em; height: 5em; left: 55%; top: 52%; background: #B9773A; }
.mock-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; margin-top: 2.2em; }
.mock-cards i { display: block; height: 5em; border-radius: .8em; background: #F1EADF; }
.mock-cards i:nth-child(2) { background: #EFE3CD; }
.mock-cards i:nth-child(3) { background: #F5EEE3; }

/* Phone, in front of the laptop on the right */
.phone {
  position: absolute; right: 0; bottom: 2.4em;
  width: 14.5em;
  padding: .7em;
  background: #2A2A31;
  border-radius: 2.6em;
  box-shadow: inset 0 0 0 .16em #3B3B44, 1.6em 2em 3em -1.6em rgba(0, 0, 0, .45);
}
.phone__notch { position: absolute; top: 1.15em; left: 50%; width: 4em; height: 1em; margin-left: -2em; border-radius: 1em; background: #2A2A31; z-index: 2; }
.screen--phone { aspect-ratio: 9 / 19; border-radius: 2em; padding: 2.8em 1.1em 1.2em; display: flex; flex-direction: column; gap: .9em; }
.screen--phone .mock-logo { font-size: 1em; }
.mock-burger { display: grid; gap: .3em; }
.mock-burger i { display: block; width: 1.4em; height: .22em; border-radius: 1em; background: #2B2620; }
.mock-art--phone { height: 9em; flex: none; }
.mock-art--phone span:nth-child(1) { width: 4.4em; height: 4.4em; }
.mock-art--phone span:nth-child(2) { width: 3em; height: 3em; }
.mock-art--phone span:nth-child(3) { width: 3.3em; height: 3.3em; }
.screen--phone .mock-h { font-size: 1.35em; margin: 0; letter-spacing: -.005em; }
.screen--phone .mock-btn { align-self: flex-start; font-size: .75em; }
.mock-cards--phone { grid-template-columns: 1fr 1fr; margin-top: .2em; gap: .7em; }
.mock-cards--phone i { height: 4em; }

/* Little "scroll down" mouse at the bottom of the hero */
.scroll-cue {
  position: absolute; left: 50%; bottom: 8px; margin-left: -12px;
  width: 24px; height: 38px; border-radius: 14px;
  border: 1.5px solid rgba(34, 35, 46, .35);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: var(--ink);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- 5. SECTIONS ---------- */
.intro { position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.intro .btn { margin-top: 34px; }

.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section--tint { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 18%, rgba(255, 255, 255, .55) 82%, rgba(255, 255, 255, 0) 100%); }
.section__head { margin-bottom: clamp(40px, 6vw, 64px); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 20px 40px -34px rgba(40, 35, 25, .35);
}
.card h3, .example h3, .step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p, .example p, .step p { color: var(--text); font-size: 16px; }
.icon {
  width: 46px; height: 46px; padding: 11px; margin-bottom: 22px;
  border-radius: 14px; background: var(--dark);
  fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { padding-top: 26px; border-top: 1px solid rgba(34, 35, 46, .18); }
.step__num { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); opacity: .14; margin-bottom: 18px; }

/* Example cards with tiny drawn "screens" */
.example { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 26px; }
.example h3, .example p { padding: 0 12px; }
.ex-art {
  position: relative; height: 170px; margin-bottom: 22px; border-radius: 14px; overflow: hidden;
  background: #EFECE7;
}
/* Store: product tiles */
.ex-art--store { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; background: #EDE8E0; }
.ex-art--store i { border-radius: 10px; background: #FBFAF8; position: relative; }
.ex-art--store i::after { content: ""; position: absolute; left: 22%; right: 22%; top: 20%; bottom: 30%; border-radius: 50%; background: #E3C68E; }
.ex-art--store i:nth-child(2)::after { background: #C9D3C2; border-radius: 8px; }
.ex-art--store i:nth-child(3)::after { background: #D9CABA; border-radius: 8px; }
/* Invitation: envelope + card */
.ex-art--invite { background: linear-gradient(160deg, #F3E9DC, #E9DCCB); }
.ex-art--invite .env { position: absolute; left: 18%; right: 18%; bottom: 14px; height: 70px; background: #D8C3A5; border-radius: 6px; }
.ex-art--invite .card-in { position: absolute; left: 26%; right: 26%; top: 20px; bottom: 34px; background: #FFFCF6; border-radius: 6px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.ex-art--invite .card-in i { display: block; height: 6px; border-radius: 3px; background: #CDB28A; width: 56%; }
.ex-art--invite .card-in i:first-child { width: 70%; height: 9px; background: #2B2620; }
.ex-art--invite .card-in i:last-child { width: 36%; background: #E7D9C4; }
/* Services: header + lines + button */
.ex-art--services { background: #E4E7E9; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ex-art--services b { display: block; height: 14px; width: 62%; border-radius: 4px; background: #2F3A45; }
.ex-art--services i { display: block; height: 8px; width: 88%; border-radius: 4px; background: #C3CBD2; }
.ex-art--services i + i { width: 70%; }
.ex-art--services span { margin-top: auto; align-self: flex-start; width: 96px; height: 30px; border-radius: 15px; background: #2F3A45; }
/* Restaurant: menu rows */
.ex-art--food { background: #EFE5DA; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ex-art--food i { display: flex; justify-content: space-between; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #8E5A3A 0 55%, transparent 55% 80%, #C8A27E 80% 100%); }

/* FAQ (opens and closes on its own, no JavaScript needed) */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dark); color: var(--gold); font-weight: 500; font-size: 20px; line-height: 1;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text); }
.faq details[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { position: relative; padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; }
.contact__number { display: inline-block; margin-top: 30px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.contact__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 6. FOOTER + FLOATING BUTTON ---------- */
.footer { padding: 50px 0 60px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer p { color: var(--muted); font-size: 15px; }
.footer__small { font-size: 14px !important; }
.footer__small a { text-decoration: none; }
.footer__small a:hover { text-decoration: underline; }

.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  display: none; align-items: center; gap: 8px;
  height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--dark); color: var(--gold);
  font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(20, 20, 30, .6);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.float-wa svg { width: 22px; height: 22px; }
.float-wa.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 7. FADE ANIMATIONS ----------
   - .load-in  → hero parts fade in one after another when the page opens
   - [data-fade] → everything else fades in (and rises a little) when you scroll to it
   EDIT: change the speed with --fade-time, the rise distance with --fade-rise. */
:root { --fade-time: 1.1s; --fade-rise: 34px; --stagger: 120ms; }

.js .load-in {
  opacity: 0;
  animation: loadIn 1.2s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 160ms + 150ms);
}
.js .load-in--slow { animation-duration: 1.6s; }
@keyframes loadIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js .glow { animation: glowIn 2.4s var(--ease) both; }
@keyframes glowIn { from { opacity: 0; } to { opacity: 1; } }
.js .glow--center { animation: none; }

.js [data-fade] {
  opacity: 0;
  transform: translateY(var(--fade-rise));
  transition: opacity var(--fade-time) var(--ease), transform var(--fade-time) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js [data-fade].is-above { transform: translateY(calc(var(--fade-rise) * -1)); }
.js [data-fade].is-visible { opacity: 1; transform: none; }

/* ---------- 7b. SLIDE-IN FROM THE SIDES (FAQ + Contact) ----------
   Items marked data-slide (the FAQ questions, the phone number and the
   WhatsApp / Call / Text buttons) slide in from alternating sides while
   they fade in: 1st from the left, 2nd from the right, 3rd from the left...
   The left/right order is set automatically by script.js, so new FAQ
   questions alternate by themselves.
   EDIT: --slide-distance = how far they slide (40px–60px looks classy, 0px = no slide)
   EDIT: --slide-time = how long the slide takes, --slide-stagger = small wait between items */
:root { --slide-distance: 50px; --slide-time: .7s; --slide-stagger: 90ms; --slide-ease: cubic-bezier(.22, .61, .36, 1); }

.js [data-fade].slide-left,
.js [data-fade].slide-right {
  transition: opacity var(--slide-time) var(--slide-ease), transform var(--slide-time) var(--slide-ease);
  transition-delay: calc(var(--i, 0) * var(--slide-stagger));
}
.js [data-fade].slide-left,
.js [data-fade].slide-left.is-above  { transform: translateX(calc(var(--slide-distance) * -1)); }
.js [data-fade].slide-right,
.js [data-fade].slide-right.is-above { transform: translateX(var(--slide-distance)); }
.js [data-fade].slide-left.is-visible,
.js [data-fade].slide-right.is-visible { opacity: 1; transform: none; }

/* Buttons: once the slide is finished, hover works normally again (no waiting) */
.js .btn[data-fade].slide-done {
  transition: opacity var(--slide-time) var(--slide-ease), transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
  transition-delay: 0s;
}
.js .btn--dark[data-fade].slide-done:hover { transform: translateY(-2px); }

/* No sideways scrollbar on phones while things slide in */
.slide-zone { overflow-x: hidden; overflow-x: clip; }

/* People who turn off animations on their phone/computer see everything right away */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load-in, .js [data-fade], .js .glow { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .scroll-cue span { animation: none; }
  .hero__text, .devices { transform: none !important; opacity: 1 !important; }
}

/* ---------- 8. PHONES / TABLETS ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pills { display: none; }
}

@media (max-width: 860px) {
  /* Hero turns into one centered column, devices at the bottom (like the reference) */
  .hero {
    grid-template-columns: 1fr;
    align-content: space-between;
    text-align: center;
    padding: 104px 20px 64px;
    gap: 34px;
  }
  .hero__text { margin: 0 auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; flex-direction: column; gap: 16px; }
  /* On phones the off-white shape sits behind the lower half of the devices */
  .hero__panel { display: none; }
  .hero__devices::before {
    content: ""; position: absolute; z-index: -1;
    left: -6px; right: -6px; top: 22%; bottom: -24px;
    background: linear-gradient(160deg, #FDFCFB 0%, #F4F2EF 100%);
    border-radius: 28px;
    box-shadow: 0 30px 60px -40px rgba(40, 35, 25, .35);
  }
  .devices { --size: min(560px, 92vw); }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .float-wa { display: inline-flex; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar { padding: 20px 18px; }
  .brand { font-size: 15px; }
  .help { font-size: 13px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 56px); }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__sub { margin-top: 18px; font-size: 16px; }
  .hero__actions { margin-top: 28px; }
  .btn { min-height: 50px; }
  .grid--4 { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .contact__buttons .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}
