/*
Theme Name: OpenSpaces 360
Theme URI: https://openspaces360.example
Author: OpenSpaces 360
Description: Custom landing theme for OpenSpaces 360 — 360° virtual tours and 3D models of city halls, museums and cultural spaces.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: openspaces360
*/

/* ---------- Tokens ---------- */
:root {
  --navy: #1B2C5C;
  --navy-dark: #142348;
  --navy-deep: #0F1B3D;
  --gold: #D99A26;
  --gold-bright: #E8A33D;
  --gold-text: #96650D;   /* gold dark enough for small text on white (5:1) */
  --ink: #171C26;
  --body: #46505E;
  --panel: #F5F6F8;
  --line: #E3E6EA;
  --placeholder: #C6CAD0;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 26px;
  --container: 1560px;
  --gutter: clamp(20px, 3.3vw, 48px);
  --header-h: 84px;
  --font: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-pop: 0 12px 32px rgba(20, 28, 48, 0.14);
  --shadow-soft: 0 8px 24px rgba(15, 25, 50, 0.07);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis recommended CSS — keeps CSS smooth-scroll as the no-JS fallback only. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--navy); text-decoration: none; }

button { font: inherit; cursor: pointer; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; }

:focus-visible {
  outline: 3px solid rgba(27, 44, 92, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.hero-x :focus-visible,
.demo-panel :focus-visible,
.mini-promo :focus-visible,
.footer-x :focus-visible {
  outline-color: var(--gold-bright);
}

::selection { background: var(--navy); color: var(--white); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  transition: top 0.2s ease-out;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out, color 0.2s ease-out;
}
.btn svg { flex: none; }

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

.btn-gold { background: var(--gold-bright); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }

.btn-outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline svg { transition: transform 0.2s ease-out; }
.btn-outline:hover svg { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.text-link svg { transition: transform 0.2s ease-out; }
.text-link:hover svg { transform: translateX(3px); }
.text-link-gold { color: var(--gold-bright); }

.round-arrow {
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.round-arrow-gold { background: var(--gold-bright); color: var(--navy-dark); }

/* ---------- Topbar (light) ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: #5A6474;
  font-size: 13px;
}
.topbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
  min-height: 38px;
  padding-block: 5px;
}
.topbar-note { margin: 0; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.topbar-note a:hover { color: var(--navy); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-sep { width: 1px; height: 14px; background: var(--line); }
.lang-switch { display: flex; gap: 10px; }
.lang-switch a { font-weight: 600; color: #8891A0; padding: 2px 2px; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current] { color: var(--navy); border-bottom: 2px solid var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(227, 230, 234, 0.7);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  min-width: 0;
}
.brand img { width: min(300px, 52vw); height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #333D4D;
  padding: 8px 0;
  transition: color 0.2s ease-out;
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a svg { color: #5A6474; }

.nav-menu li { position: relative; }
.nav-menu .sub-menu {
  position: absolute;
  top: 100%; left: -16px;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 6px; }
.nav-menu .sub-menu a:hover { background: var(--panel); }

.btn-header { padding: 12px 20px; font-size: 15px; white-space: nowrap; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 10px;
  line-height: 0;
}

/* ---------- Sections ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.section { padding-block: clamp(60px, 6.5vw, 96px); }
.section-alt { background: var(--panel); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 54px);
  text-align: center;
}
.section-head.align-left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: none;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.section-lede { font-size: clamp(1rem, 1.1vw, 1.1rem); margin: 0; }

.icon-badge {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(27, 44, 92, 0.08);
  color: var(--navy);
}
.icon-badge-gold { background: rgba(217, 154, 38, 0.15); color: var(--gold-text); }

.quality-ico {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(217, 154, 38, 0.15);
  color: var(--gold-text);
  display: grid;
  place-items: center;
}

/* ---------- Hero ---------- */
.hero-x {
  position: relative;
  color: var(--white);
  padding: clamp(64px, 7vw, 110px) 0 150px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 76px), calc(100% - 190px) calc(100% - 76px), calc(100% - 250px) 100%, 0 100%);
}

.hero-x-bg,
.hero-x-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-x-bg img { object-fit: cover; object-position: 50% 35%; }
.hero-x-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(11, 20, 45, 0.93) 0%,
    rgba(13, 24, 54, 0.82) 45%,
    rgba(15, 27, 61, 0.55) 100%);
}

.hero-x-inner { position: relative; }

.hero-x .eyebrow { color: var(--gold-bright); }
.hero-x .eyebrow::before { display: none; }

.hero-x-title {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}
.hero-x-title .accent { color: var(--gold-bright); }

.hero-x-sub {
  max-width: 32em;
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.hero-x-feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 26px 24px;
  max-width: 46em;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.hero-x-feats li {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.hero-x-feats svg { display: block; margin-bottom: 10px; color: var(--gold-bright); }

.hero-x-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Services / Solutions ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 24px;
}
.solutions-intro {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-right: 12px;
}
.solutions-intro p { margin: 0 0 22px; }

.photo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}
.photo-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.photo-card h3 { font-size: 1.02rem; margin: 2px 4px 0; }

.photo-card-media {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}
.photo-card:hover .photo-card-media img { transform: scale(1.05); }
.photo-card-media .gif-live,
.photo-card:hover .gif-poster { display: none; }
.photo-card:hover .gif-live { display: block; }
.photo-card-media .round-arrow { position: absolute; right: 10px; bottom: 10px; }
.photo-card:hover .round-arrow { background: var(--gold); color: var(--navy-dark); }

.mini-promo {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.75);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.mini-promo:hover .round-arrow-gold { background: var(--gold); }
.mini-promo:hover .photo-card-media img { transform: scale(1.03); }
.mini-promo h3 { color: var(--white); font-size: 1.02rem; margin: 2px 4px 0; }
.mini-promo p { margin: 0 4px 4px; font-size: 0.88rem; }
.mini-promo .photo-card-media { aspect-ratio: auto; flex: 1; min-height: 150px; }

/* ---------- About ---------- */
.about-x-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.about-x-media { position: relative; padding: 0 0 84px; }
.about-x-main {
  width: 84%;
  margin-left: auto;
  border-radius: var(--radius-lg);
}
.about-x-overlap {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: 52%;
  border-radius: var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-pop);
  z-index: 2;
}
/* ponytail: media box is 84px taller than the image (overlap room), so centering lands the copy 42px low */
.about-x-copy { transform: translateY(-42px); }
.commit-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
}
.commit-list li { display: flex; align-items: center; gap: 12px; }
.check-ico {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(217, 154, 38, 0.18);
  color: var(--gold-text);
  display: grid;
  place-items: center;
}

/* ---------- Metrics ---------- */
.metrics-x {
  background-image: radial-gradient(rgba(27, 44, 92, 0.07) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric {
  margin: 0;
  padding: 10px 32px;
  border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; }
.metric-ico {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(217, 154, 38, 0.14);
  color: var(--gold-text);
  display: grid;
  place-items: center;
}
.metric strong {
  display: block;
  font-size: clamp(2.1rem, 2.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.1;
}
.metric strong em {
  font-style: normal;
  font-size: 0.45em;
  font-weight: 800;
  color: var(--gold-text);
  margin-left: 4px;
  vertical-align: 0.5em;
}
.metric-label { display: block; margin-top: 6px; font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.metric-sub { display: block; margin-top: 2px; font-size: 0.85rem; color: #5A6474; }

/* ---------- Industries / Buildings ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

.industry-photo {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 100px) 100%, 0 100%);
}
.industry-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.industry-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 61, 0) 35%, rgba(15, 27, 61, 0.9) 100%);
}
.industry-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
}
.industry-caption h3 { color: var(--white); font-size: 1.4rem; margin: 0 0 6px; }
.industry-caption p { margin: 0 0 12px; font-size: 0.92rem; max-width: 40ch; }

.industries-copy p { margin: 0 0 24px; }
.chip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.chip svg { flex: none; color: var(--gold-text); }

.consult-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.consult-left { display: flex; align-items: center; gap: 14px; }
.consult-left strong { color: var(--navy); font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.quote-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  user-select: none;
}
.quote-card blockquote { margin: 6px 0 20px; }
.quote-card blockquote p { margin: 0; color: var(--ink); line-height: 1.7; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-who { display: flex; flex-direction: column; }
.quote-who strong { color: var(--navy); font-size: 15px; }
.quote-who span { font-size: 13.5px; color: #5A6474; }

/* ---------- FAQ ---------- */
.container-narrow { max-width: calc(860px + 2 * var(--gutter)); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.faq-intro .section-head { max-width: none; margin-bottom: 0; }

.faq-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: clamp(24px, 3vw, 34px) 0;
  border-radius: 2px;
  background: var(--gold);
}
.faq-help { margin: 0 0 22px; }
.faq-help strong { display: block; color: var(--navy); }

.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}
.faq-item[open] { border-color: rgba(27, 44, 92, 0.25); }
.faq-item summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 20px 20px 26px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.faq-q { font-weight: 700; color: var(--navy); line-height: 1.45; }

/* Plus that becomes a minus when the item is open. */
.faq-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(15, 25, 50, 0.12);
  color: var(--navy);
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  border-radius: 1px;
  background: currentColor;
}
.faq-toggle::before { width: 13px; height: 2px; }
.faq-toggle::after {
  width: 2px;
  height: 13px;
  transition: scale 0.2s ease-out, opacity 0.2s ease-out;
}
.faq-item[open] .faq-toggle::after { scale: 1 0; opacity: 0; }
.faq-item summary:hover .faq-toggle { background: var(--navy); color: var(--white); }

.faq-body { padding: 0 26px 24px 78px; }
.faq-body p { margin: 0; font-size: 0.95rem; max-width: 62ch; }

/* Animated open/close where the browser supports it; plain toggle elsewhere. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    content-visibility: hidden;
    transition: block-size 0.28s ease-out, opacity 0.24s ease-out, content-visibility 0.28s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; opacity: 1; content-visibility: visible; }
}

/* ---------- Request a demo (white card: navy photo panel + form) ---------- */
.demo-x { padding-block: clamp(40px, 4vw, 64px); background: var(--panel); }

.demo-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

/* Left: photo behind a navy wash. */
.demo-aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 54px);
  color: rgba(255, 255, 255, 0.85);
  color-scheme: dark;
}
.demo-aside-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, var(--navy-deep) 6%, rgba(27, 44, 92, 0.93) 46%, rgba(27, 44, 92, 0.55) 100%);
}
.demo-aside .eyebrow { color: var(--gold-bright); }
.demo-aside .eyebrow::before { background: var(--gold-bright); }
.demo-aside .section-title { color: var(--white); margin-bottom: 16px; }
.demo-aside > p { margin: 0 0 clamp(26px, 3vw, 38px); max-width: 46ch; }

.demo-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.demo-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}
.perk-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--navy-dark);
}

/* Right: the form. */
.demo-form {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 48px) clamp(20px, 2.6vw, 44px);
}
.demo-fields { display: grid; gap: 14px; }

.field {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 44, 92, 0.12); }
.field-ico { display: grid; place-items: center; color: #7A8494; }
.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px 15px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: inherit;
}
.field input:focus,
.field textarea:focus { outline: none; }
.field input::placeholder,
.field textarea::placeholder { color: #98A0AC; }

.field-msg { align-items: start; }
.field-msg .field-ico { padding-top: 16px; }
.field-msg-body { display: block; min-width: 0; }
.field-msg-body label { display: block; padding: 15px 16px 0 0; font-size: 15px; color: var(--ink); }
.field-msg textarea { min-height: 62px; padding-top: 4px; resize: vertical; }

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 13px;
  color: var(--body);
  cursor: pointer;
}
.agree input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  accent-color: var(--navy);
}

.demo-submit { margin-top: 16px; justify-content: center; padding-block: 17px; }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}
.news-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.news-media { position: relative; aspect-ratio: 16 / 10; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  background: var(--gold-bright);
  color: var(--navy-dark);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
.date-badge strong { display: block; font-size: 18px; }
.cat-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 14px;
  background: var(--gold-bright);
  color: var(--navy-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 8px 0 0;
}
.news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 22px 22px;
}
.news-meta { margin: 0; font-size: 12.5px; font-weight: 600; color: #8891A0; text-transform: uppercase; letter-spacing: 0.05em; }
.news-body h3 { font-size: 1.08rem; margin: 0; }
.news-body > p:not(.news-meta) { margin: 0; font-size: 0.93rem; flex: 1; }

.news-media { display: block; }
.news-body h3 a { color: inherit; }
.news-body h3 a:hover { color: var(--gold-text); }
.news-more { margin: 36px 0 0; text-align: center; }

/* ---------- Blog index & single ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}
.blog-main > .section-lede { margin-top: 0; }

.news-feature { margin-bottom: 28px; }
.news-feature .news-body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.news-feature h2 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); margin: 0; }
.news-feature h2 a { color: inherit; }
.news-feature h2 a:hover { color: var(--gold-text); }
.news-feature .news-body > p:not(.news-meta) { flex: 0 1 auto; }
@media (min-width: 721px) {
  .news-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .news-feature .news-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
}

.blog-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.side-widget {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.side-title { font-size: 1.02rem; margin-bottom: 14px; }

.side-search { display: flex; gap: 8px; }
.side-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
}
.side-search input::placeholder { color: var(--placeholder); }
.side-search button {
  flex: none;
  width: 46px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-bright);
  color: var(--navy-dark);
}
.side-search button:hover { background: var(--gold); }

.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 600;
  font-size: 14.5px;
}
.side-cats a:hover { border-color: var(--navy); }
.side-count {
  min-width: 26px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.side-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.side-recent li { display: flex; gap: 12px; align-items: center; }
.side-recent img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.side-recent-copy { display: grid; gap: 2px; }
.side-recent-title { font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--navy); }
.side-recent-title:hover { color: var(--gold-text); }
.side-recent-date { font-size: 12px; font-weight: 600; color: #8891A0; text-transform: uppercase; letter-spacing: 0.04em; }

.page-hero { padding-block: clamp(48px, 5vw, 72px); }
.page-hero .section-head,
.post-hero .section-head-tight,
.section-head-tight { margin-bottom: 0; }

.pagination { margin-top: 44px; }
.pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}
.pagination .page-numbers.current {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy-dark);
}
.pagination a.page-numbers:hover { border-color: var(--navy); }
.pagination .page-numbers.dots { border: 0; background: none; }

.post-hero { padding: clamp(48px, 5vw, 72px) 0 clamp(96px, 10vw, 140px); text-align: center; }
.post-hero .section-title { margin-bottom: 10px; }
.post-meta { margin: 0; font-size: 0.9rem; font-weight: 600; color: #5A6474; }

.post-thumb { margin-top: clamp(-100px, -8vw, -56px); }
.post-thumb img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
}

.entry-content { padding-block: clamp(36px, 4vw, 52px) 8px; font-size: 1.05rem; line-height: 1.75; }
.entry-content h2 { font-size: 1.45rem; margin: 1.5em 0 0.6em; }
.entry-content h3 { font-size: 1.2rem; margin: 1.4em 0 0.5em; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--gold); }
.entry-content strong { color: var(--ink); }
.entry-content a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }
.entry-content a:hover { color: var(--navy); }
.entry-content img { border-radius: 12px; }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 14px 22px;
  border-left: 4px solid var(--gold);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 28px;
  padding-block: 26px clamp(56px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.post-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.post-nav a { font-weight: 600; color: var(--navy); max-width: 34ch; }
.post-nav a:hover { color: var(--gold-text); }

/* ---------- Footer (dark navy: newsletter band + link columns) ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); font-size: 14.5px; }

.footer-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px 56px;
  padding-block: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-news-title {
  color: var(--white);
  font-size: clamp(1.35rem, 1.7vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 6px;
}
.footer-news-txt p { margin: 0; max-width: 56ch; }

.newsletter-card { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-card .btn { padding-block: 11px; }
.newsletter-field {
  flex: 1;
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.newsletter-field svg { flex: none; }
.newsletter-field:focus-within { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22); }
.newsletter-field input {
  width: 100%;
  padding: 11px 0;
  font: inherit;
  font-size: 15px;
  color: var(--white);
  background: transparent;
  border: 0;
}
.newsletter-field input:focus { outline: none; }
.newsletter-field input::placeholder { color: rgba(255, 255, 255, 0.45); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  padding-block: clamp(44px, 5vw, 64px);
}

.footer-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 14px;
}
.footer-logo span { color: var(--gold-bright); }
.footer-brand > p:not(.footer-logo) { margin: 0; max-width: 40ch; }

.footer-heading {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-heading::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8px;
  background: var(--gold-bright);
  border-radius: 2px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact svg { flex: none; color: var(--gold-bright); }
.footer-contact a { overflow-wrap: anywhere; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
}
.footer-social a:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy-dark);
}

.footer-bottom { position: relative; background: var(--navy-dark); color: rgba(255, 255, 255, 0.7); overflow: hidden; }
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  padding-right: 96px;
  font-size: 13.5px;
}
.footer-bottom::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  background: var(--gold-bright);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Generic content (index.php fallback) ---------- */
.site-main.container { padding-block: 64px; }

/* ---------- Inner pages (about, services, live demos) ---------- */
.photo-card > p { margin: 2px 4px 0; font-size: 0.92rem; color: var(--body); flex: 1; }
.photo-card > .text-link { margin: 6px 4px 2px; }

.chip-grid-wide { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.chip-grid + .consult-bar { margin-top: 30px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.value-card h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.value-card p { margin: 0; font-size: 0.95rem; }
.value-grid + .consult-bar { margin-top: 30px; }

.step-num {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

/* ---------- Angled section edges (same notch as the hero) ---------- */
.cut-top-left {
  clip-path: polygon(0 76px, 190px 76px, 250px 0, 100% 0, 100% 100%, 0 100%);
  padding-top: 120px;
}
/* Footer: panel-gray band on top, with a navy tab rising through it on the right. */
.site-footer {
  position: relative;
  padding-top: 76px;
  background: linear-gradient(var(--panel) 76px, var(--navy-deep) 76px);
}
/* Pages that end on a white section: white band instead of panel gray. */
.site-footer.footer-top-white { background: linear-gradient(var(--white) 76px, var(--navy-deep) 76px); }
.site-footer.footer-flat { padding-top: 0; background: var(--navy-deep); }
.site-footer.footer-flat::before { display: none; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 76px;
  background: var(--navy-deep);
  clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }

  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solutions-intro { grid-column: 1 / -1; grid-row: auto; padding-right: 0; }
  .mini-promo { grid-column: auto; grid-row: auto; }

  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .metric:nth-child(3) { border-left: 0; }

  .industries-grid { grid-template-columns: 1fr; }
  .industry-photo { min-height: 320px; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { max-width: 620px; }

  .demo-grid { grid-template-columns: 1fr; }
  .demo-aside { min-height: 340px; }

  .footer-news { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    display: none;
    padding: 12px var(--gutter) 20px;
  }
  .nav-open .site-nav { display: block; }

  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--panel); }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 0 16px;
  }

  .hero-x { clip-path: none; padding-bottom: 120px; }
  .cut-top-left { clip-path: none; padding-top: clamp(60px, 6.5vw, 96px); }
  .site-footer { padding-top: 0; background: var(--navy-deep); }
  .site-footer::before { display: none; }

  .about-x-grid { grid-template-columns: 1fr; }

  .about-x-media { max-width: 560px; }
  .about-x-copy { transform: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-left: 0; padding-inline: 0; }
  .chip-grid { grid-template-columns: 1fr; }

  .about-x-media { padding-bottom: 0; }
  .about-x-overlap { bottom: 90px; }

  .faq-item summary { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; padding: 18px 16px; }
  .faq-body { padding: 0 16px 20px 56px; }
}

@media (max-width: 640px) {
  .btn-header { display: none; }
  .hero-x-title { font-size: clamp(1.9rem, 8.2vw, 2.3rem); }
  .hero-x-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-card .btn { width: 100%; justify-content: center; }
}

/* ---------- Services hero ---------- */
.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
}

.svc-crumbs {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
  margin-bottom: clamp(18px, 2vw, 30px);
}
.svc-crumbs a { color: var(--body); }
.svc-crumbs a:hover { color: var(--navy); }
.svc-crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.svc-title {
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.svc-lede {
  max-width: 34em;
  margin: 0 0 clamp(28px, 3vw, 40px);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.85;
}

.svc-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-feats li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--navy);
}
.svc-feats svg { display: block; color: var(--gold-bright); }
.svc-feat-8k {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 27px;
  border: 2px solid var(--gold-bright);
  border-radius: 8px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Shadow lives on the wrapper as drop-shadow so it follows the clipped outline. */
.svc-viewer { filter: drop-shadow(0 8px 24px rgba(15, 25, 50, 0.07)); }
.svc-viewer-img {
  width: 100%;
  clip-path: url(#os360-viewer-clip);
}

/* ---------- Services cards ---------- */
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.svc-card-media { position: relative; margin-bottom: 46px; }
.svc-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}
.svc-card-ico {
  position: absolute;
  left: 18px;
  bottom: -28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
}

.svc-card h2 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 4px 10px;
}
.svc-card p {
  font-size: 0.9rem;
  margin: 0 4px 20px;
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: auto 4px 0;
  align-self: flex-start;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 0.9rem;
}
.svc-card-link svg { transition: transform 0.2s ease-out; }
.svc-card-link:hover svg { transform: translateX(3px); }

/* ---------- Services comparison (VS) ---------- */
.svc-vs-title { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }

.svc-vs-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.2vw, 36px);
}

.svc-vs-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-vs-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Left card mirrored: text left, image right. */
.svc-vs-card:first-child { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.svc-vs-card:first-child > img { order: 1; }
.svc-vs-copy { padding: clamp(20px, 2.2vw, 34px) clamp(18px, 2vw, 30px); }
.svc-vs-copy h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 18px; }

.svc-vs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.svc-vs-list li { display: flex; align-items: flex-start; gap: 12px; }
.svc-vs-check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--white);
  display: grid;
  place-items: center;
}

.svc-vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 9px solid var(--white);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

/* ---------- Services process steps ---------- */
.svc-steps-title { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }

.svc-steps {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.svc-step {
  flex: 1;
  position: relative;
  padding: 20px 18px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.svc-step .step-num {
  position: absolute;
  top: 18px;
  left: 18px;
  margin: 0;
}
.svc-step > svg {
  display: block;
  margin: 14px auto 18px;
  color: var(--navy);
}
.svc-step h3 { font-size: 1rem; line-height: 1.35; margin: 0 0 10px; }
.svc-step p { font-size: 0.88rem; margin: 0; }

.svc-step-arrow { align-self: center; flex: none; color: var(--navy); }
.svc-step-arrow svg { display: block; transform: rotate(-90deg); }

/* ---------- Services CTA band ---------- */
.svc-cta {
  color: var(--white);
  padding-block: clamp(24px, 2.6vw, 36px);
  background: var(--navy-deep);
  clip-path: polygon(48px 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%, 0 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}
.svc-cta h2 {
  color: var(--white);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Services deliverables ---------- */
.svc-deliver-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.svc-deliver-media img { width: 100%; border-radius: var(--radius-lg); }
.svc-deliver-body .section-title { margin-bottom: 28px; }

.svc-deliver-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.svc-dcard {
  display: flex;
  gap: 18px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.svc-dcard svg { flex: none; color: var(--gold-bright); margin-top: 2px; }
.svc-dcard h3 { font-size: 1.02rem; line-height: 1.35; margin: 0 0 8px; }
.svc-dcard p { font-size: 0.88rem; margin: 0; }

/* ---------- About Us hero ---------- */
.abt-hero {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  /* Step-shaped bottom edge (like .hero-x): right half raised, steep diagonal down to the left. */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 300px) calc(100% - 80px), calc(100% - 360px) 100%, 0 100%);
}

.abt-hero-copy {
  max-width: 46ch;
  padding-block: clamp(48px, 5.5vw, 96px);
}
.abt-hero-copy p {
  margin: 0 0 18px;
  line-height: 1.85;
}

.abt-title {
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.abt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 2.6vw, 36px);
}

/* Image bleeds to the top/right edges; diagonal left edge like the mock. */
.abt-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(60%, 1100px);
}
.abt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%);
}

/* ---------- About Us mission ---------- */
.abt-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.abt-mission-copy p { font-size: 0.95rem; margin: 0; }

.abt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.abt-stat {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.abt-stat .icon-badge { margin-bottom: 22px; }
.abt-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.abt-stat h3 { font-size: 1rem; margin: 4px 0 8px; }
.abt-stat p { font-size: 0.88rem; margin: 0; }

/* ---------- About Us "what we do" ---------- */
.abt-what-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 3.1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.abt-what-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Reuses .svc-card; navy icon disc + h3 headings on this page. */
.abt-what .svc-card-ico {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.abt-what .svc-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 4px 10px;
}
.abt-what .svc-card p { font-size: 0.88rem; margin: 0 4px 4px; }

/* ---------- About Us why ---------- */
.abt-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.abt-why-media img { width: 100%; border-radius: var(--radius-lg); }

.abt-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.abt-why-list li {
  display: flex;
  gap: 16px;
  padding-block: 18px;
}
.abt-why-list li + li { border-top: 1px solid var(--line); }
.abt-why-list .icon-badge { width: 40px; height: 40px; }
.abt-why-list h3 { font-size: 0.98rem; margin: 0 0 4px; }
.abt-why-list p { font-size: 0.88rem; margin: 0; }

/* ---------- About Us journey timeline ---------- */
.abt-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.abt-timeline li { position: relative; }

/* The icon disc doubles as the milestone node on the line. */
.abt-tl-ico {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(217, 154, 38, 0.15);
  border: 1px solid rgba(217, 154, 38, 0.35);
  color: var(--gold-text);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
/* Per-item connector segment to the next node — nothing after the last. */
.abt-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 60px;
  right: -40px;
  height: 2px;
  background: rgba(217, 154, 38, 0.4);
}

.abt-tl-year {
  display: block;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 0.95rem;
}
.abt-timeline h3 { font-size: 1.05rem; margin: 4px 0 8px; }
.abt-timeline p { font-size: 0.88rem; margin: 0; max-width: 30em; }

@media (max-width: 1024px) {
  .abt-hero { clip-path: none; }
  .abt-hero-media { position: static; width: auto; }
  .abt-hero-media img {
    clip-path: none;
    height: auto;
    max-height: 420px;
  }
  .abt-hero-copy { max-width: none; padding-bottom: clamp(32px, 4vw, 48px); }
  .abt-mission-grid { grid-template-columns: 1fr; }
  .abt-what-grid { grid-template-columns: 1fr; }
  .abt-what-cards { grid-template-columns: repeat(2, 1fr); }
  .abt-why-grid { grid-template-columns: 1fr; }
  .abt-why-media { max-width: 640px; }
  .abt-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .abt-timeline li::before { display: none; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-viewer { max-width: 640px; }
  .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-deliver-grid { grid-template-columns: 1fr; }
  .svc-deliver-media { max-width: 640px; }
  .svc-vs-grid { grid-template-columns: 1fr; }
  .svc-steps { flex-direction: column; }
  .svc-step-arrow svg { transform: none; margin-inline: auto; }
  .svc-cta { clip-path: none; }
  .svc-cta-grid { grid-template-columns: 1fr; }
  .svc-cta-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .abt-stats { grid-template-columns: 1fr; }
  .abt-what-cards { grid-template-columns: 1fr; }
  .abt-timeline { grid-template-columns: 1fr; }
  .svc-feats { grid-template-columns: repeat(2, 1fr); }
  .svc-cards-grid { grid-template-columns: 1fr; }
  .svc-deliver-cards { grid-template-columns: 1fr; }
  .svc-vs-card,
  .svc-vs-card:first-child { grid-template-columns: 1fr; }
  .svc-vs-card > img { aspect-ratio: 16 / 10; height: auto; }
  .svc-vs-card:first-child > img { order: -1; }
}

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