:root {
  --blue: #0b4d9b;
  --blue-2: #1e73be;
  --green: #66bb3a;
  --green-2: #7ed957;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: #e5eaf0;
  --section: #f7fafc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 77, 155, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
body.nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section-pad {
  padding: 112px 0;
}
.section-pad-sm {
  padding: 42px 0 82px;
}

h1,
h2,
h3 {
  font-family: Poppins, Inter, sans-serif;
  line-height: 1.03;
  letter-spacing: 0;
  margin: 0;
}
h1 {
  font-size: clamp(3.25rem, 6vw, 4.5rem);
  max-width: 780px;
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}
h3 {
  font-size: 1.18rem;
}
p {
  color: var(--muted);
  margin: 18px 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 234, 240, 0.8);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand img {
  width: 206px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  color: #334155;
}
.nav-links a {
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  margin: 4px auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-backdrop,
.mobile-menu {
  display: none;
}
.mobile-menu-brand img {
  width: 190px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 16px 34px rgba(102, 187, 58, 0.27);
}
.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.btn-light {
  color: var(--blue);
  background: var(--white);
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  gap: 10px;
  width: min(180px, calc(100vw - 32px));
}
.floating-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
}
.floating-action-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-2));
}
.floating-action-secondary {
  color: var(--white);
  background: var(--blue);
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(126, 217, 87, 0.18),
      transparent 32%
    ),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 66px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-lede {
  font-size: 1.28rem;
  color: #334155;
  max-width: 690px;
}
.hero-copy > p:not(.hero-lede) {
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.trust-badges span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.shape-blue {
  width: 520px;
  height: 520px;
  background: rgba(30, 115, 190, 0.12);
  right: 10px;
  top: 18px;
}
.shape-green {
  width: 330px;
  height: 330px;
  border: 36px solid rgba(102, 187, 58, 0.24);
  left: -8px;
  bottom: 28px;
}
.floating-metric {
  position: absolute;
  z-index: 3;
  width: 176px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
.floating-metric strong {
  display: block;
  color: var(--blue);
  font:
    800 2rem Poppins,
    sans-serif;
  line-height: 1;
}
.floating-metric span {
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
}
.metric-one {
  left: 0;
  top: 120px;
}
.metric-two {
  right: -2px;
  bottom: 88px;
  animation-delay: -2s;
}

.stats {
  background: var(--section);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card,
.service-card,
.industry-card,
.testimonial,
.contact-form,
.contact-card {
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.stat-card {
  padding: 30px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.stat-card:hover,
.service-card:hover,
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.stat-card strong {
  display: block;
  color: var(--blue);
  font:
    800 3rem Poppins,
    sans-serif;
  line-height: 1;
}
.stat-card span {
  color: #475569;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(247, 250, 252, 0.64)
  );
  backdrop-filter: blur(16px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 900;
}
.service-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
  font-weight: 900;
}

.why,
.testimonials,
.faq {
  background: var(--section);
}
.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.image-panel {
  position: relative;
}
.image-panel img {
  width: 100%;
  /* aspect-ratio: 5 / 4; */
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: auto -22px -22px auto;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: rgba(102, 187, 58, 0.18);
  z-index: -1;
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
}

.benefit-item {
    width: calc(50% - 11px);
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(229, 234, 240, 0.9);
    border-radius: var(--radius);
    padding: 22px;
}

.benefit-item i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 77, 155, 0.08);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.benefit-item span {
    display: block;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .benefit-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.step {
  position: relative;
  padding: 0 8px;
}
.step b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border: 10px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 40px rgba(11, 77, 155, 0.2);
  font:
    800 1.6rem Poppins,
    sans-serif;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  padding: 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.industry-card span {
  color: var(--green);
  font-weight: 900;
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 18px;
}

.carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: grid;
  grid-template-columns: 1fr;
}
.testimonial {
  display: none;
  padding: 42px;
  min-height: 260px;
}
.testimonial.active {
  display: block;
  animation: fadeUp 0.35s ease both;
}
.quote {
  color: var(--green);
  font:
    800 5rem Poppins,
    sans-serif;
  line-height: 0.7;
}
.testimonial p {
  font-size: 1.35rem;
  color: #334155;
  max-width: 900px;
}
.testimonial strong {
  display: block;
  margin-top: 28px;
}
.testimonial span {
  color: var(--muted);
}
.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.carousel-controls button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}
.carousel-controls button.active {
  background: var(--green);
}

.faq-list {
  display: grid;
  gap: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 22px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}
summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-size: 1.4rem;
}
details[open] summary::after {
  content: "-";
}
details p {
  margin: 0;
  padding: 0 0 20px;
  max-width: 900px;
}

.final-cta {
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(126, 217, 87, 0.4),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--blue) 0%,
      var(--blue-2) 52%,
      var(--green) 100%
    );
}
.final-cta p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  margin-top: 30px;
  padding: 24px;
  display: grid;
  gap: 8px;
  color: #475569;
}
.contact-card strong {
  color: var(--ink);
}
.contact-form {
  padding: 30px;
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.12);
}

.contact-page {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(126, 217, 87, 0.18),
      transparent 31%
    ),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.contact-visual h1 {
  font-size: clamp(2.7rem, 5vw, 4.25rem);
}
.contact-visual .hero-lede {
  max-width: 680px;
}
.audit-panel {
  position: relative;
  margin-top: 42px;
  max-width: 610px;
  min-height: 410px;
}
.audit-panel::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: 10px;
  top: -22px;
  border-radius: 50%;
  background: rgba(30, 115, 190, 0.12);
}
.audit-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -20px;
  bottom: 12px;
  border: 28px solid rgba(102, 187, 58, 0.22);
  border-radius: 50%;
}
.audit-image {
  position: relative;
  z-index: 2;
  width: min(480px, 88%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.audit-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.audit-card {
  position: absolute;
  z-index: 3;
  width: 180px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
.audit-card strong {
  display: block;
  color: var(--blue);
  font:
    800 2rem Poppins,
    sans-serif;
  line-height: 1;
}
.audit-card span {
  display: block;
  margin-top: 7px;
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.25;
}
.audit-card-primary {
  right: 22px;
  top: 64px;
}
.audit-card-secondary {
  right: 82px;
  bottom: 24px;
  animation-delay: -2s;
}
.contact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.contact-proof span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-weight: 800;
  font-size: 0.86rem;
}
.contact-page-form {
  padding: 36px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(247, 250, 252, 0.78)
    );
  backdrop-filter: blur(16px);
}
.form-heading {
  padding-bottom: 8px;
}
.form-heading h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}
.form-heading p {
  margin-top: 12px;
}
.contact-page-form textarea {
  resize: vertical;
}
.contact-page-form .btn {
  width: 100%;
  margin-top: 4px;
}

.about-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(126, 217, 87, 0.18),
      transparent 31%
    ),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 68px;
  align-items: center;
}
.about-hero h1 {
  font-size: clamp(2.85rem, 5.3vw, 4.35rem);
}
.about-hero p:not(.hero-lede) {
  max-width: 650px;
}
.about-hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.about-hero-visual::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: 6px;
  top: 22px;
  border-radius: 50%;
  background: rgba(30, 115, 190, 0.12);
}
.about-hero-visual::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  left: 8px;
  bottom: 34px;
  border: 34px solid rgba(102, 187, 58, 0.22);
  border-radius: 50%;
}
.about-image-stack {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
}
.about-image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-metric {
  position: absolute;
  right: -12px;
  bottom: 58px;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
.about-metric strong {
  display: block;
  color: var(--blue);
  font:
    800 2rem Poppins,
    sans-serif;
  line-height: 1;
}
.about-metric span {
  display: block;
  margin-top: 7px;
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.25;
}
.about-story,
.about-proof {
  background: var(--section);
}
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.about-principles article {
  padding: 24px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.about-principles p {
  margin-top: 12px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.services-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(126, 217, 87, 0.18),
      transparent 31%
    ),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.services-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  gap: 68px;
  align-items: center;
}
.services-hero h1 {
  font-size: clamp(2.85rem, 5.3vw, 4.35rem);
}
.services-hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.services-hero-visual::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: 6px;
  top: 22px;
  border-radius: 50%;
  background: rgba(30, 115, 190, 0.12);
}
.services-hero-visual::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  left: 8px;
  bottom: 34px;
  border: 34px solid rgba(102, 187, 58, 0.22);
  border-radius: 50%;
}
.services-hero-visual img {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-page-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
}
.service-page-card p {
  flex: 1;
}
.service-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.service-card-actions .btn {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
}
.value-services,
.service-details {
  background: var(--section);
}
.value-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-detail-list article {
  scroll-margin-top: 110px;
  padding: 24px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.service-detail-list p {
  margin-top: 12px;
}

.service-detail-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(126, 217, 87, 0.18),
      transparent 31%
    ),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 68px;
  align-items: center;
}
.service-detail-hero h1 {
  font-size: clamp(2.85rem, 5.3vw, 4.35rem);
}
.service-detail-snapshot {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(247, 250, 252, 0.78)
    );
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-detail-snapshot::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -84px;
  top: -84px;
  border-radius: 50%;
  background: rgba(30, 115, 190, 0.12);
}
.snapshot-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}
.snapshot-header span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.snapshot-header strong {
  font:
    800 2rem Poppins,
    sans-serif;
  line-height: 1.08;
}
.snapshot-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.snapshot-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.snapshot-metrics strong {
  display: block;
  color: var(--blue);
  font:
    800 1.65rem Poppins,
    sans-serif;
  line-height: 1;
}
.snapshot-metrics span,
.snapshot-list span {
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
}
.snapshot-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.snapshot-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.service-detail-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 54px;
  align-items: start;
}
.service-detail-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.service-detail-sidebar a {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #334155;
  font-weight: 800;
}
.service-detail-sidebar a:hover {
  background: var(--section);
  color: var(--blue);
}
.service-detail-main {
  display: grid;
  gap: 54px;
}
.service-detail-main section {
  scroll-margin-top: 110px;
}
.service-detail-band {
  padding: 34px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--section);
}
.service-feature-grid,
.detail-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.service-feature-grid article,
.detail-process article {
  padding: 24px;
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.detail-process {
  grid-template-columns: repeat(3, 1fr);
}
.detail-process b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font:
    800 1.2rem Poppins,
    sans-serif;
}

.footer {
  padding: 58px 0 26px;
  background: #071a2f;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
.footer img {
  width: auto;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
}
.footer p,
.copyright {
  color: rgba(255, 255, 255, 0.66);
}
.footer h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0;
}
.copyright {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }
  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 58;
    display: block;
    pointer-events: none;
    border: 0;
    background: rgba(7, 26, 47, 0);
    opacity: 0;
    transition:
      background 0.25s ease,
      opacity 0.25s ease;
  }
  .nav.open .nav-backdrop {
    pointer-events: auto;
    background: rgba(7, 26, 47, 0.42);
    opacity: 1;
  }
  .mobile-menu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10000;
    width: min(86vw, 360px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 26px 22px;
    background: var(--white);
    box-shadow: 24px 0 70px rgba(7, 26, 47, 0.2);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  .nav.open .mobile-menu {
    transform: translateX(0);
  }
  .mobile-menu-links {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: #334155;
    font-weight: 800;
  }
  .mobile-menu-links a:last-child {
    border-bottom: 0;
  }
  .mobile-menu-actions {
    display: grid;
    gap: 12px;
    margin-top: auto;
  }
  .hero-grid,
  .split-grid,
  .contact-grid,
  .contact-page-grid,
  .about-hero-grid,
  .about-proof-grid,
  .services-hero-grid,
  .service-detail-hero-grid,
  .service-detail-content {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .contact-page,
  .about-hero,
  .services-hero,
  .service-detail-hero {
    min-height: auto;
  }
  .service-detail-sidebar {
    position: static;
  }
  .hero-visual {
    min-height: 520px;
  }
  .about-hero-visual {
    min-height: 520px;
  }
  .services-hero-visual {
    min-height: 520px;
  }
  .stats-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    display: none;
  }
  .services-grid,
  .industries-grid,
  .about-values-grid,
  .service-page-grid,
  .value-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .section-pad {
    padding: 78px 0;
  }
  .nav {
    height: 72px;
  }
  .brand img {
    width: 170px;
    height: 52px;
  }
  .hero-actions,
  .btn {
    width: 100%;
  }
  .floating-actions {
    right: 14px;
    bottom: 14px;
    width: min(168px, calc(100vw - 28px));
    z-index: 10;
  }
  .floating-action {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.84rem;
  }
  .hero-visual {
    min-height: 440px;
  }
  .floating-metric {
    width: 148px;
    padding: 12px;
  }
  .metric-one {
    top: 42px;
  }
  .metric-two {
    bottom: 24px;
  }
  .about-hero-visual {
    min-height: 430px;
  }
  .services-hero-visual {
    min-height: 430px;
  }
  .about-metric {
    right: 0;
    bottom: 28px;
    width: 158px;
    padding: 12px;
  }
  .audit-panel {
    min-height: 360px;
  }
  .audit-card {
    width: 154px;
    padding: 12px;
  }
  .audit-card-primary {
    right: 0;
    top: 42px;
  }
  .audit-card-secondary {
    right: 22px;
    bottom: 10px;
  }
  .stats-grid,
  .services-grid,
  .timeline,
  .industries-grid,
  .about-principles,
  .about-values-grid,
  .service-page-grid,
  .value-grid,
  .service-detail-list,
  .service-feature-grid,
  .detail-process,
  .snapshot-metrics,
  .benefit-list,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-card-actions {
    grid-template-columns: 1fr;
  }
  .testimonial {
    padding: 28px;
  }
  .testimonial p {
    font-size: 1.06rem;
  }
}
