:root {
  --bg: #eef3f7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #102033;
  --muted: #5a6b7e;
  --line: rgba(16, 32, 51, 0.1);
  --primary: #0d5c63;
  --primary-strong: #073b4c;
  --accent: #f0b429;
  --shadow: 0 24px 60px rgba(7, 59, 76, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 92, 99, 0.16), transparent 32%),
    radial-gradient(circle at right, rgba(240, 180, 41, 0.16), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(248, 251, 253, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 0.25rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(13, 92, 99, 0.1);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.page-hero-grid,
.split-highlight,
.footer-grid,
.cta-banner {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead,
.service-card p,
.portfolio-copy p,
.site-footer p,
.info-card p,
.split-highlight p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

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

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

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-card,
.info-card,
.service-card,
.portfolio-card,
.cta-banner {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-card {
  overflow: hidden;
}

.hero-card img,
.page-hero img,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card img {
  min-height: 360px;
}

.hero-card-content,
.portfolio-copy,
.cta-banner,
.service-card,
.info-card {
  padding: 1.5rem;
}

.pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.18);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section {
  padding: 2rem 0 4rem;
}

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

.cards-grid,
.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  min-height: 220px;
}

.section-dark {
  padding: 4rem 0;
}

.split-highlight {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(135deg, #0a2d38 0%, #0d5c63 100%);
  color: white;
  padding: 2rem;
  border-radius: 32px;
}

.split-highlight p,
.split-highlight .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.checklist {
  display: grid;
  gap: 0.85rem;
}

.checklist div {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.cta-banner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
}

.service-number {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.page-hero img {
  border-radius: var(--radius-lg);
  min-height: 320px;
  box-shadow: var(--shadow);
}

.portfolio-hero h1 {
  max-width: none;
}

.portfolio-hero .portfolio-intro {
  max-width: 920px;
}

.portfolio-intro {
  max-width: 780px;
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  height: 240px;
}

.portfolio-image-button {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-image-button img {
  transition: transform 0.25s ease;
}

.portfolio-image-button:hover img {
  transform: scale(1.02);
}

.portfolio-link {
  margin-top: 1.25rem;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 30;
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 27, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 1080px);
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.95);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-open {
  overflow: hidden;
}

.detail-hero {
  padding-bottom: 1.5rem;
}

.detail-hero h1 {
  max-width: none;
}

.detail-hero .lead {
  max-width: 860px;
}

.detail-shell {
  display: grid;
  gap: 2rem;
}

.detail-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 59, 76, 0.06), rgba(13, 92, 99, 0.12));
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: min(70vh, 560px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.72);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1;
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

.carousel-control[hidden] {
  display: none;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: white;
}

.detail-copy {
  padding: 2rem;
}

.detail-copy h2 {
  margin-bottom: 1rem;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.site-footer a {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero-grid,
  .split-highlight,
  .cta-banner,
  .footer-grid,
  .cards-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .service-card {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    display: grid;
  }

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

  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

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

  .service-card {
    display: grid;
  }

  .service-number {
    font-size: 1.5rem;
  }

  .carousel-slide img {
    height: 320px;
  }

  .carousel-control {
    width: 44px;
    height: 44px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }
}
