:root {
  --green-950: #06140d;
  --green-900: #081b12;
  --green-850: #0c2418;
  --green-800: #123220;
  --gold-500: #c99c52;
  --gold-400: #e1bd75;
  --cream-100: #f7f1e7;
  --cream-200: #eadfcd;
  --stone-400: #a89882;
  --ink-900: #1d1a16;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--green-950);
  color: var(--cream-100);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  color: var(--cream-100);
  background: rgba(6, 20, 13, 0.72);
  border-bottom: 1px solid rgba(225, 189, 117, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(6, 20, 13, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-grid;
  grid-template-columns: 54px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(225, 189, 117, 0.35);
  border-radius: 8px;
}

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

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.1;
}

.brand small {
  color: var(--gold-400);
  font-size: 0.85rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: rgba(247, 241, 231, 0.82);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
  content: "";
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--green-950);
  background: var(--gold-400);
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(225, 189, 117, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream-100);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-5px);
}

.nav-toggle span:last-child {
  transform: translateY(5px);
}

.nav-toggle.is-active span:first-child {
  transform: rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 122px 0 70px;
  background: var(--green-950);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-kitchen.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 20, 13, 0.98) 0%, rgba(6, 20, 13, 0.84) 34%, rgba(6, 20, 13, 0.38) 64%, rgba(6, 20, 13, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 20, 13, 0.48), rgba(6, 20, 13, 0.76));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-400);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  font-weight: 500;
}

h1 {
  max-width: 650px;
  color: #fffaf2;
  font-size: 4.25rem;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

h2 {
  max-width: 860px;
  color: inherit;
  font-size: 2.8rem;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(247, 241, 231, 0.86);
  font-size: 1.2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 650px;
  margin: 28px 0 0;
}

.hero-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(225, 189, 117, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 241, 231, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-width: 210px;
  padding: 0 22px;
  border: 1px solid rgba(225, 189, 117, 0.34);
  cursor: pointer;
  font-weight: 800;
}

.btn-primary {
  border-color: var(--gold-400);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--green-950);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream-100);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-stats div {
  border-left: 1px solid rgba(225, 189, 117, 0.38);
  padding-left: 16px;
}

.hero-stats dt {
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(247, 241, 231, 0.72);
}

.intro-band {
  border-top: 1px solid rgba(225, 189, 117, 0.16);
  border-bottom: 1px solid rgba(225, 189, 117, 0.16);
  background: var(--green-850);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0;
}

.intro-grid p {
  margin: 0;
  color: rgba(247, 241, 231, 0.82);
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--cream-100);
  color: var(--ink-900);
}

.section-copy p,
.section-heading p {
  max-width: 760px;
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  color: rgba(29, 26, 22, 0.72);
  font-size: 1.04rem;
}

.about-layout,
.personal-layout,
.consultation-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.about-panel {
  padding: 28px;
  border: 1px solid rgba(6, 20, 13, 0.13);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 24px 80px rgba(36, 25, 12, 0.08);
}

.about-panel img {
  width: min(280px, 100%);
  margin: 0 auto 24px;
  border-radius: 8px;
}

.about-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  padding: 14px 0;
  border-top: 1px solid rgba(6, 20, 13, 0.12);
  color: rgba(29, 26, 22, 0.78);
}

.personal-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(225, 189, 117, 0.16), transparent 34%),
    var(--green-950);
}

.personal-image {
  min-height: 520px;
  border-radius: 8px;
  background-image: url("assets/portfolio-collage.png");
  background-position: left top;
  background-size: 300% 200%;
  box-shadow: var(--shadow);
}

.quote-block {
  border-left: 1px solid rgba(225, 189, 117, 0.52);
  padding-left: 34px;
}

.quote-block p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.25;
}

.quote-block span {
  display: block;
  margin-top: 22px;
  color: var(--gold-400);
  font-weight: 800;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading h2 + p {
  margin-top: 16px;
}

.benefits-grid,
.services-grid,
.portfolio-grid,
.reviews-grid {
  display: grid;
  gap: 18px;
}

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

.benefit-card,
.service-card,
.project-card,
.review-card {
  border-radius: 8px;
}

.benefit-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(6, 20, 13, 0.12);
  background: #fffaf2;
}

.benefit-card p {
  color: rgba(29, 26, 22, 0.7);
}

.services-section {
  background:
    linear-gradient(180deg, rgba(8, 27, 18, 0.92), rgba(6, 20, 13, 0.98)),
    var(--green-900);
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(225, 189, 117, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.service-card p {
  color: rgba(247, 241, 231, 0.72);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(6, 20, 13, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--cream-100);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid rgba(6, 20, 13, 0.12);
  background: #fffaf2;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-image,
.review-thumb {
  background-image: url("assets/portfolio-collage.png");
  background-repeat: no-repeat;
}

.project-image {
  aspect-ratio: 4 / 3;
  background-size: 300% 200%;
}

.crop-1 {
  background-position: 0% 0%;
}

.crop-2 {
  background-position: 50% 0%;
}

.crop-3 {
  background-position: 100% 0%;
}

.crop-4 {
  background-position: 0% 100%;
}

.crop-5 {
  background-position: 50% 100%;
}

.crop-6 {
  background-position: 100% 100%;
}

.project-card h3,
.project-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.project-card h3 {
  margin-top: 18px;
}

.project-card p {
  margin-top: 5px;
  margin-bottom: 20px;
  color: rgba(29, 26, 22, 0.6);
}

.reviews-section {
  background: var(--green-950);
}

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

.review-card {
  padding: 18px;
  border: 1px solid rgba(225, 189, 117, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.review-thumb {
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: 8px;
  background-size: 300% 200%;
}

.review-card p {
  color: rgba(247, 241, 231, 0.82);
}

.review-card span {
  color: var(--gold-400);
  font-weight: 800;
}

.consultation {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: var(--green-900);
}

.consultation-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 13, 0.96), rgba(6, 20, 13, 0.72) 48%, rgba(6, 20, 13, 0.5)),
    url("assets/hero-kitchen.png") center / cover;
  opacity: 0.92;
}

.consultation-layout {
  position: relative;
  z-index: 1;
}

.consultation-copy h2 {
  color: var(--cream-100);
}

.consultation-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(247, 241, 231, 0.8);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(225, 189, 117, 0.24);
  border-radius: 8px;
  background: rgba(6, 20, 13, 0.78);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(247, 241, 231, 0.82);
  font-size: 0.94rem;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(225, 189, 117, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-100);
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input::placeholder {
  color: rgba(247, 241, 231, 0.48);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold-400);
  font-weight: 700;
}

.contacts-layout {
  align-items: start;
}

.contacts-list {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contacts-list a,
.contacts-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(6, 20, 13, 0.12);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink-900);
}

.contacts-list span {
  color: rgba(29, 26, 22, 0.56);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(225, 189, 117, 0.16);
  background: var(--green-950);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  color: rgba(247, 241, 231, 0.72);
}

.footer-layout p {
  margin: 0;
}

.footer-layout a {
  color: var(--gold-400);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    inset: 83px 16px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(225, 189, 117, 0.24);
    border-radius: 8px;
    background: rgba(6, 20, 13, 0.96);
    box-shadow: var(--shadow);
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .benefits-grid,
  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .personal-layout,
  .consultation-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    padding: 10px 14px;
  }

  .brand {
    grid-template-columns: 46px auto;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .hero {
    min-height: auto;
    padding: 98px 0 46px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 20, 13, 0.99), rgba(6, 20, 13, 0.9)),
      linear-gradient(180deg, rgba(6, 20, 13, 0.78), rgba(6, 20, 13, 0.92));
  }

  .hero-content {
    margin-left: auto;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    color: rgba(255, 250, 242, 0.96);
    font-size: 1.05rem;
  }

  .intro-grid,
  .benefits-grid,
  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
  }

  .hero-stats div {
    padding-left: 10px;
  }

  .hero-stats dt {
    font-size: 1.48rem;
  }

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .btn {
    width: 100%;
  }

  .section,
  .consultation {
    padding: 68px 0;
  }

  .personal-image {
    min-height: 360px;
  }

  .quote-block {
    padding-left: 22px;
  }

  .quote-block p {
    font-size: 1.55rem;
  }

  .footer-layout {
    flex-direction: column;
  }
}
