/* Data Factory — editorial dark design system */
:root {
  --color-bg: #1a1b26;
  --color-bg-deep: #12131c;
  --color-bg-elevated: #222333;
  --color-bg-card: rgba(34, 35, 51, 0.55);
  --color-bg-card-hover: rgba(42, 44, 64, 0.85);
  --color-primary: #5F87AD;
  --color-primary-light: #7aa3c4;
  --color-accent: #F73978;
  --color-accent-orange: #FFA61B;
  --color-accent-purple: #641877;
  --color-text: #e4e7ef;
  --color-text-muted: #8b95a8;
  --color-text-heading: #ffffff;
  --color-border: rgba(95, 135, 173, 0.18);
  --color-border-accent: rgba(247, 57, 120, 0.4);
  --gradient-brand: linear-gradient(128deg, #FFA61B 0%, #F7367A 42%, #641877 100%);
  --gradient-brand-soft: linear-gradient(128deg, rgba(255,166,27,0.15) 0%, rgba(247,54,122,0.12) 50%, rgba(100,24,119,0.1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(95,135,173,0.14) 0%, rgba(247,57,120,0.05) 60%, transparent 100%);
  --gradient-hero-overlay: linear-gradient(115deg, rgba(18,19,28,0.94) 0%, rgba(26,27,38,0.78) 45%, rgba(26,27,38,0.55) 100%);
  --gradient-mesh: radial-gradient(ellipse 80% 50% at 20% -10%, rgba(247,57,120,0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(95,135,173,0.1), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255,166,27,0.06), transparent 50%);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 60px rgba(247, 57, 120, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 76px;
  --max-w: 1200px;
  --page-pad: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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

a { color: var(--color-primary-light); text-decoration: none; transition: color 0.25s var(--ease-out); }
a:hover { color: var(--color-accent); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  position: relative;
  z-index: 1;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Icons (inline SVG, square aspect) ── */
.icon {
  width: 24px;
  aspect-ratio: 1;
  height: auto;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
  color: inherit;
  overflow: visible;
}

/* Default: pink accent on dark backgrounds */
.card-icon-wrap,
.service-showcase__icon:not(.service-showcase__icon--light),
.contact-detail .icon-wrap,
.service-item__icon,
.service-showcase__badge {
  color: var(--color-accent);
}

/* White icons on gradient / light-on-color panels */
.value-icon-wrap,
.services-pillar__icon,
.services-intro-highlight__icon,
.service-showcase__icon--light,
.services-page .service-item__icon {
  color: #fff;
}

.icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 14px;
  background: var(--gradient-brand-soft);
  color: var(--color-accent);
}

.icon-box--circle {
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(18, 19, 28, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-link:hover { opacity: 0.9; }

.logo-svg {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-svg--footer { height: 30px; margin-bottom: 18px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.main-nav a {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(95, 135, 173, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  letter-spacing: 0.06em;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
  background: var(--gradient-brand);
  color: #fff;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(247, 57, 120, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.btn-cta:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(247, 57, 120, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text) !important;
  font-weight: 600;
  font-size: 0.875rem;
  background: rgba(255,255,255,0.03);
  transition: all 0.25s var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(95,135,173,0.1);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.25s;
}

/* ── Hero ── */
.hero {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: var(--color-bg-deep);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.35;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.hero-orb--1 {
  width: 400px; height: 400px;
  background: rgba(247, 57, 120, 0.15);
  top: 10%; right: -5%;
}
.hero-orb--2 {
  width: 300px; height: 300px;
  background: rgba(95, 135, 173, 0.12);
  bottom: 20%; left: -5%;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content { max-width: 600px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  background: rgba(247, 57, 120, 0.1);
  border: 1px solid rgba(247, 57, 120, 0.25);
  border-radius: 999px;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  padding: 22px 20px;
  background: rgba(34, 35, 51, 0.55);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.stat-card--wide { grid-column: span 2; }

.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  background: #1a1b26;
}
.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
  transform-origin: center center;
}
.hero-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,19,28,0.55) 100%);
  pointer-events: none;
}

.hero--compact {
  min-height: 42vh;
  display: block;
}
.hero--compact .hero-split {
  grid-template-columns: 1fr;
  padding-top: 72px;
  padding-bottom: 56px;
  max-width: 720px;
}
.hero--compact h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.hero--compact p { margin-bottom: 0; }

.hero--services .hero-overlay {
  background: linear-gradient(
    115deg,
    rgba(18, 19, 28, 0.94) 0%,
    rgba(255, 166, 27, 0.12) 35%,
    rgba(247, 54, 122, 0.1) 65%,
    rgba(26, 27, 38, 0.9) 100%
  );
}

.hero--services .hero-label {
  border-color: rgba(255, 166, 27, 0.35);
  background: linear-gradient(128deg, rgba(255, 166, 27, 0.12), rgba(247, 54, 122, 0.1));
  color: #ffb86c;
}

.hero--services .hero-label::before {
  background: #FFA61B;
  box-shadow: 0 0 12px rgba(255, 166, 27, 0.6);
}

/* ── Sections ── */
section {
  padding: 100px 0;
  position: relative;
}

section.section-alt {
  background: linear-gradient(180deg, rgba(34,35,51,0.4) 0%, transparent 100%);
}

.section-head {
  margin-bottom: 56px;
  max-width: 640px;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gradient-brand);
}

.section-head--center .section-label::before { display: none; }
.section-head--center .section-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gradient-brand);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── About block ── */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  background: #1a1b26;
  box-shadow: var(--shadow);
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #1a1b26;
  transform: scale(1.04);
  transform-origin: center center;
}

.about-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  padding: 10px 16px;
  background: rgba(18,19,28,0.85);
  backdrop-filter: blur(12px);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

/* ── Bento services grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}

.card {
  position: relative;
  background: rgba(34, 35, 51, 0.45);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

.card--featured {
  grid-column: span 8;
  grid-row: span 2;
  padding: 40px 36px;
  background: linear-gradient(145deg, rgba(34,35,51,0.8) 0%, rgba(247,57,120,0.06) 100%);
}

.card--tall { grid-row: span 2; }

.card-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
}

.card-icon-wrap .icon,
.services-pillar__icon .icon,
.services-intro-highlight__icon .icon,
.service-showcase__icon--light .icon,
.value-icon-wrap .icon {
  width: 24px;
  height: auto;
  aspect-ratio: 1;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--gradient-brand-soft);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--color-accent);
  transition: transform 0.35s var(--ease-out);
}
.card:hover .card-icon-wrap { transform: scale(1.05) rotate(-3deg); }

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.card--featured h3 { font-size: 1.4rem; }

.card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  flex: 1;
}

.card-link {
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent) !important;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: '→'; transition: transform 0.25s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* Legacy cards-grid fallback */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.cards-grid .card { grid-column: auto; grid-row: auto; }

.section-cta-row {
  text-align: center;
  margin-top: 52px;
}

/* ── Values (Wix-style gradient columns) ── */
.values-section {
  padding-bottom: 0;
}

.values-section .section-head {
  margin-bottom: 48px;
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.value-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 420px;
  padding: 48px 24px 40px;
  border: none;
  border-radius: 0;
  color: #fff;
  transition: filter 0.35s var(--ease-out);
}

.value-item:hover {
  filter: brightness(1.06);
  transform: none;
  box-shadow: none;
}

.value-item--1 {
  background: linear-gradient(180deg, #FFAF37 0%, #FF6B35 48%, #FF4D35 100%);
}

.value-item--2 {
  background: linear-gradient(180deg, #FFA61B 0%, #F7367A 52%, #D42A6A 100%);
}

.value-item--3 {
  background: linear-gradient(180deg, #F7367A 0%, #A8328F 48%, #641877 100%);
}

.value-item--4 {
  background: linear-gradient(180deg, #8BB4D4 0%, #5F87AD 45%, #3D6080 100%);
}

.value-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 16px;
  box-sizing: border-box;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.04);
  color: #fff;
}

.value-item h3 {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
  color: #fff;
}

.value-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 240px;
}

/* ── Two column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  border: none;
  object-fit: cover;
  background: #1a1b26;
}
.two-col p { color: var(--color-text-muted); margin-bottom: 16px; }

/* ── About timeline ── */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.story-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.story-sidebar img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center center;
  display: block;
  box-shadow: var(--shadow);
  border: none;
  background: #1a1b26;
  transform: scale(1.02);
  transform-origin: center center;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-para {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: 48px;
}
.story-para:first-child { padding-top: 0; }
.story-para:last-child { border-bottom: none; }

.story-para::before {
  content: attr(data-step);
  position: absolute;
  left: 0; top: 28px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.story-para:first-child::before { top: 0; }

.story-para p {
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

/* ── Services page (gradient layout) ── */
.services-page {
  padding: 100px 0 0;
  position: relative;
}

.services-page .section-head {
  margin-bottom: 48px;
}

.services-intro-highlight {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #FFA61B 0%, #F7367A 48%, #641877 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(247, 54, 122, 0.25);
}

.services-intro-highlight__icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  box-sizing: border-box;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  color: #fff;
}

.services-intro-highlight h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
  color: #fff;
}

.services-intro-highlight p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.services-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 56px 0 72px;
}

.services-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 160px;
  padding: 28px 16px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.services-pillar:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #fff;
}

.services-pillar--1 {
  background: linear-gradient(180deg, #FFAF37 0%, #FF6B35 48%, #FF4D35 100%);
}

.services-pillar--2 {
  background: linear-gradient(180deg, #FFA61B 0%, #F7367A 52%, #D42A6A 100%);
}

.services-pillar--3 {
  background: linear-gradient(180deg, #F7367A 0%, #A8328F 48%, #641877 100%);
}

.services-pillar--4 {
  background: linear-gradient(180deg, #8BB4D4 0%, #5F87AD 45%, #3D6080 100%);
}

.services-pillar__icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  color: #fff;
}

.services-pillar__icon .icon,
.services-intro-highlight__icon .icon,
.service-showcase__icon--light .icon,
.value-icon-wrap .icon {
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.services-page .service-item__icon .icon {
  width: 14px;
  height: auto;
  aspect-ratio: 1;
  color: #fff;
}

.services-pillar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.services-list {
  padding-bottom: 100px;
}

.services-page .service-showcase {
  gap: 0;
  margin-bottom: 48px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.services-page .service-showcase:last-child {
  margin-bottom: 0;
}

.services-page .service-showcase__visual {
  background: #7c2048;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transform: translateZ(0);
}

.services-page .service-showcase--reverse .service-showcase__visual {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.services-page .service-showcase__panel {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-soft);
}

.services-page .service-showcase--reverse .service-showcase__panel {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.services-page .service-showcase__frame {
  border-radius: 0;
  height: 100%;
  min-height: 320px;
  box-shadow: none;
  overflow: hidden;
}

.services-page .service-showcase__frame::before {
  display: none;
}

.services-page .service-showcase__frame img {
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: 320px;
  margin: 0;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center;
  transform: none;
  backface-visibility: hidden;
}

.services-page .service-showcase:hover .service-showcase__frame img {
  transform: none;
}

.service-showcase__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  color: #fff;
  min-height: 320px;
}

.service-showcase__panel--1 {
  background: linear-gradient(160deg, #FFAF37 0%, #FF6B35 42%, #FF4D35 100%);
}

.service-showcase__panel--2 {
  background: linear-gradient(160deg, #FFA61B 0%, #F7367A 50%, #D42A6A 100%);
}

.service-showcase__panel--3 {
  background: linear-gradient(160deg, #F7367A 0%, #A8328F 45%, #641877 100%);
}

.service-showcase__panel--4 {
  background: linear-gradient(160deg, #8BB4D4 0%, #5F87AD 42%, #3D6080 100%);
}

.service-showcase__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
}

.service-showcase__index {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
}

.service-showcase__icon--light {
  width: 48px;
  height: 48px;
  padding: 13px;
  margin-bottom: 0;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  color: #fff;
}

.services-page .service-showcase__panel h2 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.services-page .service-showcase__panel > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.services-page .service-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
}

.services-page .service-item:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(3px);
}

.services-page .service-item__icon {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.services-page .service-analytics-grid .service-item strong {
  color: #fff;
}

.services-page .service-analytics-grid .service-item .desc {
  color: rgba(255, 255, 255, 0.75);
}

.services-page .service-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

@media (max-width: 1024px) {
  .services-pillars { grid-template-columns: repeat(2, 1fr); }
  .services-page .service-showcase { grid-template-columns: 1fr; }
  .services-page .service-showcase--reverse .service-showcase__visual,
  .services-page .service-showcase--reverse .service-showcase__panel { order: unset; }
  .services-page .service-showcase__frame,
  .services-page .service-showcase__frame img { min-height: 240px; }
}

@media (max-width: 768px) {
  .services-pillars { grid-template-columns: 1fr; }
  .services-pillar { min-height: auto; padding: 24px 20px; flex-direction: row; justify-content: flex-start; }
  .service-showcase__panel { padding: 32px 24px; }
  .services-page .service-items { grid-template-columns: 1fr; }
}

/* ── Services showcase (base) ── */
.services-intro-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 80px;
}

.services-intro-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.services-intro-card {
  background: rgba(34, 35, 51, 0.45);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.services-intro-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: var(--gradient-brand);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(40px);
}

.services-intro-card h3 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  position: relative;
}

.services-intro-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  position: relative;
  line-height: 1.65;
}

.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
}

.service-showcase::after { display: none; }

.service-showcase__visual { position: relative; z-index: 1; }

.service-showcase__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow);
  background: #1a1b26;
  line-height: 0;
}

.service-showcase__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18,19,28,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.service-showcase__frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
  transform-origin: center center;
  transition: transform 0.6s var(--ease-out);
}
.service-showcase:hover .service-showcase__frame img { transform: scale(1.08); }

.service-showcase__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(18,19,28,0.88);
  backdrop-filter: blur(12px);
  border: none;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.service-showcase__num {
  position: absolute;
  top: -24px; right: 0;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  pointer-events: none;
}

.service-showcase__content { position: relative; z-index: 1; }

.service-showcase__icon {
  width: 48px;
  height: 48px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--gradient-brand-soft);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.service-showcase__badge .icon {
  width: 18px;
  height: 18px;
}

.service-showcase__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--color-text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-showcase__content > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-showcase--reverse .service-showcase__visual { order: 2; }
.service-showcase--reverse .service-showcase__content { order: 1; }

.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(18, 19, 28, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--color-text);
  transition: all 0.25s var(--ease-out);
}
.service-item:hover {
  border-color: var(--color-border-accent);
  background: rgba(247, 57, 120, 0.06);
  transform: translateX(4px);
}

.service-item__icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--gradient-brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.service-item__icon .icon {
  width: 16px;
  height: 16px;
}

.service-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--color-accent);
  background: rgba(247, 57, 120, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}
.service-analytics-grid .service-item {
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}
.service-analytics-grid .service-item strong {
  color: var(--color-text-heading);
  font-size: 0.88rem;
  display: block;
}
.service-analytics-grid .service-item span.desc {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.service-block {
  margin-bottom: 56px;
  padding: 36px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.service-block:last-child { margin-bottom: 0; }
.service-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-block h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--gradient-brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.service-block p { color: var(--color-text-muted); margin-bottom: 20px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
}
.service-list li {
  padding: 12px 16px;
  background: rgba(18, 19, 28, 0.5);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text);
  border-left: 2px solid var(--color-primary);
  transition: all 0.25s;
}
.service-list li:hover {
  border-left-color: var(--color-accent);
  background: rgba(247, 57, 120, 0.05);
}

/* ── Contact ── */
.contact-section { background: transparent; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  padding: 40px 36px;
  background: rgba(34, 35, 51, 0.45);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-info::before {
  display: none;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}
.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--color-text);
  font-size: 0.92rem;
}

.contact-detail .icon-wrap {
  width: 44px;
  height: 44px;
  padding: 12px;
  box-sizing: border-box;
  background: var(--gradient-brand-soft);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form {
  background: rgba(34, 35, 51, 0.45);
  backdrop-filter: blur(16px);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: rgba(18, 19, 28, 0.6);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(247, 57, 120, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  padding: 16px;
  background: rgba(95, 219, 12, 0.08);
  border: 1px solid rgba(95, 219, 12, 0.3);
  border-radius: var(--radius-sm);
  color: #9ee070;
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ── Legal ── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px var(--page-pad) 100px;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-text-heading);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-heading);
  margin: 40px 0 14px;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,57,120,0.08) 0%, rgba(95,135,173,0.06) 50%, rgba(255,166,27,0.04) 100%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  padding: 56px 40px;
  border: none;
  border-radius: var(--radius-lg);
  background: rgba(34, 35, 51, 0.45);
  backdrop-filter: blur(16px);
  max-width: 800px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.cta-banner .container::before {
  display: none;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-text-heading);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-bg-deep);
  color: var(--color-text-muted);
  padding: 64px 0 28px;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--color-text-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ── Decorative ── */
.deco-dots {
  position: absolute;
  width: 160px;
  height: 160px;
  opacity: 0.04;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
}

.deco-line {
  position: absolute;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-border-accent), transparent);
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { order: -1; }
  .hero-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-card--wide { grid-column: span 2; }
  .bento-grid .card,
  .card--featured { grid-column: span 6; }
  .about-block,
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-sidebar { position: static; }
  .values-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .two-col, .contact-grid, .footer-grid,
  .services-intro-wrap,
  .service-showcase,
  .service-showcase--reverse {
    grid-template-columns: 1fr;
  }
  .service-showcase--reverse .service-showcase__visual,
  .service-showcase--reverse .service-showcase__content { order: unset; }
  .service-items, .service-analytics-grid { grid-template-columns: 1fr; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --page-pad: 24px; }

  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 16px; right: 16px;
    background: rgba(18, 19, 28, 0.96);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); }

  .header-actions .btn-cta { display: none; }

  section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-split {
    padding-top: 56px;
    padding-bottom: 40px;
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(1.55rem, 6.2vw, 2rem);
    line-height: 1.18;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.65;
    max-width: none;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn-cta,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stat-grid { gap: 12px; }
  .stat-card { padding: 18px 16px; }

  .section-head { margin-bottom: 40px; }
  .section-title {
    font-size: clamp(1.45rem, 5.2vw, 1.9rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .section-intro,
  .about-copy p,
  .card p,
  .services-intro-text p,
  .story-para p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .bento-grid .card,
  .card--featured,
  .card--tall { grid-column: span 12; grid-row: auto; }
  .card { padding: 28px 24px; }

  .contact-form, .contact-info { padding: 28px 24px; }
  .service-block { padding: 24px; }
  .cta-banner .container { padding: 40px 24px; }
  .hero-visual-card { display: none; }

  .values-strip { grid-template-columns: 1fr; width: 100%; }
  .value-item {
    width: 100%;
    min-height: auto;
    padding: 44px 32px 40px;
    box-sizing: border-box;
  }
  .value-item h3,
  .value-item p {
    width: 100%;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 4px;
    box-sizing: border-box;
  }
  .value-item p { max-width: 34rem; }

  .services-page { padding-top: 72px; }
  .services-pillars {
    width: 100%;
    margin: 40px 0 48px;
  }
  .services-page .container.services-list {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .services-page .service-showcase {
    border-radius: 0;
    margin-bottom: 32px;
  }
  .services-page .service-showcase__visual,
  .services-page .service-showcase__panel,
  .services-page .service-showcase--reverse .service-showcase__visual,
  .services-page .service-showcase--reverse .service-showcase__panel {
    border-radius: 0;
  }
  .services-intro-highlight { padding: 28px 24px; }
  .story-para { padding-left: 40px; }
  .legal-content { padding: 28px 24px; }
}

@media (max-width: 480px) {
  :root { --page-pad: 20px; }

  section { padding: 56px 0; }
  .hero-split {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .hero h1 { font-size: clamp(1.4rem, 7vw, 1.75rem); }
  .value-item { padding: 40px 24px 36px; }
  .services-pillar { padding: 20px 18px; }
  .service-showcase__panel { padding: 28px 20px !important; }
  .card { padding: 24px 20px; }
  .stat-card { padding: 16px 14px; }
  .stat-card strong { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover, .value-item:hover, .stat-card:hover,
  .service-showcase:hover .service-showcase__frame img { transform: none; }
}
