/* =============================================================================
   IndustrieConnect24 — main stylesheet
   Aesthetic: Industrial editorial. Deep navy + signal orange. Serious, confident.
   ============================================================================= */

/* ----- Design tokens ----- */
:root {
  --navy-900: #081221;
  --navy-800: #0a1628;
  --navy-700: #142238;
  --navy-600: #1e3050;
  --navy-500: #2a4368;
  --ink: #0a1628;
  --ink-soft: #334766;
  --ink-mute: #6b7a92;
  --line: #e4e7ed;
  --line-soft: #eef0f4;
  --paper: #fafaf7;
  --paper-warm: #f4f0e8;
  --white: #ffffff;
  --accent: #ff6a1f;         /* signal orange */
  --accent-dark: #e25510;
  --accent-soft: #fff0e6;
  --success: #0b7a3b;
  --error: #b41b1b;

  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'URW Palladio L', P052, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 2px 6px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 14px rgba(10, 22, 40, 0.06), 0 10px 30px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.12);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
hr { border: 0; height: 1px; background: var(--line); margin: 3rem 0; }

/* Accessibility */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--navy-900); color: var(--white);
  padding: .5rem 1rem; z-index: 999;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ----- Layout ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}
section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 247, 0.95); }
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 1rem; padding-bottom: 1rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-mark { display: inline-flex; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-text strong { font-weight: 600; }
.brand-24 {
  color: var(--accent);
  font-weight: 600;
}
.brand-footer .brand-text { color: var(--white); }
.brand-footer .brand-text strong { color: var(--white); }

/* Primary nav */
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; gap: 1.75rem; justify-content: center; }
.primary-nav a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: .35rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.primary-nav a.active { color: var(--ink); }

.header-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--line-soft);
  padding: 3px;
  border-radius: var(--radius);
}
.lang-switch a {
  padding: .35rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-mute);
  border-radius: 2px;
  transition: all .2s var(--ease);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 12px rgba(255, 106, 31, 0.25);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 20px rgba(255, 106, 31, 0.35);
}
.btn-primary::after {
  content: '→';
  transition: transform .2s var(--ease);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { border-color: var(--ink); }

/* Mobile toggle */
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav ul { flex-direction: column; padding: 1rem; gap: .25rem; }
.mobile-nav li { display: block; }
.mobile-nav a { display: block; padding: .85rem 1rem; font-size: 1.05rem; font-weight: 500; border-radius: var(--radius); }
.mobile-nav a:hover { background: var(--line-soft); }
.mobile-nav a.btn { text-align: center; justify-content: center; }
.mobile-nav.open { display: block; }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(255, 106, 31, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  z-index: -2;
}
/* Blueprint grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 85%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-text { max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-title-1 { display: block; color: var(--ink); }
.hero-title-2 {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}
.hero-title-2 .accent { color: var(--accent); font-style: normal; font-weight: 600; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 56ch;
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

/* Hero visual — abstract industrial composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.hero-visual-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.hv-card-1 {
  top: 12%; left: 0;
  background: var(--navy-800);
  color: var(--white);
  padding: 1.75rem;
  min-width: 280px;
  border-radius: var(--radius-lg);
  transform: rotate(-2deg);
}
.hv-card-1 .hv-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; opacity: .6; margin-bottom: .5rem; }
.hv-card-1 .hv-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1; margin-bottom: .35rem; letter-spacing: -0.02em; }
.hv-card-1 .hv-desc { font-size: .9rem; opacity: .7; }

.hv-card-2 {
  bottom: 18%; right: -4%;
  min-width: 240px;
  transform: rotate(3deg);
}
.hv-card-2 .hv-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-bottom: .5rem; animation: pulse 2s infinite; }
.hv-card-2 .hv-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .3rem; }
.hv-card-2 .hv-value { font-size: 1.05rem; font-weight: 600; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 31, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255, 106, 31, 0); }
}

.hv-flag-row {
  position: absolute;
  top: 0; right: 8%;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  padding: .5rem .85rem;
  border-radius: 40px;
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hv-flag-row .arrow { color: var(--accent); font-weight: 700; }
.hv-connector {
  position: absolute;
  top: 42%; left: 30%;
  width: 40%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
  transform: rotate(12deg);
  opacity: .5;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stat .label {
  display: block;
  margin-top: .5rem;
  font-size: .88rem;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ----- Section heading ----- */
.section-head { max-width: 780px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.align-left { text-align: left; margin-left: 0; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-title .italic { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}
.section-head.align-left .section-sub { margin-left: 0; }

/* ----- Sectors grid ----- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.sector-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.sector-card:hover::before { transform: scaleX(1); }
.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.sector-icon svg { width: 22px; height: 22px; }
.sector-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
}
.sector-card p {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.sector-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: .1em;
}

/* ----- How it works ----- */
.how-section { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 85%);
}
.how-section .section-title { color: var(--white); }
.how-section .section-sub { color: rgba(255,255,255,0.6); }
.how-section .eyebrow { color: rgba(255,255,255,0.6); }
.how-section .eyebrow::before { background: var(--accent); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.how-step {
  position: relative;
  padding-top: 2rem;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 1rem;
}
.how-step h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
}
.how-step p {
  font-size: .95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
}

/* ----- About teaser ----- */
.about-teaser { background: var(--paper-warm); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-teaser h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 1.5rem; }
.about-teaser h2 .italic { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.about-teaser p { color: var(--ink-soft); font-size: 1.05rem; }
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.about-value {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
}
.about-value h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
  letter-spacing: -0.005em;
}
.about-value p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ----- CTA band ----- */
.cta-band {
  background: var(--navy-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255, 106, 31, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
  color: var(--white);
}
.cta-band p { color: rgba(255,255,255,0.7); margin: 0; }

/* ----- FAQ teaser / FAQ page ----- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink-mute);
  transition: transform .3s var(--ease);
  font-family: var(--font-display);
}
.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner {
  padding: 0 2.5rem 1.75rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
}
.faq-item.open .faq-a { max-height: 600px; }

.faq-teaser-cta { text-align: center; margin-top: 2rem; }

/* ----- Page hero (for sub-pages) ----- */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 85%);
}
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.page-hero h1 .italic { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.page-hero p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }

/* ----- Services page grid ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all .3s var(--ease);
}
.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.service-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; line-height: 1.6; }

/* ----- About page specific ----- */
.story-section { background: var(--paper); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.story-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 0;
  position: sticky;
  top: 100px;
}
.story-grid h2 .italic { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.story-grid p { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.25rem; }
.story-grid p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  float: left;
  line-height: .85;
  padding: .3rem .5rem 0 0;
  color: var(--accent);
}
.mission-section { background: var(--navy-800); color: var(--white); text-align: center; }
.mission-section .container { max-width: 820px; }
.mission-section .eyebrow { color: rgba(255,255,255,0.6); }
.mission-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}
.mission-section h2 em { color: var(--accent); font-style: italic; }

/* ----- Contact page ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field { display: block; margin-bottom: 1rem; }
.form-field label, .form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .75rem .95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.form-field-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 1.25rem 0 1.75rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.form-field-check input { margin-top: .3rem; accent-color: var(--accent); }
.form-field-check a { color: var(--ink); text-decoration: underline; }

.form-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.form-msg-success { background: #e6f5ec; color: var(--success); border-left: 3px solid var(--success); }
.form-msg-error { background: #fce8e8; color: var(--error); border-left: 3px solid var(--error); }

.form-field.error input,
.form-field.error select,
.form-field.error textarea { border-color: var(--error); }
.form-field-error { display: block; margin-top: .3rem; font-size: .82rem; color: var(--error); }

.contact-aside { position: sticky; top: 100px; }
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
}
.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: .75rem;
}
.contact-info-card p { font-size: 1.05rem; margin: 0; line-height: 1.5; }
.contact-info-card a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-info-card a:hover { color: var(--accent); }

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-col { max-width: 340px; }
.footer-tagline { font-size: .95rem; color: rgba(255,255,255,0.6); margin-top: 1rem; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom small { color: rgba(255,255,255,0.5); font-size: .85rem; }
.footer-langs a {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: .05em;
  margin-left: .75rem;
}
.footer-langs a:first-child { margin-left: 0; }
.footer-langs a.active, .footer-langs a:hover { color: var(--accent); }

/* ----- Legal pages ----- */
.legal-body {
  max-width: 780px;
  margin: 0 auto;
}
.legal-body h2 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  letter-spacing: -0.005em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body ul { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.legal-body ul { padding-left: 1.25rem; list-style: disc; margin-bottom: 1rem; }
.legal-body li { margin-bottom: .35rem; }
.legal-body strong { color: var(--ink); font-weight: 600; }

/* ----- Animations on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .about-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-grid h2 { position: static; }
  .contact-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
  .hero-stat { padding-left: 1rem; border-left: 2px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hv-card-1 { min-width: 220px; padding: 1.25rem; }
  .hv-card-1 .hv-value { font-size: 1.75rem; }
  .hv-card-2 { min-width: 200px; right: 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================ */
/* Error pages (404, 403, 500)                                   */
/* ============================================================ */
.error-page {
    padding: 6rem 0;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}
.error-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 14vw, 10rem);
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.error-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--ink);
    margin: 1rem 0 0.75rem;
    letter-spacing: -0.01em;
}
.error-sub {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.error-actions {
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================ */
/* Breadcrumbs                                                    */
/* ============================================================ */
.breadcrumbs {
    background: var(--paper-warm);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 0;
    font-size: 0.85rem;
}
.breadcrumbs ol {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-mute);
    list-style: none;
}
.breadcrumbs li[aria-current="page"] {
    color: var(--ink);
    font-weight: 500;
}
.breadcrumbs a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.breadcrumbs .sep {
    color: var(--ink-mute);
    opacity: 0.6;
}

/* ============================================================ */
/* Accessibility: stronger focus ring (keyboard users)           */
/* ============================================================ */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}
.btn:focus-visible {
    outline-offset: 3px;
}

/* Ensure skip-link is visible when focused */
.skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
    background: var(--ink);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================================ */
/* ============  HOMEPAGE V2 — redesigned hero + new sections     ============= */
/* ============================================================================ */

/* ---------- HERO V2 ---------- */
.hero-v2 {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 40%, transparent 90%);
    z-index: 0;
}
.hero-v2 .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-v2 .hero-title-1 {
    display: block;
    color: var(--ink);
}
.hero-v2 .hero-title-2 {
    display: block;
    color: var(--accent);
    font-style: italic;
}
.hero-v2 .hero-sub {
    max-width: 46ch;
    margin-top: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.hero-v2 .hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-trust-item .check {
    color: var(--success);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Hero visual v2 — editorial data card */
.hero-visual-v2 {
    position: relative;
    min-height: 380px;
}
.hv2-main-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 24px 48px -12px rgba(10, 22, 40, 0.12);
    position: relative;
    z-index: 2;
}
.hv2-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 1.5rem;
}
.hv2-flag {
    font-size: 1.5rem;
    line-height: 1;
}
.hv2-route {
    font-size: 0.8rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.hv2-big-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}
.hv2-big-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 500;
    color: var(--accent);
    line-height: 0.9;
    letter-spacing: -0.03em;
}
.hv2-big-label {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.4;
    max-width: 22ch;
}
.hv2-divider {
    height: 1px;
    background: var(--line-soft);
    margin: 1.75rem 0;
}
.hv2-sub-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.hv2-sub-stats > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.hv2-sub-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
}
.hv2-sub-label {
    font-size: 0.78rem;
    color: var(--ink-mute);
    line-height: 1.4;
}
.hv2-floating-badge {
    position: absolute;
    top: -0.85rem;
    right: -0.85rem;
    background: var(--navy-900);
    color: white;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    box-shadow: 0 8px 20px -4px rgba(10, 22, 40, 0.25);
}
.hv2-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3ede8c;
    box-shadow: 0 0 0 3px rgba(62, 222, 140, 0.25);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(62, 222, 140, 0.25); }
    50%      { box-shadow: 0 0 0 6px rgba(62, 222, 140, 0.12); }
}

/* ---------- TRUST BAND ---------- */
.trust-band {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.trust-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    margin: 0 0 1.75rem 0;
    font-weight: 600;
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
    justify-content: center;
    align-items: center;
}
.trust-logo-placeholder {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-mute);
    opacity: 0.75;
    letter-spacing: 0.02em;
    padding: 0.5rem 1rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ---------- WHY BOSNIA ---------- */
.why-section {
    padding: 6rem 0;
    background: var(--paper);
}
.section-head-wide {
    max-width: 720px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(10, 22, 40, 0.1);
    border-color: var(--accent);
}
.why-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.why-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- CASE STUDY ---------- */
.case-study {
    padding: 6rem 0;
    background: var(--navy-900);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.case-study::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 106, 31, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 31, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    opacity: 0.5;
}
.case-study .container { position: relative; z-index: 1; }

.case-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}
.eyebrow-light {
    color: var(--accent);
}
.case-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0.75rem 0 2rem;
}
.case-quote {
    margin: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}
.case-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.25rem;
}
.case-quote footer {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.case-quote footer strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}
.case-quote footer span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.case-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.case-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s;
}
.case-stat:hover {
    border-color: var(--accent);
}
.case-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.case-stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* ---------- TESTIMONIALS ---------- */
.testi-section {
    padding: 6rem 0;
    background: var(--paper-warm);
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.testi-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 0;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(10, 22, 40, 0.1);
}
.testi-card::before {
    content: """;
    font-family: var(--font-display);
    position: absolute;
    top: 0.25rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}
.testi-card blockquote {
    margin: 0 0 1.5rem;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
    position: relative;
    z-index: 1;
}
.testi-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-soft);
}
.testi-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}
.testi-company {
    font-size: 0.8rem;
    color: var(--ink-mute);
}

/* ---------- LEAD MAGNET ---------- */
.magnet-section {
    padding: 6rem 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.magnet-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.magnet-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 1rem;
    color: var(--ink);
}
.magnet-sub {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}
.magnet-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.magnet-bullets li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--ink);
    font-size: 0.95rem;
}
.magnet-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

/* PDF mock graphic */
.magnet-pdf-mock {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 24px 48px -12px rgba(10, 22, 40, 0.15);
    max-width: 320px;
    margin-left: auto;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}
.magnet-pdf-mock:hover {
    transform: rotate(0deg);
}
.magnet-pdf-header {
    background: var(--navy-900);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius) var(--radius) 0 0;
}
.magnet-pdf-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
}
.magnet-pdf-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.magnet-pdf-line {
    height: 10px;
    background: var(--line);
    border-radius: 2px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero-v2 .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual-v2 { min-height: 320px; }
    .why-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .case-stats { flex-direction: row; flex-wrap: wrap; }
    .case-stat { flex: 1 1 180px; }
    .testi-grid { grid-template-columns: 1fr; }
    .magnet-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .magnet-pdf-mock { margin: 0 auto; }
}

/* Button size variant */
.btn-lg {
    padding: 0.95rem 1.6rem;
    font-size: 1.05rem;
}


/* ============================================================================ */
/* ============  CONTACT PAGE V2 — hero + process + form + trust  ============= */
/* ============================================================================ */

/* ---------- Hero ---------- */
.contact-hero-v2 {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 100% at 30% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 100% at 30% 50%, black 30%, transparent 80%);
    z-index: 0;
}
.contact-hero-v2 .container { position: relative; z-index: 1; }
.contact-hero-inner {
    max-width: 920px;
}
.contact-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4.4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 1rem;
    color: var(--ink);
    text-wrap: balance;
}
.contact-hero-sub {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 58ch;
    margin: 0;
}

/* ---------- Process strip ---------- */
.contact-process {
    padding: 2.5rem 0 4rem;
}
.contact-process-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}
.contact-process-grid::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line) 10%, var(--line) 90%, transparent 100%);
    z-index: 0;
}
.contact-process-step {
    position: relative;
    padding: 0 0.5rem;
    z-index: 1;
}
.cps-num {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}
.contact-process-step h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 0.4rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.contact-process-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ---------- Main grid (form + trust col) ---------- */
.contact-main {
    padding: 0 0 6rem;
}
.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ---------- Form ---------- */
.contact-form-wrap-v2 {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}
.contact-form-head { margin-bottom: 1.75rem; }
.contact-form-head h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}
.contact-form-intro {
    margin: 0;
    color: var(--ink-mute);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Role tiles */
.role-tiles {
    border: 0;
    padding: 0;
    margin: 0 0 1.25rem;
}
.role-tiles legend {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
    padding: 0;
}
.role-tiles.error legend { color: var(--error); }
.role-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.role-tile {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.role-tile:hover {
    border-color: var(--ink-mute);
    background: var(--paper-warm);
}
.role-tile.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.role-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.role-tile-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--accent);
}
.role-tile-icon svg { width: 100%; height: 100%; }
.role-tile-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.role-tile-short {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.2;
}
.role-tile-sub {
    font-size: 0.82rem;
    color: var(--ink-mute);
    line-height: 1.35;
}

/* Character counter on message */
.char-counter {
    float: right;
    font-size: 0.78rem;
    color: var(--ink-mute);
    font-weight: 400;
}

/* File input */
.form-field-file { margin-bottom: 1.25rem; }
.field-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-mute);
    font-weight: 400;
    margin-top: 0.1rem;
}
.file-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.file-input-wrap input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.file-input-btn {
    display: inline-block;
    padding: 0.55rem 1rem;
    background: var(--paper-warm);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    margin: 0;
}
.file-input-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-dark);
}
.file-input-name {
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-style: italic;
}

/* ---------- Trust column ---------- */
.contact-trust-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-trust-card {
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.contact-trust-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 106, 31, 0.14), transparent 50%);
    pointer-events: none;
}
.contact-trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: #fff;
    position: relative;
    letter-spacing: -0.01em;
}
.ctc-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    position: relative;
}
.ctc-list {
    position: relative;
    margin: 0;
    padding: 0;
}
.ctc-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ctc-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ctc-row dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    font-weight: 600;
    align-self: center;
}
.ctc-row dd {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    align-self: center;
}
.ctc-row dd a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    transition: border-color 0.15s;
}
.ctc-row dd a:hover { border-bottom-color: var(--accent); }

.ctc-response {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ctc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ede8c;
    box-shadow: 0 0 0 3px rgba(62, 222, 140, 0.25);
    animation: pulse-dot 2s ease-in-out infinite;
}

.ctc-person {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.35;
}
.ctc-person strong {
    font-weight: 600;
    color: #fff;
}
.ctc-person-role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Mini testimonial */
.contact-testi {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin: 0;
    position: relative;
}
.contact-testi blockquote {
    margin: 0 0 1rem;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
}
.contact-testi figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line-soft);
}
.contact-testi figcaption strong {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
}
.contact-testi figcaption span {
    font-size: 0.78rem;
    color: var(--ink-mute);
}

/* Trust badges — quiet inline footnote style */
.contact-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.contact-badges li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-mute);
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.cb-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    background: transparent;
    color: var(--ink-mute);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    flex-shrink: 0;
    opacity: 0.75;
}

/* Lead magnet alt CTA */
.contact-magnet-alt {
    background: var(--accent-soft);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.contact-magnet-alt h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.contact-magnet-alt p {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

/* ---------- Mini FAQ at bottom ---------- */
.contact-mini-faq {
    background: var(--paper-warm);
    padding: 5rem 0;
    border-top: 1px solid var(--line);
}
.mini-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.mini-faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.mini-faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 0.6rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.mini-faq-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .contact-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-process-grid {
        grid-template-columns: 1fr;
    }
    .contact-process-grid::before { display: none; }
    .role-tiles-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap-v2 {
        padding: 1.75rem;
    }
    .mini-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================ */
/* ============  FAQ PAGE V2 — categories + tabs + CTAs + anchor share ======== */
/* ============================================================================ */

/* ---------- Hero ---------- */
.faq-hero-v2 {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.faq-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 100% at 20% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 20% 40%, black 30%, transparent 80%);
    z-index: 0;
}
.faq-hero-v2 .container { position: relative; z-index: 1; }
.faq-hero-inner { max-width: 700px; }
.faq-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 1rem;
    color: var(--ink);
}
.faq-hero-sub {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 58ch;
    margin: 0;
}

/* ---------- Category tabs ---------- */
.faq-tabs-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10;
}
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s ease;
}
.faq-tab:hover {
    border-color: var(--ink-mute);
    color: var(--ink);
    transform: translateY(-1px);
}
.faq-tab.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}
.faq-tab.is-active .faq-tab-count {
    background: var(--accent);
    color: var(--white);
}
.faq-tab-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}
.faq-tab-icon svg { width: 100%; height: 100%; }
.faq-tab-label { font-weight: 500; }
.faq-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    background: var(--paper-warm);
    color: var(--ink-mute);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.15s;
}

/* ---------- Category blocks ---------- */
.faq-list-section {
    padding: 3rem 0 5rem;
}
.faq-category-block {
    margin-bottom: 3rem;
}
.faq-category-block:last-child { margin-bottom: 0; }

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}
.faq-category-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.faq-category-icon svg { width: 1.5rem; height: 1.5rem; }
.faq-category-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 0.2rem;
    color: var(--ink);
}
.faq-category-header p {
    margin: 0;
    color: var(--ink-mute);
    font-size: 0.9rem;
}

/* ---------- FAQ list ---------- */
.faq-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item-v2 {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    scroll-margin-top: 100px;
}
.faq-item-v2:hover { border-color: var(--ink-mute); }
.faq-item-v2.is-popular { border-color: var(--accent); }

.faq-item-q { margin: 0; }
.faq-q-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.faq-q-btn:hover { background: var(--paper-warm); }
.faq-q-text {
    flex: 1;
    line-height: 1.4;
}

.faq-badge-popular {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.faq-q-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--ink-mute);
    transition: transform 0.25s ease, color 0.15s;
    flex-shrink: 0;
}
.faq-q-icon svg { width: 100%; height: 100%; }
.faq-q-btn[aria-expanded="true"] .faq-q-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-a-v2 {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}
.faq-q-btn[aria-expanded="true"] + .faq-a-v2,
.faq-item-v2.is-open .faq-a-v2 {
    max-height: 1500px;
    opacity: 1;
}
.faq-a-inner-v2 {
    padding-top: 0;
}
.faq-a-inner-v2 > p {
    padding: 0 1.5rem 1.25rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.faq-a-footer {
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px dashed var(--line);
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.faq-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    background: var(--paper-warm);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink-mute);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.faq-copy-link:hover {
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-color: var(--accent);
}
.faq-copy-link.faq-copy-success {
    color: var(--success);
    background: #e6f5ec;
    border-color: var(--success);
}
.faq-copy-link svg {
    flex-shrink: 0;
}

/* ---------- Inline CTAs ---------- */
.faq-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin: 0.5rem 0;
    flex-wrap: wrap;
}
.faq-inline-cta-primary {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.faq-inline-cta-primary::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 31, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.faq-inline-cta-primary h3,
.faq-inline-cta-primary p { position: relative; }
.faq-inline-cta-primary h3 { color: white; }
.faq-inline-cta-primary p { color: rgba(255, 255, 255, 0.7); }
.faq-inline-cta-primary .btn {
    position: relative;
    z-index: 1;
}

.faq-inline-cta-ghost {
    background: var(--accent-soft);
    border: 1px dashed var(--accent);
}
.faq-inline-cta-ghost h3 { color: var(--ink); }
.faq-inline-cta-ghost p { color: var(--ink-soft); }

.faq-inline-cta-text { flex: 1; min-width: 240px; }
.faq-inline-cta h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}
.faq-inline-cta p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---------- Final CTA ---------- */
.faq-cta-v2 {
    padding: 5rem 0;
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
}
.faq-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.faq-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--ink);
}
.faq-cta-inner p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 0 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .faq-tabs-section { position: static; }
    .faq-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        margin-bottom: -0.5rem;
    }
    .faq-tab { flex-shrink: 0; }
    .faq-category-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }
    .faq-inline-cta {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .faq-q-btn { padding: 1rem 1.25rem; font-size: 0.95rem; }
    .faq-a-inner-v2 > p { padding: 0 1.25rem 1rem; }
    .faq-a-footer { padding: 0.6rem 1.25rem 1rem; }
}


/* ============================================================================ */
/* ============   SERVICES PAGE V2   ========================================== */
/* ============================================================================ */

/* ---------- Hero ---------- */
.svc-hero-v2 {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.svc-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 100% at 25% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 25% 50%, black 30%, transparent 80%);
    z-index: 0;
}
.svc-hero-v2 .container { position: relative; z-index: 1; }
.svc-hero-inner { max-width: 1100px; }
.svc-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.6vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 1rem;
    color: var(--ink);
    text-wrap: balance;
}
.svc-hero-sub {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 62ch;
    margin: 0;
}

/* ---------- Filter tabs ---------- */
.svc-filter-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.svc-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.svc-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s;
}
.svc-filter-tab:hover {
    border-color: var(--ink-mute);
    color: var(--ink);
    transform: translateY(-1px);
}
.svc-filter-tab.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}
.svc-filter-tab.is-active .svc-filter-count {
    background: var(--accent);
    color: var(--white);
}
.svc-filter-label { font-weight: 500; }
.svc-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    background: var(--paper-warm);
    color: var(--ink-mute);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.15s;
}

/* ---------- Service detail cards ---------- */
.svc-list-section {
    padding: 3.5rem 0 5rem;
}
.svc-detail-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    scroll-margin-top: 90px;
}
.svc-detail-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 32px -8px rgba(10, 22, 40, 0.1);
    transform: translateY(-2px);
}

.svc-card-header {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}
.svc-card-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.svc-card-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--accent);
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.svc-card-icon svg { width: 1.6rem; height: 1.6rem; }
.svc-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.svc-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.svc-card-audiences {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.svc-aud-badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-mute);
}
.svc-aud-badge.svc-aud-buyer    { background: #e6f0ff; color: #1453b3; border-color: #c9dffb; }
.svc-aud-badge.svc-aud-producer { background: #fff0e6; color: var(--accent-dark); border-color: #ffd4b8; }
.svc-aud-badge.svc-aud-worker   { background: #e6f5ec; color: var(--success); border-color: #c6e4d0; }

.svc-card-pitch {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.75rem;
}

.svc-card-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line-soft);
}

.svc-subheading {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    margin: 0 0 0.85rem;
}

.svc-card-included ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.svc-card-included li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.5;
}
.svc-card-included li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.svc-card-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.svc-meta-block p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}
.svc-meta-facts {
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--paper-warm);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.svc-meta-facts > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.85rem;
    align-items: baseline;
}
.svc-meta-facts dt {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin: 0;
    white-space: nowrap;
}
.svc-meta-facts dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.45;
}

.svc-card-related {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--line);
    font-size: 0.85rem;
    color: var(--ink-mute);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.svc-related-label {
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}
.svc-card-related a {
    color: var(--accent-dark);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    transition: color 0.15s;
}
.svc-card-related a:hover { color: var(--accent); }

/* ---------- Inline CTA blocks on service page ---------- */
.svc-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    margin: 0.5rem 0 1.5rem;
    flex-wrap: wrap;
}
.svc-inline-cta-primary {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.svc-inline-cta-primary::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 31, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.svc-inline-cta-primary h3,
.svc-inline-cta-primary p { position: relative; }
.svc-inline-cta-primary h3 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}
.svc-inline-cta-primary p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 55ch;
}
.svc-inline-cta .btn { position: relative; z-index: 1; flex-shrink: 0; }
.svc-inline-cta-text { flex: 1; min-width: 260px; }

/* ---------- Editorial dark band ---------- */
.svc-band {
    position: relative;
    padding: 5rem 0;
    background: var(--navy-900);
    color: white;
    overflow: hidden;
}
.svc-band-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 106, 31, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 31, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    opacity: 0.6;
}
.svc-band .container { position: relative; z-index: 1; }
.svc-band-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.svc-band-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    margin: 0.75rem 0 1rem;
}
.svc-band-sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 58ch;
    margin: 0;
}
.svc-band-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.svc-band-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s;
}
.svc-band-stat:hover { border-color: var(--accent); }
.svc-band-stat .num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.svc-band-stat .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* ---------- Bundles table ---------- */
.svc-bundles {
    padding: 5rem 0;
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
}
.svc-bundles-table {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    align-items: stretch;
}
.svc-bundle-col {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.svc-bundle-col.is-popular {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: 0 12px 32px -8px rgba(255, 106, 31, 0.18);
    transform: translateY(-4px);
    position: relative;
}
.svc-bundle-header-col {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none !important;
}

.svc-bundle-head {
    padding: 1.75rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.svc-bundle-col.is-popular .svc-bundle-head {
    background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
}
.svc-bundle-popular-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}
.svc-bundle-tagline {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.svc-bundle-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 0.3rem;
    color: var(--ink);
}
.svc-bundle-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.svc-bundle-head-spacer {
    padding: 1.75rem 0;
    min-height: 112px;
}

.svc-bundle-row-label {
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    font-weight: 500;
    line-height: 1.35;
    border-top: 1px solid var(--line-soft);
}
.svc-bundle-row-label:first-of-type {
    border-top: 0;
}

.svc-bundle-cell {
    padding: 0.9rem 1.25rem;
    font-size: 0.88rem;
    color: var(--ink);
    line-height: 1.35;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.svc-bundle-cell:first-of-type { border-top: 0; }
.svc-bundle-cell.is-negative {
    color: var(--ink-mute);
    text-decoration: line-through;
}
.svc-bundle-row-label-inline {
    display: none;
    font-size: 0.75rem;
    color: var(--ink-mute);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.svc-bundle-value {
    font-weight: 500;
}

/* ---------- Mid CTA ---------- */
.svc-mid-cta {
    padding: 3.5rem 0;
    background: var(--paper);
}
.svc-mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}
.svc-mid-cta-inner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 106, 31, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.svc-mid-cta-inner > div { position: relative; flex: 1; min-width: 280px; }
.svc-mid-cta-inner h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
    color: white;
}
.svc-mid-cta-inner p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    max-width: 55ch;
}
.svc-mid-cta-inner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Competitor comparison ---------- */
.svc-compare {
    padding: 5rem 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.svc-compare-table-wrap {
    margin-top: 3rem;
    overflow-x: auto;
}
.svc-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 680px;
}
.svc-compare-table th,
.svc-compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
    line-height: 1.4;
    border-top: 1px solid var(--line-soft);
}
.svc-compare-table thead th {
    padding: 1.25rem;
    background: var(--paper-warm);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
    border-top: 0;
    border-bottom: 2px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
}
.svc-compare-table thead .svc-compare-us-head {
    background: var(--accent);
    color: white;
    border-bottom-color: var(--accent-dark);
}
.svc-compare-table tbody th {
    background: var(--paper-warm);
    font-weight: 600;
    color: var(--ink-soft);
    width: 30%;
}
.svc-compare-table td.svc-compare-us {
    background: var(--accent-soft);
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .svc-card-body {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .svc-band-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .svc-band-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .svc-band-stat { flex: 1 1 200px; }
    .svc-bundles-table {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .svc-bundle-header-col {
        display: none;  /* Mobile: labels move inline */
    }
    .svc-bundle-row-label-inline {
        display: block;
        margin-bottom: 0.2rem;
    }
    .svc-bundle-cell {
        padding: 0.85rem 1.5rem;
        border-top: 1px dashed var(--line-soft);
    }
    .svc-bundle-col.is-popular {
        transform: none;
    }
    .svc-mid-cta-inner { padding: 2rem; }
    .svc-inline-cta { padding: 1.5rem; }
    .svc-detail-card { padding: 1.75rem; }
    .svc-card-header {
        grid-template-columns: auto auto 1fr;
        gap: 0.75rem;
    }
    .svc-card-num { font-size: 1.5rem; }
    .svc-filter-section { position: static; }
    .svc-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-bottom: -0.5rem;
    }
    .svc-filter-tab { flex-shrink: 0; }
}

@media (max-width: 560px) {
    .svc-card-pitch { font-size: 0.95rem; }
    .svc-compare-table thead th,
    .svc-compare-table tbody th,
    .svc-compare-table td {
        padding: 0.75rem 0.85rem;
        font-size: 0.85rem;
    }
}
/* ----- Brochure section (about.php) ----- */
.brochure-section { background: var(--paper); padding-top: 0; }
.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.brochure-content { max-width: 480px; }
.brochure-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0.5rem 0 1.25rem;
}
.brochure-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.brochure-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #1a1a1a;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.brochure-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(255, 106, 31, 0.18);
  color: #fff;
}
.brochure-card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 30%, var(--accent) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, var(--accent) 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, var(--accent) 1px, transparent 1.5px);
  background-size: 60px 60px, 80px 80px, 70px 70px;
  pointer-events: none;
}
.brochure-card-icon {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease);
}
.brochure-card:hover .brochure-card-icon { transform: scale(1.05); }
.brochure-card-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.brochure-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.015em;
}
.brochure-card-cta {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
  transition: color .25s var(--ease);
}
.brochure-card:hover .brochure-card-cta { color: var(--accent); }

.brochure-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.brochure-share-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 0.25rem;
}
.brochure-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.brochure-share-btn svg { flex-shrink: 0; }
.brochure-share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .brochure-grid { grid-template-columns: 1fr; }
  .brochure-card { aspect-ratio: 5 / 4; }
  .brochure-share { gap: 0.5rem; }
  .brochure-share-label { width: 100%; margin-bottom: 0.25rem; }
}
/* ============================================================
   Featured Work strip (homepage — index.php)
   ============================================================ */
.featured-work {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.featured-head .eyebrow { margin-bottom: 0.6rem; display: inline-block; }
.featured-head .section-title { margin: 0; }
.featured-view-all {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.featured-view-all:hover { color: var(--accent); border-color: var(--accent); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .featured-grid { grid-template-columns: repeat(2, 1fr); } }

.featured-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line-soft);
  text-decoration: none;
}
.featured-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.featured-tile img.is-loaded,
.featured-tile img[src] { opacity: 1; }
.featured-tile:hover img { transform: scale(1.05); }

.featured-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px;
  background: linear-gradient(to top, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 50%);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.featured-tile:hover .featured-tile-overlay,
.featured-tile:focus-visible .featured-tile-overlay { opacity: 1; }

.featured-tile-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.featured-tile-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ============================================================
   References landing page (references/index.php)
   ============================================================ */
.references-landing { background: var(--paper); }

.ref-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .ref-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ref-card-grid { grid-template-columns: 1fr; } }

.ref-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ref-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08);
  color: var(--ink);
}
.ref-card-img {
  aspect-ratio: 4 / 3;
  background: var(--line-soft);
  position: relative;
  overflow: hidden;
}
.ref-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.ref-card:hover .ref-card-img img { transform: scale(1.04); }

.ref-card-empty-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  opacity: 0.35;
}
.ref-card.is-empty .ref-card-img { background: var(--paper-warm); }

.ref-card-meta { padding: 1.1rem 1.4rem 1.25rem; }
.ref-card-meta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  letter-spacing: -0.015em;
}
.ref-card-count {
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ref-card.is-empty .ref-card-count { color: var(--accent); font-style: italic; }

.ref-card-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.ref-card:hover .ref-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--accent);
  color: #fff;
}

.ref-landing-cta { text-align: center; margin-top: 1.5rem; }
.ref-back-link {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
}
.ref-back-link a { color: var(--ink-mute); text-decoration: none; transition: color .2s var(--ease); }
.ref-back-link a:hover { color: var(--accent); }

/* ============================================================
   References gallery (references/category.php)
   ============================================================ */
.references-section { background: var(--paper); }

.ref-empty {
  text-align: center;
  color: var(--ink-mute);
  padding: 4rem 1rem;
  font-style: italic;
}

.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ref-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.ref-filter:hover { border-color: var(--accent); color: var(--accent); }
.ref-filter.is-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.ref-filter-count { font-size: 0.75rem; font-weight: 400; opacity: 0.7; }
.ref-filter.is-active .ref-filter-count { opacity: 0.85; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ref-grid { grid-template-columns: repeat(2, 1fr); } }

.ref-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line-soft);
  text-decoration: none;
  cursor: zoom-in;
}
.ref-tile.is-hidden { display: none; }
.ref-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.ref-tile img.is-loaded { opacity: 1; }
.ref-tile:hover img { transform: scale(1.04); }
.ref-tile-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 10, 10, 0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.ref-tile:hover .ref-tile-tag,
.ref-tile:focus-visible .ref-tile-tag { opacity: 1; }

/* Lightbox */
.ref-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4rem;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.ref-lightbox[hidden] { display: none; }
.ref-lightbox.is-open { opacity: 1; }

.ref-lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ref-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: 4px;
  background: #000;
}
.ref-lightbox-caption { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; text-align: center; }

.ref-lightbox-close, .ref-lightbox-prev, .ref-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.ref-lightbox-close:hover, .ref-lightbox-prev:hover, .ref-lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.ref-lightbox-close { top: 1rem; right: 1rem; }
.ref-lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.ref-lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.ref-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.ref-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 640px) {
  .ref-lightbox { padding: 1rem; }
  .ref-lightbox-prev  { left: 0.5rem; }
  .ref-lightbox-next  { right: 0.5rem; }
  .ref-lightbox-close { top: 0.5rem; right: 0.5rem; }
  .ref-lightbox-img   { max-height: calc(100vh - 6rem); }
}
body.ref-lightbox-open { overflow: hidden; }
/* ============================================================
   SERVICES — Concrete deliverables section (new)
   ============================================================ */
.svc-concrete {
    padding: 5rem 0 4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
}
.svc-concrete .section-head {
    margin-bottom: 2.75rem;
}
.svc-concrete-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.svc-concrete-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-concrete-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.svc-concrete-card-wide {
    grid-column: span 1;
}
.svc-concrete-title {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.005em;
}
.svc-concrete-desc {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}
.svc-concrete-trades {
    color: var(--ink);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0.15rem 0 0;
    font-weight: 500;
}
.svc-concrete-link {
    margin-top: auto;
    padding-top: 0.4rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    align-self: flex-start;
}
.svc-concrete-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.svc-concrete-brands {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.15rem;
}
.svc-concrete-brand {
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* USP strip */
.svc-concrete-usp {
    background: var(--navy-800);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2.25rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.75rem;
}
.svc-concrete-usp-item {
    color: var(--white);
    font-size: 0.93rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.005em;
}
.svc-concrete-usp-check {
    color: var(--accent);
    font-weight: 700;
}

/* Section CTA */
.svc-concrete-cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.svc-concrete-cta-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin: 0 0 0.65rem;
    letter-spacing: -0.005em;
}
.svc-concrete-cta-sub {
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 0 1.4rem;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .svc-concrete { padding: 4rem 0 3rem; }
    .svc-concrete-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .svc-concrete-grid {
        grid-template-columns: 1fr;
    }
    .svc-concrete-usp {
        gap: 0.85rem 1.5rem;
        padding: 1rem 1.25rem;
    }
    .svc-concrete-usp-item { font-size: 0.88rem; }
    .svc-concrete-cta-title { font-size: 1.3rem; }
}