:root {
  --navy: #172a3a;
  --ink: #172a3a;
  --teal-deep: #004346;
  --teal: #0a6b6e;
  --emerald: #1f9b78;
  --emerald-light: #4db896;
  --aqua: #75dddd;
  --gold: #ffb703;
  --gold-deep: #e6a502;
  --gold-dark: #cc9302;
  --cream: #fff8e8;
  --cream-100: #fff0cc;
  --cream-200: #ffe399;
  --card: #fffbf5;
  --ink-muted: rgba(23, 42, 58, 0.62);
  --border: rgba(23, 42, 58, 0.14);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2rem);
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

/* ——— Header ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--space);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal), var(--emerald));
  color: var(--card);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.chip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 183, 3, 0.35);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.chip-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 183, 3, 0.45);
}

.chip-cta--ghost {
  background: transparent;
  color: var(--card);
  border: 1.5px solid rgba(255, 251, 245, 0.35);
  box-shadow: none;
}

.chip-cta--ghost:hover {
  background: rgba(255, 251, 245, 0.08);
  box-shadow: none;
}

.chip-cta--large {
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  font-size: 1.02rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 5.5rem) 0 clamp(3.5rem, 9vw, 5rem);
  color: var(--card);
  background:
    radial-gradient(ellipse 70% 55% at 88% -10%, rgba(255, 183, 3, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(31, 155, 120, 0.22), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, var(--teal-deep) 48%, #0a5c5f 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep), var(--gold));
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 16vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 6.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32ch;
  font-size: 1.08rem;
  color: rgba(255, 251, 245, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__aside {
  justify-self: start;
  max-width: 18rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: rgba(255, 251, 245, 0.06);
  border: 1px solid rgba(255, 183, 3, 0.28);
}

.hero__aside p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 251, 245, 0.82);
}

.hero__aside strong {
  color: var(--gold);
  font-weight: 700;
}

/* ——— Services ——— */
.services {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 183, 3, 0.16), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-100) 55%, var(--cream) 100%);
}

.services__head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 28rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow--gold {
  color: var(--gold);
}

.services__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.services__head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.service:nth-child(odd) {
  border-radius: 1rem 1rem 1rem 0.35rem;
}

.service:nth-child(even) {
  border-radius: 1rem 0.35rem 1rem 1rem;
}

.service:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--border));
}

.service__idx {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold-deep);
  min-width: 1.6rem;
}

.service h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.service--wide {
  background: linear-gradient(120deg, var(--card) 60%, rgba(255, 183, 3, 0.14));
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border));
}

/* ——— Contact ——— */
.contact {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5rem) 0;
  color: var(--card);
  background: linear-gradient(145deg, var(--teal-deep), var(--navy) 70%);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--gold);
}

.contact__inner {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
}

.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.contact p {
  margin: 0;
  color: rgba(255, 251, 245, 0.78);
  font-size: 1.05rem;
}

.contact__mail {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  word-break: break-word;
}

.contact__mail:hover {
  text-decoration: underline;
}

/* ——— Footer ——— */
.foot {
  padding: 1.35rem var(--space) 1.75rem;
  background: var(--navy);
  color: rgba(255, 251, 245, 0.62);
  font-size: 0.85rem;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.foot a {
  color: rgba(255, 251, 245, 0.78);
  text-decoration: none;
}

.foot a:hover {
  color: var(--gold);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  .hero__brand,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .hero__aside,
  .services__head,
  .service,
  .contact__inner {
    animation: rise 0.55s ease-out both;
  }

  .hero h1 { animation-delay: 0.06s; }
  .hero__lead { animation-delay: 0.12s; }
  .hero__actions { animation-delay: 0.18s; }
  .hero__aside { animation-delay: 0.24s; }
  .services__head { animation-delay: 0.05s; }
  .service:nth-child(1) { animation-delay: 0.08s; }
  .service:nth-child(2) { animation-delay: 0.12s; }
  .service:nth-child(3) { animation-delay: 0.16s; }
  .service:nth-child(4) { animation-delay: 0.2s; }
  .service:nth-child(5) { animation-delay: 0.24s; }
  .service:nth-child(6) { animation-delay: 0.28s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Desktop ——— */
@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1.4fr 0.7fr;
    gap: 3rem;
  }

  .hero__aside {
    justify-self: end;
    margin-bottom: 0.5rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .service--wide {
    grid-column: 1 / -1;
    max-width: 92%;
  }

  .service:nth-child(even):not(.service--wide) {
    transform: translateY(1.1rem);
  }

  .service:nth-child(even):not(.service--wide):hover {
    transform: translateY(1.1rem) translateX(4px);
  }
}

@media (min-width: 1024px) {
  .services__head {
    margin-bottom: 3.5rem;
  }

  .service {
    padding: 1.35rem 1.5rem;
  }
}
