:root {
  --primary: #0e5a8a;
  --primary-dark: #083b5c;
  --accent: #f4b942;

  --ink: #090d15;
  --ink-soft: #111827;
  --text: #121826;
  --muted: #697386;
  --line: rgba(17, 24, 39, 0.1);

  --background: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f5;

  --container: 1180px;
  --radius-small: 16px;
  --radius-medium: 24px;
  --radius-large: 34px;

  --shadow-small: 0 12px 35px rgba(15, 23, 42, 0.08);
  --shadow-large: 0 28px 80px rgba(15, 23, 42, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 13, 21, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-logo {
    height: 100px;
    width: auto;
    max-width: 240px;
    object-fit: contain;

    border-radius: 12px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
}

.header-cta {
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 11px 21px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #fff;
  transition: 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 15px 36px rgba(14, 90, 138, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 105px;
  background:
    radial-gradient(circle at 10% 15%, rgba(14, 90, 138, 0.32), transparent 31%),
    radial-gradient(circle at 90% 5%, rgba(244, 185, 66, 0.18), transparent 26%),
    linear-gradient(135deg, #070a10 0%, #111827 52%, #07131b 100%);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 72px;
}

.hero-copy .eyebrow {
  color: var(--accent);
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero-subheadline {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions-center {
  justify-content: center;
}

.hero-contact-line {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-large);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
}

.hero-visual > img,
.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 464px;
  border-radius: 26px;
}

.hero-visual > img {
  object-fit: cover;
}

.hero-fallback {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 26% 20%, rgba(244, 185, 66, 0.32), transparent 25%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
}

.hero-fallback::after {
  position: absolute;
  right: -75px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  content: "";
}

.hero-fallback-type {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-fallback-tagline {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.floating-card {
  position: absolute;
  z-index: 4;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 15px 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.floating-card-top {
  top: 18px;
  left: 14px;
}

.floating-card-bottom {
  right: 14px;
  bottom: 18px;
}

.floating-detail {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Trust */

.trust-section {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-medium);
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.trust-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: var(--radius-small);
  background: var(--primary);
  padding: 18px;
  text-align: center;
}
.trust-card strong {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.1;
}

.trust-card span {
  margin-top: 7px;
  color: rgba(255,255,255,.82);
  font-size: 0.84rem;
  font-weight: 800;
}

/* Services */

.services-section {
  padding-top: 75px;
  background:var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-small);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 90, 138, 0.25);
  box-shadow: var(--shadow-large);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(14, 90, 138, 0.1);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
}

.service-card h3,
.why-card h3,
.project-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.service-card p,
.why-card p {
  color: var(--muted);
}

/* Why */

.why-section {
  background: var(--ink);
  color: #fff;
}

.why-section .eyebrow {
  color: var(--accent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.06);
  padding: 34px;
}

.why-number {
  margin-bottom: 34px;
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.why-card p {
  color: rgba(255, 255, 255, 0.62);
}

/* Projects */

.projects-section {
  background: var(--surface);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: start;
  gap: 22px;
}

.project-card {
  height: fit-content;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.project-visual {
  min-height: 340px;
  overflow: hidden;
  background: var(--surface-soft);
}

.project-card:first-child .project-visual {
  min-height: 450px;
}

.project-visual img,
.project-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.project-visual img {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(244, 185, 66, 0.3), transparent 27%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.project-placeholder span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.project-placeholder strong {
  margin-top: 8px;
  font-size: 1.45rem;
}

.project-copy {
  padding: 24px;
}

.project-copy > span {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* About */

.about-section {
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 70px;
}

.about-visual {
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.about-visual img,
.about-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.about-visual img {
  object-fit: cover;
  object-position: center;
}

.about-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 26% 20%, rgba(244, 185, 66, 0.35), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.about-fallback span {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.about-copy > p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-details {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-details > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  padding: 18px;
}

.detail-label {
  margin-bottom: 5px;
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-details strong {
  font-size: 0.9rem;
}

/* Reviews */

.reviews-section {
  background: var(--surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
  padding: 34px;
  box-shadow: var(--shadow-small);
}

.review-stars {
  margin-bottom: 18px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.review-card blockquote {
  flex: 1;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.review-card strong {
  margin-top: 25px;
}

/* FAQ */

.faq-section {
  background: var(--background);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

.faq-item {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.faq-item summary {
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 23px 23px;
  color: var(--muted);
}

/* Contact */

.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 70px;
}

.contact-copy > p {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  width: fit-content;
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-area {
  margin-top: 22px !important;
  font-size: 0.92rem;
}

.lead-form {
  border-radius: var(--radius-large);
  background: var(--ink);
  color: #fff;
  padding: 38px;
  box-shadow: var(--shadow-large);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  margin-bottom: 16px;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 15px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.lead-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

/* Final CTA */

.final-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(244, 185, 66, 0.2), transparent 28%),
    linear-gradient(135deg, #070a10, #111827);
  color: #fff;
  padding: 110px 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 820px;
}

.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.final-cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer */

.site-footer {
  background: #06080d;
  color: rgba(255, 255, 255, 0.68);
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr;
  align-items: start;
  gap: 56px;
}

.footer-brand,
.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid strong {
  color: #fff;
  font-size: 1.05rem;
}

.footer-grid p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-brand strong {
  margin-bottom: 6px;
}

.footer-brand #footerTagline {
  margin-bottom: 18px;
}

.footer-service-area {
  max-width: 320px;
  margin-bottom: 22px !important;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem !important;
}

.footer-contact,
.footer-links {
  text-align: left;
}

.footer-contact h2,
.footer-links h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-contact a,
.footer-links a {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #fff;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-contact,
  .footer-links {
    align-items: flex-start;
    text-align: left;
  }
}

/* Tablet */

@media (max-width: 1000px) {
  .site-nav {
    gap: 18px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    gap: 45px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card:first-child {
    grid-column: 1 / -1;
  }

  .project-card:first-child .project-visual {
    min-height: 390px;
  }

  .about-details {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 780px) {
  .section {
    padding: 74px 0;
  }

  .header-inner {
    position: relative;
    min-height: 70px;
  }

  .brand {
    min-width: 0;
    max-width: 230px;
  }

  .brand-logo {
  height: 80px;
  width: auto;
}

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 4%;
    left: 4%;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(9, 13, 21, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 75px 0 62px;
  }

  .hero-grid,
  .about-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hero-contact-line span:nth-child(2) {
    display: none;
  }

  .hero-visual {
    min-height: auto;
    padding: 18px;
  }

  .hero-visual > img,
  .hero-fallback {
    min-height: 350px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin-bottom: 12px;
  }

  .floating-card-bottom {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .trust-section {
    margin-top: 0;
    padding-top: 22px;
    background: var(--ink);
  }

  .trust-grid,
  .services-grid,
  .why-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding-top: 74px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card:first-child {
    grid-column: auto;
  }

  .project-card:first-child .project-visual,
  .project-visual {
    min-height: 310px;
  }

  .about-grid {
    gap: 42px;
  }

  .about-visual {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.about-visual img,
.about-fallback {
  min-height: 0;
}

  .about-details {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lead-form {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(91%, var(--container));
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .service-card,
  .why-card,
  .review-card {
    padding: 27px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .final-cta {
    padding: 85px 0;
  }
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 780px) {
  body {
    padding-bottom: 78px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 13, 21, 0.96);
    padding: 12px;
    backdrop-filter: blur(18px);
    box-shadow: 0 -14px 35px rgba(0, 0, 0, 0.24);
  }

  .mobile-action-bar a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-action-bar a:first-child {
    background: #fff;
    color: var(--ink);
  }

  .mobile-action-bar a:last-child {
    background: var(--primary);
    color: #fff;
  }
}

/* ==========================================================
   404 Page
========================================================== */

.page-404 {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-404 .section-header {
    max-width: 700px;
    margin: 0 auto;
}

.page-404 .section-description {
    max-width: 700px;
    margin: 1rem auto 0;
}

.page-404-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.page-404-note {
    max-width: 600px;
    margin: 2rem auto 0;
    color: var(--text-light);
}


/* ---------------------------------
   Legal pages
--------------------------------- */

.legal-page {
  min-height: 70vh;
  background: var(--background, #ffffff);
}

.legal-hero {
  padding: 8rem 0 4rem;
  background:
    linear-gradient(
      135deg,
      var(--primary-dark, #111111),
      var(--primary, #333333)
    );
  color: #ffffff;
}

.legal-container {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

.legal-hero .section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent, #ffffff);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.legal-hero > .legal-container > p {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.legal-hero .legal-updated {
  font-size: 0.9rem;
}

.legal-content {
  padding: 5rem 0;
}

.legal-section {
  padding: 0 0 2.5rem;
  margin: 0 0 2.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 1rem;
  color: var(--primary-dark, #111827);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.25;
}

.legal-section p,
.legal-section li {
  color: var(--text, #475569);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-section p {
  margin: 0 0 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin: 1rem 0 1.25rem;
}

.legal-section li {
  margin-bottom: 0.55rem;
}

.legal-section a {
  color: var(--primary, #1d4ed8);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  color: var(--primary-dark, #1e3a8a);
}

.legal-contact-section {
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.03);
}

.legal-contact {
  margin-top: 1.5rem;
  font-style: normal;
}

.legal-contact p {
  margin-bottom: 0.6rem;
}

@media (max-width: 700px) {
  .legal-hero {
    padding: 6.5rem 0 3rem;
  }

  .legal-content {
    padding: 3.5rem 0;
  }

  .legal-contact-section {
    padding: 1.5rem;
  }
}