:root {
  --ink: #0c1f2e;
  --ink-soft: #243b4a;
  --sea: #0d6e8a;
  --sea-deep: #0a4f66;
  --sun: #e8a838;
  --sun-soft: #f3d089;
  --foam: #eef5f8;
  --mist: #d6e6ee;
  --paper: #f7fbfd;
  --white: #ffffff;
  --line: rgba(12, 31, 46, 0.12);
  --shadow: 0 24px 60px rgba(10, 40, 55, 0.16);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(232, 168, 56, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(13, 110, 138, 0.14), transparent 50%),
    linear-gradient(180deg, #eaf3f7 0%, var(--paper) 40%, #f2f7fa 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 253, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--sea) 0%, var(--sea-deep) 70%);
  box-shadow: inset 0 -3px 0 var(--sun);
  position: relative;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.logo-mark::before {
  left: 8px;
  border-right: 0;
  border-top: 0;
}

.logo-mark::after {
  right: 8px;
  border-left: 0;
  border-bottom: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--sea);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--sea-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sea) 0%, var(--sea-deep) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(13, 110, 138, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-light {
  background: var(--sun);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 36, 0.88) 0%, rgba(8, 24, 36, 0.55) 48%, rgba(8, 24, 36, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 24, 36, 0.7) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
  max-width: 720px;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  animation: rise 0.9s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 28ch;
  animation: rise 0.9s ease 0.1s both;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 0 1.8rem;
  animation: rise 0.9s ease 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: rise 0.9s ease 0.26s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  animation: rise 0.9s ease 0.34s both;
}

.hero-trust strong {
  display: block;
  color: var(--sun-soft);
  font-size: 1.15rem;
  font-family: var(--font-display);
}

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.6rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.7rem;
}

.section-head h2,
.cta-band h2,
.footer-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service {
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mist), #fff);
  color: var(--sea-deep);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1rem;
}

.service h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.split-media .badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(12, 31, 46, 0.82);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--sun);
  flex-shrink: 0;
}

/* Process */
.process {
  background: linear-gradient(180deg, rgba(13, 110, 138, 0.06), transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(13, 110, 138, 0.18);
  display: block;
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}

.project {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  isolation: isolate;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.6s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(8, 24, 36, 0.88));
  color: #fff;
}

.project-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.project-body p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.project.tall {
  grid-row: span 2;
  min-height: 580px;
}

.project.tall img {
  min-height: 580px;
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.quote {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.quote p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
}

.quote span {
  display: block;
  font-weight: 500;
  color: var(--sea);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* CTA band */
.cta-band {
  padding: 0 0 5rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(125deg, var(--ink) 0%, var(--sea-deep) 55%, #0d6e8a 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-copy {
  padding: 2.6rem;
}

.cta-copy p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 42ch;
}

.cta-visual {
  min-height: 260px;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

/* Footer */
.site-footer {
  background: #081824;
  color: rgba(255, 255, 255, 0.88);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 280px;
  background: #102433;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.addresses h3,
.footer-form-wrap h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: #fff;
}

.address-card {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.address-card:last-child {
  border-bottom: 0;
}

.address-card strong {
  display: block;
  color: var(--sun-soft);
  margin-bottom: 0.25rem;
}

.address-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.4rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 24, 36, 0.55);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--sun);
  outline-offset: 1px;
}

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

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.7rem 0 0;
}

.form-success {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(232, 168, 56, 0.18);
  border: 1px solid rgba(232, 168, 56, 0.35);
  color: var(--sun-soft);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
  animation: rise 0.45s ease both;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

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

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 960px) {
  .services-grid,
  .process-steps,
  .quotes,
  .footer-grid,
  .split,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project.tall,
  .project.tall img {
    min-height: 320px;
    grid-row: auto;
  }

  .nav-links {
    position: fixed;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem;
    background: rgba(247, 251, 253, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.5rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-content {
    padding: 7rem 0 3.5rem;
  }
}

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

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