:root {
  --cream: #f6f0e7;
  --cream-deep: #eee4d6;
  --paper: #fffaf3;
  --beige: #d8c6b1;
  --taupe: #8f7a66;
  --brown: #5f4c3f;
  --charcoal: #292522;
  --muted: #7e746b;
  --gold: #b89b72;
  --blush: #d9b8a7;
  --line: rgba(95, 76, 63, 0.16);
  --shadow: 0 24px 70px rgba(76, 58, 45, 0.14);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: clamp(15px, 0.95vw, 16px);
  line-height: 1.7;
}

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

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

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

.version-switcher {
  position: fixed;
  top: 12px;
  left: 14px;
  z-index: 40;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 10px 26px rgba(76, 58, 45, 0.1);
  backdrop-filter: blur(12px);
}

.version-switcher a,
.version-switcher span {
  min-width: 34px;
  padding: 6px 8px;
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.version-switcher span {
  background: var(--brown);
  color: #fffaf4;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brown);
  border-color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--brown);
  color: #fffaf4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button.light {
  background: rgba(255, 250, 243, 0.74);
  color: var(--brown);
}

.button.ghost {
  background: transparent;
  color: var(--brown);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--brown);
  font: inherit;
  padding: 9px 13px;
}

.section,
.page-hero,
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) clamp(20px, 4vw, 48px);
}

.hero {
  display: flex;
  align-items: stretch;
  max-width: none;
  min-height: clamp(470px, 60vh, 560px);
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(90deg, rgba(37, 31, 27, 0.2), rgba(37, 31, 27, 0.04)), url("../images/steba-hero-f04903a7ae.jpg") center / cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 0;
  border-radius: 8px;
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(82, 70, 60, 0.42);
  color: #fffaf4;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/steba-hero-f04903a7ae.jpg") center / cover;
  filter: blur(16px);
  transform: scale(1.08);
  opacity: 0.22;
}

.hero-photo {
  display: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4dfbd;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brown);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.page-hero h1 {
  max-width: 390px;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.08;
}

.hero h1 {
  max-width: 390px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.hero h1 {
  color: #fffaf4;
}

h2 {
  font-size: clamp(26px, 2.35vw, 36px);
  line-height: 1.08;
}

h3 {
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.12;
}

p {
  margin: 16px 0 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(14px, 0.92vw, 15px);
}

.hero .lead {
  color: rgba(255, 250, 244, 0.88);
}

.hero .button.ghost {
  border-color: rgba(255, 250, 244, 0.52);
  background: rgba(255, 250, 244, 0.08);
  color: #fffaf4;
}

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

.trust-list {
  display: grid;
  gap: 9px;
  max-width: 480px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  border: 1px solid rgba(255, 250, 244, 0.2);
  border-radius: 8px;
  padding: 10px 13px;
  background: rgba(255, 250, 244, 0.14);
  color: rgba(255, 250, 244, 0.9);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split > *,
.cards > *,
.steps > *,
.portfolio-grid > * {
  min-width: 0;
}

.soft-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3.2vw, 42px);
  background: rgba(255, 250, 243, 0.74);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.image-card,
.text-card,
.price-card,
.review-card,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.image-card img {
  width: 100%;
  height: clamp(260px, 24vw, 320px);
  object-fit: cover;
}

.image-card-content,
.text-card,
.price-card,
.review-card,
.booking-card {
  padding: clamp(22px, 2.4vw, 30px);
}

.image-card .meta,
.meta {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 16px;
}

.portfolio-grid img {
  width: 100%;
  height: clamp(260px, 24vw, 310px);
  border-radius: 8px;
  object-fit: cover;
}

.portfolio-grid img.tall {
  height: clamp(390px, 40vw, 480px);
}

.portfolio-grid img.wide {
  grid-column: span 2;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--brown);
  color: #fffaf4;
}

.quote-band h2,
.quote-band h3 {
  color: #fffaf4;
}

.quote-band p {
  color: rgba(255, 250, 244, 0.8);
}

.page-hero {
  max-width: none;
  min-height: clamp(300px, 34vw, 360px);
  margin: 0;
  padding-block: clamp(50px, 6vw, 78px);
  background: linear-gradient(rgba(37, 31, 27, 0.24), rgba(37, 31, 27, 0.24)), var(--hero-image) center / cover;
  color: #fffaf4;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero-card {
  max-width: 400px;
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(72, 62, 55, 0.42);
  backdrop-filter: blur(10px);
}

.page-hero h1,
.page-hero .lead {
  color: #fffaf4;
}

.masonry {
  columns: 3 260px;
  column-gap: 16px;
}

.masonry img {
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
}

.step h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.12;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--brown);
  font-weight: 800;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fffdf8;
  color: var(--charcoal);
  font: inherit;
}

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

.note {
  border-left: 3px solid var(--gold);
  padding: 14px 0 14px 18px;
  color: var(--muted);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #efe4d5;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.6fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 22px;
}

.footer-shell h3 {
  font-size: 25px;
}

.footer-shell a,
.footer-shell p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.copyright {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  color: var(--muted);
  font-size: 13px;
}

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

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

  .site-header.is-open .nav-links {
    position: absolute;
    top: 71px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .header-cta {
    position: absolute;
    top: 402px;
    right: 16px;
    left: 16px;
    display: flex;
  }

  .hero,
  .split,
  .quote-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 500px;
    background-position: 58% center;
  }

  .hero-copy {
    min-height: 360px;
  }

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

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

  .portfolio-grid img.wide {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .nav-shell {
    padding: 12px 16px;
  }

  .brand span {
    max-width: 160px;
  }

  .section,
  .page-hero,
  .hero {
    padding: 40px 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-copy {
    width: 100%;
    min-height: 0;
    padding: 28px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 7.4vw, 34px);
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 36px);
  }

  h2 {
    font-size: clamp(25px, 7vw, 32px);
  }

  h3 {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions,
  .section-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .trust-list {
    margin-top: 24px;
  }

  .trust-list li {
    padding: 10px 12px;
  }

  .cards,
  .steps,
  .portfolio-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .image-card img,
  .portfolio-grid img,
  .portfolio-grid img.tall {
    height: 300px;
  }

  .page-hero {
    min-height: 300px;
  }

  .page-hero-card,
  .soft-panel,
  .booking-card,
  .text-card,
  .price-card,
  .review-card {
    padding: 22px;
  }

  .masonry {
    columns: 1;
  }
}
