/* =========================================================
   STREETWISE SITES: DESIGN FILE
   Change the colors below and the whole site updates.
   ========================================================= */

:root {
  --ink: #111827;          /* near-black, for text and dark sections */
  --ink-soft: #4b5563;     /* gray text */
  --paper: #faf7f2;        /* warm off-white background */
  --tint: #f2ece2;         /* slightly darker cream for alternating sections */
  --white: #ffffff;
  --accent: #ff5a1f;       /* "street sign" orange, the main brand color */
  --accent-dark: #e04812;
  --go: #16a34a;           /* green, for "success" details */
  --line: #e7e0d5;         /* soft borders */

  --font-head: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-big: 0 30px 60px rgba(17, 24, 39, 0.18);
}

/* ---------- Basic reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(255, 90, 31, .35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 10px 18px; font-size: .95rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(17, 24, 39, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--white);
  transform: rotate(-6deg);
}
.logo-accent { color: var(--accent); }
.logo-light { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--accent); }

/* EN / ES language switch */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.nav-links .lang-switch a {
  padding: 4px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; border: 0;
}
.nav-links .lang-switch a[aria-current="page"] { background: var(--ink); color: var(--white); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.highlight { position: relative; white-space: nowrap; color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .95rem; }
.hero-checks li::before { content: "✓"; color: var(--go); font-weight: 700; margin-right: 8px; }

/* The CSS-drawn phone */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 280px; height: 560px;
  border-radius: 44px;
  background: var(--ink);
  padding: 12px;
  box-shadow: var(--shadow-big);
  transform: rotate(4deg);
  animation: float 6s ease-in-out infinite;
}
.phone-screen { height: 100%; border-radius: 34px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.mini-nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 18px 10px; }
.mini-logo { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.mini-burger { width: 20px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.mini-hero {
  margin: 6px 12px; padding: 26px 16px; border-radius: 20px;
  background: linear-gradient(140deg, #1f2937, #111827 60%, #3b1d10);
  color: #fff;
}
.mini-title { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1.05; margin-bottom: 16px; }
.mini-btn { display: inline-block; background: var(--accent); padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.mini-stars { padding: 12px 18px; color: #f59e0b; font-size: .9rem; }
.mini-stars span { color: var(--ink-soft); font-size: .8rem; margin-left: 4px; }
.mini-cards { padding: 0 12px; display: grid; gap: 8px; }
.mini-card { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: .85rem; }
.mini-card span { color: var(--accent); font-weight: 600; }

.float-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.badge-1 { top: 22%; left: -10px; animation: float 5s ease-in-out infinite .5s; }
.badge-2 { bottom: 16%; right: -10px; animation: float 5.5s ease-in-out infinite 1s; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Scrolling industry strip ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--accent); margin-left: 48px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: #cbd5e1; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: #cbd5e1; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: #fff1ea;
  margin-bottom: 18px;
}

/* ---------- Before / after slider ---------- */
.compare {
  position: relative;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-big);
  user-select: none;
}
.compare-pane { position: absolute; inset: 0; }

/* The ugly "before" site */
.before-site { background: #c0c0c0; font-family: "Times New Roman", serif; color: #000; }
.old-header { background: #000080; color: yellow; font-size: 1.6rem; font-weight: bold; text-align: center; padding: 18px; font-family: "Comic Sans MS", "Times New Roman", serif; }
.old-body { padding: 20px 28px; font-size: 1.05rem; }
.old-body p { color: #000; }
.old-marquee { color: red !important; font-weight: bold; }
.old-body u { color: #0000ee; }
.old-counter { font-family: monospace; background: #000; color: #0f0 !important; display: inline-block; padding: 4px 8px; }

/* The modern "after" site */
.after-site {
  clip-path: inset(0 0 0 50%); /* JavaScript changes this as you drag */
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 90, 31, .45), transparent 45%),
    linear-gradient(135deg, #1c1917, #0c0a09);
  color: #fff;
}
.new-inner { padding: 22px 36px; height: 100%; display: flex; flex-direction: column; position: relative; }
.new-hero { position: relative; z-index: 1; }
/* A pizza drawn with CSS, on the right side of the "after" site */
.pizza {
  position: absolute; right: 6%; top: 50%;
  width: min(36vw, 340px); aspect-ratio: 1;
  transform: translateY(-45%) rotate(-12deg);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, #7f1d1d 0 6%, transparent 6.5%),
    radial-gradient(circle at 62% 28%, #7f1d1d 0 5.5%, transparent 6%),
    radial-gradient(circle at 70% 62%, #7f1d1d 0 6%, transparent 6.5%),
    radial-gradient(circle at 38% 70%, #7f1d1d 0 5.5%, transparent 6%),
    radial-gradient(circle at 50% 48%, #15803d 0 3%, transparent 3.5%),
    radial-gradient(circle at 45% 25%, #15803d 0 2.5%, transparent 3%),
    radial-gradient(circle at 25% 55%, #15803d 0 2.5%, transparent 3%),
    radial-gradient(circle at 50% 50%, #fde68a 0 52%, #f59e0b 60%, #dc2626 66%, #c2410c 70%, #92400e 74%, transparent 75%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5));
}
.new-nav { display: flex; justify-content: space-between; align-items: center; font-size: .95rem; }
.new-nav b { font-family: var(--font-head); font-size: 1.4rem; }
.new-nav span { color: #d6d3d1; }
.new-hero { margin: auto 0; }
.new-kicker { color: var(--accent) !important; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.new-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.05; color: #fff !important; }
.new-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.new-btn { background: var(--accent); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.new-btn.alt { background: transparent; border: 2px solid #fff; }
.new-rating { color: #fbbf24 !important; font-size: .95rem; }

.compare-label {
  position: absolute; bottom: 16px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.label-before { left: 16px; background: rgba(0, 0, 0, .7); color: #fff; }
.label-after { right: 16px; background: var(--accent); color: #fff; }

.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow);
}
/* An invisible slider on top that catches the dragging */
.compare-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; position: relative; }
.step p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-family: var(--font-head); font-weight: 800;
  margin-bottom: 16px;
}

/* ---------- Work / portfolio ---------- */
.work-card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card:hover .work-thumb span { transform: scale(1.08); }
.work-thumb { height: 220px; display: grid; place-items: center; overflow: hidden; }
.work-thumb span { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #fff; transition: transform .4s ease; }
.thumb-barber { background: linear-gradient(135deg, #111827, #374151); }
.thumb-food { background: linear-gradient(135deg, #b91c1c, #ff5a1f); }
.thumb-trade { background: linear-gradient(135deg, #14532d, #16a34a); }
.work-info { padding: 22px 24px 26px; }
.work-info p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-big); transform: scale(1.03); }
.ribbon { position: absolute; top: -14px; left: 34px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; margin: 4px 0 0; line-height: 1.1; }
.price span { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.price-text { font-size: 2rem; }
.price-note { color: var(--ink-soft); font-size: .95rem; }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 28px; flex: 1; }
.price-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.price-card li::before { content: "✓"; color: var(--go); font-weight: 700; margin-right: 10px; }

.care-plan {
  margin-top: 32px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: 28px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.care-plan h3 { margin-bottom: 6px; }
.care-plan p { color: #cbd5e1; margin: 0; }
.highlight-text { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: #e5e7eb; }
.contact-points a { color: #fff; }
.contact-form {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-big);
}
.field { margin-bottom: 16px; display: flex; flex-direction: column; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .15); }
.form-note { font-size: .85rem; color: var(--ink-soft) !important; text-align: center; margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1120; color: #94a3b8; padding: 48px 0 100px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-inner p { margin: 0; }
.copyright { font-size: .85rem; }

/* ---------- Sticky button for phones ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--accent); color: #fff;
  text-align: center; text-decoration: none; font-weight: 600;
  padding: 16px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(255, 90, 31, .45);
  transform: translateY(150%);
  transition: transform .4s ease;
}
.sticky-cta.show { transform: translateY(0); }
.story-active .sticky-cta.show { transform: translateY(150%); }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   MOTION LAYER (GSAP animations)
   ========================================================= */

/* Space for the fixed header */
#page { padding-top: 72px; }
html.lenis { scroll-behavior: auto; }

/* Page progress line under the header */
.scroll-progress {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffb020);
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Intro loader ---------- */
.loader { display: none; }
.has-js .loader {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: #fff;
  /* Safety net: if anything goes wrong, the loader disappears by itself after 3.5s */
  animation: loader-failsafe .4s ease 3.5s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader-inner { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.loader-mark { width: 56px; height: 56px; font-size: 1.8rem; border-radius: 14px; }
.loader-word { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: -0.02em; white-space: nowrap; }

/* SplitText: each line sits in a "mask" so words can slide up from behind it */
.split-line { padding-bottom: .08em; }

/* ---------- Scroll story ---------- */
.story { background: var(--paper); overflow: hidden; }
.story-grid {
  min-height: calc(100vh - 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 40px 0;
}
.story-steps { display: grid; margin: 8px 0 32px; }
.story-step { grid-area: 1 / 1; } /* all steps sit on top of each other */
.story-step h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: .3em; }
.story-step p { font-size: 1.15rem; color: var(--ink-soft); max-width: 460px; }
.story-num { display: block; font-family: var(--font-head); font-weight: 800; color: var(--accent); font-size: 1rem; margin-bottom: 10px; letter-spacing: .1em; }
.has-gsap .story-step:not(:first-child) { opacity: 0; visibility: hidden; }

.story-progress { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.story-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.story-visual { display: flex; justify-content: center; }
.story-phone { transform: none; animation: none; width: auto; height: min(560px, 70vh); aspect-ratio: 1 / 2; }
.story-screen { position: relative; }
.screen { position: absolute; inset: 0; padding: 22px 14px; background: #fff; display: flex; flex-direction: column; gap: 10px; font-size: .85rem; }

/* Screen 1: Google search */
.g-bar { margin-top: 10px; padding: 12px 16px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.12); font-weight: 500; }
.g-map {
  position: relative; height: 34%; border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 58%, #fff 58% 62%, transparent 62%),
    linear-gradient(30deg, transparent 40%, #fde68a 40% 43%, transparent 43%),
    #e5efe3;
}
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #9ca3af; transform: rotate(-45deg); }
.pin-main { width: 22px; height: 22px; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,90,31,.2); }
.g-result { padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; color: var(--ink-soft); }
.g-result b { color: var(--ink); font-size: .95rem; }
.g-main { border: 2px solid var(--accent); background: #fff7f3; }
.g-links { color: #2563eb; font-weight: 500; }

/* Screen 2: the website */
.s-hero { margin-top: 10px; padding: 26px 16px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, #1f2937, #111827 60%, #3b1d10); }
.s-hero p { margin: 0 0 6px; font-weight: 600; color: var(--accent); }
.s-hero h4 { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.05; margin: 0 0 14px; }
.s-btn { display: inline-block; background: var(--accent); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.s-review { padding: 14px; border-radius: 14px; background: var(--paper); font-style: italic; display: flex; flex-direction: column; gap: 6px; }
.s-review span { color: #f59e0b; font-style: normal; }
.s-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.s-gallery span { border-radius: 10px; background: linear-gradient(160deg, #374151, #111827); }
.s-gallery span:nth-child(2) { background: linear-gradient(160deg, #ff5a1f, #b91c1c); }

/* Screen 3: booking */
.b-title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin: 14px 0 0; }
.b-day { margin: 0; color: var(--ink-soft); }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.b-grid span { text-align: center; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.b-confirm {
  margin-top: auto; padding: 18px; border-radius: 16px; text-align: center;
  background: #ecfdf5; color: #065f46; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.has-gsap .b-confirm { opacity: 0; }
.b-check { width: 44px; height: 44px; border-radius: 50%; background: var(--go); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; }
.b-confirm b { font-size: 1.1rem; }

/* ---------- Sideways-scrolling process steps (big screens only) ---------- */
#process { overflow: hidden; }
.steps.is-horizontal { display: flex; width: max-content; gap: 28px; }
.steps.is-horizontal .step { width: 400px; min-height: 300px; padding: 40px; flex: 0 0 auto; }
.steps.is-horizontal .step h3 { font-size: 1.8rem; }
.steps.is-horizontal .step-num { width: 64px; height: 64px; font-size: 1.5rem; margin-bottom: 28px; }

/* =========================================================
   TABLET (screens narrower than 960px)
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { margin-top: 20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-card.featured { transform: none; }

  /* Mobile menu: hidden until the ☰ button is tapped */
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 12px 16px 24px;
    box-shadow: 0 20px 30px rgba(17, 24, 39, .1);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links .btn { margin-top: 16px; }
  .nav-links .lang-switch { align-self: flex-start; margin-top: 16px; }
  .nav-links .lang-switch a { padding: 8px 16px; font-size: .95rem; }
}

/* =========================================================
   PHONE (screens narrower than 720px)
   ========================================================= */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }

  .hero { padding: 32px 0 60px; }
  .hero-buttons .btn { width: 100%; }
  .phone { width: 240px; height: 480px; }
  .float-badge { font-size: .75rem; padding: 10px 12px; }
  .badge-1 { left: 0; }
  .badge-2 { right: 0; }

  .grid-3, .steps { grid-template-columns: 1fr; }
  .compare { height: 380px; }
  .new-inner { padding: 18px 20px; }
  .pizza { width: 46vw; right: -8%; top: auto; bottom: 8%; transform: rotate(-12deg); opacity: .9; }
  .new-hero { margin: 24px 0 0; }
  .old-body { padding: 16px; font-size: .95rem; }
  .old-header { font-size: 1.15rem; }

  .care-plan { flex-direction: column; align-items: flex-start; }

  /* Scroll story: text on top, phone below */
  .story-grid { grid-template-columns: 1fr; gap: 16px; align-content: center; padding: 16px 0; }
  .story-steps { margin: 0 0 14px; }
  .story-step h2 { font-size: 2.2rem; }
  .story-step p { font-size: 1rem; margin-bottom: 0; }
  .story-progress { width: 140px; }
  .story-phone { width: auto; height: min(440px, 50vh); padding: 9px; border-radius: 34px; }
  .story-phone .phone-screen { border-radius: 26px; }
  .screen { padding: 16px 10px; gap: 8px; font-size: .72rem; }
  .s-hero h4 { font-size: 1.2rem; }
  .b-title { font-size: 1.1rem; }
  .field-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 24px; }

  .sticky-cta { display: block; }
}

/* Respect people who turn off animations on their device */
@media (prefers-reduced-motion: reduce) {
  .has-js .loader { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
