/*!
 * NVDAN theme stylesheet
 * Design system ported 1:1 from the original Astro build (src/styles/global.css
 * plus the scoped blocks of each page). Fonts are self-hosted so the site does
 * not depend on Google Fonts (blocked in mainland China).
 */

/* ---------- Self-hosted variable fonts ---------- */
@font-face {
  font-family: 'Montserrat Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  /* Brand palette — NVDAN red (catalogue #800000 / logo gradient), deep navy & steel blue from the banners */
  --red-950: #4a070a;
  --red-900: #6b0a0e;
  --red-800: #800000;
  --red-700: #9b1117;
  --red-600: #c0171f;
  --red-100: #fbe9ea;
  --navy-950: #050f22;
  --navy-900: #0a1a36;
  --navy-800: #0f2649;
  --navy-700: #163764;
  --blue-500: #2a6fd6;
  --blue-300: #8fb7f2;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #eef1f5;

  --font-head: 'Montserrat Variable', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 54, 0.06), 0 1px 3px rgba(10, 26, 54, 0.08);
  --shadow: 0 10px 30px -12px rgba(10, 26, 54, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 26, 54, 0.35);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 2px; }
.sr-only, .screen-reader-text {
  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: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--grey { background: var(--paper-2); }
.section--navy { background: var(--navy-900); color: #c9d4e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: #ff8a8f; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 760px; }
.section--navy .lead { color: #b9c6db; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 760px; }
.section-head p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
  border: 2px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red-700); color: #fff; }
.btn--primary:hover { background: var(--red-800); color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--navy-900); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--red-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.topbar { background: var(--navy-950); color: #9fb0c9; font-size: 0.8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; margin-right: 6px; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s; }
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__item > a { position: relative; display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.nav > a::after, .nav__item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--red-700); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current='page']::after, .nav__item:hover > a::after, .nav__item > a[aria-current='page']::after { transform: scaleX(1); }
.nav__item { position: relative; }
.nav__item svg { width: 12px; height: 12px; }
.mega { position: absolute; top: 100%; left: -180px; width: min(860px, 90vw); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red-700); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 28px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; padding: 12px 14px; border-radius: var(--radius); }
.mega a:hover { background: var(--paper-2); }
.mega strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 0.95rem; }
.mega span { display: block; font-size: 0.82rem; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform 0.25s, background 0.25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .topbar__left a:not(:first-child) { display: none; }
  .mobile-nav { display: block; position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: #fff; z-index: 99; overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateX(100%); transition: transform 0.3s var(--ease); }
  .menu-open .mobile-nav { transform: none; }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
  .mobile-nav .sub a { font-weight: 500; font-size: 0.95rem; padding-left: 16px; color: var(--ink-2); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; }
}
@media (max-width: 640px) { .topbar__right { display: none; } }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy-950); color: #c9d4e6; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 34, 0.96) 0%, rgba(5, 15, 34, 0.78) 45%, rgba(5, 15, 34, 0.35) 100%); }
.page-hero .wrap { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; color: #b9c6db; margin-bottom: 0; }
.page-hero .eyebrow { color: #ff8a8f; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: #8ea0bd; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs li { list-style: none; display: flex; gap: 8px; }
.crumbs li + li::before { content: '/'; opacity: 0.5; }
.crumbs--light { color: var(--ink-3); }
.crumbs--light a:hover { color: var(--red-700); }

/* Cards */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.p-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.p-card__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff 0%, #eef1f5 100%); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__marks { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.mark { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: var(--navy-900); color: #fff; }
.mark--csa { background: var(--blue-500); }
.mark--msha { background: #b45309; }
.p-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-card__cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.p-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.p-card h3 a::after { content: ''; position: absolute; inset: 0; }
.p-card p { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 16px; line-height: 1.55; }
.p-card .link-arrow { margin-top: auto; }

.c-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: #fff; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.c-card__img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: radial-gradient(110% 90% at 50% 20%, #ffffff 0%, #e8ecf2 100%); overflow: hidden; }
.c-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.c-card:hover .c-card__img img { transform: scale(1.06); }
.c-card__body { padding: 22px 24px 26px; flex: 1; }
.c-card__count { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ff8a8f; }
.c-card h3 { color: #fff; font-size: 1.18rem; margin: 6px 0 8px; }
.c-card h3 a::after { content: ''; position: absolute; inset: 0; }
.c-card p { font-size: 0.86rem; color: #b9c6db; margin: 0; line-height: 1.5; }
.c-card__bar { position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red-600); transition: width 0.4s var(--ease); z-index: 1; }
.c-card:hover .c-card__bar { width: 100%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 28px 26px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy-900); line-height: 1; letter-spacing: -0.02em; }
.stat__num small { font-size: 0.5em; font-weight: 700; color: var(--red-700); margin-left: 4px; }
.stat__label { margin-top: 10px; font-size: 0.88rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: 20px; background: var(--red-700); color: #fff; padding: 16px 20px; border-radius: var(--radius); font-family: var(--font-head); }
.media-badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.media-badge span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

.checklist { list-style: none; display: grid; gap: 12px; margin: 24px 0 32px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b1117' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--navy .checklist li { color: #c9d4e6; }
.section--navy .checklist li::before { background-color: rgba(255, 138, 143, 0.15); }

/* Feature tiles */
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; height: 100%; }
.tile__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red-700); margin-bottom: 20px; }
.tile__icon svg { width: 26px; height: 26px; }
.tile h3 { margin-bottom: 10px; }
.tile p { font-size: 0.93rem; color: var(--ink-3); margin: 0; }
.section--navy .tile { background: var(--navy-800); border-color: rgba(255,255,255,0.08); }
.section--navy .tile p { color: #a9b8cf; }
.section--navy .tile__icon { background: rgba(255,255,255,0.06); color: #ff8a8f; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: 0.82rem; font-weight: 600; background: linear-gradient(transparent, rgba(5, 15, 34, 0.85)); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery figure { grid-column: auto !important; grid-row: auto !important; } }

/* Marquee of partners */
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; color: var(--ink-2); background: #fff; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--red-900) 0%, var(--red-700) 55%, #b3151c 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; z-index: -1; background: url('../img/icon-512.png') center / contain no-repeat; opacity: 0.08; filter: brightness(0) invert(1); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 640px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(42, 111, 214, 0.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-600); }
.form__note { font-size: 0.8rem; color: var(--ink-3); margin: 0; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-size: 0.92rem; display: none; }
.form__status.is-ok { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.form__status.is-err { display: block; background: var(--red-100); color: var(--red-900); border: 1px solid #f4b8bb; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy-950); color: #8ea0bd; font-size: 0.9rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 56px; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 340px; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #ff8a8f; }
.footer__iso { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__iso span { border: 1px solid rgba(255, 255, 255, 0.14); padding: 4px 10px; border-radius: 4px; font-size: 0.74rem; font-weight: 600; color: #b9c6db; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* Floating actions */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform 0.2s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab__wa { background: #25d366; }
.fab__mail { background: var(--red-700); }
.fab__top { background: var(--navy-900); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.fab__top.is-visible { opacity: 1; pointer-events: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Prose */
.prose { max-width: 820px; }
.prose p { color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* =====================================================================
   Home page
   ===================================================================== */
.hero { position: relative; background: var(--navy-950); overflow: hidden; }
.hero__track { position: relative; aspect-ratio: 1920 / 650; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: rgba(5,15,34,0.35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background 0.2s; }
.hero__nav:hover { background: var(--red-700); border-color: var(--red-700); }
.hero__nav svg { width: 22px; height: 22px; }
.hero__nav--prev { left: 24px; } .hero__nav--prev svg { rotate: 90deg; }
.hero__nav--next { right: 24px; } .hero__nav--next svg { rotate: -90deg; }
.hero__dots { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background 0.2s, width 0.3s; }
.hero__dots button.is-active { background: #fff; width: 48px; }
@media (max-width: 760px) { .hero__nav { display: none; } .hero__dots { bottom: 8px; } }

.intro { background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%); color: #b9c6db; padding: clamp(48px, 7vw, 88px) 0 0; }
.intro h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 0; }
.intro .lead { color: #b9c6db; }
.intro .eyebrow { color: #ff8a8f; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.intro__stats { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.1); }
.intro__stats > div { padding: 28px 24px 34px 0; }
.intro__stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.1); }
.intro__stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.intro__stats small { font-size: 0.45em; color: #ff8a8f; margin-left: 4px; letter-spacing: 0; }
.intro__stats span { display: block; margin-top: 10px; font-size: 0.86rem; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: repeat(2, 1fr); }
  .intro__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .intro__stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.1); }
}

.listed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); max-height: 560px; overflow-y: auto; }
.listed table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.listed th { position: sticky; top: 0; background: var(--navy-900); color: #fff; text-align: left; padding: 14px 18px; font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.listed td { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink-2); }
.listed td:first-child a { font-weight: 600; color: var(--ink); }
.listed td:first-child a:hover { color: var(--red-700); }
.listed tr:hover td { background: var(--paper-2); }

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.ind::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,15,34,0.05) 30%, rgba(5,15,34,0.9) 100%); transition: background 0.3s; }
.ind:hover img { transform: scale(1.07); }
.ind:hover::after { background: linear-gradient(180deg, rgba(107,10,14,0.15) 20%, rgba(107,10,14,0.92) 100%); }
.ind__body { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.ind__body svg { width: 26px; height: 26px; color: #ff8a8f; margin-bottom: 10px; }
.ind h3 { color: #fff; font-size: 1.05rem; margin: 0; }
@media (max-width: 1024px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }

.iso-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.iso-row span { padding: 10px 16px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: var(--navy-900); }
.cert-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert-stack figure { margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.cert-stack img { max-height: 100%; width: auto; object-fit: contain; box-shadow: var(--shadow-sm); }

.partners-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.partners-wrap h3 { font-size: 1.35rem; margin: 0; }
@media (max-width: 900px) { .partners-wrap { grid-template-columns: 1fr; } }

.contact-mini { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.contact-mini li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.contact-mini svg { width: 20px; height: 20px; color: var(--red-700); }
.contact-mini a:hover { color: var(--red-700); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }

/* =====================================================================
   Products archive
   ===================================================================== */
.toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 0.86rem; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: all 0.2s; }
.chip span { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.chip:hover { border-color: var(--navy-900); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip.is-active span { color: #9fb0c9; }
.search { position: relative; display: flex; align-items: center; min-width: 280px; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ink-3); }
.search input { width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 18px 0 42px; }
.search input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(42, 111, 214, 0.18); }
.empty { text-align: center; padding: 40px 0; color: var(--ink-3); }
.empty a { color: var(--red-700); font-weight: 600; }
.cat-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; transition: border-color 0.2s, box-shadow 0.2s; }
.cat-row:hover { border-color: var(--red-700); box-shadow: var(--shadow); }
.cat-row h3 { margin-bottom: 6px; } .cat-row p { margin: 0; font-size: 0.9rem; color: var(--ink-3); }
.cat-row__n { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--red-700); }
@media (max-width: 640px) { .search { min-width: 100%; } }

/* Product category archive */
.ind-chips, .others { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-chips a, .others a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--ink); transition: border-color 0.2s, color 0.2s; }
.ind-chips a:hover, .others a:hover { border-color: var(--red-700); color: var(--red-700); }
.ind-chips svg { width: 20px; height: 20px; color: var(--red-700); }
.others svg { width: 14px; height: 14px; }

/* =====================================================================
   Product detail
   ===================================================================== */
.pd-top { padding: 28px 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--paper-2), #fff); }
.pd-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-main { position: relative; background: radial-gradient(100% 80% at 50% 30%, #fff 0%, var(--paper-3) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1 / 0.82; display: grid; place-items: center; padding: clamp(18px, 3vw, 40px); }
.pd-main img { max-height: 100%; width: auto; object-fit: contain; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pd-thumbs button { width: 96px; height: 80px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; padding: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-thumbs button.is-active { border-color: var(--red-700); }
.pd-thumbs img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.pd-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 6px 0 12px; }
.pd-sub { font-family: var(--font-head); font-weight: 600; color: var(--navy-700); font-size: 1rem; line-height: 1.5; }
.pd-summary { color: var(--ink-2); }
.pd-quick { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.pd-quick div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.pd-quick dt { color: var(--ink-3); font-weight: 600; }
.pd-quick dd { margin: 0; color: var(--ink); font-weight: 600; }
.pd-dl { margin-top: 20px; font-size: 0.85rem; }
.pd-tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs a { flex: none; padding: 16px 18px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--ink-2); border-bottom: 3px solid transparent; }
.pd-tabs a:hover, .pd-tabs a.is-active { color: var(--red-700); border-bottom-color: var(--red-700); }
.pd-section { scroll-margin-top: calc(var(--header-h) + 60px); }
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pd-two--top { align-items: start; }
.pd-h3 { margin-top: 28px; }
.pd-structure { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.pd-structure li::marker { color: var(--red-700); font-weight: 700; font-family: var(--font-head); }
.pd-structure strong { color: var(--ink); }
.pd-struct { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.pd-struct figcaption { font-size: 0.82rem; color: var(--ink-3); text-align: center; margin-top: 10px; }
.pd-struct--product { background: radial-gradient(100% 80% at 50% 30%, #fff 0%, var(--paper-3) 100%); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.93rem; }
.spec-table th { width: 38%; background: var(--paper-3); color: var(--ink); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.pd-side { display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.side-card h3 { font-size: 1rem; margin-bottom: 12px; }
.side-card ul { list-style: none; display: grid; gap: 8px; font-size: 0.9rem; }
.side-card li { padding-left: 16px; position: relative; }
.side-card li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--red-700); border-radius: 1px; }
.side-card--dark { background: var(--navy-900); border-color: var(--navy-900); color: #b9c6db; }
.side-card--dark h3 { color: #fff; } .side-card--dark p { font-size: 0.9rem; }
.side-card--dark .link-arrow { color: #ff8a8f; }
.tables { display: grid; gap: 32px; }
.tbl { margin: 0; }
.tbl figcaption { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.tbl__img { position: relative; display: block; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.tbl__img img { width: 100%; height: auto; }
.tbl__zoom { position: absolute; right: 14px; top: 14px; display: inline-flex; gap: 6px; align-items: center; background: var(--navy-900); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; opacity: 0.9; }
.tbl__zoom svg { width: 14px; height: 14px; }
.tbl__note { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.tbl-empty { display: flex; gap: 24px; align-items: center; background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 32px; flex-wrap: wrap; }
.tbl-empty > svg { width: 44px; height: 44px; color: var(--red-700); }
.tbl-empty div { flex: 1; min-width: 240px; } .tbl-empty h3 { margin-bottom: 4px; } .tbl-empty p { margin: 0; color: var(--ink-3); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.apps figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.apps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.apps figcaption { padding: 12px 16px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.zoom { border: 0; padding: 0; max-width: 96vw; max-height: 94vh; background: #fff; border-radius: var(--radius-lg); overflow: auto; }
.zoom::backdrop { background: rgba(5, 15, 34, 0.85); }
.zoom img { max-width: none; width: min(2000px, 180vw); height: auto; display: block; }
.zoom__close { position: sticky; top: 10px; left: calc(100% - 54px); margin: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy-900); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; float: right; }
.zoom__close svg { width: 20px; height: 20px; }
@media (min-width: 1100px) { .zoom img { width: 1600px; } }
@media (max-width: 900px) {
  .pd-grid, .pd-two { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .pd-quick div { grid-template-columns: 130px 1fr; }
}

/* =====================================================================
   About
   ===================================================================== */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { background: #fff; padding: 22px; }
.facts span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.facts strong { display: block; margin-top: 6px; font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; }
.pill-group { margin-top: 24px; } .pill-group h3 { font-size: 0.95rem; margin-bottom: 12px; }

/* =====================================================================
   Manufacturing
   ===================================================================== */
.banner-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* =====================================================================
   Quality
   ===================================================================== */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.certs figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.certs img { max-height: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, 1fr); } }
.ref-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ref-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 620px; }
.ref-table th { background: var(--navy-900); color: #fff; text-align: left; padding: 14px 18px; font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ref-table td { padding: 12px 18px; border-top: 1px solid var(--line); }
.ref-table td:first-child a { font-weight: 600; color: var(--ink); }
.ref-table td:first-child a:hover { color: var(--red-700); }

/* =====================================================================
   Applications
   ===================================================================== */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px); }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.jump a:hover { border-color: var(--red-700); color: var(--red-700); }
.jump svg { width: 16px; height: 16px; color: var(--red-700); }
.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.ind-row--flip > :first-child { order: 2; }
.ind-row__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ind-row__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ind-row .eyebrow svg { width: 16px; height: 16px; }
.ind-row .eyebrow::before { display: none; }
.ind-row__cat { margin-top: 18px; }
.ind-row__cat h3 { font-size: 1rem; margin-bottom: 8px; }
.ind-row__cat h3 a:hover { color: var(--red-700); }
.ind-row__cat ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ind-row__cat li a { display: inline-block; font-size: 0.84rem; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.ind-row__cat li a:hover { border-color: var(--red-700); color: var(--red-700); }
@media (max-width: 900px) { .ind-row { grid-template-columns: 1fr; } .ind-row--flip > :first-child { order: 0; } }

/* =====================================================================
   Downloads
   ===================================================================== */
.dl { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--paper-2), #fff); transition: box-shadow 0.3s; }
.dl:hover { box-shadow: var(--shadow); }
.dl__cover { aspect-ratio: 210 / 297; border-radius: var(--radius); overflow: hidden; background: var(--red-800); box-shadow: var(--shadow-lg); position: relative; }
.dl__cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.sheets-h { font-size: 1.5rem; margin: 64px 0 24px; }
.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheets a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.sheets a span { flex: 1; }
.sheets a:hover { border-color: var(--red-700); color: var(--red-700); }
.sheets svg { width: 18px; height: 18px; color: var(--red-700); flex: none; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } .dl__cover { max-width: 220px; } .sheets { grid-template-columns: 1fr; } }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { background: var(--navy-900); color: #b9c6db; border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 20px); }
.contact__info h2 { color: #fff; font-size: 1.5rem; }
.contact__info ul { list-style: none; display: grid; gap: 22px; margin: 24px 0 28px; }
.contact__info li { display: flex; gap: 14px; font-size: 0.93rem; }
.contact__info li > svg { width: 22px; height: 22px; color: #ff8a8f; flex: none; margin-top: 2px; }
.contact__info span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: #7f93b2; font-weight: 700; margin-bottom: 2px; }
.contact__info a, .contact__info strong { color: #fff; font-weight: 600; }
.contact__info a:hover { color: #ff8a8f; }
.contact__info .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.contact__form { scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__info { position: static; } }

/* =====================================================================
   Thank you / message pages
   ===================================================================== */
.msg { max-width: 720px; text-align: center; display: grid; justify-items: center; }
.msg h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.msg__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--red-100); color: var(--red-700); display: grid; place-items: center; margin-bottom: 24px; }
.msg__icon svg { width: 36px; height: 36px; }
.msg .btn-row { justify-content: center; }

/* =====================================================================
   WordPress integration details
   ===================================================================== */
body.admin-bar .header { top: 32px; }
body.admin-bar .pd-tabs { top: calc(var(--header-h) + 32px); }
body.admin-bar .mobile-nav { inset: calc(var(--header-h) + 70px) 0 0 0; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .pd-tabs { top: calc(var(--header-h) + 46px); }
  body.admin-bar .mobile-nav { inset: calc(var(--header-h) + 84px) 0 0 0; }
}
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content img { border-radius: var(--radius); }
.entry-content > h2:first-child { margin-top: 0; }
.site-main { min-height: 40vh; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0 0; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); background: #fff; }
.pagination .current, .pagination .page-numbers:hover { border-color: var(--navy-900); color: var(--navy-900); }
.empty-state { text-align: center; padding: 64px 0; }
