:root {
  --navy: #1a1633;
  --navy-deep: #100e1f;
  --navy-soft: #2a2548;
  --plum: #3a2a45;
  --red: #c41230;
  --red-deep: #9e0e26;
  --red-soft: rgba(196, 18, 48, 0.1);
  --lavender: #ebe6f2;
  --mist: #f7f5fa;
  --paper: #ffffff;
  --ink: #17151f;
  --muted: #5a5668;
  --line: rgba(26, 22, 51, 0.1);
  --shadow: 0 18px 50px rgba(16, 14, 31, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --header-h: 76px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 250, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav-desktop {
  display: none;
  margin-left: auto;
  gap: 0.15rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 520;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: var(--lavender);
  color: var(--red);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 0 1.5rem;
}

.nav-mobile nav {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: grid;
  gap: 0.35rem;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
  justify-content: center;
  border-bottom: 0;
}

.nav-external {
  font-size: 1rem !important;
  color: var(--muted) !important;
  border-bottom: 0 !important;
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
  .header-actions {
    margin-left: 0;
  }
  .header-actions .btn--small {
    display: inline-flex;
  }
}

@media (max-width: 979px) {
  .header-actions .btn--small {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn span[aria-hidden] {
  transition: transform 0.25s var(--ease);
}

.btn:hover span[aria-hidden] {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(26, 22, 51, 0.2);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(255, 255, 255, 0.5);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background: var(--lavender);
}

.btn--small {
  padding: 0.7rem 1.05rem;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.text-link {
  color: var(--red);
  font-weight: 650;
  text-decoration: none;
  font-family: var(--font-display);
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(196, 18, 48, 0.12), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(90, 70, 140, 0.12), transparent 30%),
    linear-gradient(160deg, #f4f1f8 0%, #ebe7f3 45%, #f8f6fb 100%);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 5rem 0 6rem;
  }
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38ch;
}

.hero__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26, 22, 51, 0.12);
  pointer-events: none;
}

.orb--1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 30% 30%, rgba(196, 18, 48, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.45);
  animation: drift 12s ease-in-out infinite;
}

.orb--2 {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 12%;
  background: rgba(26, 22, 51, 0.06);
  animation: drift 10s ease-in-out infinite reverse;
}

.orb--3 {
  width: 90px;
  height: 90px;
  left: 12%;
  bottom: 18%;
  background: var(--red);
  opacity: 0.85;
  animation: drift 8s ease-in-out infinite;
}

.hero-map {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  opacity: 0.9;
  filter: grayscale(0.2) contrast(1.05);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.notice {
  margin-top: 2rem;
  display: inline-flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(196, 18, 48, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  text-decoration: none;
  max-width: 42rem;
  font-size: 0.95rem;
}

.notice strong {
  color: var(--red);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--white {
  background: var(--paper);
}

.section--navy {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 45%, var(--plum));
  color: #f4f1f8;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--lavender {
  background: var(--lavender);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.section__head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section--navy .section__head p {
  color: rgba(244, 241, 248, 0.78);
}

.section__head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section__head-row .section__head {
  margin-bottom: 0;
}

/* Cards / grids */
.grid-3 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card,
.step-card,
.project-card,
.news-card,
.social-card,
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.service-card:hover,
.project-card:hover,
.news-card:hover,
.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 18, 48, 0.28);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.95rem;
}

.service-card h3,
.project-card__title,
.news-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.service-card p,
.project-card__text,
.news-card__text {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.chip--muted {
  color: var(--muted);
  background: var(--lavender);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.news-card__date {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

.social-card {
  text-decoration: none;
  display: grid;
  gap: 0.45rem;
  color: inherit;
}

.social-card__network {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--navy);
}

.social-card__desc {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* Process */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f1f8;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 750;
  color: #ff7a8d;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.step-card p {
  color: rgba(244, 241, 248, 0.75);
  font-size: 0.95rem;
}

/* About / trust */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.trust-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--muted);
}

.trust-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px var(--red-soft);
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--navy), #2d2648 55%, #4a2030);
  color: #fff;
  padding: 2rem;
  min-height: 280px;
}

.panel h3 {
  color: #fff;
  font-size: 1.7rem;
  max-width: 14ch;
}

.panel p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}

.panel .orb {
  border-color: rgba(255, 255, 255, 0.15);
}

.panel .orb--a {
  width: 160px;
  height: 160px;
  right: -30px;
  bottom: -40px;
  background: rgba(196, 18, 48, 0.45);
}

.panel .orb--b {
  width: 90px;
  height: 90px;
  right: 70px;
  top: 30px;
  background: rgba(255, 255, 255, 0.08);
}

/* Page hero */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(196, 18, 48, 0.1), transparent 35%),
    linear-gradient(180deg, #efeaf5, var(--mist));
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  max-width: 16ch;
}

.page-hero p {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
  }
}

.info-card h2,
.info-card h3 {
  font-size: 1.2rem;
  color: var(--red);
}

.info-card dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.info-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.info-card dd {
  margin: 0.2rem 0 0;
}

.info-card a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  color: var(--red);
}

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

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

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

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--navy), #352848 60%, #5a1f2e);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 241, 248, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }
}

.footer-brand img {
  margin-bottom: 1rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(244, 241, 248, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.footer-social__link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Utilities */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
