/* ==========================================================================
   Ratnadeep Metal & Tubes Ltd. — Site stylesheet
   Mobile-first. Breakpoints: 640px (sm), 980px (md), 1200px (lg)
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------- */
:root {
  --indigo-900: #1B1145;
  --indigo-800: #1A1240;
  --indigo-700: #2B1D6B;
  --indigo-500: #5C5775;
  --indigo-300: #A99CF2;
  --indigo-200: #CFC8E6;
  --indigo-100: #ECE9F7;
  --indigo-50:  #F7F6FB;
  --line:       #E7E3F1;
  --line-dark:  #2E2560;
  --red-600:    #C8102E;
  --red-500:    #E31B23;
  --red-200:    #FF8A99;
  --red-50:     #FDECEE;
  --ink:        #1C1733;
  --body:       #4A4562;
  --muted-on-dark: #C9C3E0;
  --white:      #FFFFFF;
  --green-wa:   #25D366;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 40px -18px rgba(43, 29, 107, .35);
  --container: 1280px;
  --gutter: 16px;
  --section-y: 64px;
  --header-h: 72px;
}
@media (min-width: 640px) { :root { --gutter: 24px; --section-y: 80px; } }
@media (min-width: 980px) { :root { --section-y: 96px; --header-h: 84px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo-700); text-decoration: none; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: inherit; }
h2 { color: var(--indigo-700); }
.section--dark h2, .cta-band h2, .qe__head h2, .approvals h2, .dark-hero h2, .hero__frame h2 { color: #fff; }
address a { color: inherit; text-decoration: none; }
address a:hover, address a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--indigo-900); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--indigo-50); }
.section--dark { background: var(--indigo-900); color: var(--white); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 20px); }
.stack-lg { --stack-gap: 48px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--wide-left { grid-template-columns: 1.2fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--top { align-items: start; }
}
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid { gap: 24px; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-auto { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.center { text-align: center; align-items: center; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; max-width: 860px; }
@media (min-width: 980px) { .section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; } .section-head--row > :first-child { max-width: 680px; } .section-head--row > p { max-width: 480px; } }

/* ---------- 4. Typography ---------- */
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--indigo-100); color: var(--indigo-700); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); flex: none; }
.center > .eyebrow, .eyebrow.center { align-self: center; }
.eyebrow--dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #E4E0F2; }
.eyebrow--dark::before { background: #FF4D63; }
.eyebrow--hero { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 500; font-size: 13px; padding: 10px 18px; }
.eyebrow--hero::before { background: #fff; }
.h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.07; }
.h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; }
.h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; color: var(--body); }
.text { font-size: 16px; line-height: 1.75; color: var(--body); }
@media (min-width: 980px) { .text { font-size: 17px; } }
.section--dark .lead, .section--dark .text { color: var(--muted-on-dark); }
.accent { color: var(--red-600); }
.quote-line { padding: 16px 20px; border-left: 3px solid var(--red-600); background: var(--indigo-50); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--indigo-700); }

/* ---------- 5. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red-600); color: #fff; }
.btn--primary:hover { background: #A50D26; color: #fff; }
.btn--outline { border-color: var(--indigo-700); color: var(--indigo-700); background: #fff; }
.btn--outline:hover { background: var(--indigo-700); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--indigo-900); }
.btn--white { background: #fff; color: var(--red-600); }
.btn--white:hover { background: var(--indigo-900); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--indigo-700); }
.lang--header { display: none; }
@media (min-width: 1100px) { .lang--header { display: inline-flex; } }
/* language dropdown with flags */
.langdd { position: relative; }
.langdd__btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #E2DCEF; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--indigo-700); cursor: pointer; }
.langdd__btn > svg { width: 12px; height: 12px; }
.langdd__flag { display: inline-flex; }
.langdd__flag svg { width: 22px; height: 15px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.14); }
.langdd__list { position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(27,17,69,.45); z-index: 120; list-style: none; }
.langdd__list[hidden] { display: none; }
.langdd__list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.langdd__list li:hover, .langdd__list li:focus { background: var(--indigo-50); outline: none; }
.langdd__list li[aria-selected="true"] { color: var(--indigo-700); font-weight: 600; }
/* CSR section (About Us) */
.csr-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .csr-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; } }
.csr-video { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0E0924; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -34px rgba(27,17,69,.55); }
.csr-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.csr-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.csr-photos li { display: flex; flex-direction: column; gap: 10px; }
.csr-photos a { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.csr-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .5s ease; }
.csr-photos a:hover img { transform: scale(1.04); }
.csr-photos span:not(.event-gallery__zoom) { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--indigo-700); }
@media (max-width: 559px) { .csr-photos { grid-template-columns: 1fr; } .csr-photos img { aspect-ratio: 4 / 3; } }
.header-actions .btn { white-space: nowrap; }
.lang select { appearance: none; -webkit-appearance: none; padding: 6px 30px 6px 14px; border: 1px solid #E2DCEF; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232B1D6B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; font: inherit; font-weight: 500; color: var(--indigo-700); cursor: pointer; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(27,17,69,.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand img { height: 52px; width: auto; }
@media (min-width: 980px) { .brand img { height: 70px; } }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red-600); transform: scaleX(0); transition: transform .2s; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-open > .nav__link { color: var(--red-600); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #E2DCEF; background: #fff; color: var(--indigo-700); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .nav__link { padding: 0 8px; font-size: 14px; } }

/* Mega menu (desktop) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(27,17,69,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-top: 32px; padding-bottom: 36px; min-height: 0; align-items: start; }
.mega__tabs { display: flex; flex-direction: column; gap: 6px; padding-right: 24px; border-right: 1px solid var(--line); }
.mega__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-500); padding: 0 4px 8px; }
.mega__tab { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 8px 12px 8px 8px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; transition: background .2s, color .2s; }
.mega__tab img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; flex: none; }
.mega__tab strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.mega__tab small { font-size: 13px; opacity: .75; }
.mega__tab:hover { background: var(--indigo-50); }
.mega__tab[aria-selected="true"] { background: var(--indigo-700); color: #fff; }
.mega__panel { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.mega__panel[hidden] { display: none; }
.mega__panel h3 { font-size: 24px; color: var(--indigo-700); margin: 6px 0 8px; }
.mega__panel p { font-size: 15px; color: var(--body); max-width: 560px; margin-bottom: 18px; }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.35; }
.mega__links a:hover { background: var(--indigo-50); border-color: #E2DCEF; color: var(--red-600); }
.mega__links svg { width: 18px; height: 18px; flex: none; color: var(--indigo-700); }
.mega__feature { border-radius: 16px; overflow: hidden; background: var(--indigo-50); border: 1px solid var(--line); }
.mega__feature img { width: 100%; height: 190px; object-fit: cover; }
.mega__feature div { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.mega__feature small { font-size: 14px; color: var(--indigo-500); margin-bottom: 8px; }
.mega__feature strong { font-family: var(--font-display); font-size: 18px; color: var(--indigo-700); }
.mega .btn { width: 100%; margin-top: auto; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,14,48,.55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head img { height: 48px; width: auto; }
.drawer__close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid #E2DCEF; background: #fff; color: var(--indigo-700); display: inline-flex; align-items: center; justify-content: center; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; }
.drawer__body > ul > li > a, .drawer__body summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.drawer__body summary::-webkit-details-marker { display: none; }
.drawer__body details[open] summary svg { transform: rotate(180deg); }
.drawer__body summary svg { width: 18px; height: 18px; transition: transform .2s; }
.drawer__sub { padding: 8px 0 12px; }
.drawer__sub span { display: block; padding: 12px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.drawer__sub a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid var(--line); color: var(--body); font-size: 15px; }
.drawer__foot { padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ---------- 7. Hero / page heads ---------- */
.hero { padding: 0 var(--gutter); }
.hero__frame { position: relative; max-width: 1840px; margin: 0 auto; min-height: 560px; border-radius: 8px; overflow: hidden; background: var(--indigo-800); color: #fff; display: flex; }
@media (min-width: 980px) { .hero__frame { min-height: 620px; } .hero--tall .hero__frame { min-height: 720px; } .hero--short .hero__frame { min-height: 500px; } }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media--flip { transform: scaleX(-1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,17,69,.95) 0%, rgba(27,17,69,.82) 45%, rgba(27,17,69,.2) 100%); }
@media (max-width: 979px) { .hero__shade { background: linear-gradient(180deg, rgba(27,17,69,.55) 0%, rgba(27,17,69,.92) 55%, rgba(27,17,69,.96) 100%); } }
.hero__shade--bottom { background: linear-gradient(0deg, rgba(27,17,69,.96) 0%, rgba(27,17,69,.82) 40%, rgba(27,17,69,.15) 72%, rgba(27,17,69,0) 100%); }
.hero__content { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px 20px; max-width: 900px; }
@media (min-width: 640px) { .hero__content { padding: 72px clamp(24px, 7vw, 112px); } }
.hero__content--bottom { justify-content: flex-end; padding-top: 220px; }
.hero__content .lead { color: #E4E0F2; }
.hero__tabs { position: relative; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; }
.hero__tabs::-webkit-scrollbar { display: none; }
.hero__tab { flex: none; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; backdrop-filter: blur(6px); }
.hero__tab[aria-selected="true"] { background: rgba(28,23,51,.9); border-color: rgba(255,255,255,.7); color: #fff; }
@media (min-width: 980px) { .hero__tab { min-height: 60px; padding: 0 32px; font-size: 17px; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.breadcrumb a { color: inherit; }
.breadcrumb [aria-current] { color: #fff; }
.page-head { background: var(--indigo-50); border-bottom: 1px solid var(--line); padding: 48px 0 56px; }
.page-head .breadcrumb ol { color: var(--indigo-500); }
.page-head .breadcrumb [aria-current] { color: var(--indigo-700); font-weight: 500; }
@media (min-width: 980px) { .page-head { padding: 64px 0 72px; } }

/* ---------- 8. Cards & blocks ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card { display: flex; flex-direction: column; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--indigo-200); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--indigo-700); }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.card__title { font-size: 21px; line-height: 1.3; color: var(--indigo-700); }
.card__text { font-size: 15px; line-height: 1.65; color: var(--body); }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #EEEBF5; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--indigo-700); font-size: 12px; font-weight: 600; }
.badge--dark { background: var(--indigo-900); color: #fff; }
.badge--red { background: var(--red-50); color: var(--red-600); }
.badge--soft { background: #F2F0F8; color: var(--indigo-700); }
.card__badges { position: absolute; inset: 14px 14px auto 14px; display: flex; justify-content: space-between; gap: 8px; }
.round-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E2DCEF; display: inline-flex; align-items: center; justify-content: center; color: var(--red-600); transition: background .25s, color .25s, border-color .25s; flex: none; }
.round-arrow svg { width: 18px; height: 18px; }
.card:hover .round-arrow { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 10px; border-radius: 6px; background: #F2F0F8; font-size: 12px; font-weight: 500; color: #3D3760; }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--indigo-100); color: var(--red-600); flex: none; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--dark { background: var(--indigo-900); color: var(--red-200); }
.icon-tile--red { background: var(--red-600); color: #fff; }
.icon-tile--glass { background: rgba(255,255,255,.08); color: var(--red-200); }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.feature h3 { font-size: 20px; color: var(--indigo-700); }
.feature p { font-size: 15px; line-height: 1.7; color: var(--body); }
.feature--alt { background: var(--indigo-50); border-color: #ECE9F4; }
.feature--dark { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.feature--dark h3 { color: #fff; }
.feature--dark p { color: var(--muted-on-dark); }
.feature--topline { position: relative; overflow: hidden; }
.feature--topline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red-600); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stats > div { padding: 24px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.02em; color: var(--indigo-700); line-height: 1; }
.stats strong span { color: var(--red-600); }
.stats small { font-size: 14px; color: var(--body); line-height: 1.4; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } .stats > div { padding: 32px 28px; } }
.stats--dark { background: var(--indigo-900); border-color: var(--indigo-900); }
.stats--dark > div { border-color: var(--line-dark); }
.stats--dark strong { color: #fff; }
.stats--dark strong span { color: #FF4D63; }
.stats--dark small { color: var(--muted-on-dark); }
.stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini-stats { display: flex; gap: 12px; }
.mini-stats > div { flex: 1; padding: 18px; border-radius: 14px; background: var(--indigo-50); border: 1px solid var(--line); }
.mini-stats strong { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--indigo-700); line-height: 1; }
.mini-stats strong.red { color: var(--red-600); }
.mini-stats small { font-size: 13px; color: var(--indigo-500); }

/* Media frames */
.frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo-700); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.collage { position: relative; min-height: 380px; }
.collage__a { position: absolute; inset: 0 18% 16% 0; }
.collage__b { position: absolute; right: 0; bottom: 0; width: 52%; height: 46%; border: 8px solid #fff; }
.collage__badge { position: absolute; left: 20px; bottom: 20px; padding: 18px 22px; border-radius: 16px; background: var(--red-600); color: #fff; box-shadow: 0 20px 40px -18px rgba(200,16,46,.6); }
.collage__badge small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FFE3E7; }
.collage__badge strong { font-family: var(--font-display); font-size: 40px; line-height: 1; }
@media (min-width: 640px) { .collage { min-height: 520px; } }

/* Tables */
.table-wrap { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.spec-table th { background: var(--indigo-900); color: #fff; text-align: left; font-weight: 600; padding: 16px 22px; }
.spec-table td { padding: 16px 22px; border-top: 1px solid #ECE9F4; vertical-align: top; }
.spec-table tr:nth-child(even) td { background: #FAF9FD; }
.spec-table td:first-child { font-weight: 600; color: var(--indigo-700); }
.spec-table td:nth-child(2) { font-family: var(--font-display); font-weight: 600; }
.spec-table td:last-child { color: var(--indigo-500); }
@media (min-width: 980px) { .spec-table { font-size: 16px; } .spec-table th, .spec-table td { padding: 18px 28px; } }

/* Pills / tabs */
.pills { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--indigo-50); border: 1px solid #ECE9F4; overflow-x: auto; scrollbar-width: none; max-width: 100%; align-self: flex-start; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--indigo-700); font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill .count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #E2DCEF; font-size: 12px; }
.pill[aria-selected="true"] { background: var(--indigo-700); color: #fff; }
.pill[aria-selected="true"] .count { background: var(--red-600); color: #fff; }
.pills--dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); }
.pills--dark .pill { color: #E4E0F2; }
.pills--dark .pill[aria-selected="true"] { background: #fff; color: var(--indigo-900); }
[data-filter-item][hidden], [data-panel][hidden] { display: none !important; }

/* Accordion (native details) */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.section--alt .faq details { background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--indigo-100); color: var(--indigo-700); font-size: 22px; font-weight: 500; transition: background .2s, color .2s; }
.faq details[open] summary::after { content: "−"; background: var(--red-600); color: #fff; }
.faq details p { padding: 0 22px 22px; font-size: 16px; line-height: 1.7; color: var(--body); }

/* CTA band */
.cta-band { border-radius: 28px; background: var(--red-600); color: #fff; padding: 40px 24px; display: flex; flex-direction: column; gap: 24px; }
.cta-band p { color: #FFE3E7; font-size: 17px; line-height: 1.6; }
@media (min-width: 980px) { .cta-band { flex-direction: row; justify-content: space-between; align-items: center; padding: 56px 64px; } .cta-band > div:first-child { max-width: 620px; } }
.cta-band--dark { background: var(--indigo-900); }
.cta-band--dark p { color: var(--muted-on-dark); }

/* Forms */
.form { display: grid; gap: 18px; padding: 28px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(43,29,107,.35); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 36px; } .form .full { grid-column: 1 / -1; } }
.form--alt { background: var(--indigo-50); box-shadow: none; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #DCD6EC; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); }
.field textarea { min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--indigo-700); outline-offset: 1px; border-color: var(--indigo-700); }
.field .req { color: var(--red-600); }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; border: 2px dashed var(--indigo-200); border-radius: 14px; background: #fff; font-weight: 400; }
.upload input { min-height: auto; border: 0; padding: 0; width: auto; }
.form-note { font-size: 13px; color: var(--indigo-500); font-weight: 400; }

/* ---------- 9. Section-specific ---------- */
/* Home product cards (Option A) */
.product-tile .card__body { padding: 24px 24px 22px; }
.num-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--indigo-700); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.section--dark .kicker { color: var(--red-200); }

/* Why choose (home) */
.why-photo { position: relative; min-height: 360px; border-radius: 20px; overflow: hidden; }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-photo__stats { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 14px; overflow: hidden; }
.why-photo__stats div { padding: 16px 18px; }
.why-photo__stats div + div { border-left: 1px solid var(--line); }
.why-photo__stats strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--indigo-700); line-height: 1; }
.why-photo__stats strong span { color: var(--red-600); }
.why-photo__stats small { font-size: 13px; color: var(--body); }
.why-list > li { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); }
.why-list > li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.why-list .ring { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--red-200); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.why-list .ring svg { width: 24px; height: 24px; }
.why-list h3 { font-size: 21px; margin-bottom: 10px; }
.why-list p { color: var(--muted-on-dark); font-size: 15px; line-height: 1.7; }
@media (min-width: 980px) { .why-list h3 { font-size: 24px; } .why-list p { font-size: 16px; } .why-photo { min-height: 460px; } }

/* Applications photo cards */
.app-card { position: relative; display: block; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: #3A2E70; color: #fff; }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.app-card:hover img { transform: scale(1.05); }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,48,0) 40%, rgba(20,14,48,.9) 100%); }
.app-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.app-card h3 { font-size: 21px; color: #fff; }
.app-card .round-arrow { border-color: rgba(255,255,255,.4); color: #fff; }
.app-card:hover { color: #fff; }

/* Leadership */
.leader { display: grid; gap: 28px; padding: 20px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
@media (min-width: 980px) { .leader { grid-template-columns: 380px 1fr; gap: 48px; padding: 32px; } }
.leader__photo { position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; background: var(--indigo-700); }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.leader__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: rgba(27,17,69,.88); }
.leader__name strong { display: block; font-family: var(--font-display); font-size: 22px; }
.leader__name span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-200); }
.leader blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; font-weight: 500; }
.leader blockquote::before { content: "“"; display: block; font-size: 72px; line-height: .6; color: var(--red-600); margin-bottom: 12px; }

/* Mission/vision rows */
.mv { display: grid; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.mv--dark { background: var(--indigo-900); border-color: var(--indigo-900); color: #fff; }
.mv__art { min-height: 260px; position: relative; }
.mv__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mv__text { padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mv__text p { font-size: 18px; line-height: 1.7; color: #3D3760; }
.mv--dark .mv__text p { color: #E4E0F2; }
.rule { width: 56px; height: 3px; border-radius: 3px; background: var(--red-600); }
@media (min-width: 980px) { .mv { grid-template-columns: 1.25fr 1fr; } .mv--dark { grid-template-columns: 1fr 1.25fr; } .mv--dark .mv__art { order: 2; } .mv__art { min-height: 420px; } .mv__text { padding: 56px; } }

/* Stage tabs */
.stage-tabs { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .stage-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .stage-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stage-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 84px; padding: 14px 16px; border-radius: 14px; border: 1px solid #E2DCEF; background: #fff; color: var(--indigo-700); text-align: left; }
.stage-tab small { font-size: 12px; font-weight: 700; opacity: .8; }
.stage-tab strong { font-size: 15px; line-height: 1.3; }
.stage-tab[aria-selected="true"] { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.stage-panel { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo-50); border: 1px solid var(--line); }
.stage-panel img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.stage-panel > div { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.stage-panel .num { font-family: var(--font-display); font-size: 56px; font-weight: 600; line-height: 1; color: #E2DCEF; }
@media (min-width: 980px) { .stage-panel { grid-template-columns: 1fr 1fr; } .stage-panel > div { padding: 56px; } .stage-panel img { min-height: 400px; } }

/* Product detail */
.pd-hero { background: var(--indigo-50); border-bottom: 1px solid var(--line); padding: 40px 0 56px; }
.pd-hero .breadcrumb ol { color: var(--indigo-500); margin-bottom: 32px; }
.pd-hero .breadcrumb [aria-current] { color: var(--indigo-700); font-weight: 500; }
.pd-photo { position: relative; }
.pd-photo .frame { aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(43,29,107,.45); }
.pd-photo__badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(27,17,69,.45); display: flex; flex-direction: column; gap: 8px; }
.pd-photo__badge > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-500); }
@media (min-width: 980px) { .pd-photo__badge { left: -24px; bottom: 28px; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; background: var(--indigo-900); margin-top: 40px; }
.facts > div { padding: 22px 20px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin: 0 -1px -1px 0; }
.facts small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-200); margin-bottom: 6px; }
.facts strong { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: #fff; }
@media (min-width: 980px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts > div { padding: 26px 28px; } }
.grade-card { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.grade-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red-600); }
.grade-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.grade-card h3 { font-size: 21px; }
.grade-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.grade-tiles li { padding: 12px; border-radius: 12px; background: var(--indigo-700); color: #fff; }
.grade-tiles small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-300); margin-bottom: 4px; }
.grade-tiles strong { font-family: var(--font-display); font-size: 15px; line-height: 1.3; }
.custom-grade { position: relative; overflow: hidden; padding: 28px; border-radius: 20px; background: var(--indigo-900); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.custom-grade::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(255,255,255,.05); }
.custom-grade p { font-family: var(--font-display); font-size: 20px; line-height: 1.4; font-weight: 500; }
.custom-grade .btn { align-self: flex-start; position: relative; z-index: 1; }
.use-row { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 18px; background: var(--indigo-50); border: 1px solid #ECE9F4; }
.use-row strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--indigo-700); }
.use-row small { font-size: 14px; color: var(--indigo-500); }
.ind-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: 22px; overflow: hidden; color: #fff; background: var(--indigo-700); }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,17,69,0) 30%, rgba(27,17,69,.94) 100%); }
.ind-card > div { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ind-card strong { font-family: var(--font-display); font-size: 34px; line-height: 1; }

/* Industries grid */
.industry { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--indigo-200); color: inherit; }
.industry .icon-tile { background: var(--indigo-100); color: var(--indigo-700); transition: background .25s, color .25s; }
.industry:hover .icon-tile { background: var(--red-600); color: #fff; }
.industry h3 { font-size: 20px; color: var(--indigo-700); }
.industry p { font-size: 15px; line-height: 1.65; color: var(--body); }

/* Matching panel */
.match { padding: 28px 22px; border-radius: var(--radius-lg); background: var(--indigo-50); border: 1px solid #ECE9F4; display: flex; flex-direction: column; gap: 16px; }
.match .label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-500); }
.factor { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid #E2DCEF; font-size: 14px; font-weight: 600; color: var(--indigo-700); }
.factor::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600); }
.material-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.material-grid li { padding: 16px; border-radius: 12px; background: var(--indigo-900); color: #fff; font-family: var(--font-display); font-weight: 600; }

/* Event cards */
.event { display: grid; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.event__date { padding: 24px; background: var(--indigo-900); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.event__date small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-200); }
.event__date strong { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.event__body { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.event__stand { padding: 22px 24px; background: #FAF9FD; border-top: 1px solid #ECE9F4; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 980px) { .event { grid-template-columns: 220px 1fr 280px; } .event__stand { border-top: 0; border-left: 1px solid #ECE9F4; justify-content: center; } }

/* Job cards */
.job { display: flex; flex-direction: column; gap: 20px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.job__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--body); }
.job__meta span { display: inline-flex; align-items: center; gap: 8px; }
.job__meta svg { width: 16px; height: 16px; color: var(--indigo-700); }
@media (min-width: 980px) { .job { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; } }

/* Office cards */
.office { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.office h3 { font-size: 19px; color: var(--indigo-700); }
.office address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--body); }
.office .contact-lines { margin-top: auto; padding-top: 12px; border-top: 1px solid #ECE9F4; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.office .contact-lines a:first-child { font-weight: 600; color: var(--ink); }

/* Certificates / clients */
.cert-card .cert-sheet { position: relative; height: 220px; background: var(--indigo-50); border-bottom: 1px solid #ECE9F4; display: flex; justify-content: center; align-items: flex-end; }
.cert-card .cert-sheet > div { width: 150px; height: 186px; border-radius: 6px 6px 0 0; background: #fff; box-shadow: 0 16px 30px -18px rgba(27,17,69,.5); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px; }
.cert-card .cert-sheet img { height: 64px; width: auto; max-width: 110px; object-fit: contain; }
.cert-card .cert-sheet i { display: block; height: 4px; border-radius: 2px; background: var(--indigo-100); }
.cert-logo { aspect-ratio: 1; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; }
.cert-logo img { max-height: 100%; width: auto; object-fit: contain; }
.cert-mini { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.cert-mini img { height: 96px; width: auto; max-width: 120px; object-fit: contain; }
.cert-mini strong { font-family: var(--font-display); font-size: 16px; line-height: 1.35; }
.cert-mini small { font-size: 13px; color: var(--indigo-500); }
.client { min-height: 118px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; transition: border-color .2s, box-shadow .2s; }
.client:hover { border-color: var(--indigo-200); box-shadow: var(--shadow-card); }
.client abbr { text-decoration: none; width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-100); color: var(--indigo-700); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.client span { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* Blog */
.post-feature { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: inherit; transition: box-shadow .25s, transform .25s; }
.post-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
.post-art { position: relative; min-height: 240px; background: var(--indigo-900); color: var(--indigo-300); display: flex; align-items: center; justify-content: center; }
.post-art svg { width: 110px; height: 110px; }
.post-art--light { background: var(--indigo-100) radial-gradient(circle at 1px 1px, rgba(43,29,107,.12) 1px, transparent 0) 0 0 / 16px 16px; color: var(--indigo-700); aspect-ratio: auto; height: 170px; min-height: 0; }
.post-art--light svg { width: 60px; height: 60px; }
.post-feature > div:last-child { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
@media (min-width: 980px) { .post-feature { grid-template-columns: 1.2fr 1fr; } .post-feature .post-art { min-height: 380px; } .post-feature > div:last-child { padding: 48px; } }
.pager { display: flex; justify-content: center; gap: 10px; }
.pager a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #E2DCEF; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.pager a[aria-current] { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }

/* Map placeholder */
.map { position: relative; height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo-100); border: 1px solid #E2DCEF; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--indigo-900); color: var(--muted-on-dark); font-size: 14px; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding: 48px 0 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-brand img { height: 96px; width: auto; }
.footer-brand .sep { width: 1px; height: 64px; background: #3A3070; display: none; }
.footer-brand p { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; color: var(--indigo-300); }
@media (min-width: 640px) { .footer-brand .sep { display: block; } .footer-brand img { height: 120px; } }
.social { display: flex; gap: 10px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A3070; display: inline-flex; align-items: center; justify-content: center; }
.social svg { width: 20px; height: 20px; }
.footer-mid, .footer-links { display: grid; gap: 40px; padding: 48px 0; }
.footer-mid { border-bottom: 1px solid var(--line-dark); }
@media (min-width: 980px) { .footer-mid, .footer-links { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.footer-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 16px; display: block; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-chips li { padding: 7px 12px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid #3A3070; font-size: 13px; color: #fff; }
.contact-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } .contact-cards .full { grid-column: 1 / -1; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--line-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-card .icon--red { background: var(--red-600); }
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-300); margin-bottom: 6px; }
.contact-card address, .contact-card a { font-style: normal; display: block; font-size: 15px; line-height: 1.7; color: #fff; overflow-wrap: anywhere; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols ul, .footer-products ul { display: flex; flex-direction: column; gap: 12px; }
.footer-products ul { display: grid; grid-template-columns: 1fr; gap: 12px 32px; }
@media (min-width: 640px) { .footer-products ul { grid-template-columns: 1fr 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 22px 0 96px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #A79FCC; }
@media (min-width: 640px) { .footer-bottom { padding-bottom: 28px; } }

/* ---------- 11. Floating UI ---------- */
.inquiry-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; writing-mode: vertical-rl; display: none; align-items: center; justify-content: center; min-width: 46px; padding: 22px 13px; border-radius: 12px 0 0 12px; background: var(--red-500); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .03em; box-shadow: -6px 8px 24px -10px rgba(0,0,0,.45); }
.inquiry-tab:hover { background: var(--red-600); color: #fff; }
@media (min-width: 640px) { .inquiry-tab { display: flex; } }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 85; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--green-wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(37,211,102,.18), 0 0 0 16px rgba(37,211,102,.08), 0 12px 24px -8px rgba(0,0,0,.4); }
.wa__btn svg { width: 30px; height: 30px; }
.wa__panel { width: min(320px, calc(100vw - 40px)); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -20px rgba(20,14,48,.45); }
.wa__panel[hidden] { display: none; }
.wa__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--indigo-900); color: #fff; }
.wa__head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.wa__head small { display: block; font-size: 12px; color: #A7F3C4; }
.wa__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.wa__body { padding: 18px 16px; background: #F2EFE9; display: flex; flex-direction: column; gap: 14px; }
.wa__msg { align-self: flex-start; max-width: 85%; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.wa__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: var(--green-wa); color: #fff; font-weight: 600; }
.wa__cta:hover { color: #fff; background: #1EBE5A; }

/* ---------- 12. Additions ---------- */
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: #E8F7EE; color: #11603A; font-size: 15px; font-weight: 500; }
.form-status[hidden] { display: none; }
.mega__panels { min-width: 0; }
.mega__tab svg { width: 18px; height: 18px; margin-left: auto; opacity: .6; flex: none; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 8px; font-weight: 600; color: var(--red-600); }
.mega__all svg { width: 16px; height: 16px; }
.hero-slide[hidden] { display: none; }
.hero-slide { display: flex; flex-direction: column; gap: 22px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.need { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--indigo-700); }
.need .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.need .icon-tile svg { width: 20px; height: 20px; }
.count-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #E2DCEF; font-size: 15px; font-weight: 600; color: var(--indigo-700); }
.count-pill strong { font-family: var(--font-display); font-size: 20px; color: var(--red-600); }
.event-list { display: flex; flex-direction: column; gap: 20px; }
.notice { padding: 22px 24px; border-radius: 18px; border: 1px dashed var(--indigo-200); background: var(--indigo-50); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 980px) { .notice { flex-direction: row; align-items: center; justify-content: space-between; } }
.photo-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.photo-grid > div { border-radius: 20px; overflow: hidden; min-height: 180px; }
.photo-grid > div:first-child { grid-row: span 2; min-height: 380px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.step small { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--red-600); }
.step h4 { font-size: 19px; color: var(--indigo-700); }
.step p { font-size: 15px; line-height: 1.65; color: var(--body); }
.test-list { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .test-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .test-list { grid-template-columns: repeat(4, 1fr); } }
.test-list li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-weight: 500; color: #fff; }
.test-list svg { width: 20px; height: 20px; color: var(--red-200); flex: none; }
.big-num { display: flex; gap: 12px; }
.big-num > div { flex: 1; padding: 20px; border-radius: 16px; background: var(--indigo-900); color: #fff; }
.big-num strong { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; }
.big-num small { font-size: 14px; color: var(--muted-on-dark); }
.cert-hero-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-quick { display: flex; flex-direction: column; gap: 12px; }
.contact-quick a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.contact-quick small { display: block; font-size: 13px; color: var(--indigo-500); }
.contact-quick strong { font-family: var(--font-display); font-size: 18px; color: var(--indigo-700); }
.mv-head { max-width: 760px; }
.strength { position: relative; min-height: 400px; border-radius: 20px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: var(--indigo-700); }
.strength img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strength::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,17,69,0) 25%, rgba(27,17,69,.94) 100%); }
.strength > div { position: relative; z-index: 1; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.strength h3 { font-size: 21px; }
.strength p { font-size: 15px; line-height: 1.6; color: #E4E0F2; }
.strength .rule { width: 40px; }
.legacy-text { display: flex; flex-direction: column; gap: 18px; }
.pd-hero .split { align-items: center; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.hero__content > .btn-row { padding-top: 6px; }
.dark-hero { position: relative; overflow: hidden; background: var(--indigo-900); color: #fff; padding: 56px 0; }
.dark-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); }
.dark-hero .wrap { position: relative; }
.dark-hero .lead { color: #E4E0F2; }
@media (min-width: 980px) { .dark-hero { padding: 80px 0; } }
.text-link-list { display: flex; flex-direction: column; gap: 4px; }
.lead strong { color: var(--ink); }
[data-filter-item] > .card { width: 100%; }
@media (max-width: 1279px) { .mega__links { grid-template-columns: 1fr; } }
.event .event__date span { font-size: 15px; color: var(--muted-on-dark); }
.card .event__date { padding: 22px 24px; }
.split > *, .grid > *, .form > * { min-width: 0; }
.upload input { max-width: 100%; font-size: 14px; }
/* Home hero: one image per material slide, crossfaded */
.hero__slides { position: absolute; inset: 0; }
.hero__slide-img { opacity: 0; transition: opacity 1.1s ease; }
.hero__slide-img.is-active { opacity: 1; }
.page-home .hero__shade { background: linear-gradient(90deg, rgba(27,17,69,.88) 0%, rgba(27,17,69,.6) 42%, rgba(27,17,69,.05) 100%); }
@media (max-width: 979px) { .page-home .hero__shade { background: linear-gradient(180deg, rgba(27,17,69,.35) 0%, rgba(27,17,69,.85) 55%, rgba(27,17,69,.95) 100%); } .hero__slide-img { object-position: 70% center; } }
/* Home: auto-scrolling product strip (pauses on hover / focus) */
.marquee { position: relative; overflow: hidden; padding: 8px 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 24px; padding-right: 24px; }
.marquee__group > li { display: flex; width: 320px; flex: none; }
.marquee__card { width: 100%; }
.marquee__card .card__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 639px) { .marquee__group > li { width: 270px; } .marquee__track { animation-duration: 55s; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none; } .marquee__group[aria-hidden] { display: none; } }
/* Applications: industry cards with photos */
.industry--photo { padding: 0; overflow: hidden; gap: 0; }
.industry__media { aspect-ratio: 19 / 15; overflow: hidden; background: var(--indigo-100); }
.industry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out, ease); }
.industry--photo:hover .industry__media img { transform: scale(1.06); }
.industry--photo .icon-tile { margin: -28px 0 0 24px; position: relative; z-index: 1; background: #fff; box-shadow: 0 10px 24px -12px rgba(27,17,69,.45); }
.industry--photo h3 { padding: 16px 24px 0; }
.industry--photo p { padding: 10px 24px 26px; }
@media (min-width: 980px) { .industry__media { aspect-ratio: 16 / 11; } }
html, body { overflow-x: clip; }

/* ---------- Events: photos, gallery, lightbox, invitation ---------- */
.event-card .card__media { aspect-ratio: 492 / 292; }
.event-card__date { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--indigo-900); color: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.event-card__date strong { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.event-card__date small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-200); }
.event-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.event-gallery a { position: relative; display: block; aspect-ratio: 492 / 292; border-radius: 12px; overflow: hidden; background: var(--indigo-100); }
.event-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-gallery__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(27,17,69,.45); color: #fff; opacity: 0; transition: opacity .25s; }
.event-gallery__zoom svg { width: 30px; height: 30px; }
.event-gallery a:hover img, .event-gallery a:focus-visible img { transform: scale(1.08); }
.event-gallery a:hover .event-gallery__zoom, .event-gallery a:focus-visible .event-gallery__zoom { opacity: 1; }
@media (max-width: 479px) { .event-gallery { grid-template-columns: 1fr 1fr; } .event-gallery li:first-child { grid-column: 1 / -1; } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 64px 12px; background: rgba(14,9,36,.94); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; flex: 1; max-width: 1100px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; min-width: min(100%, 720px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); opacity: 0; transform: scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.lightbox__img.is-in { opacity: 1; transform: none; }
.lightbox__caption { color: #E4E0F2; font-size: 15px; text-align: center; }
.lightbox__img { cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__img { cursor: zoom-out; }
.lightbox.is-zoomed .lightbox__img.is-in { transform: scale(2.4); transition: transform .3s ease; }
.lightbox.is-zoomed .lightbox__figure { z-index: 0; }
.lightbox { overflow: hidden; }
.lightbox__zoom { position: absolute; top: 14px; right: 78px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__zoom:hover, .lightbox.is-zoomed .lightbox__zoom { background: var(--red-600); border-color: var(--red-600); }
.lightbox__zoom svg { width: 24px; height: 24px; }
.lightbox__close, .lightbox__nav { z-index: 2; }
.lightbox__close, .lightbox__nav { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red-600); border-color: var(--red-600); }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; }
.lightbox.is-single .lightbox__nav { visibility: hidden; }
@media (max-width: 639px) { .lightbox__nav { position: absolute; bottom: 14px; } .lightbox__nav--prev { left: calc(50% - 62px); } .lightbox__nav--next { right: calc(50% - 62px); } .lightbox__img { min-width: 100%; } }

.invite { position: fixed; inset: 0; z-index: 190; display: flex; align-items: center; justify-content: center; padding: 20px; }
.invite__scrim { position: absolute; inset: 0; background: rgba(14,9,36,.8); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.invite__box { position: relative; width: min(520px, 100%, calc(100vh - 140px)); display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.invite.is-open .invite__scrim { opacity: 1; }
.invite.is-open .invite__box { opacity: 1; transform: none; }
.invite__box img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border: 8px solid #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 30px 80px -20px rgba(0,0,0,.75); background: #fff; }
.invite__close { position: absolute; top: -16px; right: -16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--indigo-900); background: #fff; color: var(--indigo-900); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.invite__close:hover { background: var(--red-600); color: #fff; }
.invite__close svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .invite__close { top: -10px; right: -6px; } }

/* ---------- Blog article ---------- */
.post-art--photo { padding: 0; overflow: hidden; }
.post-art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-feature:hover .post-art--photo img { transform: scale(1.04); }
.post-head { padding-bottom: 120px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--indigo-500); }
.post-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta svg { width: 18px; height: 18px; color: var(--red-600); }
.post-hero-wrap { max-width: calc(1040px + var(--gutter) * 2); margin-top: -96px; position: relative; z-index: 1; }
.post-hero { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(27,17,69,.5); background: var(--indigo-900); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; gap: 48px; padding-top: 56px; max-width: calc(1040px + var(--gutter) * 2); }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; } .post-side__box { position: sticky; top: calc(var(--header-h) + 24px); } }
.post-body { display: flex; flex-direction: column; gap: 36px; font-size: 17px; line-height: 1.8; color: var(--body); }
.post-body section { display: flex; flex-direction: column; gap: 16px; }
.post-h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--indigo-700); position: relative; padding-left: 18px; }
.post-h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--red-600); }
.post-lead { font-size: 19px; line-height: 1.7; color: var(--ink); font-weight: 500; }
.post-body section a:not(.btn) { color: var(--red-600); text-decoration: underline; text-underline-offset: 3px; }
.post-body section a:not(.btn):hover { color: var(--indigo-700); }
.post-body section ul, .post-body section ol { display: grid; gap: 10px; padding-left: 1.4em; margin: 0; }
.post-body section ul { list-style: disc; }
.post-body section ol { list-style: decimal; }
.post-body section li::marker { color: var(--red-600); font-weight: 600; }
.post-body section li strong { color: var(--ink); }
.post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.post-table table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.post-table th, .post-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-table thead th { background: var(--indigo-900); color: #fff; font-family: var(--font-display); font-weight: 600; }
.post-table tbody th { background: var(--indigo-50); color: var(--indigo-700); font-weight: 600; width: 22%; }
.post-table tbody tr:last-child > * { border-bottom: 0; }
.post-table:focus-visible { outline: 2px solid var(--red-600); outline-offset: 2px; }
.post-cta { display: grid; gap: 18px; padding: 26px; border-radius: 20px; background: var(--indigo-900); color: #fff; }
.post-cta strong { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
.post-cta p { font-size: 15px; line-height: 1.6; color: var(--muted-on-dark); }
.post-cta .btn { justify-self: start; }
@media (min-width: 760px) { .post-cta { grid-template-columns: auto 1fr auto; align-items: center; padding: 28px 32px; } }
.post-share { display: flex; align-items: center; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); }
.post-share span { margin-right: 6px; }
.post-share a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E2DCEF; display: inline-flex; align-items: center; justify-content: center; color: var(--indigo-700); transition: background .2s, color .2s; }
.post-share a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.post-share svg { width: 18px; height: 18px; }
.post-side__box { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: var(--indigo-50); border: 1px solid var(--line); }
.post-mini { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.post-mini img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.post-mini small { display: block; font-size: 12px; color: var(--red-600); font-weight: 600; margin-bottom: 4px; }
.post-mini strong { font-family: var(--font-display); font-size: 15px; line-height: 1.35; font-weight: 600; }
.post-mini:hover strong { color: var(--red-600); }

/* ---------- Quick enquiry slide-in (side "Inquiry Now" tab) ---------- */
.inquiry-tab { border: 0; font-family: var(--font-body); cursor: pointer; }
@media (max-width: 639px) { .inquiry-tab { display: flex; min-width: 38px; padding: 16px 9px; font-size: 13px; top: 42%; } }
/* Side tabs: "Inquiry Now" + "Download Brochure" stacked on the right edge */
.side-tabs { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.side-tabs .inquiry-tab { position: static; transform: none; top: auto; }
.brochure-tab { writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; padding: 18px 13px; border-radius: 12px 0 0 12px; background: var(--indigo-700); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .03em; box-shadow: -6px 8px 24px -10px rgba(0,0,0,.45); }
.brochure-tab:hover { background: var(--indigo-800, #1B1145); color: #fff; }
.brochure-tab svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 639px) { .side-tabs { top: 42%; } .brochure-tab { min-width: 38px; padding: 14px 9px; font-size: 13px; } }
.qe { position: fixed; inset: 0; z-index: 180; }
.qe__scrim { position: absolute; inset: 0; background: rgba(14,9,36,.6); opacity: 0; transition: opacity .3s; }
.qe__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .45s cubic-bezier(.16,1,.3,1); box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.qe.is-open .qe__scrim { opacity: 1; }
.qe.is-open .qe__panel { transform: none; }
.qe__head { display: flex; justify-content: space-between; gap: 16px; padding: 28px 24px 24px; background: var(--indigo-900); color: #fff; }
.qe__head h2 { font-size: 28px; margin: 6px 0 8px; }
.qe__head p { font-size: 14px; line-height: 1.5; color: var(--muted-on-dark); }
.qe__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.qe__close:hover { background: var(--red-600); border-color: var(--red-600); }
.qe__close svg { width: 22px; height: 22px; }
.qe__form { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.qe.is-open .qe__form > * { animation: rise-in .5s cubic-bezier(.16,1,.3,1) both; }
.qe.is-open .qe__form > :nth-child(3) { animation-delay: .05s; } .qe.is-open .qe__form > :nth-child(4) { animation-delay: .1s; }
.qe.is-open .qe__form > :nth-child(5) { animation-delay: .15s; } .qe.is-open .qe__form > :nth-child(6) { animation-delay: .2s; }
.qe.is-open .qe__form > :nth-child(8) { animation-delay: .25s; }
/* Brochure download form (extra states) */
.qe__form[hidden] { display: none; }
.bro-error { background: #FDECEE; color: #8A1426; }
.bro-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 24px; }
.bro-done[hidden] { display: none; }
.bro-done__icon { width: 56px; height: 56px; border-radius: 50%; background: #E8F7EE; color: #11603A; display: inline-flex; align-items: center; justify-content: center; }
.bro-done__icon svg { width: 28px; height: 28px; }
.bro-done h3 { font-size: 26px; color: var(--indigo-700); outline: none; }
.bro-done p { font-size: 16px; line-height: 1.6; color: var(--body); }
.bro-done .btn { width: 100%; }
.qe.is-open .bro-done > * { animation: rise-in .5s cubic-bezier(.16,1,.3,1) both; }
/* Brochure form: compact centred modal instead of the side panel */
.bro .qe__panel { top: 50%; left: 50%; right: auto; bottom: auto; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 20px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s; box-shadow: 0 40px 80px -30px rgba(14,9,36,.6); }
.bro.is-open .qe__panel { transform: translate(-50%, -50%); opacity: 1; }
.bro .qe__head { padding: 22px 24px 20px; }
.bro .qe__head h2 { font-size: 24px; margin: 4px 0 6px; }
.bro .qe__form { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 24px 24px; }
.bro .bro-done { align-items: center; text-align: center; padding: 32px 24px 28px; }
@media (min-width: 560px) {
  .bro .qe__form { grid-template-columns: 1fr 1fr; }
  .bro .qe__form > .form-status, .bro .qe__form > .btn { grid-column: 1 / -1; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* About hero: headline on two lines */
.page-about .hero__content { max-width: 1120px; }
.page-about .hero h1 { font-size: clamp(30px, 4.4vw, 62px); }
.page-about .hero .lead { max-width: 860px; }
/* About: global network map */
.net-map { margin: 0 auto; max-width: 1200px; }
.net-map img { width: 100%; height: auto; }
.net-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; margin-top: 32px; }
.net-legend__item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 20px; border-radius: 999px; background: var(--indigo-100); color: var(--indigo-700); font-size: 16px; font-weight: 500; }
.net-legend__item--red { background: var(--red-50); color: var(--red-600); }
.legend-pin { width: 16px; height: 28px; }
.net-legend__item img { width: 30px; height: auto; border-radius: 50%; }

/* ---------- Banner heights ---------- */
/* Home: banner fills the screen below the header */
.page-home .hero__frame { min-height: calc(100vh - var(--header-h) - 16px); min-height: calc(100svh - var(--header-h) - 16px); }
@media (min-width: 980px) { .page-home .hero__frame { min-height: calc(100vh - var(--header-h) - 44px - 16px); min-height: calc(100svh - var(--header-h) - 44px - 16px); max-height: 1000px; } }
.page-home .hero__content { justify-content: center; }
@media (min-width: 980px) and (max-height: 760px) { .page-home .hero .h1 { font-size: clamp(32px, 4.6vw, 54px); } .page-home .hero-slide { gap: 16px; } }

/* Inner pages: compact (half-height) banner */
body:not(.page-home) .hero__frame, body:not(.page-home) .hero--tall .hero__frame, body:not(.page-home) .hero--short .hero__frame { min-height: 320px; }
body:not(.page-home) .hero__content { gap: 14px; padding-top: 40px; padding-bottom: 40px; max-width: 1180px; }
body:not(.page-home) .hero .h1 { font-size: clamp(28px, 3.4vw, 46px); }
body:not(.page-home) .hero .lead { font-size: 16px; line-height: 1.6; max-width: 880px; }
body:not(.page-home) .hero .eyebrow--hero { padding: 7px 14px; font-size: 12px; }
body:not(.page-home) .hero .btn { min-height: 46px; }
@media (min-width: 980px) { body:not(.page-home) .hero__frame { min-height: 360px; } body:not(.page-home) .hero__content { padding-top: 44px; padding-bottom: 44px; } }
@media (max-width: 639px) { body:not(.page-home) .hero .lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 980px) and (max-height: 760px) {
  .page-home .hero__content { padding-top: 28px; padding-bottom: 28px; gap: 16px; }
  .page-home .hero .h1 { font-size: clamp(30px, 3.8vw, 46px); }
  .page-home .hero .lead { font-size: 16px; }
  .page-home .hero-slide { gap: 12px; }
  .page-home .hero .btn { min-height: 46px; }
  .page-home .hero__tab { min-height: 46px; padding: 0 22px; font-size: 15px; }
}
/* Clients: logo tiles on white */
.client { background: #fff; }
.client--logo img { width: auto; height: 56px; max-width: 80%; object-fit: contain; filter: none; transition: transform .3s; }
.client--logo:hover img { transform: scale(1.06); }
/* Clients: Major Approvals / End Clientele */
.approvals { background: var(--indigo-900); }
.approvals .h2 { color: #fff; }
.approvals .eyebrow { background: rgba(255,255,255,.08); color: #E4E0F2; border: 1px solid rgba(255,255,255,.2); }
.appr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .appr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 980px) { .appr-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.appr { min-height: 104px; padding: 12px 14px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 10px 24px -18px rgba(0,0,0,.6); transition: transform .3s, box-shadow .3s; }
.appr:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); }
.appr img { height: 72px; width: auto; max-width: 88%; object-fit: contain; }
.appr__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .02em; color: var(--indigo-700); line-height: 1.25; }

/* Careers workplace photos — landscape layout */
.photo-grid--wide > div:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 8.5; }
.photo-grid--wide > div:not(:first-child) { min-height: 0; aspect-ratio: 4 / 3; }
.photo-grid--wide .photo-grid__team img { object-position: 50% 45%; }
@media (max-width: 520px) { .photo-grid--wide > div:not(:first-child) { aspect-ratio: 1 / 1; } }

/* Lightbox clean-up: solid backdrop, no heavy shadow, centred photo on small screens */
.lightbox { background: #0B0720; }
.lightbox__img { box-shadow: none; }
@media (max-width: 767px) {
  .lightbox { padding: 64px 8px 76px; }
  .lightbox__figure { width: 100%; flex: 1 1 100%; max-width: none; }
  .lightbox__img { min-width: 0; max-width: 100%; max-height: calc(100% - 36px); }
  .lightbox__nav { position: absolute; bottom: 14px; width: 48px; height: 48px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
}

/* CSR section: tighter gap between heading and media */
#csr .section-head { margin-bottom: 0; }
#csr .stack-lg { --stack-gap: 36px; }
