@charset "UTF-8";
/* ==========================================================================
   Hebei Flamingo Metal Products Co., Ltd.
   Static corporate website - global stylesheet
   Palette: deep marine navy + industrial steel + kiln coral accent
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #071a2b;
  --navy-800: #0b2239;
  --navy-700: #0f2c47;
  --navy-600: #16405f;
  --steel-500: #1b5a7a;
  --steel-400: #2c7da0;
  --teal-500: #0f9b9b;
  --teal-400: #17b3ad;
  --coral-600: #d4552b;
  --coral-500: #f2683c;
  --coral-400: #ff8a5c;
  --sand-100: #f7f4ef;
  --sand-50: #fbfaf8;
  --mist-100: #eef2f6;
  --mist-200: #dde5ed;
  --ink-900: #0e1a24;
  --ink-700: #2b3b4a;
  --ink-500: #56697a;
  --ink-300: #8a9aa8;
  --white: #ffffff;

  /* Semantics */
  --bg: var(--sand-50);
  --surface: var(--white);
  --text: var(--ink-900);
  --muted: var(--ink-500);
  --line: var(--mist-200);

  /* Type */
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", var(--font-sans);

  /* Space + shape */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 43, .06), 0 2px 8px rgba(7, 26, 43, .05);
  --shadow: 0 6px 18px rgba(7, 26, 43, .09), 0 2px 6px rgba(7, 26, 43, .05);
  --shadow-lg: 0 18px 44px rgba(7, 26, 43, .16);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--steel-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--coral-500); }
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy-800);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--navy-700); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Accessible skip link: hidden until focused */
.skip-link {
  position: absolute !important;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy-800);
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0 !important;
  color: #fff;
  outline: 3px solid var(--coral-500);
  outline-offset: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section-tint { background: var(--mist-100); }
.section-sand { background: var(--sand-100); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #cfdbe6;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #b9c9d7; }
.text-center { text-align: center; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--coral-500), var(--teal-400));
  border-radius: 2px;
}
.section-dark .eyebrow { color: var(--teal-400); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #a9bccd; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--coral-500);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 14px 26px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  box-shadow: 0 6px 16px rgba(226, 88, 45, .28);
}
.btn:hover {
  color: #fff;
  background: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(226, 88, 45, .34);
}
/* Any inline icon inside a button is always locked to a small square, never
   allowed to stretch or overlap the label. Applies at any nesting depth. */
.btn svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px;
  max-height: 17px;
  flex: 0 0 auto;
  align-self: center;
}
.btn > * { min-width: 0; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--mist-200);
  box-shadow: none;
  background: #fff;
}
.btn-ghost:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); box-shadow: var(--shadow); }
.btn-outline-light {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .42);
  box-shadow: none;
  backdrop-filter: blur(3px);
}
.btn-outline-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-wa { --btn-bg: #1faa54; box-shadow: 0 6px 16px rgba(31, 170, 84, .3); }
.btn-wa:hover { background: #178f46; box-shadow: 0 12px 26px rgba(31, 170, 84, .34); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700) 0%, var(--steel-400) 42%, var(--teal-400) 72%, var(--coral-500) 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 13px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.brand-sub {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-300);
}
/* The header's right-hand cell now holds only the mobile menu button, so the navigation is
   pushed against the right edge instead of floating towards the middle. */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 15px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--navy-800); background: var(--mist-100); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--navy-800); }
.nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav .nav-cta { display: none; }
.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: #fff;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero (21:9 banner) ---------- */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero-banner {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 380px;
  width: 100%;
  overflow: hidden;
}
.hero-banner img,
.hero-banner svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* left panel: keeps the headline legible over a bright sky or a pale photo */
    linear-gradient(100deg, rgba(6, 20, 33, .93) 0%, rgba(6, 20, 33, .84) 26%, rgba(6, 20, 33, .52) 46%, rgba(6, 20, 33, .12) 64%, rgba(6, 20, 33, 0) 76%),
    /* bottom fade: separates the banner from the stats strip */
    linear-gradient(0deg, rgba(6, 20, 33, .55) 0%, rgba(6, 20, 33, 0) 34%),
    /* top fade: a touch of depth under the sticky header */
    linear-gradient(180deg, rgba(6, 20, 33, .34) 0%, rgba(6, 20, 33, 0) 22%);
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.hero-copy .container { color: #fff; }
.hero-copy h1 { color: #fff; max-width: 14ch; text-shadow: 0 3px 24px rgba(0, 0, 0, .45); }
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--teal-400), var(--coral-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 7px 16px 7px 12px;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #eaf4f6;
  background: rgba(23, 179, 173, .18);
  border: 1px solid rgba(23, 179, 173, .5);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral-400);
  box-shadow: 0 0 0 4px rgba(255, 138, 92, .22);
}
.hero-lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: #d8e4ee;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  margin-bottom: 26px;
}
.hero-stats {
  position: relative;
  z-index: 3;
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 0;
}
.hero-stat { padding: 2px 20px; border-left: 2px solid rgba(23, 179, 173, .55); }
.hero-stat:first-child { border-left-color: var(--coral-500); }
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.hero-stat span { font-size: .82rem; color: #9fb4c6; letter-spacing: .02em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 52%, var(--steel-500) 100%);
  color: #fff;
  padding: 66px 0 62px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 72%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(242, 104, 60, .3), transparent 66%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .35em; max-width: 22ch; }
.page-hero p { color: #c3d3e0; max-width: 68ch; margin: 0; font-size: 1.06rem; }
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8fa8bd;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--teal-400); }
.breadcrumb span[aria-current] { color: #b9cbdb; }
.breadcrumb .sep { color: #55708a; }

/* ---------- Feature / value props ---------- */
.feature {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel-400);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-left-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-left-color: var(--coral-500); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.06rem; margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(140deg, var(--steel-500), var(--teal-500));
  border-radius: 11px;
}
.feature-icon svg { width: 23px; height: 23px; }

/* ---------- Split section (text + media) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--mist-100), #fff);
  border: 1px solid var(--line);
}
.split-media img, .split-media svg { width: 100%; height: auto; object-fit: cover; }
/* Photographs in a split column are capped so a square source does not make the row enormous. */
.split-media img { max-width: 660px; margin-inline: auto; }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: .7em;
  color: var(--ink-700);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 21px; height: 21px;
  background: var(--teal-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}
/* Check lists sitting directly on a dark background need light text and pale markers, otherwise
   they are ink-on-ink and unreadable. Panels keep their own colors, see below. */
.section-dark .check-list li { color: #dbe6ef; }
.section-dark .check-list li::before { background-color: var(--coral-500); }

/* A LIGHT panel nested inside a dark section keeps its own dark text: the light-panel rules above
   would otherwise make it light-on-light. Listed after them so it also wins on equal specificity. */
.section-dark .section-tint .check-list li { color: #c6d5e2; }
.section-dark .section-tint .check-list li::before { background-color: var(--teal-400); }
.section-dark .panel:not(.section-dark) .check-list li { color: var(--ink-700); }
.section-dark .panel:not(.section-dark) .check-list li::before { background-color: var(--teal-500); }
.section-dark .panel:not(.section-dark) .check-list li strong { color: var(--navy-700); }
.section-dark .panel:not(.section-dark) .data-list dt { color: var(--navy-700); }
.section-dark .panel:not(.section-dark) .data-list dd { color: var(--ink-700); }
/* Panel headings and their icons also have to come back to the dark palette, otherwise the
   section-level "h3 is white" rule leaves white text on the light panel. */
.section-dark .panel:not(.section-dark) h3 { color: var(--navy-800); }
.section-dark .panel:not(.section-dark) h3 svg { color: var(--teal-500); }

/* ---------- Centerd text column (used on the use case sections) ---------- */
.split.text-center > div:first-child { text-align: center; }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.spec { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
table.spec caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px;
  font-weight: 800;
  color: var(--navy-800);
  background: var(--mist-100);
  border-bottom: 1px solid var(--line);
}
table.spec th, table.spec td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: var(--navy-800);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 0;
  white-space: nowrap;
}
table.spec tbody tr:nth-child(even) { background: var(--sand-50); }
table.spec tbody tr:hover { background: #eef7f7; }
table.spec th[scope="row"] { font-weight: 700; color: var(--navy-700); white-space: nowrap; }
table.spec tbody tr:last-child td, table.spec tbody tr:last-child th { border-bottom: 0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--teal-500);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.02rem; margin-bottom: .4em; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-strip.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-box {
  padding: 26px 22px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
}
.stat-box b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: #fff;
}
.stat-box span { font-size: .85rem; color: #9fb4c6; letter-spacing: .04em; }
.section:not(.section-dark) .stat-box { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.section:not(.section-dark) .stat-box b { color: var(--navy-800); }
.section:not(.section-dark) .stat-box span { color: var(--muted); }

/* ---------- Use cases showcase ---------- */
.app-tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.app-tile img, .app-tile svg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .5s var(--ease); }
.app-tile:hover img, .app-tile:hover svg { transform: scale(1.045); }
.app-tile-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px 18px;
  background: linear-gradient(0deg, rgba(7, 26, 43, .94) 0%, rgba(7, 26, 43, .55) 58%, rgba(7, 26, 43, 0) 100%);
  color: #fff;
}
.app-tile-copy h3 { color: #fff; margin-bottom: .2em; font-size: 1.12rem; }
.app-tile-copy p { margin: 0; font-size: .88rem; color: #c2d2df; }

/* Figures carry their own spacing through .detail-feature, so the browser default is reset. */
figure { margin: 0; }
/* ---------- Full-width detail features ----------
   The supplied detail graphics are dense technical sheets, so they are shown one per row at
   the full container width in their own proportions - never cropped, never scaled down into
   a card where the labels would be unreadable. */
.detail-feature { margin: 0 0 56px; }
.detail-feature:last-child { margin-bottom: 0; }
.detail-feature img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.detail-feature figcaption { margin-top: 20px; max-width: 78ch; }
.detail-feature h3 { font-size: 1.22rem; margin-bottom: .5em; }
.detail-feature h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--steel-500);
  margin: 26px 0 4px;
}
.detail-feature dl.data-list { max-width: 620px; }
.detail-feature p { color: var(--muted); margin: 0; }
.section-dark .detail-feature img { border-color: rgba(255, 255, 255, .16); }
.section-dark .detail-feature p { color: #b9c9d7; }
/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 1.06rem; }
.contact-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy-800);
  word-break: break-word;
}
.contact-value a { color: inherit; }
.contact-value a:hover { color: var(--coral-500); }
.contact-note { font-size: .88rem; color: var(--muted); margin: .5em 0 0; }
.contact-card .btn-row { margin-top: 18px; }
.contact-card .contact-value + .contact-note { margin-top: .7em; }
.contact-card .btn-row { margin-top: auto; padding-top: 18px; }
/* Narrow columns (contact grid, panels): keep label/value pairs stacked */
.data-list-wide div { grid-template-columns: 1fr; gap: 3px; }

/* ---------- Info panel ---------- */
.panel {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--teal-500); }
.panel-tint { background: var(--mist-100); }
dl.data-list { margin: 0; }
dl.data-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
dl.data-list div:last-child { border-bottom: 0; }
dl.data-list dt { font-weight: 700; color: var(--navy-700); font-size: .93rem; }
dl.data-list dd { margin: 0; color: var(--ink-700); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 66px 0;
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--steel-500) 58%, var(--teal-500) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 88% 20%, rgba(255, 138, 92, .34), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 16px);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0; color: #d5e4ee; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9db2c4; padding: 60px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 38px; padding-bottom: 46px; }
/* Footer column headings. h3 is used so the heading order never jumps (h2 section -> h3 footer). */
.site-footer h3,
.site-footer h4 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
}
.site-footer a { color: #9db2c4; }
.site-footer a:hover { color: var(--coral-400); }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #6d8397; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; line-height: 1.5; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--teal-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: #7b8f9f;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal class ----------
   The scroll-reveal fade was removed deliberately. It hid content at opacity 0 until a
   JavaScript observer reached it, which meant a failed script, a blocked script or an
   interrupted animation could leave whole sections - and the photographs inside them -
   invisible. Content is now always painted immediately; .reveal is kept as a no-op so the
   markup does not have to change. */
.reveal { opacity: 1; transform: none; }

/* Anchor targets: clear the sticky header when jumping from footer / jump links */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.2rem; }
.lead { font-size: 1.1rem; color: var(--ink-700); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-grid > div:nth-child(2) { display: none; }
  .hero-copy h1 { max-width: 20ch; }
}
@media (max-width: 940px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; border-radius: 8px; }
  .nav a::after { display: none; }
  .nav a.active { background: var(--mist-100); color: var(--navy-800); }
  .nav .nav-cta { display: block; margin-top: 8px; }
  .nav .nav-cta .btn { width: 100%; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.flip .split-media { order: 0; }
  .hero-banner { aspect-ratio: 16 / 10; min-height: 340px; }
  /* Phone layout: the copy sits at the bottom, so darken from the bottom up
     (keeping the top and middle of the photo clearly visible) */
  .hero-banner::after {
    background:
      linear-gradient(0deg, rgba(6, 20, 33, .96) 0%, rgba(6, 20, 33, .9) 26%, rgba(6, 20, 33, .62) 54%, rgba(6, 20, 33, .16) 80%, rgba(6, 20, 33, 0) 100%),
      linear-gradient(180deg, rgba(6, 20, 33, .3) 0%, rgba(6, 20, 33, 0) 20%);
  }
  .hero-copy { justify-content: flex-end; padding-bottom: 34px; }
  .hero-copy h1 { max-width: 24ch; }
  .hero-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .hero-stat:nth-child(3) { border-left-color: var(--coral-500); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dl.data-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero-banner { aspect-ratio: 4 / 3; min-height: 300px; }
  .grid-2, .grid-3, .grid-4, .steps, .contact-grid, .contact-grid-4, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(2) { display: block; }
  .brand-name { font-size: 1.18rem; }
  .brand-sub { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  /* Buttons must never spill out of a narrow column */
  .btn { padding: 12px 20px; font-size: .92rem; }
  .btn-row .btn { width: 100%; }
  .btn-row { gap: 11px; }
  .header-cta { gap: 8px; }
  .header-inner { gap: 12px; }
  .brand-mark { width: 40px; height: 40px; }
}

/* Phone widths: the hero copy moves below the photograph instead of over it.
   The copy is absolutely positioned inside a banner that clips its overflow, and it is
   bottom-aligned, so once the badge, headline, lead and two buttons grew taller than the
   banner the top of the block was cut away - on a 390 px phone the headline disappeared
   completely. Stacking the two is immune to that: the text can be any length and nothing is
   ever clipped. The dark panel keeps the white copy readable without a scrim over the photo. */
@media (max-width: 520px) {
  .hero-banner {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .hero-banner img,
  .hero-banner svg {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .hero-banner::after { display: none; }
  .hero-copy {
    position: static;
    padding: 0;
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  }
  .hero-copy .container { padding-top: 30px; padding-bottom: 34px; }
  .hero-copy h1 { max-width: none; }
  .hero-lead { max-width: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .panel, .contact-card { box-shadow: none; }
}
