/* ============================================================
   ULTRA COMMERCIAL & CO. — HOME PAGE (ultra-redesign)
   Developios shape · Ultra color. Self-contained: index.html
   loads ONLY this file (+ Google Fonts + GSAP). Other pages
   are untouched and still use styles.css.
   ============================================================ */

:root {
  /* Brand */
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #3B82F6;
  --blue-tint:   #EFF6FF;
  --orange:      #F97316;
  --orange-dark: #EA580C;
  --orange-tint: #FFF7ED;

  /* Surfaces */
  --bg:          #F8FAFC;
  --bg-alt:      #F1F5F9;
  --bg-card:     #FFFFFF;
  --bg-dark:     #0F172A;
  --bg-dark-mid: #1E293B;
  --white:       #FFFFFF;

  /* Text */
  --text:        #1E293B;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --text-on-dark:       #F8FAFC;
  --text-on-dark-muted: #94A3B8;

  /* Borders */
  --border:      #E2E8F0;
  --border-dark: #334155;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 14px rgba(15,23,42,.08);
  --shadow-lg: 0 -8px 36px 2px rgba(142,142,142,.2);
  --shadow-blue: 0 4px 20px rgba(37,99,235,.25);

  /* Supporting accents — used only for the 4-step Process cards */
  --teal:        #0D9488;
  --teal-tint:   #F0FDFA;
  --indigo:      #4338CA;
  --indigo-tint: #EEF2FF;

  /* Type */
  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-accent:  'Instrument Serif', Georgia, serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(5rem, 10vw, 8rem);
  --gap-card: 1rem;
  --gap-grid: 1.5rem;
  --nav-h: 72px;

  /* Radius */
  --radius-sm:  .5rem;
  --radius-md:  .75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2.5rem;
  --radius-pill: 100px;

  /* Motion */
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.23,1,.32,1);
  --ease-snap: cubic-bezier(.34,1.56,.64,1);
  --ease-menu: cubic-bezier(.77,0,.18,1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 350ms;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--orange); color: #fff; }

/* ---- Primitives ---- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: "/"; color: var(--orange); opacity: .7; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section--dark .section-head h2 { color: var(--text-on-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); font-weight: 600; }
h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.016em; }
h3 { font-size: 1.5rem; line-height: 1.24; letter-spacing: -.008em; }
h4 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.008em; }
p  { color: var(--text-muted); max-width: 60ch; }
.section--dark p { color: var(--text-on-dark-muted); }
.lead { font-size: 1.125rem; line-height: 1.6; }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.idx {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-light);
}

/* ---- Buttons ---- */
.btn {
  font: 500 .9375rem/1 var(--font-display);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--dur-slow) var(--ease-soft), background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.99); }
.btn-primary   { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: .625rem 1.125rem; font-size: .875rem; }
.btn .arrow { transition: transform var(--dur-slow) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow .arrow { transition: transform var(--dur-slow) var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---- Tag pills ---- */
.tag {
  font: 500 .875rem/1 var(--font-display);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.section--dark .tag { background: var(--bg-dark-mid); border-color: var(--border-dark); color: var(--text-on-dark-muted); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.92); }
.nav-inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); width: 100%; display: flex; align-items: center; gap: 2rem; }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav-link {
  font: 500 .9375rem/1 var(--font-display);
  color: var(--text-muted);
  padding: .55rem .85rem;
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-link:hover, .nav-link.active { background: rgba(15,23,42,.05); color: var(--text); }
.nav-cta { flex-shrink: 0; display: flex; align-items: center; gap: .6rem; }

/* dropdown */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: .3rem; }
.nav-item > .nav-link::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-base) var(--ease-snap);
}
.nav-item:hover > .nav-link::after { transform: translateY(0) rotate(-135deg); }
.nav-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 320px; padding: .5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 12px 40px -12px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.nav-item:hover .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-panel::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav-panel a { display: block; padding: .7rem .85rem; border-radius: var(--radius-md); font-size: .9rem; color: var(--text-muted); transition: background var(--dur-fast), color var(--dur-fast); }
.nav-panel a:hover { background: var(--bg-alt); color: var(--text); }

/* hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: var(--radius-md); align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur-slow) var(--ease-menu), opacity var(--dur-fast); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: var(--bg-card);
  padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a { font: 500 1.1rem/1 var(--font-display); color: var(--text); padding: 1rem .25rem; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 1.5rem; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); text-align: center; overflow: hidden; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.75rem; }
.proof-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 500 .8125rem/1 var(--font-display); color: var(--text-muted);
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: .5rem .9rem; border-radius: var(--radius-pill);
}
.proof-pill svg { color: var(--blue); }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero .lead { max-width: 56ch; margin: 1.5rem auto 0; color: var(--text-muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2.25rem; }

.hero-media {
  position: relative;
  max-width: 1040px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
}
.hero-media-main {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px -34px rgba(15, 23, 42, .5);
}
.hero-media-side {
  position: absolute;
  z-index: 5;
  width: clamp(150px, 17vw, 220px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 7px solid var(--white);
  box-shadow: 0 28px 60px -20px rgba(15, 23, 42, .45);
}
.hero-media-side.left  { left: -54px; bottom: -44px; transform: rotate(-5deg); }
.hero-media-side.right { right: -54px; top: -44px; transform: rotate(5deg); }

.hero-stats {
  display: flex; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.hero-stat { flex: 1 1 0; min-width: 140px; padding: 1.4rem 1.5rem; text-align: center; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: 0; }
.hero-stat b { display: block; font: 700 clamp(1.6rem,2.6vw,2rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.hero-stat span { font: 500 .8125rem/1.4 var(--font-display); color: var(--text-light); }

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.marquee-wrap { padding-block: clamp(3rem, 6vw, 4.5rem); border-block: 1px solid var(--border); overflow: hidden; }
.marquee-label { display: block; width: 100%; max-width: none; margin: 0 auto 2rem; text-align: center; font: 500 .8125rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); }
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Each set is identical and slides its own full width left, then repeats —
   packed tight (fixed gap, no space-around) so the strip reads dense, not sparse. */
.marquee-set {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-right: clamp(2.5rem, 5vw, 4.5rem);
  flex-shrink: 0;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-set { animation-play-state: paused; }
.marquee img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform var(--dur-base) var(--ease-out);
}
.marquee img:hover { transform: scale(1.08); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ============================================================
   ABOUT STATEMENT
   ============================================================ */
.about-statement h2 { max-width: 16ch; font-weight: 600; }
.about-statement h2 .accent { display: inline; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.about-photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-callouts { display: grid; gap: 2rem; margin-top: 2rem; }
.callout .idx { display: block; margin-bottom: .35rem; font-size: .75rem; letter-spacing: .04em; }
.callout b { font: 700 2.5rem/1 var(--font-display); letter-spacing: -.02em; color: var(--text); display: block; margin-bottom: .3rem; }
.callout > span:not(.idx) { color: var(--text-muted); font-size: .95rem; }

/* ============================================================
   SERVICE CARDS (Solutions)
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 320px;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), border-color var(--dur-slow);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.svc-card .idx { order: -1; }
.svc-ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.svc-card h3 { font-size: 1.35rem; }
.svc-card p { font-size: .95rem; flex: 1; }
.svc-card .link-arrow { margin-top: auto; }
.section--dark .svc-card { background: var(--bg-dark-mid); border-color: var(--border-dark); }
.section--dark .svc-card h3 { color: var(--text-on-dark); }

/* ============================================================
   SEGMENT CARDS (Find your fit)
   ============================================================ */
.grid-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-card); }
.seg-card {
  background: var(--bg-alt); border: 1px solid transparent;
  border-radius: var(--radius-md); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.seg-card:hover { background: var(--bg-card); border-color: var(--blue); transform: translateY(-3px); }
.seg-card b { font: 600 1.05rem/1.3 var(--font-display); color: var(--text); }
.seg-card span { font-size: .9rem; color: var(--text-muted); }
.seg-card .arrow { margin-top: .5rem; color: var(--blue); transition: transform var(--dur-base) var(--ease-out); }
.seg-card:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SERVICE ACCORDION LIST (What We Do)
   ============================================================ */
.acc-list { border-top: 1px solid var(--border); }
.acc-row { border-bottom: 1px solid var(--border); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 1.5rem;
  padding: 1.6rem .5rem; text-align: left;
  transition: background var(--dur-base);
}
.acc-head:hover { background: var(--bg-alt); }
.acc-head .idx { flex-shrink: 0; }
.acc-head h3 { flex: 1; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
.acc-plus {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border); position: relative;
  transition: transform var(--dur-slow) var(--ease-out), background var(--dur-base), border-color var(--dur-base);
}
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; inset: 50% 30% auto 30%; height: 1.5px; background: var(--text); transition: opacity var(--dur-base); }
.acc-plus::after { transform: rotate(90deg); }
.acc-row.open .acc-plus { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.acc-row.open .acc-plus::before, .acc-row.open .acc-plus::after { background: #fff; }
.acc-body { overflow: hidden; height: 0; transition: height var(--dur-slow) var(--ease-out); }
.acc-body-inner { padding: 0 .5rem 1.8rem calc(.5rem + 1.5rem + 3ch); }
.acc-body p { margin-bottom: 1rem; }
.acc-tags { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ============================================================
   PROCESS — expanding accordion cards
   ============================================================ */
.process-track { display: flex; gap: var(--gap-card); height: 400px; }
.process-card {
  position: relative; flex: 1; min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: flex var(--dur-slow) var(--ease-out), background var(--dur-base);
  --pc-solid: var(--bg-dark);
  --pc-tint: var(--bg-alt);
  --pc-accent: var(--orange);
  background: var(--pc-tint);
}
.process-card:not(.is-active) { flex: 0.72; }
.process-card.is-active { flex: 2.55; background: var(--pc-solid); }

/* Per-step colour */
.process-card:nth-child(1) { --pc-solid: var(--blue);      --pc-tint: var(--blue-tint);   --pc-accent: #fff; }
.process-card:nth-child(2) { --pc-solid: var(--orange);    --pc-tint: var(--orange-tint); --pc-accent: #fff; }
.process-card:nth-child(3) { --pc-solid: var(--teal);      --pc-tint: var(--teal-tint);   --pc-accent: #fff; }
.process-card:nth-child(4) { --pc-solid: var(--indigo);    --pc-tint: var(--indigo-tint); --pc-accent: #fff; }

.pc-inner { position: absolute; inset: 0; padding: 1.6rem; display: flex; flex-direction: column; z-index: 1; }
/* collapsed: cluster the number + rotated label in the centre so the card
   doesn't read as mostly empty */
.process-card:not(.is-active) .pc-inner { justify-content: center; gap: 1.25rem; }
.process-card.is-active .pc-inner { justify-content: flex-start; gap: .85rem; }
.pc-idx { font: 700 2rem/1 var(--font-display); letter-spacing: -.02em; color: var(--pc-solid); transition: color var(--dur-base); }
.process-card.is-active .pc-idx { color: rgba(255,255,255,.9); }
.pc-title { font: 600 1.3rem/1.2 var(--font-display); color: var(--text); transition: color var(--dur-base); }
.process-card.is-active .pc-title { color: #fff; }
/* collapsed: rotate the label so it reads as a vertical tab, no clipping */
.process-card:not(.is-active) .pc-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 1.1rem;
  color: var(--pc-solid);
}
.process-card:not(.is-active) .pc-bottom { align-self: flex-start; }
/* collapsed cards don't render the body copy at all — no phantom space */
.process-card:not(.is-active) .pc-reveal { display: none; }
.pc-reveal { opacity: 0; transform: translateY(10px); transition: opacity var(--dur-base), transform var(--dur-base); transition-delay: 0s; max-width: 42ch; }
.process-card.is-active .pc-reveal { opacity: 1; transform: translateY(0); transition-delay: .18s; }
.pc-reveal p { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: .75rem; }
.pc-img { position: absolute; right: 0; bottom: 0; width: 56%; height: 60%; object-fit: cover; border-top-left-radius: var(--radius-lg); opacity: 0; transition: opacity var(--dur-slow); z-index: 0; }
.process-card.is-active .pc-img { opacity: .28; }
.pc-bottom { position: relative; z-index: 1; }

/* ============================================================
   DARK STATS BAND
   ============================================================ */
.statsband { position: relative; overflow: hidden; }
.statsband::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 80%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(37,99,235,.28), transparent 70%);
  pointer-events: none;
}
.statsband .container { position: relative; }
.grid-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); margin-top: 1rem; }
.counter { border-left: 1px solid var(--border-dark); padding-left: 1.5rem; }
.counter b { display: flex; align-items: baseline; gap: .1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; color: #fff; }
.counter b .suffix { color: var(--orange); font-size: .55em; font-weight: 700; }
.counter > span { display: block; margin-top: .6rem; color: var(--text-on-dark-muted); font: 500 .9rem/1.4 var(--font-display); }

/* ============================================================
   LEADERSHIP / TESTIMONIAL
   ============================================================ */
.lead-quote { font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--font-display); letter-spacing: -.01em; color: var(--text); max-width: 26ch; }
.lead-quote .qmark { font-family: var(--font-accent); font-size: 1.4em; color: var(--orange); line-height: 0; }
.lead-by { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.lead-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.lead-by b { font: 600 1rem/1.2 var(--font-display); color: var(--text); display: block; }
.lead-by span { font-size: .875rem; color: var(--text-muted); }
.lead-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.lead-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), border-color var(--dur-slow); }
.lead-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.lead-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; transition: transform var(--dur-slow) var(--ease-out); }
.lead-card:hover img { transform: scale(1.04); }
.lead-card .meta { padding: 1.25rem 1.4rem; border-top: 3px solid var(--orange); }
.lead-card .meta b { font: 600 1.05rem/1.3 var(--font-display); color: var(--text); display: block; }
.lead-card .meta span { font-size: .875rem; font-weight: 500; color: var(--orange-dark); font-family: var(--font-display); }

/* ============================================================
   PORTS TILES
   ============================================================ */
.grid-ports { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-card); }
.port-tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.4rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
  font: 600 1rem/1 var(--font-display); color: var(--text);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.port-tile:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.port-tile svg { color: var(--orange); }

/* ============================================================
   NEWS / PROOF CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.proof-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), border-color var(--dur-slow); }
.proof-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.proof-media { overflow: hidden; aspect-ratio: 4 / 3; }
.proof-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.proof-card:hover .proof-media img { transform: scale(1.04); }
.proof-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.proof-body time { font: 500 .8125rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--orange-dark); }
.proof-body h3 { font-size: 1.2rem; }
.proof-body p { font-size: .92rem; flex: 1; }
.proof-body .acc-tags { margin-top: .4rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner .cta-right { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-banner .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; color: rgba(255,255,255,.7); }

/* ============================================================
   QUOTE FORM + NEWSLETTER
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info .detail { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-info .detail:last-child { border-bottom: 0; }
.contact-info .detail svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-info .detail b { display: block; font: 600 .95rem/1.3 var(--font-display); color: var(--text); margin-bottom: .2rem; }
.contact-info .detail span { font-size: .9rem; color: var(--text-muted); }

.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }
.form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font: 500 .875rem/1 var(--font-display); color: var(--text); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .8rem .9rem; width: 100%; min-height: 48px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); background: var(--bg-card); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-light); }
.form-note { font-size: .8125rem; color: var(--text-light); text-align: center; margin-top: .9rem; }

.newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--border); }
.newsletter h3 { font-size: 1.25rem; }
.newsletter p { font-size: .95rem; margin-top: .35rem; }
.newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input { min-height: 48px; padding: .8rem 1rem; width: 280px; max-width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); font: 400 1rem var(--font-body); }
.newsletter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: var(--text-on-dark); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: .875rem; color: var(--text-on-dark-muted); max-width: 30ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; color: var(--text-on-dark-muted); transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.footer-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-col h4 { font: 700 .8125rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .9rem; color: var(--text-on-dark-muted); transition: color var(--dur-fast), transform var(--dur-fast); }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom { border-top: 1px solid var(--border-dark); margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.5rem 0; }
.footer-bottom p { font-size: .8125rem; color: var(--text-light); text-align: center; max-width: none; }

/* ============================================================
   WHATSAPP FLOAT + SCROLL TOP
   ============================================================ */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-snap); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.4); animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

.scrolltop { position: fixed; right: 24px; bottom: 90px; z-index: 890; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-base), visibility var(--dur-base), transform var(--dur-base) var(--ease-out); }
.scrolltop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scrolltop:hover { background: var(--blue-dark); }

/* ============================================================
   REVEAL — pre-animation states (GSAP animates these in;
   safety in home.js unhides everything if GSAP is unavailable)
   ============================================================ */
[data-reveal], [data-reveal-stagger] > * { opacity: 0; }
.no-motion [data-reveal],
.no-motion [data-reveal-stagger] > *,
.no-motion [data-gsap] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-stagger] > *, [data-gsap] { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4, .grid-seg, .grid-ports { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-counters { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .lead-team { grid-template-columns: repeat(3, 1fr); }
  .hero-media-side { display: none; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 52px; }

  /* PROCESS — stacked, every step fully expanded in its own colour */
  .process-track { flex-direction: column; height: auto; gap: 1rem; }
  .process-card,
  .process-card:not(.is-active),
  .process-card.is-active {
    flex: none;
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--pc-solid);
    cursor: default;
  }
  .pc-inner,
  .process-card:not(.is-active) .pc-inner,
  .process-card.is-active .pc-inner {
    position: static;
    order: 1;
    min-height: 0;
    padding: 1.75rem 1.6rem 0;
    justify-content: flex-start;
    gap: .55rem;
  }
  .pc-idx { color: rgba(255, 255, 255, .9) !important; }
  .process-card .pc-title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    color: #fff !important;
    font-size: 1.35rem;
    align-self: stretch;
  }
  .process-card .pc-bottom { align-self: stretch; }
  .process-card .pc-reveal {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: none;
  }
  .pc-reveal p { color: rgba(255, 255, 255, .9); margin-top: .5rem; }
  .pc-img {
    position: static;
    order: 2;
    width: 100%;
    height: 190px;
    border-radius: 0;
    margin-top: 1.5rem;
    opacity: 1 !important;
  }

  .lead-team { grid-template-columns: 1fr; max-width: 340px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-4, .grid-seg, .grid-3, .grid-ports { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--border); flex: 1 1 45%; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter input { width: 100%; }
  .acc-body-inner { padding-left: .5rem; }
  .pc-inner, .process-card .pc-inner { padding: 1.5rem 1.3rem 0; }
  .process-card .pc-title { font-size: 1.2rem; }
  .pc-img { height: 160px; margin-top: 1.25rem; }
  .pc-idx { font-size: 1.75rem; }
}
