:root {
  --bg: #f4efe8;
  --bg-accent: #ebe2d6;
  --surface: rgba(255, 251, 246, 0.88);
  --surface-strong: #fffaf4;
  --text: #181614;
  --muted: #666058;
  --line: rgba(24, 22, 20, 0.08);
  --dark: #1d2127;
  --gold: #a88255;
  --gold-soft: rgba(168, 130, 85, 0.12);
  --shadow: 0 24px 60px rgba(29, 19, 10, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(168, 130, 85, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f7f3ee 48%, var(--bg-accent) 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

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

button {
  font: inherit;
}

.hero,
.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.hero {
  padding-top: 22px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.brand,
.hero-content h1,
.section-head h2,
.stay-body h3,
.service-copy h3,
.gallery h3,
.text-card h3,
.closing-card h2 {
  font-family: "Georgia", "Times New Roman", serif;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 1.72rem;
  line-height: 1;
}

.brand-meta {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav-booking {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff9f2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-photo,
.hero-content {
  min-height: 760px;
}

.hero-photo {
  overflow: hidden;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 48px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.9), rgba(248, 240, 232, 0.86));
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.tag,
.mini-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #886238;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.tag-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 240, 0.84);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 500;
}

.hero-text,
.text-card p,
.stay-body p,
.service-copy p,
#gallery-description,
.closing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.gallery-tab:hover,
.gallery-tab:focus-visible,
.gallery-button:hover,
.gallery-button:focus-visible,
.gallery-dot:hover,
.gallery-dot:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--dark);
  color: #fff9f2;
}

.button-accent {
  background: var(--gold);
  color: #fff9f2;
}

.button-light {
  background: transparent;
  color: var(--text);
  border-color: rgba(29, 33, 39, 0.12);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 0;
}

.fact-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.fact-card dt {
  margin-bottom: 8px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.7rem;
}

.fact-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding-top: 102px;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.04;
  font-weight: 500;
}

.location-grid {
  display: grid;
  gap: 22px;
}

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

.card,
.stay-card,
.gallery {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.text-card,
.service-copy {
  padding: 30px;
}

.text-card {
  display: grid;
  gap: 16px;
}

.text-card h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.stay-card {
  overflow: hidden;
}

.stay-card-wide .stay-image {
  min-height: 470px;
}

.stay-image {
  min-height: 320px;
}

.stay-image img,
.service-card img {
  height: 100%;
  object-fit: cover;
}

.stay-body {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.stay-body h3,
.service-copy h3,
.gallery h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.02;
  font-weight: 500;
}

.list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 22px;
  align-items: start;
}

.services-photos {
  display: grid;
  gap: 14px;
}

.service-photo-card {
  overflow: hidden;
}

.service-photo-card img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.services-text-card {
  display: grid;
  gap: 16px;
}

.services-text-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.02;
  font-weight: 500;
}

.services-text-card h4 {
  margin: 8px 0 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tab,
.gallery-button,
.gallery-dot {
  border: 0;
  cursor: pointer;
}

.gallery-tab {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  border: 1px solid rgba(24, 22, 20, 0.08);
}

.gallery-tab.is-active {
  background: var(--dark);
  color: #fff9f2;
}

.gallery {
  padding: 28px;
}

.gallery-top,
.gallery-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.gallery-top {
  margin-bottom: 22px;
}

.gallery-nav {
  display: flex;
  gap: 10px;
}

.gallery-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid rgba(24, 22, 20, 0.08);
}

.gallery-window {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 18px;
  transition: transform 320ms ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 calc(50% - 9px);
  aspect-ratio: 1.12;
  overflow: hidden;
  border-radius: 26px;
  background: #efe6da;
}

.gallery-slide img {
  height: 100%;
  object-fit: cover;
}

.gallery-bottom {
  margin-top: 22px;
  align-items: end;
}

.gallery-bottom p {
  max-width: 760px;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(24, 22, 20, 0.16);
}

.gallery-dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(168, 130, 85, 0.12);
}

.closing {
  padding-bottom: 72px;
}

.closing-card {
  padding: 48px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(20, 24, 29, 0.88), rgba(20, 24, 29, 0.92)),
    url("./assets/web/cottage/11.jpeg") center/cover;
  text-align: center;
  box-shadow: var(--shadow);
}

.closing-card h2 {
  margin: 18px 0 14px;
  color: #fff9f2;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 500;
}

.closing-card p {
  max-width: 34rem;
  margin: 0 auto 24px;
  color: rgba(255, 249, 242, 0.78);
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.closing-phone {
  margin: 0 auto 24px;
  color: rgba(255, 249, 242, 0.86);
}

.closing-phone a {
  color: #fff9f2;
}

@media (max-width: 1100px) {
  .hero-grid,
  .location-grid,
  .accommodation-grid,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .hero-content {
    min-height: auto;
  }

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

  .gallery-head,
  .gallery-top,
  .gallery-bottom {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    width: min(calc(100% - 24px), var(--content));
  }

  .nav {
    flex-direction: column;
    align-items: start;
  }

  .hero-content {
    padding: 28px;
    border-radius: 28px;
  }

  .hero-photo {
    min-height: 360px;
    border-radius: 28px;
  }

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

  .section {
    padding-top: 78px;
  }

  .text-card,
  .stay-body,
  .gallery,
  .closing-card {
    padding: 22px;
  }

  .service-photo-card img {
    min-height: 320px;
  }

  .gallery-slide {
    flex-basis: 100%;
  }
}
