:root {
  --bg: #eef7fb;
  --surface: #ffffff;
  --surface-strong: #09243f;
  --surface-muted: #d7ecf4;
  --text: #102233;
  --muted: #536575;
  --line: rgba(16, 34, 51, 0.12);
  --accent: #f2aa2e;
  --accent-strong: #c77913;
  --accent-soft: #ffd37b;
  --green: #0d8f7c;
  --shadow: 0 24px 80px rgba(9, 36, 63, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 143, 124, 0.18), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(242, 170, 46, 0.18), transparent 28%),
    var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(242, 170, 46, 0.24), transparent 34%),
    #061a30;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__panel {
  min-width: min(26rem, calc(100vw - 3rem));
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  text-align: center;
}

.site-preloader__label,
.site-preloader__status {
  margin: 0;
  color: #f5fbff;
}

.site-preloader__label {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-preloader__status {
  font-size: 0.92rem;
  color: rgba(245, 251, 255, 0.72);
}

.site-preloader__bars {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.2rem 0 1rem;
}

.site-preloader__bars span {
  width: 0.55rem;
  height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  animation: loading-bars 1s ease-in-out infinite;
}

.site-preloader__bars span:nth-child(2) {
  animation-delay: 0.15s;
}

.site-preloader__bars span:nth-child(3) {
  animation-delay: 0.3s;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.8rem;
  border: 1px solid rgba(255, 250, 243, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(9, 36, 63, 0.08);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brandmark__dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 0 0 0.28rem rgba(13, 143, 124, 0.14);
}

.topnav {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.topnav a:hover,
.footer__links a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.button,
.button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button {
  background: var(--accent);
  color: #09243f;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(24, 32, 38, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7.5rem);
  padding: 2.5rem 0 4rem;
}

.hero__copy h1,
.section-heading h2,
.spotlight__content h2,
.contact-card__intro h2,
.legal-card h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero__copy h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.hero__lead,
.section-heading,
.service-card p,
.process-card p,
.spotlight__content p,
.contact-card__intro p,
.footer p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.hero__lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0 2.2rem;
}

.text-link {
  font-weight: 700;
}

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

.hero__stats div {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.76);
}

.hero__stats dt {
  margin-bottom: 0.35rem;
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--surface-strong);
}

.hero__stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  min-height: 38rem;
}

.hero__image-card,
.spotlight__media,
.contact-card,
.legal-card {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.hero__image-card--main {
  position: absolute;
  inset: 0 0 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: rotate(-4deg);
}

.hero__image-card img,
.spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__floating-note,
.hero__floating-metric {
  position: absolute;
  max-width: 16rem;
  padding: 1rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(9, 36, 63, 0.92);
  color: #f5fbff;
  box-shadow: 0 20px 40px rgba(9, 36, 63, 0.25);
}

.hero__floating-note {
  top: 2rem;
  left: 0;
}

.hero__floating-metric {
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.hero__floating-note p,
.hero__floating-metric span {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__floating-note strong,
.hero__floating-metric strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.section {
  padding: 5rem 0;
}

.section--contrast {
  padding: 3rem;
  border-radius: 2.2rem;
  background:
    linear-gradient(145deg, rgba(9, 36, 63, 0.98), rgba(13, 88, 114, 0.94));
  color: #f5fbff;
}

.section--contrast .eyebrow,
.section--contrast .service-card span {
  color: var(--accent-soft);
}

.section--contrast .section-heading,
.section--contrast .service-card p {
  color: rgba(245, 251, 255, 0.78);
}

.section--contrast .section-heading h2,
.section--contrast .service-card h3 {
  color: #f5fbff;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.spotlight__content h2,
.contact-card__intro h2,
.legal-card h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.service-grid,
.process-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card,
.process-card {
  padding: 1.5rem;
  border-radius: 1.4rem;
}

.service-card {
  border: 1px solid rgba(255, 247, 239, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.service-card span,
.process-card strong {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.service-card h3,
.process-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
}

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

.process-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.spotlight__media {
  min-height: 34rem;
}

.spotlight__quote {
  margin-top: 1.8rem;
  padding: 1.25rem 1.3rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.72);
}

.spotlight__quote p {
  margin: 0 0 0.65rem;
  color: var(--text);
}

.spotlight__quote span {
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-card {
  padding: 2rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(13, 143, 124, 0.14), rgba(242, 170, 46, 0.18));
  border: 1px solid rgba(24, 32, 38, 0.08);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
}

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

.contact-form label {
  display: block;
}

.contact-form span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 38, 0.14);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13, 143, 124, 0.24);
  border-color: rgba(13, 143, 124, 0.55);
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form__full {
  grid-column: 1 / -1;
}

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

.contact-form__actions p {
  margin: 0;
  max-width: 24rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer,
.legal-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1rem;
  align-items: start;
  padding: 2rem 0 1rem;
}

.footer__meta p,
.footer__links {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
}

.brandmark--footer {
  margin-bottom: 0.85rem;
}

.legal-body {
  min-height: 100vh;
}

.legal-shell {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.legal-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 32, 38, 0.08);
}

.legal-card__back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.legal-card h2 {
  margin-top: 2rem;
  font-family: "Syne", sans-serif;
  font-size: 1.45rem;
}

.legal-card ul {
  padding-left: 1.1rem;
}

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

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

@keyframes loading-bars {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero,
  .spotlight,
  .contact-card,
  .footer,
  .legal-footer,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero__visual {
    min-height: 28rem;
  }

  .hero__image-card--main {
    inset: 2rem 1rem 3rem;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    border-radius: 1.5rem;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

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

  .section--contrast,
  .contact-card,
  .legal-card {
    padding: 1.4rem;
  }

  .hero__floating-note,
  .hero__floating-metric {
    max-width: 13rem;
    padding: 0.85rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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