:root {
  --bg: #f6f1e8;
  --bg-soft: #efe6d9;
  --ink: #17201d;
  --muted: #66736a;
  --line: rgba(23, 32, 29, 0.12);
  --card: rgba(255, 252, 246, 0.78);
  --sage: #7c9587;
  --sage-dark: #41584d;
  --accent: #c89f63;
  --shadow: 0 24px 70px rgba(58, 64, 54, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 149, 135, 0.24), transparent 34rem),
    linear-gradient(180deg, #f8f2e9 0%, #f2e9dc 50%, #eef1eb 100%);
  line-height: 1.65;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 13px 16px 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.72);
  box-shadow: 0 18px 60px rgba(39, 47, 42, 0.12);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 232, 0.9);
  box-shadow: 0 20px 70px rgba(39, 47, 42, 0.18);
}

.logo {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-mark {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff7e8 0 24%, transparent 25%),
    linear-gradient(135deg, var(--sage), var(--sage-dark));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.nav-panel {
  justify-self: center;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(23, 32, 29, 0.78);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.phone {
  font-weight: 800;
  white-space: nowrap;
}

.phone-desktop {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fffdf7;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(23, 32, 29, 0.18);
}

.phone-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/img/hero-light.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 24, 0.72), rgba(18, 27, 24, 0.22) 54%, rgba(18, 27, 24, 0.36)),
    radial-gradient(circle at 20% 30%, rgba(200, 159, 99, 0.22), transparent 32rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 80px;
  color: #fffdf7;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(58px, 8vw, 112px);
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 253, 247, 0.86);
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #18211e;
  background: linear-gradient(135deg, #f3cf8c, #c89f63);
  box-shadow: 0 16px 34px rgba(200, 159, 99, 0.3);
}

.btn-secondary {
  color: #fffdf7;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

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

.hero-note {
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  z-index: 2;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  color: #fffdf7;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-note span {
  color: rgba(255, 253, 247, 0.8);
}

.section {
  padding: 112px 0;
}

.section h2 {
  font-size: clamp(44px, 6vw, 76px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:last-child,
.about-copy > p,
.faq-title p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
}

.about-copy > p {
  max-width: 650px;
  margin: 26px 0;
}

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

.facts div,
.step,
.price-card,
.faq-list,
.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.facts div {
  padding: 20px;
  border-radius: 22px;
}

.facts strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

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

.about-photo {
  position: relative;
  min-height: 560px;
}

.about-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-caption {
  position: absolute;
  right: -20px;
  bottom: 36px;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(23, 32, 29, 0.78);
  color: #fffdf7;
  backdrop-filter: blur(12px);
}

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

.case-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: #fffdf7;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 29, 0.1), rgba(23, 32, 29, 0.76));
}

.case-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.03);
}

.case-card > div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.case-card p {
  margin: 0;
  color: rgba(255, 253, 247, 0.78);
}

.zoom-hint {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.82);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.case-card:hover .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

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

.step {
  padding: 28px;
  border-radius: var(--radius);
}

.step span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 800;
}

.step h3,
.price-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.step p,
.price-card p {
  color: var(--muted);
}

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

.price-card {
  padding: 30px;
  border-radius: var(--radius);
}

.price-card.featured {
  color: #fffdf7;
  background: linear-gradient(145deg, #1c2823, #41584d);
  transform: translateY(-14px);
}

.price-card.featured p {
  color: rgba(255, 253, 247, 0.76);
}

.price-card strong {
  display: block;
  margin: 24px 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}

.faq-list {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  color: var(--sage-dark);
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
}

.contact {
  position: relative;
  color: #fffdf7;
  background:
    linear-gradient(135deg, rgba(23, 32, 29, 0.95), rgba(65, 88, 77, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(200, 159, 99, 0.35), transparent 34rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact .section-kicker {
  color: #f3cf8c;
}

.contact h2 {
  color: #fffdf7;
}

.contact-copy p,
.contact-copy li {
  color: rgba(255, 253, 247, 0.74);
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-copy li::before {
  content: "— ";
  color: #f3cf8c;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 15px 16px;
  outline: 0;
  color: #fffdf7;
  background: rgba(255, 255, 255, 0.1);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 253, 247, 0.52);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #f3cf8c;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #f3cf8c;
}

.site-footer {
  padding: 34px 0;
  background: #121a17;
  color: rgba(255, 253, 247, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.footer-logo {
  color: #fffdf7;
}

.policy,
.hosting a {
  color: #f3cf8c;
}

.hosting {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 80px;
  background: rgba(9, 13, 12, 0.88);
  backdrop-filter: blur(14px);
}

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

.lightbox figure {
  width: min(1000px, 100%);
  margin: 0;
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin-top: 14px;
  color: #fffdf7;
  text-align: center;
  font-weight: 800;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fffdf7;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.lightbox-close {
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 42px;
  transform: translateY(-50%);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .case-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 620px;
  }
}

@media (max-width: 992px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .phone-desktop {
    display: none;
  }

  .nav-panel {
    position: fixed;
    top: -18px;
    right: -14px;
    width: min(390px, 86vw);
    height: calc(100vh + 36px);
    padding: 110px 28px 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(246, 241, 232, 0.96);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.12);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 51;
  }

  body.menu-open .nav-panel {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 20px;
  }

  .phone-mobile {
    display: inline-flex;
    margin-top: 16px;
    padding: 13px 18px;
    border-radius: 999px;
    color: #fffdf7;
    background: var(--ink);
  }

  .nav-toggle {
    z-index: 52;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -150px auto 34px;
    z-index: 3;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 11px 10px 14px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 120px;
  }

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

  .section {
    padding: 78px 0;
  }

  .facts,
  .case-grid,
  .price-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 330px;
  }

  .about-photo img {
    height: 430px;
  }

  .photo-caption {
    right: 14px;
    bottom: 18px;
  }

  .price-card.featured {
    transform: none;
  }

  .lightbox {
    padding: 70px 16px 92px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .lightbox-prev { left: calc(50% - 68px); }
  .lightbox-next { right: calc(50% - 68px); }
}
