:root {
  --ink: #131719;
  --ink-2: #20282b;
  --muted: #647078;
  --line: #dfe5e8;
  --paper: #f6f7f3;
  --white: #ffffff;
  --green: #2c6a52;
  --green-dark: #14382e;
  --gold: #c99b42;
  --sky: #d7ebf2;
  --mist: #eef4f1;
  --shadow: 0 22px 70px rgba(17, 25, 30, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.solid {
  background: rgba(246, 247, 243, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-weight: 800;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 0.6rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero {
  min-height: 94vh;
}

.page-hero {
  min-height: 68vh;
}

.hero picture,
.hero picture img,
.page-hero picture,
.page-hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img,
.page-hero picture img {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 17, 19, 0.82), rgba(9, 17, 19, 0.46) 48%, rgba(9, 17, 19, 0.08));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.page-hero .hero-content {
  padding-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.22;
}

.hero-content > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--green);
  color: var(--green-dark);
  background: transparent;
}

.button.dark {
  background: var(--green-dark);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero-facts,
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 780px;
  margin: 2.5rem 0 0;
}

.hero-facts div,
.stat-row div {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
}

.stat-row div {
  border-color: var(--line);
}

.hero-facts dt,
.stat-row strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 950;
}

.hero-facts dd,
.stat-row span {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.stat-row span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

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

.section-heading p,
.intro-grid p:last-child,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.split.center {
  align-items: center;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 10px 40px rgba(17, 25, 30, 0.05);
}

.service-grid,
.feature-grid,
.process-grid,
.review-grid,
.case-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.service-card,
.feature-card,
.process-card,
.case-card,
blockquote,
.price-card,
.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 10px 40px rgba(17, 25, 30, 0.05);
}

.service-card span,
.process-card span {
  display: inline-block;
  color: var(--gold);
  font-weight: 950;
  margin-bottom: 1.6rem;
}

.service-card p,
.feature-card p,
.process-card p,
.case-card p,
blockquote p,
.price-card p,
.booking-card p,
.muted {
  color: var(--muted);
}

.service-card img,
.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
  background: var(--green-dark);
  color: var(--white);
}

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

.image-band div {
  padding: clamp(2rem, 6vw, 5rem);
  align-self: center;
}

.image-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card.featured {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  color: var(--green-dark) !important;
  font-size: 1.7rem;
  font-weight: 950;
}

.featured .price {
  color: var(--gold) !important;
}

.badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: var(--gold);
  color: var(--ink) !important;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 950;
}

.price-card ul,
.check-list,
.detail-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.price-card li,
.check-list li,
.detail-list li {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
  color: var(--muted);
}

.featured li {
  border-color: rgba(255, 255, 255, 0.18);
}

.price-card .button {
  margin-top: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(17, 25, 30, 0.05);
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: var(--mist);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.portfolio figure {
  position: relative;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.portfolio figure.wide {
  grid-row: span 2;
}

.portfolio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 1rem;
  counter-reset: timeline;
}

.timeline li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.timeline li::before {
  counter-increment: timeline;
  content: counter(timeline);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
}

blockquote {
  margin: 0;
}

blockquote p {
  font-size: 1.05rem;
}

cite {
  display: block;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 950;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-form label,
.booking-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.contact-form .full,
.booking-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.85rem;
  font: inherit;
}

.panel input,
.panel select,
.panel textarea,
.booking-card input,
.booking-card select,
.booking-card textarea {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.contact-details {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1080px) {
  .service-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 76px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--white);
    color: var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 0.9rem;
  }

  .intro-grid,
  .split,
  .image-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .process-grid,
  .review-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand span:last-child {
    max-width: 210px;
    line-height: 1.1;
  }

  .hero {
    min-height: 92vh;
  }

  .page-hero {
    min-height: 62vh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(9, 17, 19, 0.84), rgba(9, 17, 19, 0.38));
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-facts,
  .stat-row,
  .service-grid,
  .pricing-grid,
  .portfolio-grid,
  .contact-form,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .stat-row div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }

  .portfolio figure,
  .image-band img {
    min-height: 260px;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cta {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    padding-inline: 1rem;
  }

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