/* EazyStayCo — fresh layout
   Palette: paper / mist / forest / fern / stone / sky
   Type: Bricolage Grotesque (headings), Figtree (body) */

:root {
  --paper: #FAFBF9;
  --white: #FFFFFF;
  --mist: #E7EFEB;
  --forest: #1D3B33;
  --fern: #2F7A57;
  --fern-dark: #25634A;
  --stone: #5B6B66;
  --sky: #D6E6F2;
  --line: #D5E0DA;
  --radius-lg: 28px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--fern); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fern);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--stone); }
.muted { color: var(--stone); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--forest); text-decoration: none; letter-spacing: -0.03em; }
.logo span { color: var(--fern); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--forest); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover { color: var(--fern); }
.nav-toggle { display: none; background: none; border: 0; font: inherit; color: var(--forest); padding: 8px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 600 1rem var(--font-body);
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn-primary { background: var(--fern); color: var(--white); }
.btn-primary:hover { background: var(--fern-dark); }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--mist); }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.bg-mist { background: var(--mist); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest .lead, .bg-forest .muted { color: #BFD3CA; }
.bg-forest a:not(.btn) { color: #9FE0BE; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  background: var(--mist);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 40px;
  background: var(--white); border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: 0 18px 40px -18px rgba(29, 59, 51, 0.35);
  max-width: 230px; font-size: 0.95rem; line-height: 1.4;
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }

.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.facts li { background: var(--mist); border-radius: 999px; padding: 7px 15px; font-size: 0.93rem; font-weight: 500; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .hero-badge { left: 16px; bottom: -24px; }
  .hero { padding-top: 24px; }
  section { padding: 72px 0; }
}

/* ---------- Gallery strip ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 18px; margin: 0 -20px;
  scrollbar-width: thin;
}
.gallery button {
  border: 0; padding: 0; background: var(--mist); border-radius: var(--radius-md);
  overflow: hidden; scroll-snap-align: start; cursor: zoom-in; aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--forest);
  background: transparent; color: var(--forest); font-size: 1.2rem; cursor: pointer;
}
.round-btn:hover { background: var(--forest); color: var(--white); }
@media (max-width: 860px) { .gallery { grid-auto-columns: 82%; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 30, 26, 0.94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: var(--radius-sm); }
.lightbox .round-btn { position: absolute; border-color: var(--white); color: var(--white); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; color: var(--white); font-size: 0.95rem; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; list-style: none; padding: 0; margin: 0; }
.amenities li { border-top: 2px solid var(--forest); padding-top: 16px; }
.amenities h3 { margin-bottom: 6px; }
.amenities p { color: var(--stone); margin: 0; font-size: 0.98rem; }
@media (max-width: 860px) { .amenities { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.audience { list-style: none; padding: 0; margin: 0; }
.audience li { display: grid; grid-template-columns: 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.audience li:first-child { padding-top: 0; }
.audience strong { font-family: var(--font-head); font-size: 1.15rem; }
.audience span { color: var(--stone); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Corporate band ---------- */
.band { border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.band ul { list-style: none; padding: 0; margin: 0; }
.band li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.band li:last-child { border-bottom: 0; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- Guides (landing page links) ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide {
  display: block; text-decoration: none; color: var(--forest);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; transition: border-color .15s;
}
.guide:hover { border-color: var(--fern); }
.guide h3 { margin-bottom: 6px; }
.guide p { color: var(--stone); margin: 0; font-size: 0.97rem; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 9px; border-left: 2.5px solid var(--fern); border-bottom: 2.5px solid var(--fern); transform: rotate(-45deg); }
.widget-box { background: var(--white); border-radius: var(--radius-lg); padding: 24px; min-height: 420px; border: 1px solid var(--line); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--line); }
.review .stars { color: var(--fern); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 600; }
.review cite span { color: var(--stone); font-weight: 400; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.places { list-style: none; padding: 0; margin: 0; }
.places li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.places li span:last-child { color: var(--stone); text-align: right; }
.map-frame { width: 100%; aspect-ratio: 1 / 1; border: 0; border-radius: var(--radius-lg); background: var(--mist); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--stone); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--forest);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--fern); outline: none; box-shadow: 0 0 0 3px rgba(47,122,87,0.18); }
.form textarea { min-height: 130px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: 0.93rem; margin-bottom: 8px; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { font-weight: 500; margin: 0; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--fern); }
.radio-row label:has(input:checked) { border-color: var(--fern); background: #EEF7F2; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 0.93rem; }
.consent input { width: auto; margin-top: 5px; accent-color: var(--fern); }
.hidden { display: none; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }

/* ---------- Steps (corporate process) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--forest);
  font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.steps p { color: var(--stone); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Spec table (corporate) ---------- */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 42%; font-weight: 600; padding-right: 20px; }
.spec td { color: var(--stone); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 64px 0 56px; }
.page-hero .lead { max-width: 60ch; }
.crumbs { font-size: 0.92rem; color: var(--stone); margin-bottom: 18px; }
.crumbs a { color: var(--stone); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #BFD3CA; padding: 64px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer .logo { color: var(--white); }
.legal { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Form result messages ---------- */
.form-done { background: #EEF7F2; border: 1.5px solid var(--fern); border-radius: var(--radius-md); padding: 28px; color: var(--forest); }
.form-done h3 { margin-bottom: 6px; }
.form-done p { margin: 0; color: var(--stone); }
.form-error { grid-column: 1 / -1; color: #9B2C1F; font-weight: 500; margin: 4px 0 0; }
.form-error a { color: #9B2C1F; }

/* ---------- Long-stay notice ---------- */
.note { margin-top: 28px; background: var(--white); border-left: 4px solid var(--fern); border-radius: var(--radius-sm); padding: 20px 22px; }
.note h3 { margin-bottom: 6px; }
.note p { color: var(--stone); font-size: 0.98rem; margin-bottom: 14px; }
.form-hint { grid-column: 1 / -1; background: var(--sky); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; font-size: 0.95rem; }

/* ---------- Good-to-know block ---------- */
.note.know { margin-top: 48px; max-width: 760px; border-left-color: var(--forest); }
.note.know ul { margin: 0; padding-left: 20px; color: var(--stone); }
.note.know li { padding: 3px 0; }
