/* ==========================================================================
   Sahil Digital Services — Stylesheet
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root {
  /* Brand palette, matched to the Sahil Digital Services logo (navy + blue + green) */
  --navy-950: #16233f;
  --navy-900: #1b2a4a;
  --navy-800: #223761;
  --navy-700: #2c4270;
  --navy-600: #3a5490;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --off-white: #fafafb;
  --white: #ffffff;

  /* Primary accent = the teal/blue from the logo ring */
  --amber-500: #14b8a6;
  --amber-400: #2dd4bf;
  --amber-600: #0d9488;

  /* Extra highlight colors, used to color-code services / stats / tags */
  --hl-blue: #0ea5e9;
  --hl-blue-bg: rgba(14, 165, 233, 0.12);
  --hl-green: #16a34a;
  --hl-green-bg: rgba(22, 163, 74, 0.12);
  --hl-amber: #d97706;
  --hl-amber-bg: rgba(217, 119, 6, 0.12);
  --hl-violet: #7c3aed;
  --hl-violet-bg: rgba(124, 58, 237, 0.12);
  --hl-pink: #db2777;
  --hl-pink-bg: rgba(219, 38, 119, 0.12);
  --grad: linear-gradient(90deg, var(--hl-blue), var(--hl-violet));

  --ink: #14161c;
  --ink-muted: #545b6b;

  --radius-sm: 999px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(10, 15, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 15, 28, 0.10);
  --shadow-lg: 0 16px 40px rgba(10, 15, 28, 0.12);

  --container-w: 1180px;
  --header-h: 82px;

  --ff-display: 'General Sans', 'Segoe UI', sans-serif;
  --ff-head: 'General Sans', 'Segoe UI', sans-serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Offset anchor jump targets so the sticky header never covers the heading */
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1, h2 { font-family: var(--ff-display); font-weight: 700; }

p { margin: 0 0 1em; color: var(--ink-muted); }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

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

section { padding: 96px 0; }

.section-tight { padding: 64px 0; }

.section-alt { background: var(--off-white); }

.section-dark {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--slate-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-600);
  background: rgba(20, 184, 166, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--amber-400); background: rgba(20, 184, 166, 0.14); }

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gradient {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-gradient:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--slate-300);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--hl-blue); color: var(--hl-blue); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-950);
}
.btn-outline-dark:hover { border-color: var(--amber-500); color: var(--amber-600); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.ticker-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dot, var(--hl-blue));
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
background: var(--white);
border-bottom: 1px solid var(--slate-100);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.2;
}

.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--hl-blue); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--hl-green);
}

.header-actions { display: flex; align-items: center; gap: 18px; }

.header-cta { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--white);
  color: var(--ink);
  padding: 90px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--slate-100);
}
.hero::before {
  content: '';
  position: absolute; top: -180px; right: -160px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.10), transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero h1 span, .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3em; }

.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-trust div:nth-child(1) strong { color: var(--hl-blue); }
.hero-trust div:nth-child(2) strong { color: var(--hl-green); }
.hero-trust div:nth-child(3) strong { color: var(--amber-600); }
.hero-trust div strong { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; }
.hero-trust div span { font-size: 0.82rem; color: var(--ink-muted); }

.hero-visual { position: relative; animation: heroFloat 4.5s ease-in-out infinite; }
.hero-image { width: 100%; height: auto; }
@media (min-width: 981px) {
  .hero-visual { margin-right: -70px; }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; }
}

.hero-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--hl-blue);
  z-index: 3;
}
.hero-note svg { width: 34px; height: 34px; flex-shrink: 0; stroke: var(--hl-blue); }
/* text sits just left of the image, arrow curves down-right INTO the "Higher Conversions" badge */
.hero-note.note-1 { top: 20%; left: -4px; text-align: left; }
.hero-note.note-1 svg { align-self: flex-start; margin-left: 2px; transform: rotate(4deg); }
/* text sits close above the Instagram icon, short arrow curves down INTO it */
.hero-note.note-2 { top: -22px; right: 13%; text-align: center; align-items: center; }
.hero-note.note-2 svg { transform: scaleX(-1) rotate(24deg); margin: 0; }
/* text sits below-right of the "More Leads" badge, arrow curves up INTO it */
.hero-note.note-3 { bottom: -38px; right: -6px; text-align: right; align-items: flex-end; }
.hero-note.note-3 svg { transform: scale(-1) rotate(10deg); margin-right: 2px; }

/* Abstract browser-mock graphic used instead of stock photography */
.mock-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg);
}
.mock-bar { display: flex; gap: 6px; padding: 14px 16px; background: var(--off-white); border-bottom: 1px solid var(--slate-100); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.mock-body { padding: 28px; display: grid; gap: 14px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--slate-100); }
.mock-line.w-60 { width: 60%; }
.mock-line.w-80 { width: 80%; }
.mock-line.w-40 { width: 40%; }
.mock-block {
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hl-blue-bg), var(--hl-green-bg));
  margin-top: 6px;
}
.mock-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 999px;
  padding: 10px 16px;
  position: absolute;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.mock-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hl-green); }
.chip-1 { top: -18px; right: 10px; }
.chip-2 { bottom: -16px; left: -18px; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--white);
  padding: 48px 0 0;
}
.stats-wrap { position: relative; }
.stats-cta {
  text-align: center;
  padding: 32px 0 60px;
}
.stats-cta p { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; }
.stats-cta .btn { padding-right: 22px; }
.stats-cta .btn svg { margin-left: 2px; }
.stats-anchor { position: relative; padding-top: 58px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stats-note {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.05;
  color: var(--hl-blue);
  z-index: 3;
}
.stats-note svg { width: 30px !important; height: 30px !important; stroke: var(--hl-blue); flex-shrink: 0; }
.stats-note.note-left { left: 4px; }
.stats-note.note-left svg { transform: rotate(4deg); }
.stats-note.note-right { right: 4px; flex-direction: row-reverse; text-align: right; }
.stats-note.note-right svg { transform: scaleX(-1) rotate(4deg); }
@media (max-width: 980px) {
  .stats-note { display: none; }
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--amber-600);
}
.stat-item span { font-size: 0.85rem; color: var(--ink-muted); }

/* Simple stat cards: white card, only the icon is colored */
.stats-grid .stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 19px; height: 19px; }
.stat-text { display: flex; flex-direction: column; gap: 2px; }
.stats-grid .stat-item strong { color: var(--ink); }
.stats-grid .stat-item:nth-child(1) .stat-icon { background: var(--hl-green-bg); }
.stats-grid .stat-item:nth-child(1) .stat-icon svg { stroke: var(--hl-green); }
.stats-grid .stat-item:nth-child(2) .stat-icon { background: var(--hl-blue-bg); }
.stats-grid .stat-item:nth-child(2) .stat-icon svg { stroke: var(--hl-blue); }
.stats-grid .stat-item:nth-child(3) .stat-icon { background: var(--hl-violet-bg); }
.stats-grid .stat-item:nth-child(3) .stat-icon svg { stroke: var(--hl-violet); }
.stats-grid .stat-item:nth-child(4) .stat-icon { background: var(--hl-amber-bg); }
.stats-grid .stat-item:nth-child(4) .stat-icon svg { stroke: var(--hl-amber); }

/* ---------- Cards / Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { animation: cardFloat 1.6s ease-in-out infinite; box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-box {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.icon-box svg { width: 26px; height: 26px; stroke: var(--amber-600); }

/* Color-code the four service cards so each highlight reads distinctly */
.grid-4 .service-card { border: none; }
.grid-4 .service-card .icon-box { background: var(--white); }
.grid-4 .service-card:nth-child(1) { background: var(--hl-blue-bg); }
.grid-4 .service-card:nth-child(1) .icon-box svg { stroke: var(--hl-blue); }
.grid-4 .service-card:nth-child(1) .card-link { border-color: var(--hl-blue); }
.grid-4 .service-card:nth-child(2) { background: var(--hl-green-bg); }
.grid-4 .service-card:nth-child(2) .icon-box svg { stroke: var(--hl-green); }
.grid-4 .service-card:nth-child(2) .card-link { border-color: var(--hl-green); }
.grid-4 .service-card:nth-child(3) { background: var(--hl-amber-bg); }
.grid-4 .service-card:nth-child(3) .icon-box svg { stroke: var(--hl-amber); }
.grid-4 .service-card:nth-child(3) .card-link { border-color: var(--hl-amber); }
.grid-4 .service-card:nth-child(4) { background: var(--hl-violet-bg); }
.grid-4 .service-card:nth-child(4) .icon-box svg { stroke: var(--hl-violet); }
.grid-4 .service-card:nth-child(4) .card-link { border-color: var(--hl-violet); }
.grid-4 .service-card:nth-child(1):hover { box-shadow: 0 16px 32px rgba(14,165,233,0.28); }
.grid-4 .service-card:nth-child(2):hover { box-shadow: 0 16px 32px rgba(22,163,74,0.28); }
.grid-4 .service-card:nth-child(3):hover { box-shadow: 0 16px 32px rgba(217,119,6,0.28); }
.grid-4 .service-card:nth-child(4):hover { box-shadow: 0 16px 32px rgba(124,58,237,0.28); }

.service-card h3 { font-size: 1.18rem; margin-bottom: 0.5em; }
.service-card ul { margin: 16px 0 20px; display: grid; gap: 9px; }
.service-card ul li {
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card ul li svg { flex-shrink: 0; width: 15px; height: 15px; stroke: var(--amber-500); margin-top: 3px; }

/* Compact service tiles (icon + tool row + short benefit list) */
.tile-tools { display: flex; gap: 8px; margin: 16px 0 18px; }
.tile-tool {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tile-tool svg { width: 17px; height: 17px; }
.service-card .tile-list { display: grid; gap: 11px; margin: 0; }
.service-card .tile-list li {
  align-items: center;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
}
.tile-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--amber-500);
}
.service-card .tile-list li svg { width: 11px; height: 11px; margin-top: 0; stroke: var(--white); }
.grid-4 .service-card:nth-child(1) .tile-check { background: var(--hl-blue); }
.grid-4 .service-card:nth-child(2) .tile-check { background: var(--hl-green); }
.grid-4 .service-card:nth-child(3) .tile-check { background: var(--hl-amber); }
.grid-4 .service-card:nth-child(4) .tile-check { background: var(--hl-violet); }

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  border-bottom: 2px solid var(--amber-500);
  padding-bottom: 2px;
  transition: gap .15s ease;
}
.card-link:hover { gap: 10px; }

/* Color-code the four service detail blocks on services.html to match the cards above */
.service-detail:nth-of-type(1) .icon-box { background: var(--hl-blue-bg); }
.service-detail:nth-of-type(1) .icon-box svg { stroke: var(--hl-blue); }
.service-detail:nth-of-type(2) .icon-box { background: var(--hl-green-bg); }
.service-detail:nth-of-type(2) .icon-box svg { stroke: var(--hl-green); }
.service-detail:nth-of-type(3) .icon-box { background: var(--hl-amber-bg); }
.service-detail:nth-of-type(3) .icon-box svg { stroke: var(--hl-amber); }
.service-detail:nth-of-type(4) .icon-box { background: var(--hl-violet-bg); }
.service-detail:nth-of-type(4) .icon-box svg { stroke: var(--hl-violet); }

/* ---------- Why choose us ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--slate-100);
}
.feature-row:first-child { padding-top: 0; }
.feature-row .icon-box { width: 44px; height: 44px; flex-shrink: 0; margin-bottom: 0; border-radius: 10px; }
.feature-row .icon-box svg { width: 20px; height: 20px; }
.feature-row h4 { font-size: 1.02rem; margin-bottom: 0.35em; }
.feature-row p { font-size: 0.92rem; margin: 0; }
.feature-row:nth-of-type(1) .icon-box { background: var(--hl-blue-bg); }
.feature-row:nth-of-type(1) .icon-box svg { stroke: var(--hl-blue); }
.feature-row:nth-of-type(2) .icon-box { background: var(--hl-green-bg); }
.feature-row:nth-of-type(2) .icon-box svg { stroke: var(--hl-green); }
.feature-row:nth-of-type(3) .icon-box { background: var(--hl-amber-bg); }
.feature-row:nth-of-type(3) .icon-box svg { stroke: var(--hl-amber); }
.feature-row:nth-of-type(4) .icon-box { background: var(--hl-violet-bg); }
.feature-row:nth-of-type(4) .icon-box svg { stroke: var(--hl-violet); }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step { position: relative; }
.process-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20,184,166,0.5);
  margin-bottom: 10px;
}
.process-step h4 { font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; }

/* ---------- Featured project (real in-house app) ---------- */
.featured-project {
  background: linear-gradient(160deg, #fff7ed, #fdf2f8);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-bottom: 72px;
}
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.featured-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.featured-badge svg { width: 14px; height: 14px; fill: var(--amber-400); stroke: none; }
.featured-content h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.3em; }
.featured-content .lead { font-size: 1.02rem; color: var(--ink-muted); margin-bottom: 1.4em; }
.featured-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.featured-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.9rem;
  color: var(--ink);
}
.featured-features li svg { width: 16px; height: 16px; stroke: var(--white); background: var(--hl-pink); border-radius: 50%; padding: 3px; box-sizing: content-box; flex-shrink: 0; margin-top: 1px; }
.featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.phone-stack { display: flex; justify-content: center; align-items: center; gap: 14px; }
.phone-frame {
  width: 148px;
  height: 308px;
  border-radius: 24px;
  border: 6px solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  flex-shrink: 0;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* promo-frame: for app screenshots that already include their own device bezel/artwork */
.promo-frame {
  width: 148px;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.promo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.phone-frame.side, .promo-frame.side { opacity: 0.85; }
.phone-frame.center { width: 168px; height: 350px; z-index: 2; }
.promo-frame.center { width: 168px; height: 363px; z-index: 2; }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-100);
  background: var(--white);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.filter-btn:hover { border-color: var(--hl-blue); color: var(--ink); }
.filter-btn.active {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.portfolio-panel { scroll-margin-top: 100px; }
.portfolio-empty {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
}
.portfolio-empty h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.portfolio-empty p { margin-bottom: 1.6em; }

.work-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--white);
}
.work-card:hover { animation: cardFloat 1.6s ease-in-out infinite; box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eef1f8, #e4e9f5);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.work-thumb img { transition: transform .3s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(20,184,166,0.16), transparent 60%);
}
.work-thumb svg { width: 64px; height: 64px; stroke: var(--amber-600); position: relative; z-index: 1; }

/* Website-tab thumbnails: real screenshot shown inside a browser-window mockup */
.work-thumb.browser-thumb {
  aspect-ratio: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--white);
}
.browser-thumb::before { display: none; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  flex-shrink: 0;
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.browser-bar span:nth-child(1) { background: #ff5f56; }
.browser-bar span:nth-child(2) { background: #ffbd2e; }
.browser-bar span:nth-child(3) { background: #27c93f; }
.browser-thumb img { width: 100%; height: auto; display: block; }

/* App-tab thumbnails: a Play-Store-style listing row (icon + name + developer + category)
   on a decorated backdrop, instead of a lone icon floating in empty space */
.work-thumb.app-thumb {
  aspect-ratio: auto;
  min-height: 190px;
  flex-direction: column;
  padding: 26px 0;
  gap: 20px;
}
.work-thumb.app-thumb::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.20), transparent 70%);
  top: -60px; right: -60px;
}
.work-thumb.app-thumb::before { background: radial-gradient(circle at 15% 90%, rgba(236,72,153,0.16), transparent 55%), radial-gradient(circle at 85% 15%, rgba(124,58,237,0.12), transparent 55%); }
.app-listing {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  width: 100%;
}
.app-icon-box {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
}
.app-icon-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-listing-text { display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.app-listing-text strong { font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.app-listing-text > span:not(.app-listing-tag) { font-size: 0.86rem; color: var(--ink-muted); }
.app-listing-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.7);
  padding: 3px 10px;
  border-radius: 999px;
}
.app-store-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.app-store-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.work-tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--hl-blue-bg);
  color: var(--hl-blue);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
/* Color-code portfolio thumbnails by category */
.work-card[data-category="website"] .work-thumb { background: linear-gradient(135deg, var(--hl-blue-bg), #ffffff); }
.work-card[data-category="website"] .work-thumb svg { stroke: var(--hl-blue); }
.work-card[data-category="website"] .work-tag { background: var(--hl-blue-bg); color: var(--hl-blue); }
.work-card[data-category="app"] .work-thumb { background: linear-gradient(135deg, var(--hl-green-bg), #ffffff); }
.work-card[data-category="app"] .work-thumb svg { stroke: var(--hl-green); }
.work-card[data-category="app"] .work-tag { background: var(--hl-green-bg); color: var(--hl-green); }
.work-card[data-category="marketing"] .work-thumb { background: linear-gradient(135deg, var(--hl-amber-bg), #ffffff); }
.work-card[data-category="marketing"] .work-thumb svg { stroke: var(--hl-amber); }
.work-card[data-category="marketing"] .work-tag { background: var(--hl-amber-bg); color: var(--hl-amber); }
.work-body { padding: 24px; }
.work-body h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.work-body p { font-size: 0.9rem; margin-bottom: 1.1em; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars svg { width: 16px; height: 16px; fill: var(--hl-amber); stroke: none; }
.testi-quote { font-size: 0.97rem; color: var(--ink); margin-bottom: 20px; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--hl-blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem;
}
.testi-card:nth-of-type(2) .testi-avatar { background: var(--hl-green); }
.testi-person strong { display: block; font-size: 0.92rem; color: var(--ink); }
.testi-person span { font-size: 0.8rem; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--off-white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; right: -6%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hl-blue-bg), transparent 70%);
}
.cta-band h2 { color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.3em; position: relative; }
.cta-band p { color: var(--ink-muted); margin: 0; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.story-visual {
  background: var(--off-white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--ink);
}
.story-visual .stat-item { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--slate-100); }
.story-visual .stat-item:last-child { border-bottom: none; }
.story-visual .stat-item strong { font-family: var(--ff-display); font-size: 1.8rem; }
.story-visual .stat-item span { color: var(--ink-muted); }
.story-visual .stat-item:nth-child(1) strong { color: var(--hl-blue); }
.story-visual .stat-item:nth-child(2) strong { color: var(--hl-green); }
.story-visual .stat-item:nth-child(3) strong { color: var(--amber-600); }
.story-visual .stat-item:nth-child(4) strong { color: var(--hl-violet); }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-grid .feature-row:nth-child(-n+2) { padding-top: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.contact-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.4em; }
.contact-intro > p { color: var(--ink-muted); max-width: 480px; margin-bottom: 30px; }
.contact-trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 32px; }
.contact-trust-item { display: flex; align-items: center; gap: 12px; }
.contact-visual img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.contact-visual:hover img { transform: scale(1.03); }

.contact-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.contact-card h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
.contact-card > p { margin-bottom: 1.6em; }
.contact-note {
  position: absolute;
  top: -34px;
  right: 8%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.05;
  color: var(--ink-muted);
  z-index: 3;
}
.contact-note svg { width: 28px; height: 28px; stroke: var(--ink-muted); flex-shrink: 0; transform: rotate(-12deg) scaleX(-1); margin-top: 2px; }
@media (max-width: 980px) { .contact-note { display: none; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .15s ease;
}
.form-group select { appearance: none; -webkit-appearance: none; color: var(--ink-muted); cursor: pointer; }
.form-group select:valid { color: var(--ink); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--amber-500);
}
.form-note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 10px; }

.icon-field { position: relative; }
.icon-field > svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--ink-muted); pointer-events: none;
}
.icon-field input, .icon-field select { padding-left: 46px; }
.icon-field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.icon-field.textarea-field > svg { top: 20px; transform: none; }
.textarea-field { position: relative; }
.textarea-field textarea { padding-bottom: 26px; resize: vertical; }
.icon-field.textarea-field textarea { padding-left: 46px; }
.char-count { position: absolute; right: 14px; bottom: 10px; font-size: 0.72rem; color: var(--ink-muted); }

/* ---------- Quick quote popup ---------- */
.quote-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.quote-modal:not([hidden]) { display: flex; }
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.quote-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  animation: quoteModalIn .2s ease;
}
@keyframes quoteModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.quote-modal-card h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
.quote-modal-card > p { margin-bottom: 1.6em; }
.quote-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  border: none;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.quote-modal-close:hover { background: var(--slate-100); }
@media (max-width: 520px) {
  .quote-modal-card { padding: 28px 22px; }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 400;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--off-white); color: var(--ink-muted); border-top: 1px solid var(--slate-100); }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0;
}
.footer-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-muted); transition: color .15s ease; }
.footer-nav a:hover { color: var(--hl-blue); }
.footer-copy { font-size: 0.84rem; color: var(--slate-500); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: var(--off-white);
  color: var(--ink);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
}
.page-banner .eyebrow { justify-content: center; }
.page-banner h1 { color: var(--navy-950); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.3em; }
.breadcrumb { font-size: 0.9rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--amber-600); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Service detail blocks ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--slate-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-text { order: 2; }
.service-detail.reverse .service-detail-visual { order: 1; }
.service-detail-text .icon-box { background: rgba(20, 184, 166, 0.12); }
.service-detail-text h2 { font-size: 1.7rem; }
.service-detail-list { display: grid; gap: 14px; margin: 24px 0 28px; }
.service-detail-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.96rem; color: var(--ink);
}
.service-detail-list li svg { width: 18px; height: 18px; stroke: var(--white); flex-shrink: 0; margin-top: 2px; background: var(--amber-500); border-radius: 50%; padding: 3px; box-sizing: content-box; }

.service-detail-visual {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.98rem;
  background: var(--white);
}
.faq-left { display: flex; align-items: center; gap: 16px; }
.faq-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hl-blue-bg);
  color: var(--hl-blue);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
}
.faq-item:nth-of-type(2) .faq-num { background: var(--hl-green-bg); color: var(--hl-green); }
.faq-item:nth-of-type(3) .faq-num { background: var(--hl-amber-bg); color: var(--amber-600); }
.faq-item:nth-of-type(4) .faq-num { background: var(--hl-violet-bg); color: var(--hl-violet); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--amber-600); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 24px 20px 72px; font-size: 0.92rem; margin: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.faq-visual { position: relative; padding-bottom: 34px; }
.faq-visual img { width: 100%; height: auto; display: block; }
.faq-support-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(88%, 380px);
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
}
.faq-support-card .icon-box { width: 46px; height: 46px; margin-bottom: 0; flex-shrink: 0; border-radius: 10px; background: var(--hl-blue-bg); }
.faq-support-card .icon-box svg { width: 20px; height: 20px; }
.faq-support-card h4 { font-size: 0.9rem; margin-bottom: 0.15em; }
.faq-support-card p { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 0.3em; }
.faq-support-card a { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-head); font-size: 0.82rem; font-weight: 600; color: var(--hl-blue); }
.faq-support-card a svg { width: 14px; height: 14px; }
.faq-list .faq-item:last-child { margin-bottom: 0; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  margin-top: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--slate-100);
  color: inherit;
  text-decoration: none;
  transition: background .15s ease;
}
.trust-item:last-child { border-right: none; }
a.trust-item:hover { background: var(--off-white); }
a.trust-item:hover .stat-icon { transform: scale(1.1); }
.trust-item strong { display: block; font-size: 0.95rem; color: var(--ink); }
.trust-item span { font-size: 0.82rem; color: var(--ink-muted); }
.trust-item span a { color: inherit; text-decoration: none; }
.trust-item span a:hover { color: var(--hl-blue); }

/* ---------- Consistent hover feedback: cards, icons & images everywhere ---------- */
.icon-box, .stat-icon { transition: transform .2s ease; }
.feature-row { transition: transform .2s ease; }
.feature-row:hover { transform: translateX(4px); }
.feature-row:hover .icon-box { transform: scale(1.1); }

.tile-tool { transition: transform .2s ease; }
.tile-tool:hover { transform: translateY(-3px) scale(1.08); }

.stats-grid .stat-item:hover { animation: cardFloat 1.6s ease-in-out infinite; }

.process-step:hover { animation: cardFloat 1.6s ease-in-out infinite; }

.featured-project { transition: box-shadow .25s ease; }
.featured-project:hover { box-shadow: var(--shadow-lg); }

.phone-frame, .promo-frame { transition: box-shadow .25s ease; }
.phone-frame:hover, .promo-frame:hover { animation: cardFloat 1.6s ease-in-out infinite; box-shadow: var(--shadow-lg); }

@keyframes cardFloat {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(-11px); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .work-card:hover, .stats-grid .stat-item:hover, .process-step:hover, .phone-frame:hover, .promo-frame:hover { animation: none; }
}

.hero-image { transition: transform .3s ease; }
.hero-visual:hover .hero-image { transform: scale(1.015); }

.logo-mark { transition: transform .2s ease; }
.logo:hover .logo-mark { transform: scale(1.08); }

.faq-q { transition: background .2s ease; }
.faq-q:hover { background: var(--off-white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .contact-grid, .service-detail, .service-detail.reverse, .faq-grid { grid-template-columns: 1fr; }
  .service-detail-text, .service-detail.reverse .service-detail-text { order: 1 !important; }
  .service-detail-visual, .service-detail.reverse .service-detail-visual { order: 2 !important; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .faq-visual { max-width: 420px; margin: 0 auto 20px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-project { padding: 40px 28px; }
  .phone-stack { margin-top: 32px; }
  .phone-frame { width: 138px; height: 288px; }
  .promo-frame { width: 138px; height: 299px; }
  .phone-frame.center { width: 158px; height: 329px; }
  .promo-frame.center { width: 158px; height: 342px; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero-note { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--white); padding: 32px 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid var(--slate-100); }
  .main-nav a { display: block; padding: 18px 4px; font-size: 1.05rem; color: var(--ink); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--slate-100); }
  .trust-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; flex-direction: column; text-align: center; }
  .footer-bar { flex-direction: column; text-align: center; gap: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .featured-features { grid-template-columns: 1fr; }
  .phone-frame.side, .promo-frame.side { display: none; }
  .phone-frame.center { width: 170px; height: 354px; }
  .promo-frame.center { width: 170px; height: 368px; }
}
