:root {
  color-scheme: light dark;
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-soft: #eef4ec;
  --surface-strong: #24342f;
  --text: #1d2825;
  --muted: #64716b;
  --line: #d7ded5;
  --accent: #b34d3c;
  --accent-strong: #91372b;
  --accent-soft: #fae9e5;
  --focus: #2f6f62;
  --shadow: 0 18px 50px rgb(32 44 39 / 0.12);
  --radius: 18px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151b18;
    --surface: #202822;
    --surface-soft: #22342e;
    --surface-strong: #e6efe9;
    --text: #edf4ef;
    --muted: #b4c1ba;
    --line: #344139;
    --accent: #e57a65;
    --accent-strong: #f09b89;
    --accent-soft: #3a2926;
    --focus: #99d2c5;
    --shadow: 0 22px 50px rgb(0 0 0 / 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 0%, rgb(47 111 98 / 0.12), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--surface-soft));
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 15%);
  background: color-mix(in srgb, var(--bg), transparent 8%);
  padding: 14px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 156px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 750;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.header-cta,
.button.primary {
  background: var(--accent);
  color: #fffaf8;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-cta:active,
.button:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 72px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 56px);
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.98rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 9.5ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: 1fr 0.58fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.photo-card,
.gallery-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.32), transparent 42%),
    linear-gradient(145deg, #779386, #f0d4cb 54%, #24342f);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.photo-card::before,
.gallery-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgb(255 255 255 / 0.42);
  border-radius: calc(var(--radius) - 8px);
}

.photo-card span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.88);
  color: #23312d;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.photo-main {
  min-height: 520px;
}

.photo-small {
  min-height: 300px;
  align-self: end;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.25), transparent 46%),
    linear-gradient(160deg, #e4f0e7, #a4bdae 52%, #b34d3c);
}

.care-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface), transparent 8%);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.care-note strong {
  color: var(--accent-strong);
}

.care-note p {
  margin: 0;
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-band div {
  display: grid;
  gap: 6px;
  background: var(--surface);
  padding: 22px;
}

.trust-band strong {
  font-size: 1.08rem;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 98px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 560px;
}

.section-heading h2,
.booking-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.booking-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.service-feature,
.service-list article,
.price-card,
.timeline article,
.booking-panel,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface), transparent 0%);
  box-shadow: 0 12px 36px rgb(31 42 37 / 0.08);
}

.service-feature {
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 26px;
}

.service-feature img {
  width: min(100%, 360px);
  margin: 0 auto;
}

.service-feature h3,
.service-list h3,
.timeline h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.service-feature p,
.service-list p,
.timeline p,
.price-card p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  padding: 24px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.price-card {
  min-height: 190px;
  padding: 24px;
}

.price-card.featured {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft), var(--surface) 20%), var(--surface));
  border-color: color-mix(in srgb, var(--accent), var(--line) 45%);
}

.price-label {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-weight: 800;
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.price-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 18px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent-soft), transparent 22%);
  padding: 18px 20px;
}

.price-note p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  max-width: 1280px;
}

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

.timeline article {
  min-height: 230px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 42px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-placeholder {
  aspect-ratio: 4 / 5;
}

.cut-b {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.28), transparent),
    linear-gradient(155deg, #2f6f62, #edf4ef 52%, #d27662);
}

.cut-c {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.28), transparent),
    linear-gradient(155deg, #f1d2ca, #7fa795 50%, #24342f);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-panel {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  max-width: 1180px;
  margin: 40px auto;
  padding: clamp(24px, 5vw, 48px);
}

.booking-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

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

.field,
.consent {
  display: grid;
  gap: 8px;
}

.field.full,
.full,
.consent {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

::placeholder {
  color: color-mix(in srgb, var(--muted), transparent 15%);
}

.field-error,
.form-message {
  min-height: 1.2em;
  margin: 0;
  color: #b3261e;
  font-size: 0.9rem;
}

.form-message.success {
  color: #157457;
}

.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
}

.consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.submit-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 70px auto;
  padding: clamp(24px, 5vw, 44px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

  .hero,
  .service-layout,
  .booking-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .photo-main,
  .photo-small {
    min-height: 320px;
  }

  .care-note,
  .price-note {
    grid-template-columns: 1fr;
  }

  .timeline,
  .trust-band {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand img {
    width: 124px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 17vw, 4.2rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .contact-actions .button,
  .booking-form .button {
    width: 100%;
  }

  .trust-band,
  .timeline,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-main,
  .photo-small {
    min-height: 250px;
  }
}
