:root {
  --bg: #07163f;
  --bg-soft: #0c2256;
  --ink: #10264f;
  --ink-soft: #4d648c;
  --ink-strong: #0b1c3d;
  --paper: #f8fbff;
  --paper-blue: #e8f1ff;
  --paper-ivory: #f7f4ee;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f3f7ff;
  --muted: #c2d1f3;
  --muted-strong: #d8e3ff;
  --green: #6cf9b2;
  --cyan: #59d8ff;
  --blue: #88a9ff;
  --accent: linear-gradient(135deg, var(--green), var(--cyan));
  --shadow: 0 24px 80px rgba(2, 10, 32, 0.42);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 216, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(108, 249, 178, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(136, 169, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #05102f 0%, #07163f 42%, #08122f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.92));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 22, 63, 0), rgba(7, 22, 63, 0.45));
}

.hero-section,
.trust-strip,
.section,
.subhero {
  position: relative;
  color: var(--section-text, var(--text));
  --theme-text: var(--section-text, var(--text));
  --theme-muted: var(--section-muted, var(--muted));
  --theme-muted-strong: var(--section-muted-strong, var(--muted-strong));
  --theme-line: var(--section-line, var(--line));
  --theme-line-strong: var(--section-line-strong, var(--line-strong));
  --theme-card-bg: var(--section-card-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)));
  --theme-card-bg-soft: var(--section-card-bg-soft, rgba(255, 255, 255, 0.04));
  --theme-card-shadow: var(--section-card-shadow, var(--shadow));
  --theme-eyebrow-bg: var(--section-eyebrow-bg, rgba(255, 255, 255, 0.05));
  --theme-eyebrow-color: var(--section-eyebrow-color, var(--muted-strong));
  --theme-pill-bg: var(--section-pill-bg, rgba(255, 255, 255, 0.08));
  --theme-chip-bg: var(--section-chip-bg, rgba(255, 255, 255, 0.05));
  --theme-chip-active: var(--section-chip-active, rgba(108, 249, 178, 0.12));
  --theme-panel-bg: var(--section-panel-bg, rgba(7, 22, 63, 0.76));
  background: var(--section-bg, transparent);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.trust-strip h1,
.trust-strip h2,
.trust-strip h3,
.trust-strip h4,
.section h1,
.section h2,
.section h3,
.section h4,
.subhero h1,
.subhero h2,
.subhero h3,
.subhero h4 {
  color: var(--theme-text);
}

.hero-section p,
.trust-strip p,
.section p,
.subhero p {
  color: var(--theme-muted);
}

.tone-paper {
  --section-bg:
    radial-gradient(circle at 12% 16%, rgba(89, 216, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(239, 246, 255, 0.96));
  --section-text: var(--ink);
  --section-muted: #52698f;
  --section-muted-strong: #314c79;
  --section-line: rgba(16, 38, 79, 0.12);
  --section-line-strong: rgba(16, 38, 79, 0.2);
  --section-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
  --section-card-bg-soft: rgba(255, 255, 255, 0.84);
  --section-card-shadow: 0 20px 52px rgba(16, 38, 79, 0.1);
  --section-eyebrow-bg: rgba(16, 38, 79, 0.05);
  --section-eyebrow-color: #31507c;
  --section-pill-bg: rgba(16, 38, 79, 0.06);
  --section-chip-bg: rgba(255, 255, 255, 0.78);
  --section-chip-active: rgba(89, 216, 255, 0.14);
  --section-panel-bg: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), inset 0 -1px 0 rgba(16, 38, 79, 0.06);
}

.tone-blueprint {
  --section-bg:
    radial-gradient(circle at 84% 18%, rgba(108, 249, 178, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(232, 241, 255, 0.98), rgba(221, 234, 255, 0.96));
  --section-text: var(--ink-strong);
  --section-muted: #506788;
  --section-muted-strong: #29476f;
  --section-line: rgba(16, 38, 79, 0.13);
  --section-line-strong: rgba(16, 38, 79, 0.2);
  --section-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 255, 0.9));
  --section-card-bg-soft: rgba(255, 255, 255, 0.78);
  --section-card-shadow: 0 22px 54px rgba(21, 48, 95, 0.1);
  --section-eyebrow-bg: rgba(16, 38, 79, 0.05);
  --section-eyebrow-color: #31507c;
  --section-pill-bg: rgba(16, 38, 79, 0.07);
  --section-chip-bg: rgba(255, 255, 255, 0.82);
  --section-chip-active: rgba(108, 249, 178, 0.16);
  --section-panel-bg: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), inset 0 -1px 0 rgba(16, 38, 79, 0.08);
}

.tone-deep {
  --section-bg:
    radial-gradient(circle at 82% 20%, rgba(89, 216, 255, 0.12), transparent 22%),
    radial-gradient(circle at 14% 78%, rgba(108, 249, 178, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(6, 18, 52, 0.98), rgba(10, 29, 73, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1200;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #07163f;
}

.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(89, 216, 255, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(16px);
  background: rgba(5, 14, 43, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  box-shadow: var(--shadow);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav > a {
  color: var(--muted);
  font-size: 14px;
  position: relative;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.site-nav > a:hover,
.site-nav > a.is-current {
  color: var(--text);
}

.site-nav > a:hover::after,
.site-nav > a.is-current::after {
  width: 100%;
}

.nav-cta::after,
.lang-switch::after {
  display: none;
}

.lang-switch {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041a34;
  background: linear-gradient(135deg, #6cf9b2, #59d8ff);
  box-shadow: 0 18px 48px rgba(89, 216, 255, 0.24);
}

.site-nav > a.btn-primary,
.site-nav > a.btn-secondary,
.site-nav > a.btn {
  color: inherit;
}

.site-nav > a.btn-primary {
  color: #041a34;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--theme-line);
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--theme-line);
  background: var(--theme-eyebrow-bg);
  color: var(--theme-eyebrow-color);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(108, 249, 178, 0.45);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

p {
  margin: 0;
  color: var(--theme-muted, var(--muted));
  line-height: 1.7;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.hero-section.tone-paper,
.hero-section.tone-blueprint,
.hero-section.tone-deep,
.trust-strip.tone-paper,
.trust-strip.tone-blueprint,
.trust-strip.tone-deep,
.section.tone-paper,
.section.tone-blueprint,
.section.tone-deep,
.subhero.tone-paper,
.subhero.tone-blueprint,
.subhero.tone-deep {
  background: var(--section-bg);
}

.hero-section {
  padding: 44px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 20px 0 18px;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.metric-card,
.timeline-card,
.feature-card,
.contact-card,
.service-explorer,
.subhero-card,
.project-card,
.project-preview-card,
.widget-card,
.faq-item,
.service-card {
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg);
  box-shadow: var(--theme-card-shadow);
}

.metric-card,
.timeline-card,
.feature-card,
.contact-card,
.subhero-card,
.project-card,
.project-preview-card,
.widget-card,
.faq-item {
  border-radius: var(--radius);
}

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.2rem;
  color: var(--theme-text);
}

.hero-visual {
  position: relative;
  min-height: 660px;
  border-radius: 34px;
  border: 1px solid var(--theme-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: spin 18s linear infinite;
}

.orbit-a {
  width: 420px;
  height: 420px;
  top: -90px;
  right: -70px;
}

.orbit-b {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -60px;
  animation-direction: reverse;
  animation-duration: 16s;
}

.hero-photo-stack {
  position: absolute;
  inset: 0;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-photo-main {
  inset: 26px 26px 170px 26px;
}

.hero-photo-top {
  top: 60px;
  right: 42px;
  width: 180px;
  height: 220px;
}

.hero-photo-bottom {
  left: 34px;
  bottom: 34px;
  width: 220px;
  height: 170px;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--theme-line-strong);
  background: var(--theme-panel-bg);
  backdrop-filter: blur(14px);
  max-width: 260px;
}

.floating-panel small {
  display: block;
  margin-bottom: 8px;
  color: var(--theme-muted-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.panel-top {
  top: 24px;
  left: 24px;
}

.panel-bottom {
  right: 24px;
  bottom: 24px;
}

.trust-strip {
  padding: 0 0 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid span {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg-soft);
  color: var(--theme-muted-strong);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-heading p {
  max-width: 680px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  text-align: left;
  padding: 24px;
  border-radius: 26px;
  appearance: none;
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg);
  color: var(--theme-text);
  font: inherit;
  cursor: pointer;
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.service-card:hover,
.service-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(108, 249, 178, 0.45);
  background: linear-gradient(180deg, rgba(108, 249, 178, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 24px 52px rgba(4, 18, 53, 0.28);
}

.service-card:focus-visible {
  outline: 2px solid rgba(108, 249, 178, 0.92);
  outline-offset: 4px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--accent);
  color: #061533;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  color: var(--theme-text);
}

.service-card p {
  color: var(--theme-muted-strong);
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--theme-text);
  font-weight: 700;
}

.service-card-inline {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: max-height 0.38s ease, opacity 0.32s ease, transform 0.32s ease, margin-top 0.32s ease;
}

.service-card.is-active .service-card-inline {
  max-height: 220px;
  opacity: 1;
  margin-top: 18px;
  transform: translateY(0);
}

.service-inline-copy {
  padding-top: 18px;
  border-top: 1px solid var(--theme-line);
}

.service-inline-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--theme-text);
}

.service-inline-copy p {
  color: var(--theme-muted);
  line-height: 1.65;
}

.service-inline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.service-inline-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--theme-pill-bg);
  color: var(--theme-muted-strong);
  font-size: 12px;
  line-height: 1.4;
}

.service-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
}

.service-explorer h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.service-points,
.project-meta-list,
.modal-highlights {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-points li,
.project-meta-list li,
.modal-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--theme-muted-strong);
}

.service-points li::before,
.project-meta-list li::before,
.modal-highlights li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.service-explorer-widget {
  display: grid;
  gap: 16px;
}

.widget-card {
  padding: 24px;
}

.widget-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--theme-muted-strong);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.widget-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.mini-steps {
  display: grid;
  gap: 12px;
}

.mini-step {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg-soft);
  color: var(--theme-muted-strong);
  display: flex;
  gap: 12px;
  align-items: center;
}

.mini-step strong {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 249, 178, 0.14);
  color: var(--green);
}

.timeline-grid,
.feature-grid,
.project-preview-grid,
.partner-grid {
  display: grid;
  gap: 18px;
}

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

.timeline-card,
.feature-card {
  padding: 24px;
}

.timeline-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(89, 216, 255, 0.12);
  color: var(--cyan);
  font-weight: 800;
}

.timeline-card h3,
.feature-card h3 {
  margin-bottom: 10px;
}

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

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

.partner-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg);
  box-shadow: var(--theme-card-shadow);
}

.partner-logo,
.partner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  border-radius: 22px;
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg-soft);
}

.partner-logo img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.partner-logo-gebhardt img {
  max-height: 66px;
}

.partner-logo-contralux img {
  max-height: 72px;
}

.partner-logo-efc img {
  max-height: 52px;
}

.partner-mark {
  width: 108px;
  height: 108px;
  min-height: 108px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(108, 249, 178, 0.18), rgba(89, 216, 255, 0.14));
  color: var(--theme-text);
  font-family: "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.partner-copy small {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(108, 249, 178, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-copy h3 {
  margin-bottom: 10px;
}

.partner-copy p {
  color: var(--theme-muted-strong);
}

.partner-copy a {
  display: inline-flex;
  margin-top: 14px;
  color: #1d63ce;
  font-weight: 700;
}

.project-preview-card,
.project-card {
  overflow: hidden;
  position: relative;
}

.project-preview-card img,
.project-card img,
.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-preview-media,
.project-card-media {
  position: relative;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
}

.project-preview-media::after,
.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 63, 0.02), rgba(7, 22, 63, 0.24));
}

.project-preview-copy,
.project-card-copy {
  position: static;
  padding: 20px 22px 24px;
}

.project-preview-copy small,
.project-card-copy small,
.modal-meta small {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--theme-pill-bg);
  color: var(--theme-muted-strong);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-preview-copy h3,
.project-card-copy h3 {
  margin: 14px 0 6px;
  font-size: 1.55rem;
}

.project-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.project-card-meta-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--theme-pill-bg);
  color: var(--theme-muted-strong);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.faq-layout,
.contact-grid,
.subhero-grid,
.modal-grid {
  display: grid;
  gap: 22px;
}

.faq-layout,
.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

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

.faq-item {
  padding: 22px;
}

.faq-item button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--theme-text);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button strong {
  font-size: 1.3rem;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, margin-top 0.28s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
  margin-top: 14px;
}

.faq-item button strong {
  transition: transform 0.28s ease, color 0.28s ease;
}

.faq-item.is-open button strong {
  transform: rotate(45deg);
  color: var(--green);
}

.contact-section {
  padding-top: 72px;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-points article {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--theme-line);
  background: var(--theme-card-bg-soft);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  margin-bottom: 4px;
}

.contact-card {
  padding: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

label span {
  font-size: 14px;
  color: var(--theme-muted-strong);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--theme-line);
  border-radius: 16px;
  background: var(--theme-card-bg-soft);
  color: var(--theme-text);
  padding: 15px 16px;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--theme-muted) 82%, white 18%);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.is-success {
  color: #6cf9b2;
}

.form-status.is-error {
  color: #ffb4b4;
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 22px;
  padding-bottom: 22px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.subhero {
  padding: 44px 0 0;
}

.subhero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.subhero h1 {
  margin: 18px 0 12px;
}

.subhero-card {
  padding: 24px;
}

.subhero-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--theme-muted-strong);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subhero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-chip {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--theme-line);
  background: var(--theme-chip-bg);
  color: var(--theme-muted-strong);
  cursor: pointer;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(108, 249, 178, 0.42);
  background: var(--theme-chip-active);
  transform: translateY(-1px);
}

.projects-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card button,
.project-preview-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-modal {
  position: fixed;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1300;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 43, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.project-modal-dialog {
  position: relative;
  width: min(calc(100% - 32px), 1080px);
  max-height: calc(100vh - 42px);
  margin: 21px auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 30, 70, 0.98), rgba(7, 22, 63, 0.98));
  overflow: auto;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.project-modal.is-open .project-modal-backdrop {
  opacity: 1;
}

.project-modal.is-open .project-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.project-modal-close:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(108, 249, 178, 0.34);
}

.project-modal-body {
  padding: 34px 28px 32px;
}

.modal-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
}

.service-modal-dialog {
  width: min(calc(100% - 32px), 1020px);
}

.service-modal-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 18px 22px;
}

.service-modal .project-modal-body {
  padding: 82px 34px 36px;
}

.service-modal .project-modal-close {
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-modal .modal-copy h2 {
  font-size: clamp(2.45rem, 4.6vw, 3.55rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  max-width: 9.5ch;
  text-wrap: balance;
}

.service-modal .modal-copy > p {
  max-width: 34rem;
}

.service-modal .modal-meta {
  margin-bottom: 12px;
}

.modal-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 1.15 / 0.88;
  border: 1px solid var(--line);
}

.modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 63, 0), rgba(7, 22, 63, 0.36));
}

.modal-copy h2 {
  margin: 18px 0 10px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.modal-gallery figure {
  margin: 0;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.modal-gallery figure.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1.2 / 1;
}

.modal-gallery-head {
  margin-top: 18px;
}

.modal-side-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.modal-side-card + .modal-side-card {
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(42px) scale(0.985);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .service-explorer,
  .faq-layout,
  .contact-grid,
  .subhero-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .timeline-grid,
  .projects-grid-page,
  .project-preview-grid,
  .partner-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .site-header {
    position: sticky;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(6, 19, 51, 0.96);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 6px 0;
  }

  .hero-metrics,
  .services-grid,
  .timeline-grid,
  .feature-grid,
  .projects-grid-page,
  .project-preview-grid,
  .partner-grid,
  .footer-grid,
  .field-row,
  .modal-gallery {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 580px;
  }

  .hero-photo-main {
    inset: 22px 22px 150px;
  }

  .hero-photo-top {
    width: 160px;
    height: 190px;
  }

  .hero-photo-bottom {
    width: 180px;
    height: 140px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 22px), var(--max));
  }

  .section {
    padding: 74px 0;
  }

  .hero-section {
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-photo-main {
    inset: 16px 16px 138px;
  }

  .hero-photo-top {
    right: 20px;
    width: 132px;
    height: 164px;
  }

  .hero-photo-bottom {
    left: 20px;
    width: 150px;
    height: 112px;
  }

  .floating-panel {
    max-width: 220px;
    padding: 14px 16px;
  }

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

  .project-modal-body {
    padding: 12px 16px 20px;
  }
}
