:root {
  --teal: #0f766e;
  --teal-deep: #115e59;
  --lime: #a3e635;
  --ink: #14201f;
  --muted: #5b6b69;
  --bg: #f4f7f6;
  --panel: #ffffff;
  --line: #d7e2df;
  --shadow: 0 14px 36px rgba(15, 50, 46, 0.1);
  --radius: 16px;
  --header-h: 72px;
  --font-display: Fraunces, Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.back-to-portfolio {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  font-size: 13px;
  color: var(--teal-deep);
  background: rgba(244, 247, 246, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
}

.back-to-portfolio:hover { border-color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--outline { background: transparent; color: var(--teal-deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--teal); }
.btn--small { padding: 9px 16px; font-size: 0.88rem; width: fit-content; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal-deep);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover { color: var(--teal); }
.header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.header-actions .btn--ghost { color: var(--teal-deep); border-color: var(--line); }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding: 56px 20px 64px;
  overflow: hidden;
  color: #f7fffe;
}

.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 30, 28, 0.25), rgba(10, 30, 28, 0.82)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.45), transparent 60%);
}

.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 12ch;
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(247, 255, 254, 0.9);
  max-width: 40ch;
  margin-bottom: 22px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero .btn--primary { background: var(--lime); color: var(--ink); }
.hero .btn--primary:hover { filter: brightness(1.05); }
.hero .btn--ghost { color: #f7fffe; border-color: rgba(247, 255, 254, 0.4); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 140px;
}
.hero__facts strong { display: block; }
.hero__facts span { font-size: 0.82rem; color: rgba(247, 255, 254, 0.72); }

.services, .steps, .reviews, .booking {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px;
}

.section-head { text-align: center; margin-bottom: 34px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--teal-deep);
  margin-bottom: 10px;
}
.section-text { color: var(--muted); max-width: 44ch; margin: 0 auto; }
.section-text--left { margin: 0 0 18px; text-align: left; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__title { font-family: var(--font-display); font-size: 1.2rem; }
.service-card__text { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-card__price { font-weight: 700; color: var(--teal); font-size: 1.08rem; }

.steps { background: #e8f3f1; max-width: none; padding-left: 0; padding-right: 0; }
.steps .section-head, .steps-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-grid li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.steps-grid__num { display: inline-block; color: var(--teal); font-weight: 700; margin-bottom: 10px; }
.steps-grid h3 { font-family: var(--font-display); margin-bottom: 8px; }
.steps-grid p { color: var(--muted); font-size: 0.95rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.review-card__text { color: var(--ink); margin-bottom: 14px; }
.review-card__author { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.booking__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.booking__intro .section-title { text-align: left; }
.booking__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px; }
.booking__photo {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.booking-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 0.9rem; color: var(--muted); }
.form-field input, .form-field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.booking-form .btn { width: 100%; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--muted); }

.site-footer { background: #0b2f2c; color: rgba(247, 255, 254, 0.9); padding: 48px 20px; }
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.footer-title { font-family: var(--font-display); color: var(--lime); margin-bottom: 8px; }
.footer-heading { font-size: 0.95rem; color: #9fe8c8; margin-bottom: 10px; }
.footer-text { font-size: 0.95rem; color: rgba(247, 255, 254, 0.78); margin-bottom: 6px; }
.site-footer a { color: #d8ffe8; }
.site-footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .site-header__inner { flex-wrap: wrap; justify-content: center; }
  .site-nav, .header-actions { width: 100%; justify-content: center; }
  .services-grid, .steps-grid, .reviews-grid, .booking__layout, .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header__inner { flex-direction: column; }
  .site-nav { flex-direction: column; align-items: center; gap: 8px; }
  .hero { min-height: calc(100vh - 160px); align-items: center; text-align: center; }
  .hero__title { max-width: none; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__facts, .booking__contacts { justify-content: center; }
  .services, .steps, .reviews, .booking { padding: 48px 16px; }
  .services-grid, .steps-grid, .reviews-grid, .booking__layout, .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .booking__intro .section-title, .section-text--left { text-align: center; }
}
