/* ==========================================================================
   GensanWeb | Design System
   Rename brand references via find/replace: "GensanWeb"
   ========================================================================== */

:root {
  /* Brand colors: swap these to rebrand instantly */
  --color-primary: #0f3d5c;       /* deep teal-navy: trust, professionalism */
  --color-primary-dark: #0a2c44;
  --color-primary-light: #1c5a82;
  --color-primary-tint: #e8f0f6;
  --color-accent: #ff7a45;        /* warm coral: CTAs, energy */
  --color-accent-dark: #e8632f;
  --color-accent-light: #ffe4d6;
  --color-accent-text: #b4461a;   /* coral dark enough for text on light backgrounds */

  --color-bg: #fafaf8;
  --color-bg-alt: #f2f0eb;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #56606e;
  --color-border: #e4e1da;

  --color-success: #2f9e63;

  /* Typography */
  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Layout */
  --max-width: 1180px;
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 92, 0.04), 0 2px 8px rgba(15, 61, 92, 0.05);
  --shadow-md: 0 4px 10px rgba(15, 61, 92, 0.05), 0 12px 28px rgba(15, 61, 92, 0.09);
  --shadow-lg: 0 10px 20px rgba(15, 61, 92, 0.06), 0 24px 56px rgba(15, 61, 92, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.2s ease;
}

/* -------------------------------------------------------------------------- */
/* Reset & base                                                               */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 var(--space-2); font-weight: 600; color: var(--color-text); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-2); color: var(--color-text-muted); }
p a:not(.btn):not(.card-link) { color: var(--color-primary-light); text-decoration: underline; text-underline-offset: 3px; }
p a:not(.btn):not(.card-link):hover { color: var(--color-accent-text); }
::selection { background: var(--color-accent-light); color: var(--color-primary-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  background: var(--color-accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.section-head { max-width: 660px; margin: 0 auto var(--space-5); text-align: center; }
.section-head p { font-size: 1.06rem; }

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 122, 69, 0.35);
}
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: 0 8px 22px rgba(255, 122, 69, 0.42); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: inherit;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-surface); }
.btn-ghost.active { border-color: var(--color-accent); color: var(--color-accent-text); background: var(--color-accent-light); }
.btn-dark { background: var(--color-primary); color: #fff; box-shadow: 0 4px 14px rgba(10, 44, 68, 0.3); }
.btn-dark:hover { background: var(--color-primary-dark); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* -------------------------------------------------------------------------- */
/* Header / Nav                                                               */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(15, 61, 92, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.logo-text span { color: var(--color-accent); }
.logo-light { color: #fff; }
.logo-mark { display: block; flex-shrink: 0; width: 32px; height: 32px; transition: transform 0.4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-img { display: block; width: auto; height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover { color: var(--color-primary); background: rgba(15, 61, 92, 0.06); }

/* Active page: stays highlighted while you're on that page */
.nav-links > li > a.active {
  color: var(--color-accent-text);
  background: var(--color-accent-light);
  font-weight: 600;
}
.nav-links > li > a.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-accent);
  transform: translateX(-50%);
}
.nav-mobile-only { display: none; }

.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition), margin var(--transition);
  margin-top: -3px;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after,
.has-dropdown.open > a::after {
  transform: rotate(225deg);
  margin-top: 3px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 290px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
/* Invisible bridge so the menu doesn't close while the pointer crosses the gap */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.9rem;
  height: 0.9rem;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); padding-left: 1.1rem; }
.dropdown a.active {
  background: var(--color-accent-light);
  color: var(--color-accent-text);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--color-accent);
}
.dropdown-all { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--color-border); }
.dropdown-all a { color: var(--color-primary-light); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-cta .btn { padding: 0.65rem 1.15rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform 0.3s var(--ease), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero,
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 69, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(28, 90, 130, 0.55), transparent 60%),
    linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero > .container,
.page-hero > .container { position: relative; z-index: 1; }

.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5.5rem, 10vw, 8rem); }
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: var(--space-3); }
.hero h1 em {
  font-style: normal;
  color: #ffb18c;
  /* Highlighter stroke that draws itself in after the headline lands */
  background: linear-gradient(rgba(255, 122, 69, 0.3), rgba(255, 122, 69, 0.3)) no-repeat 0 92% / 0% 30%;
  animation: highlightDraw 0.9s var(--ease) 0.75s forwards;
}
@keyframes highlightDraw { to { background-size: 100% 30%; } }
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: var(--space-4); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* -------------------------------------------------------------------------- */
/* Hero showcase: 4 separate pieces (desktop, phone, checklist, price badge)  */
/* Sized in container units (cqw) so the whole scene scales as one.           */
/* Entrance uses the `translate`/`scale` properties and hover uses            */
/* `transform`, so the two never fight each other.                            */
/* -------------------------------------------------------------------------- */
.hero-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 80;
  container-type: inline-size;
  font-family: var(--font-body);
}
.hs-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  opacity: 0;
  animation: hsFade 1s ease 1.2s forwards;
}
.hs-circuit path { fill: none; stroke: rgba(255, 122, 69, 0.55); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.hs-circuit circle { fill: var(--color-accent); }

.hs-piece {
  position: absolute;
  opacity: 0;
  translate: 0 5cqw;
  animation: hsIn 0.8s var(--ease) forwards;
  box-shadow: 0 3cqw 7cqw rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s ease;
  cursor: default;
}
.hs-piece:hover {
  z-index: 10;
  transform: translateY(-1.6cqw) scale(1.04);
  box-shadow: 0 5cqw 10cqw rgba(0, 0, 0, 0.45), 0 0 0 0.4cqw rgba(255, 122, 69, 0.45);
}
/* While one piece is hovered, the others step back */
.hero-showcase:has(.hs-piece:hover) .hs-piece:not(:hover) { filter: brightness(0.7) saturate(0.8); }

@keyframes hsIn { to { opacity: 1; translate: 0 0; } }
@keyframes hsFade { to { opacity: 1; } }
@keyframes hsFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -1.4cqw; }
}

/* Shared mini-UI parts */
.hs-line { display: block; height: 1.4cqw; border-radius: 1cqw; background: #cfd2d7; margin-bottom: 1.3cqw; }
.hs-w90 { width: 90%; }
.hs-w70 { width: 70%; }
.hs-w62 { width: 62%; }
.hs-w48 { width: 48%; }
.hs-btn {
  display: inline-block;
  margin: 1.4cqw 0 3cqw;
  padding: 1.5cqw 3.2cqw;
  border-radius: 1.2cqw;
  background: linear-gradient(180deg, #ff9364, var(--color-accent-dark));
  color: #fff;
  font-size: 2.3cqw;
  font-weight: 600;
  box-shadow: 0 1cqw 2.4cqw rgba(232, 99, 47, 0.4);
}
.hs-btn-dark { display: block; text-align: center; margin: 1.4cqw 0 2cqw; padding: 1.4cqw 1cqw; font-size: 1.8cqw; background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary)); box-shadow: none; }
.hs-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6cqw;
  height: 6cqw;
  border-radius: 1.2cqw;
  background: #ebe7e0;
  color: #5b6573;
}
.hs-ico svg { width: 58%; height: 58%; }
.hs-bars { width: 10cqw; height: auto; fill: #b3bcc7; }
.hs-bars .hl { fill: var(--color-primary); }
.hs-spark { width: 11cqw; height: auto; fill: none; stroke: #2f8f86; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hs-stripes { display: grid; gap: 0.7cqw; }
.hs-stripes i { display: block; width: 7cqw; height: 1cqw; border-radius: 1cqw; background: #58b88a; }
.hs-stripes i:nth-child(2) { width: 5.5cqw; background: #cfd2d7; }
.hs-stripes i:nth-child(3) { width: 6.5cqw; background: #cfd2d7; }
.hs-avatars { display: flex; margin-top: 1cqw; padding-left: 0.8cqw; }
.hs-avatars i { width: 2.8cqw; height: 2.8cqw; margin-left: -0.8cqw; border-radius: 50%; border: 0.4cqw solid #fff; background: #c98a5e; }
.hs-avatars i:nth-child(2) { background: #6b7a8c; }
.hs-avatars i:nth-child(3) { background: #e2956c; }

/* 1. Desktop dashboard */
.hs-desktop {
  left: 3%;
  top: 11%;
  width: 72%;
  z-index: 1;
  padding: 0 1.6cqw 1.6cqw;
  border-radius: 2.4cqw;
  background: rgba(170, 186, 205, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation-delay: 0.15s;
}
.hs-browser-bar { display: flex; align-items: center; gap: 1cqw; height: 6.4cqw; padding: 0 1cqw; }
.hs-browser-bar span { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--color-accent); }
.hs-browser-bar span:nth-child(2) { background: #ffc3a3; }
.hs-browser-bar span:nth-child(3) { background: #f4f1ec; }
.hs-browser-bar i { width: 40%; height: 2.6cqw; margin-left: 12%; border-radius: 2cqw; background: rgba(255, 255, 255, 0.2); }
.hs-desktop-body { background: #f4f1ec; border-radius: 1.6cqw; padding: 3.6cqw 3.4cqw 3.2cqw; overflow: hidden; }
.hs-title { display: block; margin-bottom: 2cqw; font-family: var(--font-heading); font-size: 3.4cqw; font-weight: 600; color: var(--color-text); }
.hs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.hs-tile { min-width: 0; padding: 2cqw 1.8cqw; border-radius: 1.6cqw; background: #fff; box-shadow: 0 0.6cqw 1.8cqw rgba(15, 61, 92, 0.1); }
.hs-tile-row { display: flex; align-items: flex-end; gap: 1.4cqw; margin-bottom: 1.8cqw; }
.hs-tile b, .hs-phone-label {
  display: block;
  font-size: 1.5cqw;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* 2. Mobile view */
.hs-phone {
  left: 60%;
  top: 27%;
  width: 22%;
  z-index: 3;
  padding: 1.2cqw;
  border-radius: 4.4cqw;
  background: #152232;
  border: 0.4cqw solid #2c3d51;
  animation: hsIn 0.8s var(--ease) 0.45s forwards, hsFloat 6s ease-in-out 1.6s infinite;
}
.hs-phone-screen { position: relative; padding: 4cqw 2cqw 2.4cqw; border-radius: 3.2cqw; background: #f4f1ec; overflow: hidden; }
.hs-phone-notch { position: absolute; top: 1.2cqw; left: 50%; width: 7cqw; height: 1.3cqw; border-radius: 1cqw; background: #152232; transform: translateX(-50%); }
.hs-phone-hero { display: block; height: 11cqw; margin-bottom: 2cqw; border-radius: 1.4cqw; background: linear-gradient(135deg, #ff9364, var(--color-accent-dark)); }
.hs-phone .hs-line { height: 1.1cqw; margin-bottom: 1cqw; }
.hs-phone-tiles { display: flex; align-items: center; gap: 1cqw; margin-bottom: 1.6cqw; }
.hs-phone-tiles .hs-ico { width: 5.6cqw; height: 5.6cqw; }
.hs-phone-tiles .hs-spark { flex: 1; width: auto; min-width: 0; padding: 0.8cqw; border-radius: 1.2cqw; background: #fff; }
.hs-phone-label { font-size: 1.5cqw; }

/* 3. Feature checklist */
.hs-checklist {
  left: 8%;
  top: 71%;
  width: max-content;
  z-index: 2;
  display: grid;
  gap: 1.6cqw;
  padding: 3cqw 4cqw;
  border-radius: 2.4cqw;
  background: #f6f3ee;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation-delay: 0.75s;
}
.hs-checklist li {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  font-size: 2.8cqw;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
}
.hs-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 3.8cqw;
  height: 3.8cqw;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 62% no-repeat,
    linear-gradient(180deg, #ff9364, var(--color-accent-dark));
  box-shadow: 0 0.5cqw 1.2cqw rgba(232, 99, 47, 0.35);
}

/* 4. Price badge */
.hs-badge {
  left: 61%;
  top: -3%;
  width: 31%;
  aspect-ratio: 1;
  z-index: 4;
  box-shadow: none;
  border-radius: 50%;
  rotate: -8deg;
  translate: 0 0;
  scale: 0.4;
  animation: hsPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s forwards, hsPulse 2.8s ease-in-out 2s infinite;
}
.hs-badge:hover { transform: scale(1.1) rotate(6deg); box-shadow: none; }
.hs-badge-seal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 3.5cqw rgba(255, 122, 69, 0.6)) drop-shadow(0 1.5cqw 2cqw rgba(0, 0, 0, 0.35));
}
.hs-badge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-primary-dark);
}
.hs-badge-text span {
  max-width: 64%;
  font-size: 2.1cqw;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hs-badge-text strong {
  margin-top: 0.9cqw;
  padding-top: 0.9cqw;
  border-top: 0.3cqw solid rgba(10, 44, 68, 0.35);
  font-family: var(--font-heading);
  font-size: 5.6cqw;
  font-weight: 800;
  line-height: 1;
}
@keyframes hsPop { to { opacity: 1; scale: 1; } }
@keyframes hsPulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.05; }
}

/* -------------------------------------------------------------------------- */
/* Subpage hero (service / local / about / portfolio / contact pages)         */
/* -------------------------------------------------------------------------- */
.page-hero { padding: var(--space-4) 0 clamp(3.5rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; max-width: 780px; }
.page-hero p.lead { color: rgba(255, 255, 255, 0.85); max-width: 640px; font-size: 1.1rem; }
.page-hero .hero-actions { margin: var(--space-3) 0 0; }

/* -------------------------------------------------------------------------- */
/* Breadcrumbs (subpages)                                                     */
/* -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: var(--space-2) 0 var(--space-3);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-accent-text); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb .current { color: var(--color-primary); font-weight: 600; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.65); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .current {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Cards grid: services                                                       */
/* -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.grid-4,
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6d2c8; }
/* Forms and info panels aren't clickable, so they shouldn't lift like links */
form.card:hover, .card:has(form):hover, .card.card-static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--color-border); }
.card .icon-wrap {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-light), #fff3ec);
  border: 1px solid #ffd3bd;
  border-radius: 14px;
  margin-bottom: var(--space-3);
  transition: transform 0.3s var(--ease);
}
.card:hover .icon-wrap { transform: scale(1.06) rotate(-4deg); }
.card .icon-wrap img { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--space-1); }
.card ul { margin-top: var(--space-2); }
.card ul li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
}
.card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(47, 158, 99, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e63' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--color-accent-text);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 0.6rem; color: var(--color-accent-dark); }
/* Makes the whole card clickable when it has a "Learn more" link */
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* -------------------------------------------------------------------------- */
/* Process steps                                                              */
/* -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); counter-reset: step; position: relative; }
.step {
  position: relative;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-2);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 6px 14px rgba(255, 122, 69, 0.3);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--space-3) + 22px);
  left: calc(var(--space-3) + 52px);
  right: calc(-1 * var(--space-3));
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 6px, transparent 6px 12px);
  opacity: 0.35;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.94rem; margin: 0; }

/* -------------------------------------------------------------------------- */
/* Why-us / differentiators                                                   */
/* -------------------------------------------------------------------------- */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.why-item {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.why-item:hover { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.why-item .bullet {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.why-item p { margin: 0; }

/* -------------------------------------------------------------------------- */
/* Portfolio                                                                  */
/* -------------------------------------------------------------------------- */
.login-demo-note {
  background: var(--color-accent-light);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 0.8rem var(--space-2);
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-thumb {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-body { padding: var(--space-3); }
.portfolio-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.portfolio-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* About snippet                                                              */
/* -------------------------------------------------------------------------- */
.about-snippet { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-5); align-items: center; }
.about-snippet .skills-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-3); }
.skills-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: border-color var(--transition), background var(--transition);
}
.skills-tags span:hover { border-color: var(--color-primary-light); background: var(--color-primary-tint); }

/* -------------------------------------------------------------------------- */
/* Local area section                                                         */
/* -------------------------------------------------------------------------- */
.local-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 122, 69, 0.25), transparent 60%),
    linear-gradient(140deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.local-section h2 { color: #fff; }
.local-section .eyebrow { background: rgba(255, 255, 255, 0.12); color: #ffd9c4; }
.local-section .btn-outline { margin-top: var(--space-1); }
.local-section .area-label { color: rgba(255, 255, 255, 0.9); font-weight: 600; margin-bottom: 0.6rem; }
.local-section p { color: rgba(255, 255, 255, 0.82); }
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-3); }
.area-list li {
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* FAQ accordion                                                              */
/* -------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: #ffc9ae; box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 1.15rem var(--space-3);
  cursor: pointer;
  border-radius: var(--radius-md);
}
.faq-question:hover { color: var(--color-primary-light); }
.faq-question .plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent-light);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-accent-text);
  transition: transform 0.3s var(--ease), background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 var(--space-3) var(--space-3); margin: 0; }

/* -------------------------------------------------------------------------- */
/* Final CTA band                                                             */
/* -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: 0 20px 48px rgba(232, 99, 47, 0.28);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { border-color: rgba(255, 255, 255, 0.7); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }

/* -------------------------------------------------------------------------- */
/* Forms                                                                      */
/* -------------------------------------------------------------------------- */
.form-title { margin-bottom: 0.35rem; }
.form-intro { font-size: 0.93rem; margin-bottom: var(--space-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-2); }
.form-field { margin-bottom: var(--space-2); }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.form-field .optional { font-weight: 400; color: var(--color-text-muted); font-size: 0.82rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa1ab; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #cfcabf; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(28, 90, 130, 0.14);
}
.form-note { font-size: 0.85rem; text-align: center; margin: var(--space-2) 0 0; }
/* Spam trap: invisible to people, bots that fill every field get filtered out */
.form-trap { display: none !important; }
/* Result of sending a contact form (filled in by js/main.js) */
.form-status {
  margin: var(--space-2) 0 0;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.form-status:empty { display: none; }
.form-status.is-success { color: #1f5f3d; background: #e7f6ee; border: 1px solid #b9e0cb; }
.form-status.is-error { color: #8a2d12; background: #fdecea; border: 1px solid #f5c2b5; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.login-forgot { text-align: right; font-size: 0.85rem; margin: -0.25rem 0 var(--space-3); }

/* Direct contact list */
.contact-list { margin: var(--space-3) 0; display: grid; gap: var(--space-2); }
.card .contact-list li { margin: 0; gap: 0.9rem; align-items: center; color: var(--color-text); font-size: 0.97rem; }
.card .contact-list li::before { display: none; }
.contact-list .ci-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
}
.contact-list small { display: block; font-size: 0.78rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-list a:hover { color: var(--color-accent-text); }

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-6) 0 var(--space-3);
  margin-top: var(--space-5);
  border-top: 4px solid var(--color-accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .logo { margin-bottom: var(--space-2); }
.footer-brand p { color: rgba(255, 255, 255, 0.65); max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-2); }
.site-footer li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.site-footer li a { color: rgba(255, 255, 255, 0.7); transition: color var(--transition), padding var(--transition); }
.site-footer li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition); }
.footer-legal a:hover { color: #fff; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--color-accent); }

/* -------------------------------------------------------------------------- */
/* Sticky mobile CTA bar (slides away while scrolling down, see main.js)      */
/* -------------------------------------------------------------------------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(15, 61, 92, 0.08);
  padding: 0.65rem var(--space-2) calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  z-index: 90;
  animation: ctaBarIn 0.6s var(--ease) 0.8s backwards;
  transition: transform 0.35s var(--ease), visibility 0s;
}
.mobile-cta-bar.is-hidden {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-cta-bar .btn { flex: 1; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0.75rem; }
/* Periodic shine across the button, reusing the .btn-primary::after sheen */
.mobile-cta-bar .btn::after { animation: ctaShine 5s ease-in-out 2s infinite; }

@keyframes ctaBarIn {
  from { transform: translateY(110%); }
  to { transform: none; }
}
@keyframes ctaShine {
  0% { transform: translateX(-100%); }
  25%, 100% { transform: translateX(100%); }
}
.mobile-cta-title { font-size: 1rem; font-weight: 700; }
.mobile-cta-sub { font-size: 0.78rem; font-weight: 500; opacity: 0.9; }

/* -------------------------------------------------------------------------- */
/* Accessibility: skip link + focus states                                    */
/* -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-2);
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-2); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline: none; }

/* -------------------------------------------------------------------------- */
/* Problem-framing section                                                    */
/* -------------------------------------------------------------------------- */
.problem-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: center;
}
/* Grid items default to min-width:auto, so no-wrap content (the search bar text,
   long buttons) would stretch a column past the screen on phones. Let columns shrink. */
.problem-block > *,
.hero .container > *,
.grid-2 > *, .grid-3 > *, .grid-4 > *,
.why-list > *, .about-snippet > *, .local-section > *, .contact-layout > * { min-width: 0; }
.problem-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.problem-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 420px;
  height: 420px;
  max-width: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 122, 69, 0.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(15, 61, 92, 0.28), transparent 60%);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: blobMorph 12s ease-in-out infinite;
  z-index: 0;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  50% { border-radius: 58% 42% 35% 65% / 55% 60% 40% 45%; }
}
.google-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.google-mock-logo {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.google-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.google-mock-bar svg { flex-shrink: 0; }
.google-mock-bar > span { min-width: 0; max-width: 100%; }
.google-mock-typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.9rem;
  text-align: left;
  color: var(--color-text);
  border-right: 2px solid var(--color-text-muted);
  width: 0;
  animation: googleTyping 3.2s steps(34, end) infinite alternate;
}
.google-mock-highlight {
  color: var(--color-accent-text);
  font-weight: 700;
}
.google-mock-caption {
  margin: var(--space-3) 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
@keyframes googleTyping {
  0% { width: 0; }
  85% { width: 100%; }
  100% { width: 100%; }
}

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card .stars { color: #f5b942; font-size: 1.1rem; letter-spacing: 0.15em; margin-bottom: var(--space-2); }
.testimonial-card p { font-style: italic; flex-grow: 1; }
.testimonial-author { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--color-border); font-size: 0.9rem; }
.testimonial-author strong { display: block; color: var(--color-primary); }
.testimonial-author span { color: var(--color-text-muted); }
.testimonial-placeholder { background: repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 14px, var(--color-bg-alt) 14px, var(--color-bg-alt) 15px); }
.testimonial-placeholder::before {
  content: "Sample placeholder";
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-text);
  background: var(--color-accent-light);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Free consultation + homepage design preview offer (homepage)               */
/* -------------------------------------------------------------------------- */
.preview-offer { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: center; }
.preview-offer > * { min-width: 0; }
.preview-steps { grid-template-columns: 1fr; gap: var(--space-1); }
.preview-card { border-top: 4px solid var(--color-accent); }
.preview-price-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.preview-price {
  display: block;
  margin: 0.35rem 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--color-primary);
}
.preview-note {
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}
.preview-note strong { color: var(--color-accent-text); }
@media (max-width: 960px) { .preview-offer { grid-template-columns: 1fr; gap: var(--space-4); } }

/* -------------------------------------------------------------------------- */
/* Interactive "How it works" (homepage)                                      */
/* Steps are tabs; the stage shows one animated scene per step. Every scene's */
/* resting style is its FINISHED state and the keyframes only define `from`,  */
/* so with animations off (reduced motion) the final picture shows at once.   */
/* -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--space-5); align-items: center; }
.process > * { min-width: 0; }

/* Step tabs */
.process-steps { display: grid; gap: var(--space-1); }
.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2);
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.process-step:hover { background: var(--color-surface); }
.process-step[aria-selected="true"] { background: var(--color-surface); border-color: #ffc9ae; box-shadow: var(--shadow-md); }
/* Connector from this step's number to the next; fills in once the step is done */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--space-2) + 20px);
  top: calc(var(--space-2) + 44px);
  bottom: calc(-1 * var(--space-1) - var(--space-2) + 4px);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--color-success), var(--color-success)) top / 100% 0% no-repeat, var(--color-border);
  transition: background-size 0.5s var(--ease);
}
.process-step.is-done::after { background-size: 100% 100%; }
.process-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 0.3s var(--ease);
}
.process-step.is-done .process-num { color: #fff; background: var(--color-success); border-color: var(--color-success); }
.process-step[aria-selected="true"] .process-num {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(255, 122, 69, 0.3);
  transform: scale(1.06);
}
.process-text { display: block; min-width: 0; }
.process-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}
.process-free {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f7a4a;
  background: rgba(47, 158, 99, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.process-desc { display: block; margin-top: 0.3rem; font-size: 0.93rem; line-height: 1.55; color: var(--color-text-muted); }

/* Stage */
.process-stage {
  position: relative;
  padding: var(--space-3);
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(255, 122, 69, 0.1), transparent 70%),
    radial-gradient(300px 220px at 0% 100%, rgba(28, 90, 130, 0.08), transparent 70%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.process-visual { display: flex; align-items: center; justify-content: center; height: 300px; padding: var(--space-2) var(--space-1); }
.process-caption { display: none; margin: var(--space-2) 0 0; font-size: 0.95rem; text-align: center; color: var(--color-text); }
.process-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
.process-counter { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }

/* Shared mini-UI: browser window + mock website */
.pv-browser {
  position: relative;
  width: min(100%, 400px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.pv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  border-radius: 14px 14px 0 0;
}
.pv-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #d8d4cb; }
.pv-bar > span:first-child { background: var(--color-accent); }
.pv-url {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  height: 18px;
  margin-left: 8px;
  padding: 0 8px;
  overflow: hidden;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: 9px;
}
.pv-url svg { flex-shrink: 0; color: var(--color-success); }
.pv-site { display: grid; gap: 10px; padding: 12px; border-radius: 0 0 14px 14px; overflow: hidden; }
.pv-nav { display: flex; align-items: center; justify-content: space-between; }
.pv-logo { width: 54px; height: 10px; border-radius: 5px; background: var(--color-primary); }
.pv-links { display: flex; gap: 6px; }
.pv-links i { width: 22px; height: 6px; border-radius: 3px; background: #cfd2d7; }
.pv-hero {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 92px;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  transform-origin: top;
}
.pv-line { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.9); transform-origin: left; }
.pv-l1 { width: 70%; }
.pv-l2 { width: 48%; height: 6px; background: rgba(255, 255, 255, 0.55); }
.pv-cta { display: block; width: 64px; height: 16px; margin-top: 4px; border-radius: 6px; background: var(--color-accent); }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pv-cards i { height: 42px; border-radius: 8px; background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.pv-sticker,
.pv-status {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.pv-sticker { color: #fff; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); transform: rotate(-6deg); }

/* Scene 1: chat */
.pv-chat { width: min(100%, 340px); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; box-shadow: var(--shadow-md); }
.pv-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: var(--color-primary); }
.pv-chat-head b { display: block; font-size: 0.88rem; line-height: 1.2; }
.pv-chat-head small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); }
.pv-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #ffb18c, var(--color-accent)); }
.pv-notify {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 11px;
  background: var(--color-accent);
}
.pv-chat-body { position: relative; display: grid; gap: 10px; min-height: 150px; padding: 14px; background: var(--color-bg-alt); }
.pv-bubble { max-width: 85%; margin: 0; padding: 9px 12px; font-size: 0.85rem; line-height: 1.45; border-radius: 14px; }
.pv-in { justify-self: start; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border); border-bottom-left-radius: 4px; }
.pv-out { justify-self: end; color: #fff; background: var(--color-accent-dark); border-bottom-right-radius: 4px; }
.pv-typing {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 4px;
  padding: 11px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  opacity: 0;
}
.pv-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa1ab; }

/* Scene 3: project summary */
.pv-doc { position: relative; width: min(100%, 360px); padding: 16px 18px 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow-md); }
.pv-doc-head b { display: block; font-family: var(--font-heading); font-size: 0.98rem; color: var(--color-text); }
.pv-doc-head small { font-size: 0.75rem; color: var(--color-text-muted); }
.pv-checks { display: grid; gap: 8px; margin-top: 12px; }
.pv-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.pv-checks li:nth-child(1) { --d: 0.9s; }
.pv-checks li:nth-child(2) { --d: 1.35s; }
.pv-checks li:nth-child(3) { --d: 1.8s; }
.pv-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pv-state { display: grid; margin-left: auto; font-size: 0.72rem; font-weight: 700; text-align: right; }
.pv-state > span { grid-area: 1 / 1; }
.pv-pending { color: var(--color-text-muted); opacity: 0; }
.pv-ok { color: #1f7a4a; }
.pv-stamp {
  position: absolute;
  right: 14px;
  bottom: -14px;
  padding: 0.25rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-success);
  background: var(--color-surface);
  border: 2px solid var(--color-success);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
}

/* Scene 4: launch */
.pv-progress { position: absolute; top: 30px; left: 0; right: 0; z-index: 2; height: 3px; background: var(--color-accent); transform-origin: left; opacity: 0; }
.pv-status { display: grid; color: #1f7a4a; background: #e7f6ee; border: 1px solid #b9e0cb; }
.pv-status > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; }
.pv-status-building { opacity: 0; }
.pv-status-live i { width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--color-success); }

/* Scene animations: JS toggles .is-playing to (re)start them */
@keyframes pvRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pvPop { from { opacity: 0; transform: scale(0.8) translateY(6px); } }
@keyframes pvDrop { from { opacity: 0; transform: translateY(-12px); } }
@keyframes pvGrowY { from { transform: scaleY(0); } }
@keyframes pvGrowX { from { transform: scaleX(0); } }
@keyframes pvStamp { from { opacity: 0; transform: scale(2.2) rotate(-24deg); } }
@keyframes pvTyping { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pvDot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes pvOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes pvIn { from { opacity: 0; transform: translateY(4px); } }
@keyframes pvTick { from { background-color: #e4e1da; background-size: 0 0; transform: scale(0.8); } }
@keyframes pvLoad { 0% { opacity: 1; transform: scaleX(0); } 85% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes pvReveal { from { opacity: 0.35; filter: grayscale(1); } }
@keyframes pvBuilding { from { color: #9a5b00; background: #fff4e0; border-color: #ffd9a0; } }
@keyframes pvLiveGlow { from { box-shadow: 0 0 0 0 rgba(47, 158, 99, 0.45), var(--shadow-md); } to { box-shadow: 0 0 0 18px rgba(47, 158, 99, 0), var(--shadow-md); } }
@keyframes pvPing { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 99, 0.6); } 80%, 100% { box-shadow: 0 0 0 6px rgba(47, 158, 99, 0); } }

.is-playing .pv-chat,
.is-playing .pv-browser,
.is-playing .pv-doc { animation: pvRise 0.5s var(--ease) both; }
/* 1. Inquiry */
.is-playing .pv-notify { animation: pvPop 0.4s var(--ease) 0.35s both; }
.is-playing .pv-typing { animation: pvTyping 1s ease 0.35s both; }
.is-playing .pv-typing i { animation: pvDot 0.9s ease-in-out infinite; }
.is-playing .pv-typing i:nth-child(2) { animation-delay: 0.15s; }
.is-playing .pv-typing i:nth-child(3) { animation-delay: 0.3s; }
.is-playing .pv-in { animation: pvPop 0.45s var(--ease) 1.3s both; }
.is-playing .pv-out { animation: pvPop 0.45s var(--ease) 2s both; }
/* 2. Design preview assembles */
.is-playing:not([data-scene="4"]) .pv-nav { animation: pvDrop 0.45s var(--ease) 0.35s both; }
.is-playing:not([data-scene="4"]) .pv-hero { animation: pvGrowY 0.6s var(--ease) 0.6s both; }
.is-playing:not([data-scene="4"]) .pv-l1 { animation: pvGrowX 0.5s var(--ease) 1.1s both; }
.is-playing:not([data-scene="4"]) .pv-l2 { animation: pvGrowX 0.5s var(--ease) 1.25s both; }
.is-playing:not([data-scene="4"]) .pv-cta { animation: pvPop 0.4s var(--ease) 1.45s both; }
.is-playing:not([data-scene="4"]) .pv-cards i { animation: pvRise 0.45s var(--ease) 1.6s both; }
.is-playing:not([data-scene="4"]) .pv-cards i:nth-child(2) { animation-delay: 1.72s; }
.is-playing:not([data-scene="4"]) .pv-cards i:nth-child(3) { animation-delay: 1.84s; }
.is-playing .pv-sticker { animation: pvStamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s both; }
/* 3. Agreement: each row ticks, then the stamp lands */
.is-playing .pv-checks li { animation: pvRise 0.4s var(--ease) calc(var(--d) - 0.6s) both; }
.is-playing .pv-tick { animation: pvTick 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) both; }
.is-playing .pv-pending { animation: pvOut 0.2s ease var(--d) both; }
.is-playing .pv-ok { animation: pvIn 0.3s var(--ease) var(--d) both; }
.is-playing .pv-stamp { animation: pvStamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.4s both; }
/* 4. Build, then Live */
.is-playing .pv-progress { animation: pvLoad 1.5s ease-in-out 0.3s both; }
.is-playing .pv-site-done { animation: pvReveal 0.6s ease 1.5s both; }
.is-playing .pv-status { animation: pvBuilding 0.3s ease 1.8s both; }
.is-playing .pv-status-building { animation: pvOut 0.2s ease 1.8s both; }
.is-playing .pv-status-live { animation: pvIn 0.3s var(--ease) 1.85s both; }
.is-playing .pv-status-live i { animation: pvPing 1.8s ease-out 2.2s infinite; }
.is-playing .pv-launch { animation: pvRise 0.5s var(--ease) both, pvLiveGlow 0.9s ease-out 1.9s; }

/* Tablet + phone: steps become a compact row of four tabs, the active step's
   description shows under the stage instead */
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: var(--space-3); }
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .process-step { flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.7rem 0.3rem; text-align: center; }
  .process-step:not(:last-child)::after {
    top: calc(0.7rem + 20px);
    bottom: auto;
    left: calc(50% + 25px);
    right: calc(25px - 50% - 0.4rem);
    width: auto;
    height: 2px;
    background: linear-gradient(var(--color-success), var(--color-success)) left / 0% 100% no-repeat, var(--color-border);
  }
  .process-step.is-done::after { background-size: 100% 100%; }
  .process-title { justify-content: center; font-size: 0.8rem; }
  .process-free { display: none; }
  .process-desc {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .process-caption { display: block; }
  .process-visual { height: 280px; padding: var(--space-1) 0; }
}
@media (max-width: 720px) {
  .process-stage { padding: var(--space-2); }
  /* The step row already shows progress, so the Next button gets the full width */
  .process-counter { display: none; }
  .process-next { flex: 1; }
  .process-num { width: 38px; height: 38px; font-size: 0.82rem; }
  .process-step:not(:last-child)::after { top: calc(0.7rem + 18px); left: calc(50% + 23px); right: calc(23px - 50% - 0.4rem); }
  .pv-bubble { font-size: 0.8rem; }
}

/* -------------------------------------------------------------------------- */
/* Simple checklist (service "what's included")                               */
/* -------------------------------------------------------------------------- */
.included-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.included-list li:hover { border-color: #b9e0cb; box-shadow: var(--shadow-sm); }
.included-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* -------------------------------------------------------------------------- */
/* Legal documents (privacy policy, website terms, service agreement)         */
/* -------------------------------------------------------------------------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal h3 { margin: var(--space-3) 0 var(--space-1); font-size: 1.05rem; }
.legal p, .legal li { color: var(--color-text); }
.legal ul, .legal ol { margin: 0 0 var(--space-2); padding-left: 1.4rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--color-accent-text); }
.legal li a { color: var(--color-primary-light); text-decoration: underline; text-underline-offset: 3px; }
.legal li a:hover { color: var(--color-accent-text); }
.legal-meta { font-size: 0.9rem; color: var(--color-text-muted); }
.draft-note {
  margin-bottom: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  background: var(--color-accent-light);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
}
.legal p.draft-note { color: var(--color-primary-dark); }
/* Unresolved details: highlighted so they can't be missed before publishing */
mark.todo {
  padding: 0.05em 0.35em;
  font-size: 0.92em;
  font-weight: 600;
  color: #6b4d00;
  background: #fff1c2;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.legal-toc {
  margin: var(--space-3) 0 var(--space-4);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.legal .legal-toc-title { margin-bottom: var(--space-1); font-family: var(--font-heading); font-weight: 600; }
.legal-toc ol { columns: 2; column-gap: var(--space-4); margin: 0; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { color: var(--color-primary-light); }
.legal-toc a:hover { color: var(--color-accent-text); text-decoration: underline; }
/* Blanks to fill in on the printed agreement */
.fill { display: inline-block; min-width: 12rem; border-bottom: 1px solid var(--color-text-muted); vertical-align: bottom; }
.fill-sm { min-width: 7rem; }
.fill-lg { display: block; min-width: 0; height: 1.6em; }
.table-scroll { margin: 0 0 var(--space-2); overflow-x: auto; }
.legal-table { width: 100%; font-size: 0.95rem; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; border: 1px solid var(--color-border); }
.legal-table th { background: var(--color-bg-alt); }
.legal-table td { min-width: 7rem; height: 2.6rem; }
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.signature-block p { margin: var(--space-3) 0 0; }
.legal .signature-role { margin-top: 0; font-weight: 700; }
.signature-block .fill { min-width: 0; width: calc(100% - 6rem); }
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .signature-grid { grid-template-columns: 1fr; }
  .fill { min-width: 8rem; }
}
/* Print / save as PDF: document only, no site chrome */
@media print {
  .site-header, .site-footer, .mobile-cta-bar, .back-to-top, .scroll-progress, .skip-link,
  .page-hero .breadcrumb, .page-hero .hero-actions, .legal-toc { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .page-hero { padding: 0 0 1rem; color: #000; background: none; }
  .page-hero::before, .page-hero::after { display: none; }
  .page-hero h1, .page-hero p.lead { color: #000; }
  .page-hero .container > * { opacity: 1; animation: none; }
  section { padding: 0; }
  .legal { max-width: none; }
  .legal h2 { break-after: avoid; }
  .signature-grid, .legal-table { break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------- */
/* Utilities                                                                  */
/* -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-4 { margin-top: var(--space-4); }
.container-narrow { max-width: 480px; }
.stack { display: grid; gap: var(--space-3); align-content: start; }
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-3); align-items: start; }
.contact-layout .hero-actions { margin-bottom: 0; }
.contact-layout .card > ul:not(.contact-list) { margin-bottom: 0; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Scroll reveal (JS adds .reveal on load, .visible on intersect)             */
/* -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(0.94) translateY(16px); }
.reveal.visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------- */
/* Motion system                                                              */
/* Pure-CSS effects run everywhere. Effects that start hidden are scoped to   */
/* html.motion, which JS adds only when the visitor allows motion, so the     */
/* page is always fully visible without JS or with reduced motion.            */
/* -------------------------------------------------------------------------- */
main { overflow-x: clip; } /* side-slide reveals never cause a sideways scrollbar */

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.3) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes orbDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
@keyframes dotPing { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255, 122, 69, 0); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 var(--pulse, rgba(255, 122, 69, 0.55)); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 122, 69, 0); } }

/* Reading progress bar along the top edge */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #ffb18c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Hero: headline, text and buttons arrive one after another */
.hero-content > *,
.page-hero .container > * { opacity: 0; animation: fadeUp 0.8s var(--ease) forwards; }
.hero-content > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: 0.36s; }
.hero-content > :nth-child(5), .page-hero .container > :nth-child(5) { animation-delay: 0.48s; }

/* Slow glowing orb drifting behind the hero */
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.3), transparent 65%);
  animation: orbDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Hero showcase leans toward the pointer (JS sets --rx / --ry) */
.hero-showcase {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease);
}

/* Attention pulse on the main call-to-action buttons */
.btn-pulse { animation: pulseRing 2.4s ease-out 1.6s infinite; }
.btn-pulse:hover { animation: none; }
.cta-band .btn-pulse { --pulse: rgba(255, 255, 255, 0.7); }

/* Light sweep across solid buttons on hover */
.btn-primary, .btn-dark { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after, .btn-dark:hover::after { transform: translateX(100%); }

/* Section headings: pinging eyebrow dot + accent bar that grows in on reveal */
.eyebrow::before { animation: dotPing 2.4s ease-out infinite; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-accent), #ffb18c);
  transition: transform 0.7s var(--ease) 0.35s;
}
.motion .section-head.reveal:not(.visible) h2::after { transform: scaleX(0); }

/* Quick-facts strip overlapping the bottom of the hero */
.stats-strip { position: relative; z-index: 2; padding: 0; margin-top: calc(-1 * clamp(2.5rem, 5vw, 3.5rem)); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.stats-grid li { position: relative; padding: var(--space-3) var(--space-2); text-align: center; }
.stats-grid li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--color-border);
}
.stats-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.stats-grid span { font-size: 0.88rem; color: var(--color-text-muted); }

/* Groups whose children appear in sequence once scrolled into view */
.motion .stats-grid:not(.in-view) li,
.motion .skills-tags:not(.in-view) span,
.motion .area-list:not(.in-view) li { opacity: 0; }
.motion .stats-grid.in-view li { animation: chipIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
.motion .skills-tags.in-view span,
.motion .area-list.in-view li { animation: chipIn 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 150ms); }

/* Cards: soft spotlight that follows the pointer (JS sets --mx / --my) */
.card:not(.testimonial-placeholder),
.portfolio-card {
  background-image: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 122, 69, 0.1), transparent 45%);
}
.card:hover .icon-wrap { box-shadow: 0 8px 20px rgba(255, 122, 69, 0.25); }

/* How it works: numbers pop, then the dashed connector draws to the next step */
.step:not(:last-child)::after { transform-origin: 0 50%; transition: transform 0.7s var(--ease); }
.motion .steps:not(.in-view) .step::after { transform: scaleX(0); }
.motion .steps:not(.in-view) .step::before { opacity: 0; }
.motion .steps.in-view .step::before { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.steps .step:nth-child(1)::after { transition-delay: 0.5s; }
.steps .step:nth-child(2)::after { transition-delay: 0.8s; }
.steps .step:nth-child(3)::after { transition-delay: 1.1s; }
.motion .steps.in-view .step:nth-child(2)::before { animation-delay: 0.3s; }
.motion .steps.in-view .step:nth-child(3)::before { animation-delay: 0.6s; }
.motion .steps.in-view .step:nth-child(4)::before { animation-delay: 0.9s; }
.step { transition: opacity 0.7s ease, transform 0.5s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #ffc9ae; }

/* Why us: numbered bullets spin in */
.motion .why-list:not(.in-view) .bullet { opacity: 0; }
.motion .why-list.in-view .bullet { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
.why-item .bullet { transition: transform 0.3s var(--ease); }
.why-item:hover .bullet { transform: rotate(-8deg) scale(1.08); }

/* Portfolio: light sheen passes over the thumbnail on hover */
.portfolio-thumb { position: relative; }
.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.portfolio-card:hover .portfolio-thumb::after { transform: translateX(100%); }

/* About: illustration gently floats */
.about-snippet .hero-visual img { animation: floatY 7s ease-in-out infinite; }

/* Local area + CTA band: drifting light inside the colored panels */
.local-section > *, .cta-band > * { position: relative; z-index: 1; }
.local-section::before,
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.local-section::before {
  top: -140px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
  animation: orbDrift 12s ease-in-out infinite alternate-reverse;
}
.cta-band::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 8%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  animation: floatY 6s ease-in-out infinite;
}
.cta-band::after {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: 6%;
  background: rgba(255, 255, 255, 0.12);
  animation: floatY 8s ease-in-out 1s infinite reverse;
}
.area-list li { transition: background var(--transition), transform var(--transition); }
.area-list li:hover { background: rgba(255, 255, 255, 0.2); }

/* FAQ: answer text slides in as the panel opens */
.faq-answer p { opacity: 0; transform: translateY(-6px); transition: opacity 0.35s ease 0.1s, transform 0.35s var(--ease) 0.1s; }
.faq-item.open .faq-answer p { opacity: 1; transform: none; }
.faq-item:hover { border-color: #ffc9ae; }

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links > li > a { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
  .nav-cta .btn { padding: 0.6rem 0.9rem; font-size: 0.86rem; }
  .logo-img { height: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .hero .container, .problem-block { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  /* The scene's pieces lean left of the box (they're placed for the desktop column),
     so nudge it right to look centered when it spans the full width */
  .hero-showcase { order: -1; max-width: 560px; margin: 0 auto var(--space-2); translate: 7% 0; }
  .grid-3, .grid-2, .grid-4, .why-list, .about-snippet, .local-section, .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { gap: var(--space-4); }
  .local-section { padding: var(--space-5) var(--space-4); }

  /* Mobile nav */
  .logo-img { height: 42px; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile-only { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--color-surface);
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 32px rgba(15, 61, 92, 0.12);
  }
  .nav-links.nav-open { display: flex; animation: menuIn 0.25s var(--ease); }
  .nav-links > li > a {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-links > li > a.active { box-shadow: inset 4px 0 0 var(--color-accent); }
  .nav-links > li > a.active::before { display: none; }
  .nav-mobile-only { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--color-border); }
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    margin-left: 1rem;
    border-left: 2px solid var(--color-border);
    border-radius: 0;
  }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover > a::after,
  .has-dropdown:focus-within > a::after { transform: rotate(45deg); margin-top: -3px; }
  .has-dropdown.open > a::after { transform: rotate(225deg); margin-top: 3px; }
  body.nav-is-open { overflow: hidden; }

  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 84px; }
  .back-to-top { bottom: 96px; right: 16px; }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 var(--space-2); }
  .local-section, .cta-band { padding: var(--space-5) var(--space-3); }
  .card { padding: var(--space-3); }
  .steps, .included-list, .form-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .problem-visual { padding: var(--space-2) 0; }
  .google-mock { padding: var(--space-4) var(--space-2); }
  .google-mock-typed { font-size: 0.82rem; }
  .why-item { padding: var(--space-2) 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li:nth-child(3)::before { display: none; }
  .stats-grid li:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .faq-question { padding: 1rem var(--space-2); }
  .faq-answer p { padding: 0 var(--space-2) var(--space-2); }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .portfolio-card:hover { transform: none; }
  .hs-piece, .hs-circuit { animation: none !important; opacity: 1; translate: 0 0; scale: 1; }
  .hs-piece:hover { transform: none; }
  .google-mock-typed { animation: none; width: 100%; border-right-color: transparent; }
  .problem-visual::before { animation: none; }
  .hero-content > *, .page-hero .container > * { animation: none; opacity: 1; }
  .hero h1 em { animation: none; background-size: 100% 30%; }
  .hero-showcase { transform: none; }
  .btn-pulse, .eyebrow::before { animation: none; }
  /* Scenes rest on their finished state, so removing the animations shows the end result */
  .process-scene *, .process-scene *::before, .process-scene *::after { animation: none !important; }
  .process-step[aria-selected="true"] .process-num { transform: none; }
  .scroll-progress { display: none; }
}
