:root {
  --beige: #f5efe0;
  --brown: #6b4423;
  --green: #4a6741;
  --offwhite: #fafaf7;
  --gold: #c8a96e;
  --text: #2e2a24;
  --shadow: 0 8px 24px rgba(34, 25, 17, 0.12);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--offwhite), #f0e6d4 65%, #ecdfc8);
  line-height: 1.6;
}

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

a {
  color: var(--brown);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brown);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.95);
  border-bottom: 1px solid #e5dbc5;
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #ede0c8;
  border: 2px solid #d6c09a;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  color: var(--brown);
  padding: 0.25rem;
}

.brand-logo-wrap.show-fallback .brand-logo {
  display: none;
}

.brand-logo-wrap.show-fallback .brand-logo-fallback {
  display: flex;
}

.brand-text strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--brown);
}

.brand-text span {
  display: block;
  color: #594126;
  font-size: 0.9rem;
}

.menu-toggle {
  border: 1px solid #ccb48e;
  border-radius: 6px;
  background: #fff;
  color: var(--brown);
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.main-nav {
  display: none;
}

.main-nav.open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 169, 110, 0.25), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(74, 103, 65, 0.35), transparent 35%),
    linear-gradient(135deg, #6d5235, #3d4e34);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 14, 0.45), rgba(20, 17, 14, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0.3rem 0 0.9rem;
}

.hero p {
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-placeholder-label {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
}

.section h2 {
  font-family: "Playfair Display", serif;
  color: var(--brown);
  margin-top: 0;
  text-align: center;
}

.section-divider {
  height: 24px;
  background:
    linear-gradient(-45deg, transparent 12px, rgba(107, 68, 35, 0.15) 0) left,
    linear-gradient(45deg, transparent 12px, rgba(107, 68, 35, 0.15) 0) right;
  background-size: 50% 100%;
  background-repeat: no-repeat;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cards {
  margin-top: 1.2rem;
}

.card {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid #e8dbc1;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  color: var(--green);
}

.equipments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.equip-item {
  background: #fff;
  border: 1px solid #e7d9be;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

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

.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid #e5d8bd;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-placeholder {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.6rem;
  color: var(--brown);
  font-family: "Playfair Display", serif;
  background:
    repeating-linear-gradient(45deg, #f2e8d4, #f2e8d4 10px, #e8d8bb 10px, #e8d8bb 20px);
}

.gallery-item figcaption {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #dcc8a5;
  padding: 0.65rem;
  text-align: left;
}

.pricing-table th {
  background: #efe1c7;
  color: #4a3420;
}

.region-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 1rem;
  padding-left: 1rem;
}

.form {
  display: grid;
  gap: 0.45rem;
}

.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.form input,
.form textarea {
  border: 1px solid #c6a876;
  border-radius: 6px;
  padding: 0.55rem 0.6rem;
  font: inherit;
  background: #fff;
}

.form-note {
  font-size: 0.86rem;
  margin: 0.4rem 0;
}

.form-feedback {
  font-weight: 700;
  min-height: 1.1rem;
  margin: 0;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold);
  color: #312111;
}

.site-footer {
  background: #3f2c19;
  color: #f4ebdd;
  padding: 2rem 0 1rem;
}

.site-footer a {
  color: #f6d49c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.copyright {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 8, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1000px);
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox p {
  color: #fff;
  margin: 0.75rem 0 0;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 0.7rem;
}

.lightbox-next {
  right: 0.7rem;
}

@media (min-width: 480px) {
  .equipments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .main-nav ul {
    padding: 0;
    flex-direction: row;
    gap: 1rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }

  .gallery-item img,
  .gallery-placeholder {
    height: 300px;
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .gallery-item img,
  .gallery-placeholder {
    height: 320px;
  }
}
