/* =========================================================================
   MAG AMERICA LLC — CORE STYLESHEET
   Table of contents:
   1. Design tokens (colors, type, spacing)
   2. Reset / base
   3. Typography
   4. Layout helpers
   5. Header & navigation
   6. Buttons & form controls
   7. Hero
   8. Stats strip
   9. Section: About / value props
   10. Section: Products
   11. Section: Certification
   12. Section: Our Chairman
   13. Testimonials / clients slider
   14. CTA banner
   15. Footer
   16. Page header (interior pages)
   17. Contact page
   18. Utility / misc
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   Palette:
     --navy-950  #071426  deepest background (footer)
     --navy-900  #0B2545  primary brand dark
     --navy-700  #13315C  secondary dark / panels
     --gold-500  #C89B3C  brand accent (American gold)
     --gold-100  #F3E4C0  light accent tint
     --ink-900   #101820  body text
     --slate-500 #5C6B73  muted text
     --paper-50  #F6F7F9  page background
     --white     #FFFFFF
   Type:
     Display / headings : "Space Grotesk"
     Body                : "Inter"
     Utility / labels    : "IBM Plex Mono" (eyebrows, stats, specs)
   ------------------------------------------------------------------------- */
:root {
  /* Colors */
  --navy-950: #071426;
  --navy-900: #0b2545;
  --navy-800: #0e2f57;
  --navy-700: #13315c;
  --navy-600: #1c4173;
  --gold-500: #c89b3c;
  --gold-600: #b3872e;
  --gold-100: #f3e4c0;
  --ink-900: #101820;
  --slate-500: #5c6b73;
  --slate-300: #9aa7ad;
  --paper-50: #f6f7f9;
  --paper-100: #eef0f3;
  --white: #ffffff;
  --line: #dde2e6;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Spacing scale */
  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-3: 1.6rem;
  --space-4: 2.4rem;
  --space-5: 4rem;
  --space-6: 6.4rem;
  --space-7: 9.6rem;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  color: var(--navy-900);
}

p {
  margin: 0 0 var(--space-3);
  color: var(--slate-500);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Visible keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  max-width: 640px;
}

.section-lead {
  max-width: 620px;
  font-size: 1.7rem;
}

.section-head {
  margin-bottom: var(--space-5);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .section-title,
.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------
   4. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-6) 0;
}

.section--tight {
  padding: var(--space-5) 0;
}

.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.section--navy .section-title,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.7);
}

.section--paper {
  background: var(--paper-100);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* -------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--navy-900);
}

/* Logo slot: shows the uploaded logo image if present (images/logo.png),
   and silently falls back to the "MA" monogram if no logo file exists yet.
   Sits directly on the white header/footer background — no boxed frame —
   since the site theme itself is now white. */
.brand-mark {
  width: auto;
  min-width: 44px;
  height: 56px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.7rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.brand-logo-img {
  height: 100%;
  width: auto;
  max-width: 172px;
  object-fit: contain;
}

.brand-mark-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-100);
  opacity: 0.8;
}

/* Primary nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-900);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.8rem 0.2rem;
  transition: color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--gold-600);
}

.nav-caret {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s var(--ease);
}

.has-dropdown:hover .nav-caret,
.has-dropdown.is-open .nav-caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.22);
  padding: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 1.45rem;
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  background: var(--paper-100);
  color: var(--gold-600);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: 1.3rem;
  text-align: right;
}

.header-phone span {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-100);
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   6. BUTTONS & FORM CONTROLS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.4rem 2.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-arrow {
  font-family: var(--font-mono);
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-600);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 1.3rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}

.form-row {
  margin-bottom: var(--space-3);
}

.form-note {
  font-size: 1.3rem;
  color: var(--slate-500);
}

.form-status {
  margin-top: var(--space-3);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e6f4ea;
  color: #1e6b34;
  border: 1px solid #b7ddc3;
}

.form-status.is-error {
  background: #fbe8e8;
  color: #a02323;
  border: 1px solid #f0bcbc;
}

/* -------------------------------------------------------------------------
   7. HERO
   Full-bleed, edge-to-edge banner slider: 3 slides, auto-advancing, each
   filling the entire display width on mobile and desktop alike. Text is
   overlaid directly on the slide image (see js/slider.js for the fade
   cross-transition logic).
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 460px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* The slide's placeholder/image fills the entire slot edge-to-edge */
.hero-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  margin: 0;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(7, 20, 38, 0.9) 0%, rgba(7, 20, 38, 0.62) 42%, rgba(7, 20, 38, 0.18) 78%);
}

.hero-slide-overlay .container {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 5.2rem);
  color: var(--white);
  margin-bottom: var(--space-3);
}

.hero-headline em {
  font-style: normal;
  color: var(--gold-500);
}

.hero-copy {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-3);
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-slider-controls .slider-dot {
  background: rgba(255, 255, 255, 0.4);
}

.hero-slider-controls .slider-dot.is-active {
  background: var(--gold-500);
}

/* Gold corner-bracket frame — used for non-hero framed images (about, chairman) */
.framed-media {
  position: relative;
  padding: 18px;
}

.framed-media::before,
.framed-media::after,
.framed-media > .corner-tl,
.framed-media > .corner-br {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold-500);
}

.framed-media::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.framed-media::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.placeholder-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 14px
    ),
    linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  overflow: hidden;
}

/* Real photo sits above the placeholder art and covers it completely —
   once js/main.js confirms the image has loaded (see .has-image below),
   the icon and filename label are hidden so nothing overlaps the photo. */
.placeholder-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.placeholder-icon {
  position: relative;
  z-index: 0;
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.placeholder-label {
  position: relative;
  z-index: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Added by main.js once a real <img> inside .placeholder-img finishes
   loading successfully — hides the fallback icon/filename so only the
   photo shows. If the image 404s, this class is never added and the
   designed placeholder remains visible instead. */
.placeholder-img.has-image .placeholder-icon,
.placeholder-img.has-image .placeholder-label {
  display: none;
}

.placeholder-img--light {
  background: repeating-linear-gradient(
      135deg,
      rgba(11, 37, 69, 0.04) 0px,
      rgba(11, 37, 69, 0.04) 2px,
      transparent 2px,
      transparent 14px
    ),
    linear-gradient(160deg, var(--paper-100), var(--white));
  border: 1px dashed var(--line);
  color: var(--slate-500);
}

/* -------------------------------------------------------------------------
   8. STATS STRIP
   ------------------------------------------------------------------------- */
.stats-strip {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 3.4vw, 3.6rem);
  font-weight: 600;
  color: var(--gold-500);
  display: block;
}

.stat-label {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
}

/* -------------------------------------------------------------------------
   9. SECTION: ABOUT / VALUE PROPS
   ------------------------------------------------------------------------- */
.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.value-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.value-item {
  display: flex;
  gap: 1.6rem;
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.value-index {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gold-600);
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  margin: 0;
  font-size: 1.45rem;
}

/* -------------------------------------------------------------------------
   10. SECTION: PRODUCTS
   ------------------------------------------------------------------------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(11, 37, 69, 0.12);
}

.product-media {
  aspect-ratio: 4 / 3;
}

.product-body {
  padding: var(--space-3);
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.product-body h3 {
  font-size: 1.9rem;
  margin: 0.6rem 0 0.8rem;
}

.product-body p {
  font-size: 1.45rem;
  margin-bottom: var(--space-2);
}

.product-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.product-link:hover {
  color: var(--gold-600);
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-4);
}

.filter-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.lightbox-trigger {
  position: relative;
  cursor: zoom-in;
}

.lightbox-trigger .zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 20, 38, 0.55);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.lightbox-trigger:hover .zoom-hint {
  opacity: 1;
}

/* Lightbox overlay (used on products.html via gallery.js) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 38, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-3);
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-box {
  max-width: 720px;
  width: 100%;
}

.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 2rem;
  line-height: 1;
}

/* -------------------------------------------------------------------------
   11. SECTION: CERTIFICATION
   ------------------------------------------------------------------------- */
.cert-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
}

.cert-media {
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-2);
}

.cert-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.cert-card p {
  font-size: 1.35rem;
  margin: 0;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
}

.cert-badge {
  width: 130px;
  height: 80px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--slate-500);
  text-align: center;
  padding: 0.6rem;
}

/* -------------------------------------------------------------------------
   12. SECTION: OUR CHAIRMAN
   ------------------------------------------------------------------------- */
.chairman-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

.chairman-card {
  position: relative;
}

.chairman-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  color: var(--navy-900);
  line-height: 1.4;
  margin-bottom: var(--space-4);
}

.chairman-quote::before {
  content: "\201C";
  color: var(--gold-500);
  font-size: 4rem;
  line-height: 0;
  display: block;
  margin-bottom: 1.2rem;
}

.chairman-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.chairman-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.chairman-bio {
  margin-top: var(--space-3);
  font-size: 1.55rem;
}

/* Compact chairman presentation: small circular photo, name, and title only —
   used on the homepage teaser and at the top of chairman.html, with no
   surrounding quote/bio copy. */
.chairman-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.chairman-photo-sm {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.chairman-photo-sm .placeholder-icon {
  width: 30px;
  height: 30px;
}

.chairman-photo-sm .placeholder-label {
  font-size: 1rem;
  padding: 0 1rem;
  text-align: center;
}

.chairman-mini .chairman-name {
  margin-top: var(--space-2);
  margin-bottom: 0;
}

.chairman-mini .chairman-title {
  margin-bottom: var(--space-3);
}

/* -------------------------------------------------------------------------
   13. TESTIMONIALS / CLIENTS SLIDER
   ------------------------------------------------------------------------- */
.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.slide {
  flex: 0 0 100%;
  padding: 0 var(--space-2);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card p {
  font-size: 1.8rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  line-height: 1.5;
}

.testimonial-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: var(--space-3);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
}

.slider-dot.is-active {
  background: var(--gold-500);
  width: 26px;
  border-radius: 6px;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

/* -------------------------------------------------------------------------
   14. CTA BANNER
   ------------------------------------------------------------------------- */
.cta-banner {
  background: var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  color: var(--navy-900);
}

.cta-banner h2 {
  color: var(--navy-900);
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.cta-banner p {
  color: var(--slate-500);
  margin: 0;
}

/* -------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--white);
  color: var(--slate-500);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: var(--space-3);
}

.footer-desc {
  font-size: 1.4rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: var(--space-3);
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 1.4rem;
  color: var(--slate-500);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-600);
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.footer-contact li span:first-child {
  font-family: var(--font-mono);
  color: var(--gold-600);
  flex-shrink: 0;
}

.social-row {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-3);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-link:hover {
  border-color: var(--gold-600);
  color: var(--gold-600);
}

/* Sponsor / partner strip — sits at the very bottom of the footer, just
   above the copyright bar. Single placeholder image slot; swap in
   images/sponsors.jpg once available (see README). */
.sponsor-strip {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.sponsor-strip .footer-heading {
  text-align: center;
  margin-bottom: var(--space-3);
}

.sponsor-media {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  font-size: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--gold-600);
}

.back-to-top {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.8rem;
  box-shadow: 0 12px 24px rgba(7, 20, 38, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 400;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   16. PAGE HEADER (interior pages)
   ------------------------------------------------------------------------- */
.page-header {
  background: var(--paper-100);
  color: var(--navy-900);
  padding: var(--space-5) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 37, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 69, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top left, black 10%, transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-top: var(--space-2);
}

.breadcrumbs a:hover {
  color: var(--gold-600);
}

.page-header h1 {
  color: var(--navy-900);
  font-size: clamp(3rem, 4.4vw, 4.6rem);
  margin-bottom: var(--space-2);
}

.page-header p {
  color: var(--slate-500);
  max-width: 620px;
  font-size: 1.7rem;
  margin: 0;
}

/* -------------------------------------------------------------------------
   17. CONTACT PAGE
   ------------------------------------------------------------------------- */
.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.contact-info-card {
  background: var(--paper-100);
  border: 1px solid var(--line);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.contact-info-card h3 {
  color: var(--navy-900);
  font-size: 1.9rem;
}

.contact-detail {
  display: flex;
  gap: 1.4rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

.contact-detail-icon {
  font-family: var(--font-mono);
  color: var(--gold-600);
  flex-shrink: 0;
  width: 24px;
}

.contact-detail h4 {
  color: var(--navy-900);
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.contact-detail p {
  margin: 0;
  font-size: 1.4rem;
  color: var(--slate-500);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.map-frame {
  aspect-ratio: 16 / 7;
  margin-top: var(--space-5);
  border-radius: var(--radius-md);
}

/* -------------------------------------------------------------------------
   18. UTILITY / MISC
   ------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 1rem 1.6rem;
  z-index: 2000;
  font-family: var(--font-display);
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: var(--space-5) 0;
}
