:root {
  --ink: #2d2926;
  --muted: #706a64;
  --cream: #f7f2e9;
  --wine: #6f3d2c;
  --shadow: 0 18px 50px rgba(45, 41, 38, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

/* Typography */

h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -.04em;
}

h1 span {
  color: #e7c6a7;
}

h2 {
  font-size: clamp(36px, 4.5vw, 55px);
  font-weight: 500;
  letter-spacing: -.03em;
}

h3 {
  font-size: 25px;
}

.eyebrow {
  color: #ead8c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--wine);
}

.center {
  text-align: center;
}

/* Header and navigation */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(45, 41, 38, .08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1.15;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 25px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
}

/* Shared components */

.section {
  padding: 105px 0;
}

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

.section-head p {
  max-width: 420px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--wine);
  color: #fff;
}

.ghost {
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
}

.outline {
  border: 1px solid #c9b7a3;
}

.wide {
  width: 100%;
  margin-top: 10px;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  margin-top: 76px;
  background: url('../img/ubytovani-u-renci-2.jpg') center / cover no-repeat;
  color: #fff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 22, 18, .78) 0%, rgba(32, 22, 18, .44) 55%, rgba(32, 22, 18, .18) 100%);
}

.hero-content {
  position: relative;
  max-width: 1160px;
  padding: 92px 0;
}

.hero-content > * {
  max-width: 730px;
}

.lead {
  max-width: 650px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-facts span,
.pill-row span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 13px;
}

/* Accommodation */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 80px;
}

.split p {
  color: var(--muted);
  font-size: 17px;
}

.photo-card {
  margin: 0;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.feature-grid div {
  padding: 18px;
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
}

.feature-grid b {
  display: block;
  color: var(--wine);
  font: 700 28px Georgia, serif;
}

.feature-grid span {
  color: var(--muted);
  font-size: 12px;
}

/* Amenities */

.soft {
  background: var(--cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(45, 41, 38, .06);
}

.card .icon {
  font-size: 27px;
}

.card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Pricing */

.pricing {
  padding: 30px;
}

.pricing .section-head {
  display: block;
}

.pricing .section-head p {
  max-width: 650px;
  margin-top: 20px;
}

.pricing-card {
  max-width: 100%;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(38, 29, 22, .08);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(38, 29, 22, .10);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  font-size: 1.05rem;
}

.price-row small {
  display: block;
  margin-top: 3px;
  color: #766d65;
  font-size: .85rem;
}

.price-row strong {
  font-size: 1.25rem;
  white-space: nowrap;
}

.price-head {
  background: #7a402e;
  color: #fff;
  font-weight: 700;
}

.price-head span {
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.best-price {
  background: #f4eee4;
}

.best-price strong {
  color: #7a402e;
  font-size: 1.4rem;
}

.pricing-note {
  max-width: 780px;
  margin: 22px auto 0;
  color: #766d65;
  font-size: .95rem;
  text-align: center;
}

.pricing-action {
  margin-top: 25px;
  text-align: center;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 38px;
}

.gallery a {
  overflow: hidden;
  border-radius: 12px;
  background: #ddd;
}

.gallery a:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery a:nth-child(4) {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s;
}

.gallery a:hover img {
  transform: scale(1.045);
}

/* Surroundings */

.wine {
  background: linear-gradient(rgba(66, 38, 29, .83), rgba(66, 38, 29, .83)), url('../img/ubytovani-u-renci-1.jpg') center / cover fixed;
  color: #fff;
}

.wine-content {
  max-width: 840px;
  text-align: center;
}

.wine-content p:not(.eyebrow) {
  color: #f1e8df;
  font-size: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

/* Contact */

.contact {
  padding-bottom: 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: start;
  gap: 80px;
}

.contact-grid > div > p {
  color: var(--muted);
  font-size: 17px;
}

.contact-items {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-items a,
.contact-items > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e0d7;
  text-decoration: none;
}

.contact-items span {
  color: var(--muted);
}

.booking-box {
  padding: 32px;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.booking-box p,
.booking-box small {
  color: var(--muted);
}

.booking-box small {
  display: block;
  margin-top: 16px;
}

/* Map */

.map {
  padding: 30px;
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid #eee4d9;
  color: var(--muted);
  font-size: 13px;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 18px;
}

/* Responsive */

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

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

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .section-head {
    display: block;
  }

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

@media (max-width: 600px) {
  .price-row {
    gap: 15px;
    padding: 17px 20px;
  }

  .price-row span {
    font-size: .95rem;
  }

  .price-row strong {
    font-size: 1.1rem;
  }

  .best-price strong {
    font-size: 1.2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .site-header .brand small {
    display: none;
  }

  .nav-wrap {
    height: 68px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    min-height: 650px;
    margin-top: 68px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  /* Keep the original section-specific spacing on small screens. */
  .contact {
    padding-bottom: 0;
  }

  .map,
  .pricing {
    padding: 30px;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery a:first-child,
  .gallery a:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer {
    display: block;
    padding: 25px 0;
  }

  .footer > div:last-child {
    margin-top: 15px;
  }
}
