/* ==========================================================================
   Impian company profile: shared stylesheet (v2, visual direction)
   Colors and type follow PRD Section 5.2 to 5.4.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #04122B;
  --navy-900: #071E3D;
  --navy-800: #0B2D5B;
  --ocean-600: #1456A8;
  --ocean-500: #1E6FD9;
  --cyan-400: #38BDF8;
  --teal-400: #2DD4BF;
  --green-400: #6DBE45;          /* taken from the logo mark */
  --surface: #F5F8FC;
  --surface-2: #EAF1FA;
  --text: #0B1B33;
  --muted: #5B6B82;
  --border: #DCE4EF;
  --white: #FFFFFF;
  --rule-dark: rgba(255, 255, 255, 0.12);

  --grad-deep-sea: linear-gradient(135deg, #04122B 0%, #0B2D5B 50%, #1456A8 100%);
  --grad-glow: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.30), transparent 55%);
  --grad-current: linear-gradient(90deg, #1E6FD9 0%, #38BDF8 100%);

  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-h3-lg: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-eyebrow: 0.8125rem;

  --container: 1200px;
  --gutter: 20px;
  --col-gap: 16px;
  --section-pad: 72px;
  --header-h: 64px;
  --radius: 6px;
  --radius-card: 16px;
  --radius-panel: 24px;

  --heading-color: var(--text);
  --muted-color: var(--muted);
  --eyebrow-color: var(--ocean-600);
  --link-color: var(--ocean-600);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --col-gap: 24px; --fs-eyebrow: 0.875rem; }
}

@media (min-width: 1024px) {
  :root { --section-pad: 112px; --header-h: 80px; --col-gap: 32px; }
}

.on-dark {
  --heading-color: var(--white);
  --muted-color: rgba(255, 255, 255, 0.78);
  --eyebrow-color: var(--cyan-400);
  --link-color: var(--white);
  color: rgba(255, 255, 255, 0.86);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link-color); }

:focus-visible { outline: 2px solid var(--ocean-500); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--cyan-400); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy-900); }

/* Soft fade from Surface into the white section that follows */
.section--fade-to-white { background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 55%, var(--white) 100%); }

/* Curved bottom edge: the dark section bulges gently into the next one.
   Set --next-bg to the background color of the following section. */
.curve-bottom {
  position: relative;
  z-index: 1;
  margin-bottom: -2px; /* overlap the next section so fractional heights never leave a seam */
  padding-bottom: calc(var(--section-pad) + 32px);
}
.curve-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  /* ellipse stops a few px above the edge so the last rows are solid next-bg (no seam) */
  background: radial-gradient(ellipse 62% 92% at 50% 0, transparent 98.5%, var(--next-bg, var(--white)) 100%);
  pointer-events: none;
}

/* Curved top edge: the dark section rises gently into the previous one.
   Set --prev-bg to the background color of the section above. */
.curve-top {
  position: relative;
  z-index: 1;
  margin-top: -2px; /* overlap so fractional heights never leave a seam */
  padding-top: calc(var(--section-pad) + 32px);
}
.curve-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42px;
  background: radial-gradient(ellipse 62% 92% at 50% 100%, transparent 98.5%, var(--prev-bg, var(--white)) 100%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .curve-bottom::after,
  .curve-top::before { height: 72px; }
}

/* Wavy top edge: the dark section starts with a soft wave instead of a straight line.
   Set --prev-bg to the background color of the section above. */
.wave-top { margin-top: -2px; padding-top: calc(var(--section-pad) + 40px); }
.wave-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 56px;
  background: var(--prev-bg, var(--white));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V44C1240 72 1020 72 800 54C560 34 300 16 0 40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V44C1240 72 1020 72 800 54C560 34 300 16 0 40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .wave-top::before { height: 96px; }
}

/* ---------- 4. Typography ---------- */
.h1, .h2, .h3, .h3-lg { color: var(--heading-color); }
.h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 700; letter-spacing: -0.022em; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -0.018em; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.h3-lg { font-size: var(--fs-h3-lg); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }

.eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: var(--fs-eyebrow);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 56ch; color: var(--muted-color); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }

@media (min-width: 1024px) {
  .section-head { margin-bottom: 64px; }
}

/* ---------- 5. Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease-out;
}
.btn-primary { background: var(--ocean-600); color: var(--white); }
.btn-primary:hover { background: var(--ocean-500); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }

.icon { width: 16px; height: 16px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; color: var(--link-color); text-decoration: none;
}
.link-arrow__label {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px; transition: background-size 0.3s ease-out;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .link-arrow__label, .link-arrow:focus-visible .link-arrow__label { background-size: 100% 1px; }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: 4px; }
.brand img { height: 28px; width: auto; }
.header-cta { margin-left: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s ease-out; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }

.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 1px;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.primary-nav.is-open { display: block; }
.primary-nav ul { padding: 4px var(--gutter) 16px; }
.primary-nav li + li { border-top: 1px solid var(--border); }
.primary-nav a { display: block; padding: 14px 0; font-size: 1.0625rem; font-weight: 500; color: var(--text); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--ocean-600); }

html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
html:not(.js) .primary-nav { display: block; position: static; order: 3; width: 100%; border: 0; margin: 0; }
html:not(.js) .primary-nav ul { display: flex; gap: 24px; padding: 8px 0 0; }
html:not(.js) .primary-nav li + li { border: 0; }
html:not(.js) .primary-nav a { padding: 6px 0; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav, html:not(.js) .primary-nav {
    display: block; position: static; order: 0; width: auto;
    margin: 0 0 0 auto; border: 0; background: none;
  }
  html:not(.js) .header-inner { flex-wrap: nowrap; height: var(--header-h); padding-block: 0; }
  .primary-nav ul, html:not(.js) .primary-nav ul { display: flex; align-items: center; gap: 32px; padding: 0; }
  .primary-nav li + li { border: 0; }
  .primary-nav a, html:not(.js) .primary-nav a {
    padding: 8px 0; font-size: 0.9375rem;
    background-image: linear-gradient(var(--ocean-600), var(--ocean-600));
    background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size 0.3s ease-out;
  }
  .primary-nav a:hover { background-size: 100% 1px; }
  .primary-nav a[aria-current="page"] { color: var(--text); background-size: 100% 2px; }
  .header-cta { margin-left: 16px; }
}

@media (min-width: 1024px) {
  .brand img { height: 36px; }
  .primary-nav ul { gap: 40px; }
  .header-cta { margin-left: 24px; }
}

/* ---------- 7. Illustrations ---------- */
.illo { width: 100%; height: auto; }

.illo .flow {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 2 14;
}

@media (prefers-reduced-motion: no-preference) {
  .illo .flow { animation: flow 1.8s linear infinite; }
  .illo .flow--out { animation-direction: normal; }
  .illo .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
}

@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.1; transform: scale(1.08); } }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-glow), var(--grad-deep-sea);
  padding-block: 64px 104px; /* extra bottom room for the curved edge */
}

.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero .h1 { margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 36px; }
.hero__visual { max-width: 560px; }

@media (min-width: 1024px) {
  .hero { padding-block: 96px 152px; }
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--col-gap); }
  .hero__visual { justify-self: end; width: 100%; }
}

/* ---------- 8b. Page header (inner pages, compact) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--grad-glow), var(--grad-deep-sea);
  padding-block: 56px 104px;
}

.page-header__content { max-width: 760px; }
.page-header .h1 { margin-bottom: 16px; }

@media (min-width: 1024px) {
  .page-header { padding-block: 88px 152px; }
}

/* ---------- 9. Solutions: zig-zag feature rows ---------- */
.features { display: grid; gap: 64px; }

.feature { display: grid; gap: 28px; align-items: center; }

.feature__media {
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
}

.feature__body .h3-lg { margin-bottom: 12px; }
.feature__body p { color: var(--muted-color); font-size: var(--fs-lead); max-width: 44ch; }
.feature__body .link-arrow { margin-top: 16px; }

.feature__tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 14px;
  background: var(--tint-bg, #E8F0FB);
  color: var(--tint-fg, var(--ocean-600));
}
.feature__tag svg { width: 24px; height: 24px; }

@media (min-width: 768px) {
  .features { gap: 88px; }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .feature:nth-child(even) .feature__media { order: 2; }
  .feature__media { padding: 24px; }
}

@media (min-width: 1024px) {
  .features { gap: 112px; }
  .feature { gap: 88px; }
}

/* ---------- 10. AI highlight ---------- */
.ai {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(45, 212, 191, 0.20), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.14), transparent 45%),
    var(--navy-900);
}

.ai__grid { display: grid; gap: 48px; align-items: center; }
.ai .h2 { margin-bottom: 16px; }
.ai .link-arrow { margin-top: 24px; }
.ai__visual { max-width: 560px; }

@media (min-width: 1024px) {
  .ai__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .ai__visual { justify-self: end; width: 100%; }
}

/* ---------- 11. Icon cards ---------- */
.cards { display: grid; gap: 16px; }

.card {
  height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease-out, border-color 0.3s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #C8D6EA;
  box-shadow: 0 16px 32px -20px rgba(7, 30, 61, 0.35);
}

.card .h3 { margin: 20px 0 8px; }
.card p { color: var(--muted-color); }

.card--lg { padding: 32px; }

@media (min-width: 1024px) {
  .card--lg { padding: 40px; }
}

/* Highlighted card (AI): teal accent border and soft teal wash */
.card--accent {
  border-color: rgba(45, 212, 191, 0.55);
  background: linear-gradient(180deg, #EFFBF8 0%, var(--white) 70%);
  box-shadow: inset 0 3px 0 var(--teal-400);
}

.card--accent:hover {
  border-color: var(--teal-400);
  box-shadow: inset 0 3px 0 var(--teal-400), 0 16px 32px -20px rgba(7, 30, 61, 0.35);
}

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint-bg, #E8F0FB);
  color: var(--tint-fg, var(--ocean-600));
}
.icon-tile svg { width: 26px; height: 26px; }

.tint-blue  { --tint-bg: #E8F0FB; --tint-fg: #1456A8; }
.tint-teal  { --tint-bg: #E3F7F4; --tint-fg: #0F766E; }
.tint-green { --tint-bg: #EAF6E3; --tint-fg: #3F7D20; }
.tint-cyan  { --tint-bg: #E3F4FD; --tint-fg: #0369A1; }
ol.cards { list-style: none; margin: 0; padding: 0; }
.icon-tile--num { font-size: 1.25rem; font-weight: 700; }
.card .icon-tile + p { margin-top: 20px; color: var(--text); }

.card__icon { display: block; width: 56px; height: 56px; }

/* Mission list: icon and statement rows separated by thin rules */
.mission-list { list-style: none; margin: 0; padding: 0; }
.mission-list li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--border); }
.mission-list li:first-child { border-top: 0; padding-top: 0; }
.mission-list li:last-child { padding-bottom: 0; }
.mission-list p { margin: 0; color: var(--text); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 500; line-height: 1.5; }
.mission-list--statement { margin-top: 20px; }
.mission-list--statement li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center; padding: 22px 0; }
.mission-list--statement li:first-child { padding-top: 0; }
.mission-list--statement p { font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem); font-weight: 600; line-height: 1.4; max-width: 34ch; }


/* Process steps (How it works): numbered badges joined by a dashed line */
.steps { display: grid; gap: 36px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; }
.step__no {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--ocean-500));
  color: var(--white); font-size: 1.25rem; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(30, 111, 217, 0.1), 0 10px 22px -10px rgba(20, 86, 168, 0.7);
}
.step .h3 { margin: 20px 0 8px; }
.step p { color: var(--muted-color); max-width: 30ch; }
@media (max-width: 767px) {
  .step { padding-left: 76px; }
  .step__no { position: absolute; left: 0; top: 0; }
  .step .h3 { margin-top: 4px; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: -28px; border-left: 1.5px dashed rgba(20, 86, 168, 0.35); }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; width: calc(100% - 48px); border-top: 1.5px dashed rgba(20, 86, 168, 0.35); }
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- 12. Why Choose Us: photo + reasons ---------- */
.why__grid { display: grid; gap: 40px; align-items: stretch; }

.why__photo {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.why__photo img { width: 100%; height: 100%; object-fit: cover; }

.why__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 30, 61, 0.35));
}

.why__content .lead { margin-top: 16px; }

.reasons { display: grid; gap: 12px; margin-top: 36px; }

.reason {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
}

.reason:hover { background: var(--white); border-color: var(--border); }
.reason .h3 { margin-bottom: 6px; font-size: 1.1875rem; }
.reason p { color: var(--muted-color); }

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .why__photo { aspect-ratio: auto; height: 100%; min-height: 560px; }
}

/* ---------- 12b. About Us patterns ---------- */
.statement {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--heading-color);
}

/* Who We Are: statement + photo */
.who__grid { display: grid; gap: 40px; align-items: center; }
.who__photo { border-radius: var(--radius-panel); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.who__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) {
  .who__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; }
  .who__photo { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) {
  .who__grid--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .who__grid--reverse .who__photo { order: -1; }
}

/* Intro on the left (sticky on desktop), cards on the right */
.side-split { display: grid; gap: 40px; }
.side-split__aside .lead { margin-top: 16px; }

@media (min-width: 1024px) {
  .side-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .side-split__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* Two columns on tablet: let an odd last card span the full row instead of leaving a gap */
@media (min-width: 600px) and (max-width: 1023px) {
  .cards--3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* Banner: one large sentence on a blue panel */
.banner {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 40px 28px;
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 90% 10%, rgba(45, 212, 191, 0.28), transparent 50%),
    var(--grad-deep-sea);
}

.banner .statement { max-width: 30ch; }

@media (min-width: 1024px) {
  .banner { margin-top: 64px; padding: 64px 72px; }
}

/* Checklist (Why It Matters) */
.checklist { display: grid; gap: 16px; }

.check-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--border);
}

.check-item .h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.check-item p { color: var(--muted-color); }

.check-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #E3F7F4; color: #0F766E;
}
.check-dot svg { width: 20px; height: 20px; }

@media (min-width: 768px) {
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* Quote band (Leadership Principle) */
.quote {
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 50%),
    var(--navy-900);
}

.quote__mark { width: 56px; height: 56px; color: var(--cyan-400); margin-bottom: 24px; }
.quote blockquote { margin: 0; max-width: 900px; }
.quote .statement { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.22; }

/* Company information */
.info__grid { display: grid; gap: 32px; }

.info-card {
  margin: 0;
  padding: 4px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--white);
}

.info-row { padding: 22px 0; }
.info-row + .info-row { border-top: 1px solid var(--border); }

.info-row dt {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; color: var(--muted);
}

.info-row dt .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.info-row dt .icon-tile svg { width: 20px; height: 20px; }
.info-row dd { margin: 10px 0 0 54px; font-size: 1.0625rem; color: var(--text); }
.info-row dd a { color: var(--ocean-600); text-decoration: none; }
.info-row dd a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .info-card { padding: 8px 36px; }
  .info-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 24px; }
  .info-row dd { margin: 0; }
}

@media (min-width: 1024px) {
  .info__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
}

/* ---------- 12c. Contact page ---------- */
.contact__grid { display: grid; gap: 48px; }

@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: stretch; }
}

.field { margin-bottom: 28px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.field .req { color: var(--ocean-600); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1.5px solid #7B8BA2;   /* 3:1+ against white for the field boundary */
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--text);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.field textarea { min-height: 132px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ocean-600);
  box-shadow: 0 1.5px 0 var(--ocean-600);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 500;
}
.form-status:target { display: block; }
/* After a successful send, show only the thank-you message */
#sent:target ~ .contact-form { display: none; }
.form-status--ok { background: #E3F7F4; color: #0F5F58; }
.form-status--error { background: #FDECEC; color: #9B1C1C; }
.form-status--error a { color: inherit; }

.contact-panel {
  height: 100%;
  padding: 32px 24px;
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.22), transparent 50%),
    var(--navy-900);
}

.contact-panel .info-card { padding: 0; border: 0; background: none; }
.contact-panel .info-row + .info-row { border-top-color: var(--rule-dark); }
.contact-panel .info-row { display: block; }
.contact-panel .info-row dt { color: rgba(255, 255, 255, 0.72); }
.contact-panel .info-row dd { margin: 10px 0 0 54px; color: var(--white); }
.contact-panel .info-row dd a { color: var(--white); }
.contact-panel .icon-tile { background: rgba(255, 255, 255, 0.08); color: var(--cyan-400); }

@media (min-width: 1024px) {
  .contact-panel { padding: 48px 40px; }
}

/* ---------- 13. CTA with photo ---------- */
.cta {
  position: relative;
  overflow: hidden;
  /* Bottom fades into the footer color so the two sections blend */
  background:
    linear-gradient(180deg, rgba(11, 45, 91, 0) 40%, rgba(11, 45, 91, 0.9) 80%, #0B2D5B 94%, #0B2D5B 100%),
    linear-gradient(115deg, rgba(4, 18, 43, 0.94) 0%, rgba(11, 45, 91, 0.86) 50%, rgba(20, 86, 168, 0.72) 100%),
    url("../img/city-roads.jpg") center / cover no-repeat;
  background-color: var(--navy-800);
  margin-top: 80px;
  padding-top: calc(var(--section-pad) + 100px);
  padding-bottom: 40px;
  margin-bottom: -1px; /* hide subpixel seam against the footer */
}

.cta__inner { max-width: 760px; }
.cta .h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
.cta .btn { margin-top: 32px; }

/* ---------- 14. Footer ---------- */
/* Lighter navy at the top (continues from the CTA), deepening toward the bottom */
.site-footer {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  padding-block: 72px 32px;
  font-size: 0.9375rem;
}

.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.footer-nav, .footer-contact { grid-column: 1 / -1; }

.footer-nav li + li { margin-top: 12px; }
.footer-nav a, .footer-contact a {
  color: var(--white); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.3s ease-out;
}
.footer-nav a:hover, .footer-contact a:hover { background-size: 100% 1px; }

.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; max-width: 44ch; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-400); }

.footer-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.66);
}

@media (min-width: 768px) {
  .footer-nav { grid-column: 1 / span 4; }
  .footer-contact { grid-column: 5 / span 8; }
}

@media (min-width: 1024px) {
  .site-footer { padding-block: 96px 40px; }
}

/* ---------- 15. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
