:root {
  --prussian: #1D4E89;
  --prussian-deep: #16385F;
  --prussian-dark: #0B1F36;
  --prussian-soft: #BFDBFE;
  --bg: #F5F7F9;
  --ink: #10161D;
  --muted: #43526A;
  --card: #FFFFFF;
  --line: #DCE4EE;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-kicker,
.statement-kicker,
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prussian);
  margin-bottom: 12px;
}

.section-title,
.statement-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--prussian-dark);
  margin-bottom: 16px;
}

.section-sub,
.statement-body {
  font-size: 17px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  background-color: var(--prussian);
  color: var(--white);
  border-color: var(--prussian);
}

.btn-primary:hover {
  background-color: var(--prussian-deep);
  border-color: var(--prussian-deep);
}

.btn-ghost {
  background-color: transparent;
  color: var(--prussian);
  border-color: var(--prussian);
}

.btn-ghost:hover {
  background-color: var(--prussian);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--prussian-deep);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: var(--prussian-soft);
  border-color: var(--prussian-soft);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--prussian-deep);
}

/* ===== BELL NAVIGATION ===== */
.bell-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(16, 22, 29, 0.05);
}

.bell-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
}

.bell-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.bell-brand:hover {
  text-decoration: none;
}

.bell-mark {
  position: relative;
  width: 30px;
  height: 40px;
  display: inline-block;
  flex-shrink: 0;
}

.bell-finial {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--prussian);
}

.bell-body {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 26px;
  background: linear-gradient(150deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  clip-path: polygon(30% 0, 70% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
}

.bell-clapper {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--prussian-soft);
}

.bell-word {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--prussian-deep);
}

.bell-links .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.bell-links .nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

.bell-links .nav-links a:hover {
  color: var(--prussian);
  text-decoration: none;
}

.bell-links .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--prussian);
  transition: width 0.25s ease;
}

.bell-links .nav-links a:hover::after {
  width: 100%;
}

.bell-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bell-cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  background-color: var(--prussian);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.bell-cta:hover {
  background-color: var(--prussian-deep);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--prussian-deep);
  border-radius: 2px;
}

/* ===== BRIDGE HERO ===== */
.bridge-hero {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
  overflow-x: hidden;
}

.bridge-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.bridge-copy {
  max-width: 560px;
}

.hero-eyebrow {
  background-color: var(--prussian-soft);
  color: var(--prussian-deep);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--prussian-dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bridge-visual {
  display: flex;
  justify-content: center;
}

.bridge-scene {
  position: relative;
  width: 460px;
  height: 400px;
  background: radial-gradient(circle at 62% 24%, #BFDBFE 0%, #F5F7F9 55%, #F5F7F9 100%);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.mast {
  position: absolute;
  top: 70px;
  width: 12px;
  height: 150px;
  background: linear-gradient(180deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  border-radius: 4px 4px 0 0;
  z-index: 3;
}

.mast::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid var(--prussian);
}

.mast-left {
  left: 154px;
}

.mast-right {
  left: 294px;
}

.cable {
  position: absolute;
  width: 2px;
  background-color: var(--prussian);
  transform-origin: 50% 0;
  z-index: 2;
}

.deck {
  position: absolute;
  top: 220px;
  left: 70px;
  width: 320px;
  height: 12px;
  background: linear-gradient(180deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  border-radius: 3px;
  z-index: 4;
}

.deck::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--prussian-soft);
}

.water {
  position: absolute;
  top: 252px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #D7E6FA 0%, #BFDBFE 100%);
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

.wave {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 14px;
  border-top: 3px solid var(--prussian);
  border-radius: 50%;
  z-index: 2;
}

.wave-one {
  top: 268px;
}

.wave-two {
  top: 292px;
  left: 60px;
  right: 60px;
  border-top-color: var(--prussian-deep);
}

.bridge-ship {
  position: absolute;
  bottom: 44px;
  left: 204px;
  width: 60px;
  height: 30px;
  z-index: 5;
}

.bridge-ship::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 60px;
  height: 16px;
  background: linear-gradient(180deg, var(--prussian-deep) 0%, var(--prussian-dark) 100%);
  border-radius: 0 0 16px 16px;
}

.bridge-ship::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 2px;
  height: 20px;
  background-color: var(--prussian-deep);
}

/* ===== STATEMENT ===== */
.statement-section {
  background-color: var(--prussian-dark);
  padding: 96px 0;
}

.statement-kicker {
  color: var(--prussian-soft);
}

.statement-title {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 24px;
}

.statement-body {
  color: var(--prussian-soft);
  max-width: 820px;
}

.statement-body + .statement-body {
  margin-top: 18px;
}

/* ===== STATS ===== */
.stats-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.stat {
  text-align: center;
  padding: 8px;
}

.stat-number {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--prussian);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--prussian-dark);
  margin-top: 12px;
}

.stat-note {
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== PROCESS ===== */
.process-section {
  background-color: var(--bg);
  padding: 96px 0;
}

.process-list {
  list-style: none;
  position: relative;
  display: grid;
  gap: 22px;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background-color: var(--line);
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-left: 0;
}

.process-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--prussian);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 4px solid var(--bg);
}

.process-card {
  flex: 1;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
}

.process-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--prussian-deep);
  margin-bottom: 8px;
}

.process-card p {
  color: var(--muted);
  font-size: 16px;
}

/* ===== SERVICES ===== */
.services-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 88px;
}

.services-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  max-width: 1160px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}

.services-scroll::-webkit-scrollbar {
  height: 8px;
}

.services-scroll::-webkit-scrollbar-thumb {
  background-color: var(--prussian-soft);
  border-radius: 8px;
}

.service-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--prussian);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 22, 29, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--prussian-soft);
  color: var(--prussian-deep);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--prussian-dark);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.service-link {
  font-weight: 700;
  font-size: 15px;
}

/* ===== COMPARE ===== */
.compare-section {
  background-color: var(--bg);
  padding: 96px 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--card);
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background-color: var(--prussian-deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.compare-table thead th:first-child {
  border-top-left-radius: 0;
}

.compare-table tbody th {
  color: var(--prussian-dark);
  font-weight: 800;
  white-space: nowrap;
  background-color: var(--bg);
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== SOLUTIONS / TABS ===== */
.solutions-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.tabs {
  max-width: 820px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background-color: var(--bg);
  color: var(--prussian-deep);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-button.is-active {
  background-color: var(--prussian);
  border-color: var(--prussian);
  color: var(--white);
}

.tab-panel {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--prussian);
  border-radius: 12px;
  padding: 28px 30px;
}

.tab-panel h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--prussian-deep);
  margin-bottom: 10px;
}

.tab-panel p {
  color: var(--muted);
  font-size: 16px;
}

/* ===== CONTACT ===== */
.contact-section {
  background-color: var(--bg);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prussian);
  margin-bottom: 4px;
}

.contact-value {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.contact-form {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--prussian);
  border-radius: 14px;
  padding: 30px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--prussian-dark);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--prussian);
  box-shadow: 0 0 0 3px var(--prussian-soft);
}

.form-field textarea {
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--prussian-deep);
  min-height: 22px;
}

/* ===== CTA BAND ===== */
.cta-section {
  background-color: var(--prussian-dark);
  padding: 80px 0;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-text p {
  font-size: 17px;
  color: var(--prussian-soft);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--prussian-dark);
  color: var(--prussian-soft);
  border-top: 3px solid var(--prussian);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .bell-word {
  color: var(--white);
}

.footer-note {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: var(--prussian-soft);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-address {
  font-size: 14px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--prussian-deep);
  padding-top: 22px;
  padding-bottom: 24px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--prussian-soft);
}

/* ===== REVEAL ===== */
.js .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .bridge-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

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

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

@media (max-width: 760px) {
  .bell-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(16, 22, 29, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .bell-nav.is-open .bell-links {
    max-height: 320px;
  }

  .bell-links .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .bell-links .nav-links li {
    width: 100%;
  }

  .bell-links .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .bell-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .bridge-hero {
    padding: 48px 0;
  }

  .bridge-scene {
    transform: scale(0.72);
    transform-origin: top center;
    margin-bottom: -112px;
  }

  .bridge-visual {
    overflow: hidden;
    height: 290px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-list::before {
    left: 34px;
  }

  .process-num {
    width: 60px;
    height: 60px;
    font-size: 17px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
