:root {
  --ink: #071827;
  --deep: #0f2744;
  --navy-soft: #24415f;
  --accent: #c5a46d;
  --mist: #f5f8fb;
  --paper: #ffffff;
  --soft: #e4ebf2;
  --muted: #667085;
  --line: rgba(15, 39, 68, 0.13);
  --shadow: 0 22px 60px rgba(15, 39, 68, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 116px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.footer a,
.text-link {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav-links .is-active {
  color: var(--accent);
}

.nav-btn,
.btn,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 13px 22px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-btn,
.btn.primary,
form button {
  background: var(--deep);
  color: var(--paper);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.nav-btn:hover,
.btn:hover,
form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 110px 0 54px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.74), rgba(15, 39, 68, 0.38) 45%, rgba(15, 39, 68, 0.1)),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(0deg, var(--mist), transparent);
}

.hero-inner {
  display: flex;
  align-items: flex-end;
}

.hero-content {
  width: min(720px, 100%);
  color: var(--paper);
  padding-bottom: 48px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero .eyebrow { color: #d9c28f; }

h1,
h2 {
  font-family: 'Playfair Display', serif;
  color: var(--deep);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  color: var(--paper);
  font-size: clamp(4rem, 10vw, 8.2rem);
}

h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { color: var(--deep); line-height: 1.2; }

.hero-text {
  max-width: 620px;
  margin: 20px 0 32px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-main h1 {
  color: var(--deep);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.page-hero {
  padding: 96px 0 56px;
  background: linear-gradient(180deg, var(--paper), var(--mist));
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  align-self: end;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
}

.page-hero .center {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section { padding: 88px 0; }
.about,
.why,
.testimonials { background: var(--paper); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 1.03rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stats div,
.card,
.package,
.steps article,
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats div { padding: 18px; }
.stats strong,
.card span,
.steps strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.center { text-align: center; }
.services h2,
.process h2 {
  max-width: 760px;
  margin: 0 auto 38px;
}

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

.card {
  min-height: 270px;
  padding: 28px;
  background: var(--paper);
}

.card h3 {
  margin: 52px 0 12px;
  font-size: 1.2rem;
}

.card p,
.package p,
.steps p,
.project p,
.faq p {
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--deep);
  font-weight: 800;
}

.text-link::after {
  content: ' ->';
  color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
}

.project {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  background-position: center;
  background-size: cover;
}

.project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 39, 0.76), rgba(15, 39, 68, 0.14) 62%);
}

.project span,
.project p {
  position: relative;
}

.project span {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.project p {
  color: rgba(255, 253, 248, 0.88);
  max-width: 300px;
  margin-top: 6px;
}

.p1 { background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1000&q=82"); }
.p2 { background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=900&q=82"); }
.p3 { background-image: url("https://images.unsplash.com/photo-1617806118233-18e1de247200?auto=format&fit=crop&w=900&q=82"); }

.process {
  background: var(--deep);
  color: var(--paper);
}

.process h2,
.process h3 {
  color: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps article {
  min-height: 220px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.18);
}

.steps p {
  color: rgba(255, 253, 248, 0.72);
  margin-top: 12px;
}

.packages { background: var(--mist); }
.section-note {
  max-width: 330px;
  color: var(--muted);
  font-weight: 600;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package {
  padding: 30px;
  background: var(--paper);
}

.package.featured {
  background: var(--deep);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.package.featured h3,
.package.featured p {
  color: var(--paper);
}

.package h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.package ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.package li {
  position: relative;
  padding-left: 24px;
  color: inherit;
}

.package li::before,
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.quote-list {
  display: grid;
  gap: 18px;
}

blockquote {
  padding: 26px;
  border-left: 5px solid var(--accent);
  background: var(--mist);
  border-radius: 0 8px 8px 0;
}

blockquote p {
  color: var(--deep);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
}

cite {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  margin-top: 14px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px 18px 44px;
  font-weight: 800;
  color: var(--deep);
}

.faq { background: var(--mist); }
.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
  background: var(--paper);
}

.faq summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 800;
}

.faq details p {
  margin-top: 12px;
}

.contact {
  background:
    linear-gradient(rgba(7, 24, 39, 0.82), rgba(15, 39, 68, 0.82)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=82") center / cover;
}

.contact-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 46px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-box > div > p {
  color: var(--muted);
  margin-top: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--deep);
  font-weight: 800;
}

.contact-details span {
  color: var(--muted);
  font-weight: 600;
}

form {
  display: grid;
  gap: 14px;
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  background: #f8fafc;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(197, 164, 109, 0.28);
  border-color: var(--accent);
}

form button {
  border: 0;
  cursor: pointer;
}

.footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.76);
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  margin-left: 18px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .portfolio-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1120px); }
  .nav { min-height: 68px; }
  .logo img { width: 98px; }
  .hero {
    min-height: 760px;
    padding: 80px 0 40px;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  h1 { font-size: clamp(3.55rem, 18vw, 5rem); }
  h2 { font-size: 2.15rem; }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

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

  .card,
  .steps article {
    min-height: auto;
  }

  .card h3 {
    margin-top: 34px;
  }

  .contact-box {
    padding: 28px;
  }

  .footer-grid {
    display: grid;
  }

  .footer a {
    display: inline-block;
    margin: 8px 16px 0 0;
  }
}
