:root {
  --bg: #f3f7fb;
  --bg-alt: #eaf1f8;
  --surface: #ffffff;
  --surface-2: #f7fbff;
  --text: #172b3a;
  --muted: #5b7284;
  --line: #d7e2ec;
  --brand: #0d4f80;
  --brand-2: #1671b8;
  --accent: #ff7a18;
  --accent-2: #ffb14d;
  --success: #148f70;
  --danger: #b83d3d;
  --glow: rgba(63, 149, 224, 0.34);
  --glow-warm: rgba(255, 174, 89, 0.34);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 20px rgba(20, 35, 52, 0.08);
  --shadow-md: 0 16px 40px rgba(12, 39, 63, 0.14);
  --container: 1160px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081320;
  --bg-alt: #0d1c2e;
  --surface: #102136;
  --surface-2: #142942;
  --text: #e6eef7;
  --muted: #9ab0c7;
  --line: #243c56;
  --brand: #4a8fdf;
  --brand-2: #3677c1;
  --accent: #f59e4b;
  --accent-2: #ffc07c;
  --success: #5dd3a7;
  --danger: #ff9c9c;
  --glow: rgba(74, 143, 223, 0.24);
  --glow-warm: rgba(245, 158, 75, 0.18);
  --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 20px 44px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html[data-theme="dark"] body {
  background: #081320;
}

body.home-page,
body.modern-page {
  position: relative;
  overflow-x: hidden;
}

body.home-page::before,
body.modern-page::before {
  display: none;
}

body.home-page::after,
body.modern-page::after {
  display: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 160;
  background: var(--brand-2);
  box-shadow: 0 2px 12px rgba(65, 166, 255, 0.6);
  transition: width 0.12s linear;
}

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

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

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.brand-font,
h1,
h2,
h3,
h4,
.logo-text,
.eyebrow,
.metric strong,
.timeline-item strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #000;
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand img {
  width: clamp(112px, 13vw, 165px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  padding: 0.6rem 0.78rem;
  border-radius: 999px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  background: #eaf3fb;
}

.main-nav a.active {
  color: var(--brand);
  background: #e1eefb;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  color: #ffffff;
  padding: 0.56rem 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.2);
  transition: transform 0.2s ease;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  min-width: 82px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: #90b6d8;
  box-shadow: 0 12px 24px rgba(11, 39, 65, 0.18);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(74, 143, 223, 0.42);
  outline-offset: 2px;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #2b4763;
  background: var(--surface-2);
  color: #dce9f7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: #4a8fdf;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.theme-toggle svg {
  width: 0.96rem;
  height: 0.96rem;
  fill: currentColor;
}

.theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 77, 0.58);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

body.modern-page .page-hero {
  padding-top: clamp(3.4rem, 6.4vw, 5.3rem);
  padding-bottom: clamp(2.8rem, 5.2vw, 4.4rem);
}

body.modern-page .page-hero::after {
  inset: 0;
  background: rgba(8, 47, 77, 0.58);
}

body.modern-page .page-hero .container {
  max-width: min(980px, 92%);
}

body.modern-page .page-hero h1 {
  max-width: 18ch;
}

body.modern-page .eyebrow {
  box-shadow: 0 0 0 1px rgba(255, 230, 204, 0.2) inset, 0 8px 16px rgba(11, 39, 64, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffe6cc;
  border: 1px solid rgba(255, 230, 204, 0.45);
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.95rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  max-width: 15ch;
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: #d8ebfc;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 66ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

body.home-page .hero-copy {
  padding-top: clamp(1.1rem, 2.6vw, 2rem);
}

.eyebrow svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.text-highlight {
  color: #ffd29c;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 0.48rem;
  margin-top: 1.1rem;
  max-width: 58ch;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  color: #d9ebfd;
  font-size: 0.91rem;
}

.icon-dot {
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 50%;
  margin-top: 0.34rem;
  flex-shrink: 0;
  background: #ffb14d;
  box-shadow: 0 0 0 4px rgba(255, 177, 77, 0.15);
}

.hero-visual {
  position: relative;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  display: none;
}

.hero-visual::after {
  display: none;
}

.hero-glass {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(211, 231, 248, 0.42);
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background: rgba(13, 49, 79, 0.78);
  box-shadow: 0 22px 48px rgba(2, 16, 29, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(2px);
}

.glass-label {
  color: #c4e6ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 700;
}

.glass-stats {
  margin-top: 0.78rem;
  display: grid;
  gap: 0.7rem;
}

.glass-stat {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(209, 233, 252, 0.22);
  padding: 0.64rem 0.72rem;
  background: rgba(255, 255, 255, 0.07);
}

.icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ddf0ff;
  background: #25679d;
}

.icon-circle svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.glass-stat strong {
  display: block;
  color: #ffffff;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
  line-height: 1.25;
}

.glass-stat div > span {
  color: #c1e3fb;
  font-size: 0.81rem;
}

.glass-stat strong span {
  color: inherit;
  font-size: inherit;
}

.mini-band {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mini-band span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4ecff;
  border: 1px solid rgba(212, 236, 255, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  background: rgba(255, 255, 255, 0.07);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(255, 122, 24, 0.34);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section-tight {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.section-title {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.16;
  margin-bottom: 0.75rem;
  color: #123146;
}

body.modern-page .section-title {
  position: relative;
  width: fit-content;
  padding-bottom: 0.45rem;
}

body.modern-page .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 3px;
  border-radius: 999px;
  background: #2f86cf;
}

.section-subtitle {
  max-width: 64ch;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

body.modern-page .card,
body.modern-page .timeline-item,
body.modern-page .notice,
body.modern-page .contact-card,
body.modern-page .footer-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.modern-page .card::before,
body.modern-page .timeline-item::before,
body.modern-page .notice::before,
body.modern-page .contact-card::before,
body.modern-page .footer-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: #2f86cf;
  opacity: 0;
  transition: opacity 0.24s ease;
}

body.modern-page .card:hover,
body.modern-page .timeline-item:hover,
body.modern-page .notice:hover,
body.modern-page .contact-card:hover,
body.modern-page .footer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(12, 43, 66, 0.14);
  border-color: #bfd5e7;
}

body.modern-page .card:hover::before,
body.modern-page .timeline-item:hover::before,
body.modern-page .notice:hover::before,
body.modern-page .contact-card:hover::before,
body.modern-page .footer-card:hover::before {
  opacity: 1;
}

.card-pad {
  padding: 1.15rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: #163449;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card img {
  width: 100%;
  height: 194px;
  object-fit: cover;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--brand-2);
  font-size: 0.9rem;
  transition: gap 0.22s ease;
}

.service-link:hover {
  gap: 0.54rem;
}

.service-media {
  position: relative;
  overflow: hidden;
}

.service-media img {
  transition: transform 0.5s ease;
}

.service-card-modern:hover .service-media img {
  transform: scale(1.04);
}

.service-chip {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  border-radius: 999px;
  background: rgba(8, 33, 56, 0.82);
  color: #f7fcff;
  border: 1px solid rgba(223, 239, 253, 0.42);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.26rem 0.5rem;
}

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
}

.service-head h3 {
  margin-bottom: 0.25rem;
}

.icon-square {
  width: 2rem;
  height: 2rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #1672b9;
  box-shadow: 0 8px 16px rgba(15, 92, 149, 0.32);
  flex-shrink: 0;
}

.icon-square svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.service-card-modern {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 49, 75, 0.16);
  border-color: #c1d8ea;
}

.metrics-grid-modern {
  margin-top: -3.8rem;
  position: relative;
  z-index: 8;
}

.metric-modern {
  padding: 1.1rem 1rem;
  border-radius: 16px;
  backdrop-filter: blur(2px);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.metric-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(13, 47, 73, 0.14);
}

.metric-icon {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: #e3f3ff;
  background: #1b76b6;
}

.metric-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.metric strong {
  display: block;
  font-size: 1.22rem;
  margin-bottom: 0.25rem;
  color: #16354a;
}

.metric > span {
  color: var(--muted);
  font-size: 0.89rem;
}

.metric strong span {
  color: inherit;
  font-size: inherit;
}

.brand-strip {
  background: #eaf2fa;
  border-top: 1px solid #d3e3f2;
  border-bottom: 1px solid #d3e3f2;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.logo-marquee {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: max-content;
  animation: logo-scroll 34s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-track .logo-card {
  width: 172px;
  min-height: 104px;
}

.logo-card {
  min-height: 110px;
  border-radius: 14px;
  border: 1px solid #cfdceb;
  background: #f9fcff;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.logo-card img {
  width: 100%;
  max-width: 170px;
  max-height: 66px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.04);
}

.logo-grid-animated .logo-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 30px rgba(11, 47, 74, 0.14);
}

.logo-grid-animated .logo-card:nth-child(odd) {
  animation: logo-float 5.6s ease-in-out infinite;
}

.logo-grid-animated .logo-card:nth-child(even) {
  animation: logo-float 6.8s ease-in-out infinite reverse;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

.content-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.section-alt {
  background: #eef5fd;
  border-top: 1px solid #dce9f5;
  border-bottom: 1px solid #dce9f5;
}

.process-split {
  align-items: start;
}

.process-grid {
  display: grid;
  gap: 0.75rem;
}

.process-card {
  position: relative;
  border: 1px solid #cfdfee;
  border-radius: 16px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  border-radius: 999px;
  padding: 0.14rem 0.62rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.77rem;
  color: #f8fcff;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  background: #1f7cc0;
}

.process-card h3 {
  margin-bottom: 0.32rem;
}

.process-card p {
  color: #4f6b80;
  font-size: 0.91rem;
}

.tag-list,
.check-list,
.simple-list,
.timeline,
.pill-list {
  list-style: none;
}

.check-list,
.simple-list {
  display: grid;
  gap: 0.56rem;
}

.check-list li,
.simple-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.75rem 0.85rem;
  color: #264155;
}

.check-list li::before {
  content: "\2713";
  color: var(--success);
  margin-right: 0.5rem;
  font-weight: 700;
}

.icon-check-list li {
  display: flex;
  gap: 0.56rem;
  align-items: flex-start;
}

.icon-check-list li::before {
  content: "";
  width: 0.86rem;
  height: 0.86rem;
  margin-top: 0.32rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2890db;
  box-shadow: 0 0 0 4px rgba(31, 124, 192, 0.13);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.pill-list li {
  border: 1px solid #cddded;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #275070;
  background: #f2f8ff;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  position: relative;
  padding: 0.95rem 0.95rem 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand-2);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.timeline-item strong {
  display: block;
  color: #12344d;
  font-size: 0.99rem;
  margin-bottom: 0.24rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  border-radius: var(--radius-md);
  border: 1px solid #f5d9c5;
  background: #fff6ea;
  padding: 1.2rem;
}

.notice h3 {
  color: #7a3c0a;
  margin-bottom: 0.4rem;
}

.notice p {
  color: #7a4f2a;
}

.cta-band {
  border-radius: var(--radius-lg);
  background: #156cad;
  border: 1px solid #0e5082;
  padding: clamp(1.2rem, 3.2vw, 2rem);
  color: #dcedfa;
  box-shadow: var(--shadow-md);
}

.cta-band h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.cta-band p {
  max-width: 60ch;
}

.cta-band .btn {
  margin-top: 1rem;
}

.cta-band-modern {
  position: relative;
  overflow: hidden;
}

.cta-band-modern::before {
  display: none;
}

.cta-band-modern::after {
  display: none;
}

.cta-band-modern > * {
  position: relative;
  z-index: 1;
}

.page-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.contact-points {
  display: grid;
  gap: 0.7rem;
}

.contact-points li {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.74rem 0.82rem;
  color: #264358;
  background: #f9fcff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #305067;
}

.form-control {
  width: 100%;
  border-radius: 11px;
  border: 1px solid #c8d9e7;
  background: #fff;
  color: #183141;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

textarea.form-control {
  resize: vertical;
  min-height: 128px;
}

.form-control:focus {
  outline: 2px solid rgba(22, 113, 184, 0.2);
  border-color: var(--brand-2);
}

.error-text {
  min-height: 1.2em;
  color: var(--danger);
  font-size: 0.83rem;
}

.form-status {
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 1.3em;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  background: #f1f7fd;
  padding: 2.2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.footer-card {
  border: 1px solid #d1deea;
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.footer-card h4 {
  font-size: 0.98rem;
  margin-bottom: 0.55rem;
  color: #17364d;
}

.footer-card p,
.footer-card li,
.footer-card a {
  color: #557085;
  font-size: 0.91rem;
}

.footer-card ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-note {
  margin-top: 0.95rem;
  text-align: center;
  color: #6c8496;
  font-size: 0.82rem;
}

html[data-theme="dark"] .site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 32, 0.9);
}

html[data-theme="dark"] .main-nav a {
  color: #adc4dc;
}

html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a:focus-visible {
  color: #e8f1fb;
  background: #17324b;
}

html[data-theme="dark"] .main-nav a.active {
  color: #f2f7fd;
  background: #214564;
}

html[data-theme="dark"] .menu-toggle {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .timeline-item strong,
html[data-theme="dark"] .footer-card h4 {
  color: #eef5fd;
}

html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .metric > span,
html[data-theme="dark"] .timeline-item p,
html[data-theme="dark"] .footer-card p,
html[data-theme="dark"] .footer-card li,
html[data-theme="dark"] .footer-card a,
html[data-theme="dark"] .footer-note,
html[data-theme="dark"] .service-link,
html[data-theme="dark"] .pill-list li,
html[data-theme="dark"] .form-group label,
html[data-theme="dark"] .contact-points li {
  color: var(--muted);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .timeline-item,
html[data-theme="dark"] .logo-card,
html[data-theme="dark"] .footer-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .simple-list li,
html[data-theme="dark"] .notice {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .metric strong {
  color: #eff6ff;
}

html[data-theme="dark"] .pill-list li {
  border-color: #2c4f72;
  background: #173048;
}

html[data-theme="dark"] .brand-strip {
  background: #0f2237;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .section-alt {
  background: #0f2237;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .process-card {
  border-color: var(--line);
  background: #142942;
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .process-card h3 {
  color: #edf5fd;
}

html[data-theme="dark"] .process-card p {
  color: var(--muted);
}

html[data-theme="dark"] .logo-card {
  background: #13283f;
}

html[data-theme="dark"] .site-footer {
  border-top: 1px solid var(--line);
  background: #0a1b2d;
}

html[data-theme="dark"] .notice {
  border-color: #6e4c2a;
  background: #2e2115;
}

html[data-theme="dark"] .notice h3 {
  color: #ffd8a9;
}

html[data-theme="dark"] .notice p {
  color: #e9c79f;
}

html[data-theme="dark"] .form-control {
  background: #10253a;
  border-color: #2e4d69;
  color: #e9f1f9;
}

html[data-theme="dark"] .form-control:focus {
  outline: 2px solid rgba(74, 143, 223, 0.3);
  border-color: #4a8fdf;
}

html[data-theme="dark"] .contact-points li {
  background: #11263b;
}

html[data-theme="dark"] .btn-light {
  color: #f0f6fd;
  border-color: rgba(240, 246, 253, 0.5);
  background: rgba(240, 246, 253, 0.08);
}

html[data-theme="dark"] .page-img {
  border-color: var(--line);
}

html[data-theme="dark"] body.home-page::before,
html[data-theme="dark"] body.modern-page::before {
  display: none;
}

html[data-theme="dark"] body.home-page::after,
html[data-theme="dark"] body.modern-page::after {
  display: none;
}

html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .simple-list li {
  color: #c5d6e7;
}

html[data-theme="dark"] .check-list li a,
html[data-theme="dark"] .simple-list li a {
  color: #deebf8;
}

html[data-theme="dark"] .cta-band {
  background: #145a99;
  border-color: #1f6ead;
}

html[data-theme="dark"] .cta-band-modern::before,
html[data-theme="dark"] .cta-band-modern::after {
  display: none;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1240px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 4%;
    display: grid;
    gap: 0.2rem;
    transform: translateY(-130%);
    transition: transform 0.28s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    border-radius: 10px;
    padding: 0.72rem;
  }

  .theme-toggle {
    min-width: 74px;
    height: 38px;
    font-size: 0.78rem;
  }

  html[data-theme="dark"] .main-nav {
    background: rgba(8, 19, 32, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .hero-copy {
    max-width: none;
  }

  body.home-page .hero-copy {
    padding-top: 0.4rem;
  }

  .hero-visual {
    max-width: 560px;
  }

  .metrics-grid-modern {
    margin-top: -1.5rem;
  }

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

  .logo-track .logo-card {
    width: 156px;
  }

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

  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.28rem;
    scroll-snap-type: x mandatory;
  }

  .footer-grid::-webkit-scrollbar {
    height: 6px;
  }

  .footer-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #9db8cf;
  }

  .footer-card {
    min-width: min(84vw, 290px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .metrics-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.7rem 0;
  }

  .page-hero {
    padding-top: 2.8rem;
  }

  .metrics-grid-modern {
    margin-top: 0;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .glass-stat {
    align-items: flex-start;
  }

  .logo-grid-animated .logo-card:nth-child(odd),
  .logo-grid-animated .logo-card:nth-child(even) {
    animation: none;
  }

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

  .logo-track .logo-card {
    width: 138px;
    min-height: 92px;
  }

  .logo-card {
    min-height: 100px;
  }

  .logo-card img {
    max-width: 150px;
    max-height: 58px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .footer-card {
    min-width: 0;
    width: 100%;
    flex: initial;
    scroll-snap-align: none;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
