/* VALERIS — site styles. Brand palette source: "Valeris branding (1).pdf". */

:root {
  /* Valeris palette */
  --navy:        #0B211D;   /* deep green — primary dark field (legacy var name) */
  --navy-deep:   #071917;   /* Valeris deepest green */
  --navy-mid:    #113632;   /* dark teal-green — bands (exact brand hex) */
  --ink:         #0A201B;   /* headings on cream */
  --ink-body:    #41514A;   /* body on cream */
  --canvas:      #F1E4D1;   /* Valeris cream — light sections */
  --canvas-2:    #F7EEDF;   /* lighter cream */
  --white:       #FBF6EC;   /* warm off-white (paper sections / cards) */
  --platinum:    #CBBDA4;   /* warm neutral — eyebrows/hairlines on dark */

  /* On-green text */
  --head-on-navy:  #F4EAD8;   /* cream-white on green */
  --text-on-navy:  rgba(244, 234, 216, 0.74);
  --muted-on-navy: rgba(244, 234, 216, 0.58);
  --line-on-navy:  rgba(193, 149, 89, 0.18);   /* gold-tinted hairline on green */

  /* Accent */
  --accent:        #C19559;   /* Valeris gold (brand PDF) */
  --accent-strong: #CCA877;   /* hover: --accent lightened ~18% */
  --accent-glow:   rgba(193, 149, 89, 0.30);

  /* Gold highlight */
  --gold:      #C19559;   /* on dark/green backgrounds */
  --gold-ink:  #7A5A1C;   /* deep bronze-gold: readable on cream (AA) */

  --green:     #2F5C3F;   /* Valeris forest green — secondary accent */
  --hero-glow-strong: rgba(47, 92, 63, 0.22);
  --hero-glow-soft:   rgba(193, 149, 89, 0.10);

  /* Softer dark field for photo-heavy sections. */
  --navy-soft: #173E37;

  /* System */
  --maxw: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.4s var(--ease);
  --ease-reveal: cubic-bezier(0.2, 0, 0.1, 1);
  --t-reveal: 0.65s var(--ease-reveal);
  --header-h: 70px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Page transition */
body { animation: pageFadeIn 0.2s linear; }
body.is-leaving { opacity: 0; transition: opacity 0.2s linear; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { font-family: var(--font-body); background: var(--navy-deep); color: var(--text-on-navy); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.12; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--accent); color: var(--navy-deep); padding: 0.7rem 1.2rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 8px; }

/* Visually hidden */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 2.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.95rem 2rem; border-radius: 3px; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t), opacity var(--t); white-space: nowrap; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.76rem; }
.btn-primary { background: var(--accent); color: var(--navy-deep); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 10px 24px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { border: 1px solid rgba(244, 234, 216, 0.28); color: rgba(244, 234, 216, 0.86); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

/* Shared section primitives */
.section { padding: 7.25rem 0; position: relative; }
.section--dark  { background: radial-gradient(130% 90% at 50% -10%, rgba(255, 255, 255, 0.045), transparent 55%), var(--navy); color: var(--text-on-navy); --hl: var(--gold); --title: var(--head-on-navy); --body: var(--text-on-navy); --hairline: var(--line-on-navy); --ec: var(--accent); }
.section--band  { background: radial-gradient(120% 95% at 50% 0%, rgba(205, 166, 89, 0.08), transparent 55%), var(--navy-mid); color: var(--text-on-navy); --hl: var(--gold); --title: var(--head-on-navy); --body: var(--text-on-navy); --hairline: var(--line-on-navy); --ec: var(--accent); }
.section--light { background: var(--canvas);    color: var(--ink-body);     --hl: var(--gold-ink); --title: var(--ink);         --body: var(--ink-body);    --hairline: rgba(10,32,27,0.12); --ec: var(--gold-ink); }
.section--paper { background: var(--white);     color: var(--ink-body);     --hl: var(--gold-ink); --title: var(--ink);         --body: var(--ink-body);    --hairline: rgba(10,32,27,0.09); --ec: var(--gold-ink); }

.kicker { display: inline-flex; align-items: center; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hl); margin-bottom: 1.1rem; font-weight: 500; text-wrap: balance; }
.kicker::before { content: ''; display: inline-block; width: 30px; height: 1px; margin-right: 0.8rem; background: linear-gradient(to right, var(--hl), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-reveal); }
[data-reveal].is-visible .kicker::before { transform: scaleX(1); }
.kicker--center::before { display: none; }

.section-title { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.01em; color: var(--title); }
.section-title em { font-style: italic; font-weight: 400; color: var(--hl); }
.section-text { font-size: 1.02rem; line-height: 1.8; color: var(--body); margin-top: 1.3rem; max-width: 42rem; }
.section-intro { font-size: 1rem; line-height: 1.8; color: var(--body); max-width: 38rem; }
.section-head { margin-bottom: 3.2rem; }
.section-head--center { text-align: center; max-width: 44rem; margin-left: auto; margin-right: auto; }
.section-head--center .kicker { justify-content: center; }
.section-intro--center { margin: 1.2rem auto 0; text-align: center; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; }

/* =================================================================
   NAVIGATION
   ================================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(11, 33, 29, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-on-navy); transition: height var(--t), background var(--t), border-color var(--t); }
.site-header.is-scrolled { height: 60px; background: rgba(7, 25, 23, 0.92); border-bottom-color: rgba(193, 149, 89, 0.22); }
.header-inner { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { font-family: var(--font-body); font-weight: 400; font-size: 1rem; letter-spacing: 0.42em; color: var(--head-on-navy); padding-left: 0.42em; position: relative; transition: color var(--t); }
.wordmark::after { content: ''; position: absolute; left: 0.42em; right: 0.42em; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.wordmark:hover::after { transform: scaleX(1); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { position: relative; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(245, 248, 252, 0.72); transition: color var(--t); padding: 0.4rem 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav-links a:hover, .nav-links a.is-current { color: var(--head-on-navy); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch { display: flex; align-items: center; gap: 0.35rem; }
.lang-btn { font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 500; color: rgba(245, 248, 252, 0.5); padding: 0.2rem 0.3rem; transition: color var(--t); }
.lang-btn.is-active { color: var(--accent); }
.lang-btn:hover { color: var(--head-on-navy); }
.lang-sep { color: rgba(245, 248, 252, 0.25); font-size: 0.72rem; }
.hamburger { display: none; width: 30px; height: 30px; position: relative; }
.hamburger span { display: block; width: 22px; height: 1.5px; margin: 0 auto; background: var(--head-on-navy); transition: transform var(--t), opacity var(--t); }
.hamburger span + span { margin-top: 5px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 4rem) 0 6.7rem; overflow: hidden; }

/* Hero photography */
.hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: 72% center; background-image: url('../img/photography/hero-market-gate-1100.jpg'); transform: scale(1); animation: heroPhotoZoom 22s var(--ease) infinite alternate; will-change: transform; }
@keyframes heroPhotoZoom { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (min-width: 900px) {
  .hero-photo { background-image: url('../img/photography/hero-market-gate-2400.jpg'); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, var(--navy-deep) 0%, rgba(7,25,23,0.93) 30%, rgba(7,25,23,0.62) 52%, rgba(7,25,23,0.32) 72%, rgba(7,25,23,0.16) 100%),
    radial-gradient(1100px 620px at 78% 16%, var(--hero-glow-strong), transparent 62%),
    radial-gradient(900px 500px at 8% 92%, var(--hero-glow-soft), transparent 60%);
}
.hero-motif { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.motif-arc { stroke: var(--gold); stroke-width: 1.5; fill: none; opacity: 0.55; filter: drop-shadow(0 0 6px rgba(205, 166, 89, 0.35)); stroke-dasharray: 1; stroke-dashoffset: 1; animation: arcDraw 1.8s var(--ease-reveal) 0.3s both; }
.node-glow { fill: var(--gold); opacity: 0.4; filter: blur(9px); }
.node-dot { fill: var(--gold); }
.motif-node { animation: nodeIn 1s var(--ease) both; }
.motif-node:first-of-type { animation-delay: 0.5s; }
.motif-node:last-of-type { animation-delay: 2.4s; }
.motif-node .node-glow { transform-origin: center; animation: nodePulse 4.5s var(--ease) infinite; }
.motif-grid { animation: gridDrift 26s ease-in-out infinite alternate; transform-origin: center; }
.hero-vline { position: absolute; left: 0; top: 12%; bottom: 12%; width: 2px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); opacity: 0.4; z-index: 2; }
.hero-inner { position: relative; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 1.9rem; color: var(--platinum); text-wrap: balance; }
.eyebrow::before { content: ''; display: inline-block; width: 34px; height: 1px; margin-right: 0.9rem; background: linear-gradient(to right, var(--gold), var(--platinum)); }
.eyebrow-strong { color: var(--gold); font-weight: 500; }
.eyebrow-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--platinum); margin: 0 0.7rem; opacity: 0.6; }
.eyebrow-rest { color: var(--platinum); opacity: 0.82; }
.hero-title { font-size: clamp(2.85rem, 6vw, 5.4rem); letter-spacing: -0.012em; color: var(--head-on-navy); max-width: 36ch; margin-bottom: 1rem; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-brand-sig { font-size: 0.73rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hl); margin-bottom: 1.8rem; }
.hero-sub { font-size: clamp(1rem, 1.35vw, 1.14rem); font-weight: 300; line-height: 1.78; color: var(--text-on-navy); max-width: 560px; margin-bottom: 2.3rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line-on-navy); max-width: 920px; }
.stat { display: flex; flex-direction: column; gap: 0.45rem; }
.stat-num { font-family: var(--font-display); font-weight: 400; font-size: 2.75rem; line-height: 1; color: var(--gold); letter-spacing: 0.005em; }
.stat-label { font-size: 0.74rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted-on-navy); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 1.9rem; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-navy); transition: color var(--t); }
.scroll-cue:hover { color: var(--head-on-navy); }
.scroll-cue-line { width: 1px; height: 38px; overflow: hidden; position: relative; background: rgba(201, 212, 229, 0.18); }
.scroll-cue-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollPulse 2.2s var(--ease) infinite; }

/* =================================================================
   SERVICES
   ================================================================= */
.flagship-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.flagship-tags span { font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(205, 166, 89, 0.32); border-radius: 2px; padding: 0.32rem 0.7rem; }

/* Supporting capabilities — editorial hairline list, no boxes.
   On the index page each row is a disclosure: .row-trigger is a <button>
   carrying the grid layout; .pharma-row (pharma.html) carries the same
   .row-grid layout directly on the <li>, since those rows are static. */
.services-list { list-style: none; display: flex; flex-direction: column; }
.service-row { border-top: 1px solid var(--hairline); transition: background var(--t); }
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
.row-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 0.7rem; width: 100%; transition: padding var(--t), transform var(--t); transform-origin: left center; }
.row-trigger { background: none; border: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.row-num { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: var(--gold-ink); opacity: 0.65; line-height: 1; transition: opacity var(--t); }
.row-title { font-family: var(--font-display); font-weight: 500; font-size: 1.34rem; color: var(--ink); line-height: 1.2; margin-bottom: 0.18rem; }
.row-desc { font-size: 0.85rem; line-height: 1.5; color: var(--ink-body); }
.row-arrow { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; opacity: 0.32; transform: translateX(-8px) rotate(0deg); transition: opacity var(--t), transform 0.45s var(--ease-reveal); }
.row-arrow svg { width: 14px; height: 14px; stroke: var(--gold-ink); }
.service-row:hover { background: var(--canvas-2); }
.service-row:hover .row-grid, .service-row.row-grid:hover { padding-left: 1.1rem; transform: scale(1.012); }
.service-row:hover .row-num { opacity: 1; }
.service-row:hover .row-arrow { opacity: 1; transform: rotate(0deg); }
.service-row.is-open .row-arrow { opacity: 1; transform: rotate(90deg); }
.row-trigger:active .row-grid { transform: scale(0.995); transition-duration: 0.15s; }
.row-sub { display: block; font-style: italic; font-size: 0.8rem; color: var(--hl); margin-bottom: 0.3rem; }

/* Accordion detail panel */
.row-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-reveal); }
.service-row.is-open .row-detail { grid-template-rows: 1fr; }
/* Required for the 0fr -> 1fr accordion animation. */
.row-detail-content { overflow: hidden; min-height: 0; }
.row-detail-inner { padding: 0.3rem 0.7rem 1.7rem; }
.row-detail-content .bullet-list { margin-top: 0; }
.row-synergy { font-size: 0.82rem; font-style: italic; line-height: 1.6; color: var(--hl); margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hairline); max-width: 46rem; }

/* Static rows on subpages */
.pharma-row.row-grid { grid-template-columns: auto 1fr; align-items: start; padding-top: 2rem; padding-bottom: 2rem; }
.pharma-row .row-num { padding-top: 0.3rem; }

/* Generic theme-aware bullet list (uses section context vars — safe on light/dark/paper) */
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.9rem; }
.bullet-list li { position: relative; padding-left: 1.5rem; font-size: 0.88rem; line-height: 1.55; color: var(--body); }
.bullet-list li::before { content: ''; position: absolute; left: 2px; top: 0.32em; width: 6px; height: 10px; border-right: 1.6px solid var(--ec); border-bottom: 1.6px solid var(--ec); transform: rotate(45deg); }

/* =================================================================
   TWO DIRECTIONS (Europe ⇄ India)
   ================================================================= */
.ei { overflow: hidden; }
.ei-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(800px 420px at 50% 0%, rgba(205,166,89,0.07), transparent 60%); }
.ei .container { position: relative; z-index: 1; }
.ei-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ei-card { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line-on-navy); border-radius: 4px; padding: 2.4rem; transition: border-color var(--t); }
.ei-card::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1); transition: transform 0.8s var(--ease-reveal); }
.ei-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(165deg, rgba(7,25,23,0.9) 0%, rgba(7,25,23,0.74) 45%, rgba(7,25,23,0.52) 100%); transition: background var(--t); }
.ei-card:hover { border-color: rgba(205,166,89,0.4); }
.ei-card:hover::before { transform: scale(1.04); }
.ei-card:hover::after { background: linear-gradient(165deg, rgba(7,25,23,0.84) 0%, rgba(7,25,23,0.66) 45%, rgba(7,25,23,0.42) 100%); }
.ei-card--verify::before { background-image: url('../img/photography/card-supplier-verification-760.jpg'); }
.ei-card--gateway::before { background-image: url('../img/photography/card-europe-gateway-760.jpg'); }
@media (min-width: 760px) {
  .ei-card--verify::before { background-image: url('../img/photography/card-supplier-verification-1500.jpg'); }
  .ei-card--gateway::before { background-image: url('../img/photography/card-europe-gateway-1500.jpg'); }
}
.ei-dir { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.2rem; }
.ei-dir::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.ei-card-title { font-family: var(--font-display); font-size: 1.55rem; color: var(--head-on-navy); margin: 0.7rem 0 1.1rem; }
.ei-desc { font-size: 0.93rem; line-height: 1.75; color: var(--text-on-navy); margin-bottom: 1.5rem; }

/* =================================================================
   PHARMA HERO PHOTOGRAPHY
   ================================================================= */
.pharma-hero { position: relative; isolation: isolate; overflow: hidden; }
.pharma-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 60% center; background-image: url('../img/photography/pharma-hero-street-1100.jpg'); }
@media (min-width: 900px) {
  .pharma-hero::before { background-image: url('../img/photography/pharma-hero-street-2400.jpg'); }
}
.pharma-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--navy-deep) 0%, rgba(7,25,23,0.93) 32%, rgba(7,25,23,0.64) 58%, rgba(7,25,23,0.34) 100%); }

/* =================================================================
   INDIA HERO PHOTOGRAPHY
   ================================================================= */
.india-hero { position: relative; isolation: isolate; overflow: hidden; }
.india-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 60% center; background-image: url('../img/photography/card-europe-gateway-760.jpg'); }
@media (min-width: 900px) {
  .india-hero::before { background-image: url('../img/photography/card-europe-gateway-1500.jpg'); }
}
.india-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--navy-deep) 0%, rgba(7,25,23,0.93) 32%, rgba(7,25,23,0.64) 58%, rgba(7,25,23,0.34) 100%); }

/* =================================================================
   HOW IT WORKS (PROCESS)
   ================================================================= */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 1.8rem; margin-top: 1rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 29px; left: 0; right: 0; height: 1px; background: linear-gradient(to right, var(--hl), transparent 92%); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-reveal) 0.15s; }
.process-steps:has(.process-step.is-visible)::before { transform: scaleX(1); }
.process-step { position: relative; }
.step-num-circle { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--hl); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.15rem; color: var(--hl); margin-bottom: 1.5rem; background: var(--canvas); position: relative; z-index: 1; }
.step-title { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: var(--title); margin-bottom: 0.55rem; }
.step-desc { font-size: 0.86rem; line-height: 1.65; color: var(--body); }

/* =================================================================
   BRAND ESSENCE QUOTE
   ================================================================= */
.essence { text-align: center; }
.essence-quote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.42; color: var(--title); max-width: 44rem; margin: 0 auto; }
.essence-sig { display: block; margin-top: 2.1rem; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hl); }
.essence-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; text-align: left; }
.essence-grid .essence-quote { margin: 0; max-width: none; }
.essence-lead { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.4; color: var(--title); margin-bottom: 0.9rem; }
.essence-desc { font-size: 0.95rem; line-height: 1.8; color: var(--body); max-width: 32rem; }

/* =================================================================
   PARTNERSHIP (POLFROST) — rail-logistics photography, heavy scrim for
   text legibility (same treatment family as .hero / .ei-card).
   ================================================================= */
.partner { position: relative; isolation: isolate; overflow: hidden; }
.partner::before { content: ''; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 60% 45%; background-image: url('../img/photography/partner-rail-logistics-900.jpg'); }
@media (min-width: 900px) {
  .partner::before { background-image: url('../img/photography/partner-rail-logistics-1800.jpg'); }
}
.partner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(7,25,23,0.95) 0%, rgba(7,25,23,0.88) 36%, rgba(11,33,29,0.78) 60%, rgba(11,33,29,0.66) 100%); }

.partner-grid { display: grid; grid-template-columns: 1.3fr 0.82fr; gap: 3.4rem; align-items: center; }
.partner-box { background: var(--canvas); border-radius: 6px; padding: 2.7rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; box-shadow: 0 26px 55px rgba(7, 25, 23, 0.35); }
.partner-box img { width: 100%; max-width: 190px; height: auto; display: block; }
.partner-legal-name { font-size: 0.78rem; color: var(--ink-body); opacity: 0.65; margin-top: 0.4rem; }
.partner-text .section-intro { margin-top: 1.2rem; }

/* =================================================================
   WHY ITEMS (used by india.html)
   ================================================================= */
.why-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 2rem; }
.why-row { padding-top: 1.5rem; border-top: 1px solid rgba(205, 166, 89, 0.22); }
.why-row-title { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; color: var(--title); margin-bottom: 0.5rem; }
.why-row-desc { font-size: 0.84rem; line-height: 1.6; color: var(--body); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-form { background: rgba(255,255,255,0.04); border: 1px solid var(--line-on-navy); border-radius: 6px; padding: 2.6rem; margin-top: 2.6rem; box-shadow: 0 30px 60px rgba(7, 25, 23, 0.28); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-navy); transition: color var(--t); }
.form-field:focus-within .form-label { color: var(--accent); }
.form-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-on-navy); border-radius: 3px; color: var(--head-on-navy); font-family: var(--font-body); font-size: 0.92rem; padding: 0.75rem 0.95rem; outline: none; transition: border-color var(--t), background var(--t); }
.form-input::placeholder { color: rgba(245,248,252,0.3); }
.form-input:not(:focus):hover { border-color: rgba(193, 149, 89, 0.4); }
.form-input:focus { border-color: var(--accent); background: rgba(255,255,255,0.07); }
.form-input:user-invalid { border-color: #d98b8b; background: rgba(217, 139, 139, 0.05); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23C9D4E5' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.form-select option { background: var(--navy); color: var(--head-on-navy); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; margin-top: 1.4rem; }
.form-note { font-size: 0.78rem; color: var(--muted-on-navy); margin-top: 1rem; text-align: center; }
.form-status { font-size: 0.9rem; margin-top: 1rem; text-align: center; min-height: 1.2em; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #e0a3a3; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-soft); padding: 4rem 0 2rem; border-top: 1px solid var(--line-on-navy); }
.footer::before { content: ''; position: absolute; inset: 0; z-index: -2; opacity: 0.55; background-size: cover; background-position: center 35%; background-image: url('../img/photography/footer-departure-900.jpg'); }
@media (min-width: 900px) {
  .footer::before { background-image: url('../img/photography/footer-departure-1800.jpg'); }
}
.footer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,25,23,0.93) 0%, rgba(7,25,23,0.96) 100%); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; }
.wordmark--footer { display: inline-block; color: var(--head-on-navy); margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: var(--muted-on-navy); max-width: 17rem; }
.footer-col { border-left: 1px solid var(--line-on-navy); padding-left: 1.4rem; }
.footer-col-title { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { display: inline-block; font-size: 0.86rem; color: var(--text-on-navy); transition: color var(--t), transform var(--t); }
.footer-links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-address { font-style: normal; font-size: 0.84rem; line-height: 1.8; color: var(--muted-on-navy); }
.footer-address a { display: inline-block; color: var(--text-on-navy); transition: color var(--t), transform var(--t); }
.footer-address a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-on-navy); font-size: 0.78rem; color: var(--muted-on-navy); }
.footer-tag { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; opacity: 0.75; }

/* =================================================================
   ANIMATIONS
   ================================================================= */
.hero-inner > * { animation: heroIn 0.7s var(--ease-reveal) both; }
.hero-inner > .eyebrow { animation-delay: 0.10s; }
.hero-inner > .hero-title { animation-delay: 0.22s; }
.hero-inner > .hero-brand-sig { animation-delay: 0.32s; }
.hero-inner > .hero-sub { animation-delay: 0.42s; }
.hero-inner > .hero-cta-row { animation-delay: 0.52s; }
.hero-inner > .hero-stats { animation-delay: 0.66s; }
.scroll-cue { animation: cueIn 0.7s var(--ease-reveal) 0.9s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cueIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes arcDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nodeIn { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes nodePulse { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.5); opacity: 0.15; } }
@keyframes gridDrift { from { transform: translate3d(-14px, 8px, 0) scale(1.01); } to { transform: translate3d(14px, -8px, 0) scale(1.03); } }
@keyframes scrollPulse { 0% { top: -50%; } 60%, 100% { top: 100%; } }
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--t-reveal), transform var(--t-reveal); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
/* Tighten hero vertical rhythm above mobile so the metrics row + scroll
   indicator stay fully on-screen at common laptop heights (864-900px),
   without touching mobile or any typography/animation values. */
@media (min-width: 641px) {
  .hero { padding-top: calc(var(--header-h) + 0.5rem); }
  .eyebrow { margin-bottom: 0.7rem; }
  .hero-title { margin-bottom: 0.7rem; }
  .hero-sub { margin-bottom: 1.2rem; }
  .hero-cta-row { margin-bottom: 1.1rem; }
  .hero-stats { padding-top: 0.65rem; }
}
@media (max-width: 980px) {
  .section-head--split { grid-template-columns: 1fr; gap: 1.2rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.8rem; }
  .process-steps::before { display: none; }
  .partner-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .essence-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .essence-grid .essence-quote { margin: 0 auto; }
  .essence-support { max-width: 44rem; margin: 0 auto; }
  .essence-desc { margin: 0 auto; }
  .why-list { grid-template-columns: 1fr 1fr; gap: 2.2rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer-col { border-left: none; padding-left: 0; }
}

@media (max-width: 900px) {
  .nav-links { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-deep); overflow-y: auto; padding: 1rem 2.5rem 1.6rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform var(--t), opacity var(--t); }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1.05rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--line-on-navy); }
  .nav-links a::after { display: none; }
  .nav-mobile-cta { display: block; margin-top: 0.9rem; }
  .nav-mobile-cta a { background: var(--accent); color: var(--navy-deep); text-align: center; border-radius: 3px; padding: 1rem; border-bottom: none; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; margin-right: -9px; }
  .ei-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.3rem; }
  .header-inner { padding: 0 1.3rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 7rem; min-height: 92vh; }
  .hero-vline { display: none; }
  /* Mobile: text spans full width over the photo, so dim it further —
     the left-to-right scrim above is tuned for a wide desktop hero. */
  .hero-photo, .pharma-hero::before, .india-hero::before { opacity: 0.5; }
  .hero-title { font-size: clamp(2.3rem, 9vw, 3rem); max-width: 100%; }
  .hero-sub { font-size: 1rem; }
  .hero-cta-row .btn { flex: 1 1 auto; }
  .hero-stats { gap: 1.6rem 2.2rem; }
  .stat-num { font-size: 2rem; }
  .service-row { gap: 1.1rem; padding: 1.3rem 0.4rem; }
  .process-steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .partner-box { padding: 2.4rem 1.6rem; }
  .why-list { grid-template-columns: 1fr; gap: 1.8rem; }
  .ei-card { padding: 2rem 1.7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-input { font-size: 16px; padding: 0.85rem 1rem; }
  .form-textarea { min-height: 120px; }
  .lang-btn { padding: 0.4rem 0.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}

/* Narrow mobile header */
@media (max-width: 360px) {
  .header-inner { gap: 0.75rem; }
  .header-actions { gap: 1rem; }
}

/* =================================================================
   MOTION-SAFE
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .hero-inner > *, .scroll-cue { opacity: 1 !important; transform: none !important; }
  .motif-arc { stroke-dashoffset: 0; }
  [data-reveal] { opacity: 1; transform: none; }
  body { animation: none; opacity: 1; }
  body.is-leaving { opacity: 1; }
}
