:root {
  --background: #f7f4ed;
  --surface: #ffffff;
  --primary: #254c3f;
  --primary-hover: #19382e;
  --accent: #d9c5a0;
  --text: #1f2925;
  --muted: #68716d;
  --border: #dedfd9;
  --success-background: #e7f4ec;
  --success-text: #205e3d;
  --shadow: 0 20px 60px rgba(31, 41, 37, 0.1);
}

* {
  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(--text);
  background: var(--background);
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  min-height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.logo {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.header-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  min-height: 440px;
  padding: 90px 6%;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(20, 49, 39, 0.95),
      rgba(20, 49, 39, 0.68)
    ),
    url("https://images.unsplash.com/photo-1558788353-f76d92427f16?auto=format&fit=crop&w=1800&q=85")
    center / cover;
  color: white;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 670px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.booking-section {
  padding: 70px 6%;
}

.booking-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 42px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

input[type="date"] {
  min-height: 58px;
  padding: 16px 18px;
  font-size: 1.05rem;
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 76, 63, 0.12);
}

textarea {
  resize: vertical;
}

.primary-button {
  width: 100%;
  margin-top: 28px;
  padding: 16px 22px;
  color: white;
  background: var(--primary);
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.primary-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.form-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: #fff8e8;
  border: 1px solid #f2d27a;
  border-left: 5px solid #d6a73b;
  border-radius: 10px;
  color: #6f5600;
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.5;
}

.form-message {
  margin-top: 20px;
  padding: 16px;
  color: var(--success-text);
  background: var(--success-background);
  border-radius: 11px;
  font-weight: 700;
  text-align: center;
}

footer {
  padding: 30px 6%;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .hero {
    min-height: 390px;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .booking-section {
    padding: 38px 18px;
  }

  .booking-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

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

  .full-width {
    grid-column: auto;
  }
}

#stay-dates,
.flatpickr-input {
  min-height: 58px;
  padding: 16px 18px;
  font-size: 1.05rem;
  cursor: pointer;
}

.flatpickr-calendar {
  width: 340px;
  padding: 10px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(31, 41, 37, 0.18);
}

.flatpickr-day {
  border-radius: 8px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--primary);
  border-color: var(--primary);
}

.flatpickr-day.inRange {
  background: rgba(37, 76, 63, 0.12);
  border-color: transparent;
  box-shadow:
    -5px 0 0 rgba(37, 76, 63, 0.12),
    5px 0 0 rgba(37, 76, 63, 0.12);
}

.flatpickr-day:hover {
  background: rgba(37, 76, 63, 0.1);
}