/* =====================================================================
   GoldenTech KSA - Site Stylesheet
   Brand: Navy + Electric Blue, corporate / enterprise IT
   No build step. Plain CSS with custom properties.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --ci-navy-900: #0b1a33;
  --ci-navy-800: #102544;
  --ci-navy-700: #163258;
  --ci-navy-600: #1e3f6e;
  --ci-blue-500: #1f6feb;   /* primary electric blue */
  --ci-blue-400: #3b82f6;
  --ci-blue-300: #7cb2ff;
  --ci-blue-100: #e6f0ff;
  --ci-cyan-400: #22d3ee;   /* accent for highlights / data glow */
  --ci-cyan-100: #e0fbff;

  /* Neutrals */
  --ci-white: #ffffff;
  --ci-gray-50: #f7f9fc;
  --ci-gray-100: #eef2f7;
  --ci-gray-200: #dfe5ee;
  --ci-gray-300: #c4cdd9;
  --ci-gray-500: #6b7a90;
  --ci-gray-700: #3d4a5c;
  --ci-gray-900: #1a2233;

  /* Semantic */
  --bg: var(--ci-white);
  --bg-alt: var(--ci-gray-50);
  --bg-dark: var(--ci-navy-900);
  --text: var(--ci-gray-900);
  --text-muted: var(--ci-gray-500);
  --text-on-dark: #e9eef7;
  --text-on-dark-muted: #a9b6cc;
  --border: var(--ci-gray-200);
  --primary: var(--ci-blue-500);
  --primary-hover: #185bc4;
  --accent: var(--ci-cyan-400);
  --success: #15803d;
  --danger: #b91c1c;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: 20px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, 0.06), 0 1px 3px rgba(11, 26, 51, 0.08);
  --shadow-md: 0 6px 18px rgba(11, 26, 51, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 26, 51, 0.16);
  --transition: 180ms ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ci-navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--ci-gray-700); }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .6em;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--ci-white); }
.on-dark, .on-dark p { color: var(--text-on-dark); }
.on-dark .muted { color: var(--text-on-dark-muted); }
.on-dark .eyebrow { color: var(--ci-blue-300); }
.on-dark a:not(.btn) { color: var(--ci-blue-300); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--ci-cyan-400); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; background: var(--primary); color: #fff;
  padding: 10px 14px; border-radius: 6px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); }
.section--navy { background: linear-gradient(135deg, var(--ci-navy-900) 0%, var(--ci-navy-700) 100%); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stack > * + * { margin-top: 1rem; }
.grid > *, .split > *, .with-aside > *, .hero__grid > *, .footer-grid > * { min-width: 0; }
.card, .tile, .testimonial, .process__step { overflow-wrap: anywhere; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }

@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition);
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn--secondary { background: transparent; color: var(--ci-navy-800); border-color: var(--ci-navy-800); }
.btn--secondary:hover { background: var(--ci-navy-800); color: #fff; }
.btn--light { background: #fff; color: var(--ci-navy-900); border-color: #fff; }
.btn--light:hover { background: var(--ci-blue-100); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* ---------- Header / nav ---------- */
.topbar {
  background: var(--ci-navy-900); color: var(--text-on-dark-muted); font-size: .82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--text-on-dark); }
.topbar__links { display: flex; gap: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ci-navy-900); font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 40px; height: 40px; flex: none; }
.brand__name { font-size: 1.05rem; line-height: 1.05; white-space: nowrap; }
@media (max-width: 400px) { .brand__name { white-space: normal; font-size: .95rem; } }
.brand__name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-block; padding: 10px 8px; color: var(--ci-gray-700); font-weight: 500;
  font-size: .86rem; border-radius: 6px;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ci-navy-900); background: var(--ci-gray-100); text-decoration: none; }
.nav__link[aria-current="page"] { font-weight: 700; color: var(--primary); }
.nav__cta { margin-left: 12px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ci-navy-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ci-navy-900); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* The header shows the name only; the tagline appears in the footer lockup. */
.site-header .brand__name small { display: none; }
.nav__cta { margin-left: 6px; }
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 12px var(--gutter) 20px;
    flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { display: block; padding: 12px 10px; font-size: 1rem; }
  .nav__cta { margin: 12px 0 0; }
  .topbar__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(31,111,235,.45), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(34,211,238,.18), transparent 60%),
              linear-gradient(160deg, var(--ci-navy-900) 0%, var(--ci-navy-800) 60%, var(--ci-navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero--home { padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.hero--page { padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: var(--text-on-dark); max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero .eyebrow { color: var(--ci-cyan-400); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__visual { position: relative; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat strong { display: block; font-size: 1.6rem; color: #fff; font-weight: 800; }
.hero__stat span { font-size: .85rem; color: var(--text-on-dark-muted); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 520px; } }

/* Breadcrumb */
.breadcrumb { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--text-on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--ci-blue-300); }

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--border); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 22px; padding-bottom: 22px; }
.trustbar__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.trustbar__logos { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.partner-logo {
  font-weight: 700; color: var(--ci-gray-500); font-size: .95rem; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px; opacity: .85; filter: grayscale(1);
  transition: all var(--transition);
}
.partner-logo:hover { opacity: 1; filter: none; color: var(--ci-navy-800); }
.partner-logo svg { width: 22px; height: 22px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: all var(--transition); height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--ci-blue-300); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ci-blue-100); color: var(--primary); margin-bottom: 18px; flex: none;
}
.card__icon svg { width: 24px; height: 24px; }
.card__link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .92rem; }
.card__link::after { content: " →"; }
.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--text-on-dark); }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(31,111,235,.25); color: var(--ci-blue-300); }
.card--dark:hover { border-color: var(--ci-blue-400); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--ci-blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6feb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.on-dark .feature-list li::before { background-color: rgba(31,111,235,.3); }

/* Checklist tags / pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ci-gray-100); color: var(--ci-gray-700); font-size: .85rem; font-weight: 500; }
.pill--blue { background: var(--ci-blue-100); color: var(--primary); }
.on-dark .pill { background: rgba(255,255,255,.08); color: var(--text-on-dark); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { color: var(--text-on-dark-muted); font-size: .9rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process__step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; font-weight: 800; color: var(--primary); font-size: .9rem; letter-spacing: .1em; margin-bottom: 10px;
}
.process__step h3 { font-size: 1.1rem; }
.process__step p { font-size: .92rem; color: var(--ci-gray-700); margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process { grid-template-columns: 1fr; } }

/* ---------- Industries / solution tiles ---------- */
.tile {
  display: block; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff;
  color: inherit; transition: all var(--transition);
}
.tile:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 1.05rem; margin-bottom: .35em; }
.tile p { font-size: .9rem; color: var(--ci-gray-700); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; height: 100%; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--ci-gray-900); flex: 1; }
.testimonial blockquote::before { content: "\201C"; font-size: 2.6rem; line-height: 0; color: var(--primary); vertical-align: -0.35em; margin-right: 4px; font-family: Georgia, serif; }
.testimonial cite { font-style: normal; font-size: .88rem; color: var(--text-muted); }
.testimonial cite strong { display: block; color: var(--ci-navy-900); }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.case > div { padding: 24px; }
.case > div + div { border-left: 1px solid var(--border); }
.case h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .6em; }
.case p { margin: 0; font-size: .95rem; }
.case__title { grid-column: 1 / -1; background: var(--ci-gray-50); border-bottom: 1px solid var(--border); }
.case__title h3 { margin: 0; }
.case__title .muted { margin: 4px 0 0; font-size: .9rem; }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; } .case > div + div { border-left: 0; border-top: 1px solid var(--border); } }

/* ---------- FAQ (accordion) ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; list-style: none; position: relative; color: var(--ci-navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--ci-gray-700); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--ci-gray-50); font-weight: 700; color: var(--ci-navy-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ci-navy-900); }
.form label .req { color: var(--danger); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"],
.form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ci-gray-300); border-radius: 8px; font: inherit;
  color: var(--text); background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,111,235,.18); }
.form textarea { min-height: 130px; resize: vertical; }
.form .help { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }
.form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 0; }
.form legend { font-weight: 700; padding: 0 6px; font-size: .95rem; }
.form .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.form .checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.form .consent input { margin-top: 4px; }
.form .consent label { font-weight: 400; margin: 0; }
.form__honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-md); }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.form-status.is-success { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.form-status.is-error { display: block; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.form-status.is-info { display: block; background: var(--ci-blue-100); color: var(--ci-navy-800); }
.field-error { color: var(--danger); font-size: .82rem; margin-top: 6px; display: none; }
.is-invalid + .field-error, .is-invalid ~ .field-error { display: block; }
.form input.is-invalid, .form select.is-invalid, .form textarea.is-invalid { border-color: var(--danger); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ci-blue-500), var(--ci-navy-700)); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 56ch; }

/* ---------- Sidebar layouts ---------- */
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 92px; }
.aside .card { padding: 22px; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------- Contact blocks ---------- */
.contact-block { display: flex; gap: 14px; align-items: flex-start; }
.contact-block svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 3px; }
.contact-block strong { display: block; color: var(--ci-navy-900); }
.map-placeholder {
  aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: var(--radius-lg); border: 1px dashed var(--ci-gray-300);
  background: repeating-linear-gradient(45deg, var(--ci-gray-50), var(--ci-gray-50) 12px, #fff 12px, #fff 24px);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .9rem; text-align: center; padding: 20px;
}

/* ---------- Resources / articles ---------- */
.article-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: all var(--transition); color: inherit; }
.article-card:hover { box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-2px); }
.article-card__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ci-navy-800), var(--ci-blue-500)); display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.article-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card__media span { position: relative; z-index: 1; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,26,51,.55); padding: 4px 10px; border-radius: 999px; }
.article-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.article-card__body h3 { font-size: 1.1rem; }
.article-card__body p { font-size: .92rem; color: var(--ci-gray-700); flex: 1; }
.article-card__meta { font-size: .8rem; color: var(--text-muted); }

/* ---------- Image placeholders (swap for stock photography) ---------- */
.img-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 100%;
  background: linear-gradient(135deg, var(--ci-navy-800) 0%, var(--ci-navy-600) 55%, var(--ci-blue-500) 100%);
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg);
}
.img-placeholder--wide { aspect-ratio: 16 / 9; }
.img-placeholder--square { aspect-ratio: 1; }
.img-placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
}
.img-placeholder__label { position: relative; z-index: 1; margin: 16px; font-size: .78rem; color: rgba(255,255,255,.85); background: rgba(11,26,51,.55); padding: 6px 10px; border-radius: 6px; max-width: 90%; }
.img-placeholder svg.illus { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Image frames (illustrations / photography) ---------- */
.img-frame { position: relative; margin: 0; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--ci-navy-800); box-shadow: var(--shadow-lg); }
.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--square { aspect-ratio: 1; }
.img-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ci-navy-900); color: var(--text-on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 0; font-size: .92rem; }
.site-footer a { color: var(--text-on-dark); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand__name small { color: var(--ci-blue-300); }
.footer-brand p { max-width: 38ch; }
.newsletter { display: flex; gap: 8px; margin-top: 10px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.newsletter input::placeholder { color: var(--text-on-dark-muted); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / long-form pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ci-gray-700); }
.notice { padding: 14px 18px; border-left: 4px solid var(--primary); background: var(--ci-blue-100); border-radius: 0 8px 8px 0; font-size: .92rem; }

/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--ci-cyan-100); color: #0e7490; }
.icon-row { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.icon-row > div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.icon-row svg { width: 20px; height: 20px; color: var(--primary); }
.on-dark .icon-row svg { color: var(--ci-cyan-400); }

/* Reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .article-card:hover { transform: none; }
}

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1 { color: #000; }
}

/* Small screens: let long button labels wrap instead of overflowing */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
}
