:root {
  --primary: #1d5b97;
  --primary-strong: #173d63;
  --primary-soft: #eaf2f9;
  --accent: #7e9bb6;
  --silver: #dfe6ee;
  --text: #132335;
  --muted: #5d7085;
  --surface: #ffffff;
  --surface-alt: #f4f8fc;
  --border: rgba(19, 35, 53, 0.12);
  --shadow: 0 18px 55px rgba(19, 35, 53, 0.12);
  --shadow-soft: 0 12px 30px rgba(19, 35, 53, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --container: min(1160px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 91, 151, 0.1), transparent 24%),
    linear-gradient(180deg, #f6fafe 0%, #ffffff 18rem);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

p {
  color: var(--muted);
  line-height: 1.8;
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(19, 35, 53, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

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

.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 1.15rem;
  box-shadow: 0 14px 28px rgba(23, 61, 99, 0.2);
  background: var(--primary);
}

.brand-title {
  display: grid;
  gap: 0.15rem;
}

.brand-title strong {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.brand-title span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  padding: 0.65rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  padding: 5.5rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6rem auto auto -8rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 91, 151, 0.18), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 155, 182, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(29, 91, 151, 0.1);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 62ch;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.35rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2f73b0 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(29, 91, 151, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: rgba(29, 91, 151, 0.08);
  color: var(--primary);
  border-color: rgba(29, 91, 151, 0.12);
}

.hero-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.hero-list li::before {
  content: "✓";
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 91, 151, 0.1);
  color: var(--primary);
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 37rem;
  background: var(--primary-strong);
  box-shadow: var(--shadow);
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 61, 99, 0.16), rgba(23, 61, 99, 0.55));
  z-index: 1;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 37rem;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  line-height: 1.5;
}

.hero-badge span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
}

.floating-card {
  position: absolute;
  top: 1.25rem;
  right: -1rem;
  z-index: 2;
  max-width: 14rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--primary-strong);
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.2rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.04rem;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.split-grid,
.contact-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2.4rem;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 32rem;
  box-shadow: var(--shadow);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 61, 99, 0.08), rgba(23, 61, 99, 0.46));
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.check-item,
.segment-card,
.process-card,
.contact-card,
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.check-item {
  padding: 1.2rem;
  background: var(--surface-alt);
}

.check-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.check-item p {
  margin: 0;
  font-size: 0.95rem;
}

.section-accent {
  background: linear-gradient(180deg, #f0f6fb 0%, #ffffff 100%);
}

.section-heading {
  max-width: 50rem;
  margin: 0 auto 2.7rem;
  text-align: center;
}

.section-heading h2,
.split-grid h2,
.contact-card h2,
.highlight h2 {
  margin: 0.95rem 0 1rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.services-grid,
.segment-grid,
.process-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.service-card,
.segment-card,
.process-card,
.contact-card {
  padding: 1.45rem;
}

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

.service-card:hover,
.segment-card:hover,
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(19, 35, 53, 0.12);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(29, 91, 151, 0.15), rgba(29, 91, 151, 0.05));
  color: var(--primary);
  font-weight: 900;
}

.service-card h3,
.segment-card h3,
.process-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
}

.service-card p,
.segment-card p,
.process-card p,
.contact-point p,
.highlight-item p {
  margin: 0;
}

.step {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.highlight {
  position: relative;
  overflow: hidden;
  padding: 2.4rem;
  border-radius: calc(var(--radius-xl) + 0.25rem);
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}

.highlight::before {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
}

.highlight p,
.highlight strong,
.highlight h2 {
  color: #fff;
}

.highlight .image-frame {
  min-height: 24rem;
  box-shadow: none;
}

.highlight .image-frame img {
  min-height: 24rem;
}

.highlight-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.highlight-item {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.25rem 1.2rem;
}

.faq-item.active .faq-answer {
  max-height: 16rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.contact-grid {
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-alt);
  border: 1px solid rgba(19, 35, 53, 0.05);
}

.contact-point .dot {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 91, 151, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-point strong {
  display: block;
  margin-bottom: 0.2rem;
}

form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(19, 35, 53, 0.15);
  background: #fff;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #8698ab;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(29, 91, 151, 0.16);
  border-color: rgba(29, 91, 151, 0.35);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.3rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-footer img {
  width: 56px;
  height: 56px;
}

.footer-links {
  display: flex;
  gap: 1rem 1.2rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: var(--primary-strong);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 40;
  transform: translateX(-50%) translateY(140%);
  min-width: min(92vw, 22rem);
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2f73b0);
  box-shadow: 0 16px 34px rgba(29, 91, 151, 0.28);
  transition: transform 0.3s ease;
}

.floating-cta.visible {
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1080px) {
  .stats-grid,
  .segment-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-image-card,
  .hero-image-card img {
    min-height: 30rem;
  }

  .image-frame,
  .image-frame img {
    min-height: 26rem;
  }

  .floating-card {
    right: 1rem;
  }
}

@media (max-width: 720px) {
  .floating-cta {
    display: block;
  }

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

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.3rem 0;
  }

  .nav-cta {
    width: 100%;
  }

  .brand img {
    width: 58px;
    height: 58px;
    border-radius: 0.95rem;
  }

  .brand-title strong {
    font-size: 1rem;
  }

  .brand-title span {
    font-size: 0.88rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-list,
  .check-grid,
  .services-grid,
  .segment-grid,
  .process-grid,
  .stats-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  form .btn {
    width: 100%;
  }

  .hero-image-card,
  .hero-image-card img {
    min-height: 25rem;
  }

  .image-frame,
  .image-frame img,
  .highlight .image-frame,
  .highlight .image-frame img {
    min-height: 22rem;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-bottom: 1rem;
  }

  .highlight {
    padding: 1.5rem;
  }

  .footer-grid {
    align-items: flex-start;
  }

  .footer-copy {
    width: 100%;
  }
}
