@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --pine: #29483c;
  --pine-deep: #1c352c;
  --sage: #91a38b;
  --sage-pale: #e9eee6;
  --sand: #e7ddca;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --ink: #24312b;
  --muted: #6e786f;
  --line: #e3e5dc;
  --rust: #b46e4b;
  --shadow: 0 18px 50px rgba(31, 50, 39, .10);
  --radius: 22px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--rust); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: block; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { margin: 0; color: var(--pine-deep); font-family: var(--serif); font-weight: 600; line-height: 1.14; }
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.025em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.lead { max-width: 700px; font-size: clamp(1.05rem, 1.4vw, 1.23rem); line-height: 1.8; }
.section { padding: 100px 0; }
.section--soft { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading > div { max-width: 700px; }
.section-heading p { max-width: 480px; margin-bottom: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 23px; border: 1px solid var(--pine); border-radius: 999px; background: var(--pine); color: white; font-size: .9rem; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--pine-deep); box-shadow: 0 9px 20px rgba(41,72,60,.18); }
.btn--light { background: transparent; color: var(--pine); }
.btn--light:hover { background: var(--sage-pale); box-shadow: none; }
.btn--small { min-height: 42px; padding-inline: 18px; font-size: .84rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--pine); font-weight: 700; font-size: .9rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Shared header and navigation */
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(227,229,220,.8); background: rgba(255,254,250,.94); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50% 50% 46% 46%; background: var(--pine); color: #fff; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { color: var(--pine-deep); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(13px, 2vw, 28px); }
.main-nav a { position: relative; padding: 8px 0; color: #536057; font-size: .83rem; font-weight: 600; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--rust); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--pine-deep); }
.header-cta { min-width: max-content; }
.menu-toggle { display: none; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--pine); cursor: pointer; }

/* Hero / page intro */
.hero { position: relative; display: grid; min-height: 650px; align-items: center; overflow: hidden; background: #536b58; }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,30,.72) 0%, rgba(20,40,30,.42) 48%, rgba(20,40,30,.06) 100%), url('https://images.unsplash.com/photo-1449158743715-0a90ebb6d2d8?auto=format&fit=crop&w=2200&q=88') center 54% / cover; content: ''; }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 95px 0 110px; }
.hero .eyebrow { color: #e7c7a8; }
.hero h1 { margin: 20px 0 22px; color: #fffefa; }
.hero p { max-width: 570px; color: rgba(255,254,250,.88); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero .btn--light { border-color: rgba(255,255,255,.7); color: white; }
.hero .btn--light:hover { background: rgba(255,255,255,.13); }
.hero-note { position: absolute; right: max(22px, calc((100vw - var(--container))/2)); bottom: 35px; display: flex; align-items: center; gap: 12px; color: white; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-note::before { width: 42px; height: 1px; background: rgba(255,255,255,.7); content: ''; }
.page-hero { padding: 76px 0 70px; background: var(--cream); }
.page-hero .container { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.page-hero h1 { margin-top: 13px; font-size: clamp(2.7rem, 5vw, 4.4rem); }
.page-hero p { max-width: 480px; margin-bottom: 8px; }

/* Intro statement */
.intro-split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.intro-image { position: relative; min-height: 440px; }
.intro-image img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 48% 48% 18px 18px; object-fit: cover; }
.intro-image::after { position: absolute; right: -18px; bottom: -18px; z-index: -1; width: 58%; height: 55%; border: 1px solid var(--sage); border-radius: 18px; content: ''; }
.intro-copy h2 { margin: 16px 0 22px; }
.intro-copy .lead { margin-bottom: 26px; }

/* Modular feature rows */
.feature-list { display: grid; gap: 24px; }
.feature-row { display: flex; align-items: center; gap: 32px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: .25s ease; }
.feature-row:hover { border-color: #c8d2c2; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-thumb { flex: 0 0 220px; width: 220px; height: 185px; overflow: hidden; border-radius: 50%; }
.feature-thumb img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-row:hover .feature-thumb img { transform: scale(1.06); }
.feature-icon { display: grid; flex: 0 0 74px; width: 74px; height: 74px; place-items: center; border-radius: 50%; background: var(--sage-pale); color: var(--pine); }
.feature-icon svg { width: 34px; height: 34px; }
.feature-copy { flex: 1; }
.feature-copy h3 { margin-bottom: 9px; }
.feature-copy p { max-width: 590px; margin-bottom: 12px; }
.feature-side { display: flex; flex: 0 0 74px; justify-content: center; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.photo-card img { height: 235px; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card-media { overflow: hidden; }
.photo-card-body { padding: 24px; }
.photo-card-body h3 { margin-bottom: 9px; }
.photo-card-body p { margin-bottom: 15px; font-size: .94rem; }

/* Quote band */
.quote-band { position: relative; overflow: hidden; padding: 95px 0; background: var(--pine); color: white; }
.quote-band::after { position: absolute; top: -110px; right: -50px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025); content: ''; }
.quote-band blockquote { position: relative; z-index: 1; max-width: 890px; margin: 0 auto; color: #fffefa; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.23; text-align: center; }
.quote-band blockquote::before { display: block; margin-bottom: 16px; color: #d6b492; content: '“'; font-size: 4rem; line-height: .6; }

/* Room detail cards */
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.room-card { display: grid; grid-template-columns: 43% 57%; min-height: 255px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.room-card img { height: 100%; min-height: 255px; object-fit: cover; }
.room-card-body { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.room-card-body .eyebrow { font-size: .64rem; }
.room-card-body h3 { margin: 8px 0 10px; }
.room-card-body p { margin-bottom: 0; font-size: .91rem; }
.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 25px 0 0; padding: 0; list-style: none; }
.amenity-list li { display: flex; align-items: center; gap: 10px; color: #526057; font-size: .92rem; }
.amenity-list svg { width: 18px; height: 18px; color: var(--rust); flex: 0 0 18px; }

/* Gallery */
.gallery-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.season-card { position: relative; min-height: 490px; overflow: hidden; border-radius: 26px; background: #647665; }
.season-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.season-card:hover img { transform: scale(1.045); }
.season-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,37,29,.77), transparent 66%); content: ''; }
.season-caption { position: absolute; z-index: 1; right: 32px; bottom: 28px; left: 32px; color: white; }
.season-caption span { color: #e7c7a8; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.season-caption h2 { margin-top: 8px; color: white; }

/* Map */
.map-panel { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 370px; overflow: hidden; border-radius: var(--radius); background: var(--sage-pale); }
.map-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 46px; }
.map-frame { min-height: 370px; background: #dfe6dc; }
.map-frame iframe { width: 100%; height: 100%; min-height: 370px; border: 0; }
.map-placeholder { display: grid; height: 100%; min-height: 370px; place-items: center; padding: 30px; color: var(--pine); text-align: center; }
.map-placeholder svg { width: 50px; height: 50px; margin-bottom: 12px; }

/* Contact and booking forms */
.contact-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 28px; align-items: start; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: var(--pine); color: white; }
.contact-panel h2, .contact-panel h3 { color: white; }
.contact-panel p { color: rgba(255,255,255,.75); }
.contact-line { display: flex; align-items: start; gap: 14px; margin-top: 22px; color: white; }
.contact-line svg { flex: 0 0 22px; width: 22px; height: 22px; color: #dfbd9d; }
.contact-line small { display: block; color: rgba(255,255,255,.62); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-line a, .contact-line strong { display: inline-block; margin-top: 3px; font-weight: 600; }
.form-card, .calendar-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(34,53,42,.045); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--pine-deep); font-size: .82rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #dfe3da; border-radius: 10px; outline: none; background: #fffefa; color: var(--ink); transition: border .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(145,163,139,.17); }
.form-note { margin: 14px 0 20px; color: var(--muted); font-size: .78rem; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--pine); font-size: .88rem; font-weight: 600; }

/* Calendar */
.booking-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: start; }
.calendar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.calendar-top h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.calendar-controls { display: flex; gap: 7px; }
.calendar-controls button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--pine); cursor: pointer; }
.calendar-controls button:hover { background: var(--sage-pale); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-weekday { padding: 8px 0; color: var(--muted); font-size: .72rem; font-weight: 700; text-align: center; }
.calendar-day { position: relative; display: grid; min-height: 44px; place-items: center; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-size: .86rem; cursor: pointer; }
.calendar-day:hover:not(:disabled) { border-color: var(--sage); background: var(--sage-pale); }
.calendar-day:disabled { color: #c7ccc5; cursor: not-allowed; }
.calendar-day.is-selected { background: var(--pine); color: white; }
.calendar-day.is-in-range { border-radius: 0; background: #e8eee5; color: var(--pine-deep); }
.calendar-day.is-start { border-radius: 10px 0 0 10px; background: var(--pine); color: white; }
.calendar-day.is-end { border-radius: 0 10px 10px 0; background: var(--pine); color: white; }
.calendar-day.is-start.is-end { border-radius: 10px; }
.calendar-empty { min-height: 44px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: var(--muted); font-size: .76rem; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--pine); }
.legend-dot--range { background: #e8eee5; }
.booking-summary { margin: 22px 0; padding: 17px; border-radius: 14px; background: var(--cream); }
.booking-summary p { display: flex; justify-content: space-between; gap: 15px; margin: 5px 0; font-size: .88rem; }
.booking-summary strong { color: var(--pine-deep); }
.booking-help { padding: 18px; border-left: 3px solid var(--rust); background: var(--cream); color: var(--muted); font-size: .85rem; }

/* Legal pages */
.legal-content { max-width: 850px; }
.legal-content h2 { margin: 36px 0 14px; font-size: 1.65rem; }
.legal-content h3 { margin: 25px 0 8px; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.placeholder { padding: 2px 6px; border-radius: 5px; background: #fff0dd; color: #80502e; }

/* Footer */
.site-footer { padding: 68px 0 22px; background: #1c352c; color: white; }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; padding-bottom: 48px; }
.footer-brand .brand-copy strong, .footer-brand .brand-copy small { color: white; }
.footer-brand p { max-width: 330px; margin-top: 20px; color: rgba(255,255,255,.68); }
.footer-col h4 { margin-bottom: 18px; color: #e4c4a5; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .76rem; }
.footer-bottom a { color: rgba(255,255,255,.75); }

@media (max-width: 1040px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: .76rem; }
  .header-cta { display: none; }
  .room-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 74px; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: 73px; right: 0; left: 0; display: none; padding: 12px 22px 22px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 25px rgba(25,45,33,.08); }
  .main-nav.is-open { display: grid; gap: 3px; }
  .main-nav a { padding: 11px 0; font-size: .9rem; }
  .main-nav a::after { display: none; }
  .section { padding: 76px 0; }
  .hero { min-height: 600px; }
  .intro-split, .gallery-intro, .map-panel, .contact-layout, .booking-layout { grid-template-columns: 1fr; }
  .intro-image { min-height: 380px; max-width: 580px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .map-copy { padding: 34px; }
  .map-frame, .map-placeholder { min-height: 310px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .hero { min-height: 620px; }
  .hero-content { padding: 76px 0 110px; }
  .hero-note { right: 16px; bottom: 22px; font-size: .63rem; }
  .page-hero { padding: 58px 0; }
  .page-hero .container { align-items: flex-start; flex-direction: column; gap: 16px; }
  .intro-image { min-height: 310px; }
  .feature-row, .feature-row:nth-child(even) { align-items: flex-start; flex-direction: column; gap: 17px; padding: 20px; }
  .feature-thumb { flex: none; width: 126px; height: 126px; }
  .feature-side { display: none; }
  .card-grid, .season-grid { grid-template-columns: 1fr; }
  .season-card { min-height: 390px; }
  .room-card { grid-template-columns: 1fr; }
  .room-card img { height: 220px; min-height: 0; }
  .room-card-body { padding: 22px; }
  .amenity-list, .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .contact-panel { padding: 27px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .calendar-day { min-height: 39px; font-size: .8rem; }
}

/* Server-backed booking calendar states and form protection */
.calendar-dot, .legend-dot--pending, .legend-dot--booked { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 3px; }
.legend-dot--pending { background: #d7a46c; }
.legend-dot--booked { background: #aab8aa; }
.calendar-day.is-pending:disabled { background: #f3e5d6; color: #8b603c; border-color: #e9d2bb; }
.calendar-day.is-booked:disabled { background: #e5eae4; color: #69796d; border-color: #d4ddd3; text-decoration: line-through; }
.calendar-day.is-selected:disabled { background: var(--pine); color: #fff; text-decoration: none; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-card button:disabled, .admin-login-form button:disabled { opacity: .6; cursor: wait; }
