:root {
  --ink: #10212c;
  --muted: #65717c;
  --cream: #fff8ed;
  --paper: #f3eadc;
  --wine: #8f2f2f;
  --sea: #0f6670;
  --gold: #d6a64f;
  --line: rgba(16, 33, 44, .14);
  --shadow: 0 26px 76px rgba(16, 33, 44, .18);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 248, 237, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand, .nav, .actions, .hero-actions, .visit-actions { display: flex; align-items: center; gap: 10px; }
.brand { text-decoration: none; min-width: 0; }
.brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #fff;
  background: var(--wine);
  border-radius: 50%;
  font-weight: 950;
}
.brand strong { white-space: nowrap; }
.nav a { padding: 10px 8px; color: var(--muted); text-decoration: none; font-weight: 850; }
.nav a:hover { color: var(--ink); }
.lang, .call, .primary, .secondary, .tab {
  min-height: 44px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
}
.lang { width: 52px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.call, .primary, .secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
}
.call, .primary { color: #fff; background: var(--ink); }
.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .85fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(255,248,237,.98), rgba(243,234,220,.76)),
    url("images/image_06.jpg") right center / min(48vw, 650px) no-repeat;
}
.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: .82rem; font-weight: 950; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; letter-spacing: 0; }
h1 { max-width: 790px; margin-bottom: 20px; font-size: clamp(2.35rem, 6vw, 5rem); line-height: .96; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.03; }
h3 { font-size: 1.16rem; line-height: 1.28; }
.lead { max-width: 730px; color: #3d4b55; font-size: 1.14rem; line-height: 1.68; }
.hero-actions { flex-wrap: wrap; margin: 28px 0; }
.hero-actions .primary, .hero-actions .secondary { min-width: 164px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 10px; max-width: 500px; }
.stats div { padding: 15px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius); }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--sea); font-size: 1.55rem; }
.stats span { color: var(--muted); font-size: .88rem; }
.visual { position: relative; min-height: 620px; }
.photo {
  position: absolute;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.photo.main { top: 24px; left: 10%; width: 48%; aspect-ratio: 3 / 4; }
.photo.table { right: 0; top: 18px; width: 58%; aspect-ratio: 4 / 3; }
.photo.terrace { left: 0; bottom: 16px; width: 74%; aspect-ratio: 16 / 8; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; background: var(--ink); }
.quick a { min-height: 126px; padding: 28px clamp(18px, 4vw, 46px); border-right: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.quick span, .quick strong { display: block; }
.quick span { color: var(--gold); font-weight: 950; margin-bottom: 8px; }
.quick strong { line-height: 1.35; }
.section, .gallery-section, .visit { padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px); }
.rhythm { background: var(--paper); }
.section-head { max-width: 860px; margin-bottom: 34px; }
.mode-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; max-width: 1060px; margin-bottom: 24px; }
.tabs { display: grid; gap: 10px; }
.tab { padding: 0 16px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.tab.active { color: #fff; background: var(--sea); border-color: var(--sea); }
.panel {
  min-height: 248px;
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(rgba(16,33,44,.82), rgba(16,33,44,.74)),
    url("images/image_02.jpg") center / cover;
  border-radius: var(--radius);
}
.panel p { max-width: 680px; color: rgba(255,255,255,.82); line-height: 1.65; }
.panel [data-panel-kicker] { color: var(--gold); font-weight: 950; margin-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards article { min-height: 232px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cards span { display: inline-flex; color: var(--wine); font-weight: 950; margin-bottom: 28px; }
.cards p { color: var(--muted); line-height: 1.6; }
.gallery { display: grid; grid-template-columns: minmax(0, .82fr) minmax(230px, .3fr); gap: 18px; }
.gallery-main { position: relative; overflow: hidden; margin: 0; min-height: 560px; background: #e7dfd1; border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.gallery-main figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: min(90%, 560px);
  padding: 10px 12px;
  color: #fff;
  background: rgba(16,33,44,.76);
  border-radius: var(--radius);
  font-weight: 850;
}
.thumbs { display: grid; gap: 12px; }
.thumb { overflow: hidden; padding: 0; border: 3px solid transparent; border-radius: var(--radius); background: #fff; cursor: pointer; }
.thumb.active { border-color: var(--wine); }
.thumb img { width: 100%; height: 128px; object-fit: cover; }
.visit {
  background:
    linear-gradient(rgba(255,248,237,.9), rgba(255,248,237,.96)),
    url("images/image_06.jpg") center / cover;
}
.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.visit-card p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.visit-actions { flex-direction: column; align-items: stretch; min-width: 230px; }
.source { max-width: 1120px; margin: 18px 0 0; color: #3d4b55; line-height: 1.6; }
.sticky {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  color: #fff;
  background: var(--wine);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(143,47,47,.34);
  text-decoration: none;
  font-weight: 950;
}
@media (max-width: 960px) {
  .header { grid-template-columns: minmax(0, 1fr) auto; }
  .nav { display: none; }
  .hero, .mode-grid, .gallery, .visit-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .visual { min-height: 520px; }
  .quick, .cards { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .visit-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 640px) {
  .header { min-height: 66px; padding: 10px 14px; }
  .brand strong { font-size: .94rem; }
  .brand span { width: 38px; height: 38px; flex-basis: 38px; }
  .call { display: none; }
  .hero, .section, .gallery-section, .visit { padding-right: 14px; padding-left: 14px; }
  h1 { font-size: 2.36rem; }
  .stats { grid-template-columns: 1fr; }
  .visual { min-height: 440px; }
  .photo.main { left: 0; width: 58%; }
  .photo.table { right: 0; width: 68%; }
  .photo.terrace { width: 86%; bottom: 0; }
  .gallery-main, .gallery-main img { min-height: 430px; }
  .thumbs { grid-template-columns: repeat(2, 1fr); }
  .visit-actions { flex-direction: column; }
  .primary, .secondary { width: 100%; }
  .sticky { display: flex; }
  .sticky.is-hidden { display: none; }
}
