/* =========================================================
   The Briery - Boutique Hotel Stylesheet
   ========================================================= */

:root {
    --green:        #2f4a3c;
    --green-dark:   #23362b;
    --green-light:  #466b57;
    --gold:         #b08d57;
    --gold-light:   #c9a878;
    --cream:        #f7f3ec;
    --cream-dark:   #efe7d8;
    --ink:          #1f2922;
    --muted:        #6b7670;
    --line:         #e3dccf;
    --white:        #ffffff;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --container:    1200px;
    --radius:       6px;
    --radius-lg:    18px;
    --shadow-sm:    0 2px 10px rgba(31,41,34,.06);
    --shadow:       0 14px 40px rgba(31,41,34,.12);
    --shadow-lg:    0 30px 70px rgba(31,41,34,.18);
    --transition:   .35s cubic-bezier(.4,.0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--green-dark); margin: 0 0 .5em; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

svg { display: inline-block; vertical-align: middle; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--cream  { background: var(--cream); }
.section--green  { background: var(--green-dark); color: #dfe7e1; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__eyebrow {
    font-family: var(--font-body); font-weight: 500; font-size: 13px;
    letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.section__eyebrow::before, .section__eyebrow::after {
    content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .6;
}
.section__title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .6rem; }
.section__lead  { font-size: 1.08rem; color: var(--muted); }
.section--green .section__lead { color: #c3d0c9; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 500; font-size: 14px;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 15px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
    cursor: pointer; transition: all var(--transition); text-align: center;
    line-height: 1; white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(176,141,87,.35); }
.btn--green { background: var(--green); color: #fff; border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 12.5px; }

/* ----- Skip link ----- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-dark); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }

/* ----- Top bar ----- */
.topbar { background: var(--green-dark); color: #cfd9d2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 42px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--gold); }
.topbar__item--hide-sm { display: inline-flex; }

/* ----- Navigation ----- */
.nav { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.98); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow var(--transition); }
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.nav__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-dark); }
.nav__brand:hover { color: var(--green-dark); }
.nav__brand-mark {
    width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--green-dark); color: var(--gold-light);
    font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .04em;
    border: 1.5px solid var(--gold);
}
.nav__brand-mark--lg { width: 54px; height: 54px; flex-basis: 54px; font-size: 22px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-text strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.nav__brand-text small { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu > li > a {
    display: inline-block; padding: 10px 14px; font-size: 14px; font-weight: 500;
    color: var(--ink); border-radius: var(--radius); letter-spacing: .03em;
}
.nav__menu > li > a:hover { color: var(--gold); }
.nav__menu > li > a.is-active { color: var(--gold); }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { padding: 13px 26px; }

.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); margin-inline: auto; transition: var(--transition); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
    position: relative; min-height: clamp(520px, 78vh, 760px);
    display: flex; align-items: center; color: #fff;
    background: linear-gradient(rgba(20,32,26,.55), rgba(20,32,26,.65)), var(--hero-image) center/cover no-repeat fixed;
    background-blend-mode: normal;
}
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(20,32,26,.45), rgba(20,32,26,.15) 60%, rgba(20,32,26,.5)); }

/* ----- Hero slider ----- */
.hero--slider { background: var(--green-dark, #14201a); }
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide {
    position: absolute; inset: 0;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; transform: scale(1.06);
    transition: opacity 1.4s ease, transform 7s ease;
    will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero--slider .hero__overlay { background: linear-gradient(rgba(20,32,26,.5), rgba(20,32,26,.62)); }
.hero__dots { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.45); transition: background .25s, transform .25s; }
.hero__dot:hover { background: rgba(255,255,255,.7); }
.hero__dot.is-active { background: var(--gold-light, #c9a86a); transform: scale(1.25); }
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 90px 24px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; color: #fff; margin-bottom: .35em; letter-spacing: .01em; }
.hero__subtitle { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,.92); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 22px; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold-light); }
.crumbs__current { color: #fff; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:26px} 100%{opacity:0} }

/* ----- Intro split ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media--double img { aspect-ratio: 4/5; }
.split__badge {
    position: absolute; bottom: -26px; left: -26px; background: var(--cream);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 22px 26px; box-shadow: var(--shadow); text-align: center; max-width: 200px;
}
.split__badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.split__badge span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ----- Amenities grid ----- */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenity {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 24px; text-align: center; transition: all var(--transition);
}
.amenity:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.amenity__icon { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--cream); color: var(--green); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.amenity:hover .amenity__icon { background: var(--green-dark); color: var(--gold-light); }
.amenity h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.amenity p { font-size: 14px; color: var(--muted); margin: 0; }

/* ----- Room cards ----- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.room-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all var(--transition);
    display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-card__media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card__media img { transform: scale(1.06); }
.room-card__tag {
    position: absolute; top: 14px; left: 14px; background: rgba(47,74,60,.92); color: #fff;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 13px; border-radius: 50px;
}
.room-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.room-card__title { font-size: 1.55rem; margin-bottom: 6px; }
.room-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.room-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-card__desc { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.room-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.room-card__price strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-dark); }
.room-card__price small { display: block; font-size: 12px; color: var(--muted); }

/* ----- Feature list / check list ----- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checklist li::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: var(--green); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20 6 9 17l-5-5'/></svg>") center/14px no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20 6 9 17l-5-5'/></svg>") center/14px no-repeat; }
.section--green .checklist li::before { background: var(--gold); }

/* ----- Room detail ----- */
.room-detail__gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-bottom: 48px; }
.room-detail__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); }
.room-detail__gallery img:hover { opacity: .88; }
.room-detail__gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }
.room-detail__layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.room-detail__facts {
    background: var(--cream); border-radius: var(--radius-lg); padding: 30px;
    position: sticky; top: 110px; border: 1px solid var(--line);
}
.room-detail__facts h3 { font-size: 1.4rem; }
.room-detail__facts dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; margin: 18px 0 24px; }
.room-detail__facts dt { color: var(--muted); font-size: 14px; }
.room-detail__facts dd { margin: 0; font-weight: 500; }
.room-detail__price-box { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.room-detail__price-box strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); }

/* ----- Gallery ----- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-grid__item { overflow: hidden; border-radius: var(--radius); cursor: pointer; position: relative; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid__item:hover img { transform: scale(1.08); }
.gallery-grid__item::after { content: ""; position: absolute; inset: 0; background: rgba(47,74,60,0); transition: var(--transition); }
.gallery-grid__item:hover::after { background: rgba(47,74,60,.25); }
.gallery-grid__item--wide { grid-column: span 2; }
.gallery-grid__item--tall { grid-row: span 2; }

/* ----- Lightbox ----- */
.lightbox { position: fixed; inset: 0; background: rgba(20,28,24,.94); display: none; align-items: center; justify-content: center; z-index: 1100; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: #fff; cursor: pointer; width: 46px; height: 46px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox__nav:hover { background: var(--gold); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: .1em; }

/* ----- Forms ----- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.field label .req { color: #b5533a; }
.field input, .field select, .field textarea {
    font-family: var(--font-body); font-size: 15px; color: var(--ink);
    padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: #fff; transition: var(--transition); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.field--error input, .field--error select, .field--error textarea { border-color: #b5533a; }
.field__error { color: #b5533a; font-size: 12.5px; }

/* ----- Booking enquiry summary ----- */
.enquiry-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.enquiry-card h3 { margin-bottom: 6px; }
.enquiry-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.enquiry-card__row:last-of-type { border-bottom: 0; }
.enquiry-card__row span { color: var(--muted); }
.enquiry-card__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 16px; border-top: 2px solid var(--green-dark); }
.enquiry-card__total strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--green-dark); }

/* ----- Alerts ----- */
.alert { padding: 15px 20px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.alert--success { background: #e8f2ea; color: #26532b; border: 1px solid #bcd9c3; }
.alert--error { background: #f7e8e4; color: #8a3a22; border: 1px solid #e6c4b6; }
.alert svg { flex: 0 0 auto; margin-top: 2px; }

/* ----- Cards / info blocks ----- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.info-card__media { aspect-ratio: 16/10; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.info-card:hover .info-card__media img { transform: scale(1.06); }
.info-card__body { padding: 28px; }
.info-card__body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.info-card__body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.info-card__meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.info-card__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ----- Menu (dining) ----- */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 56px; }
.menu__group { margin-bottom: 8px; }
.menu__group h3 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.menu__group h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.menu__item { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.menu__item:last-child { border-bottom: 0; }
.menu__item h4 { font-family: var(--font-body); font-weight: 600; font-size: 16px; margin: 0; color: var(--ink); }
.menu__item p { font-size: 13.5px; color: var(--muted); margin: 3px 0 0; font-style: italic; }
.menu__price { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold); white-space: nowrap; }

/* ----- Testimonials ----- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; }
.testimonial__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.testimonial__quote { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin-bottom: 22px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.testimonial__author strong { display: block; font-size: 14.5px; }
.testimonial__author small { color: var(--muted); font-size: 12.5px; }

/* ----- CTA band ----- */
.cta-band { position: relative; padding: 90px 0; text-align: center; color: #fff; background: linear-gradient(rgba(20,32,26,.65), rgba(20,32,26,.75)), url('assets/images/hotel/briery-10.jpg') center/cover fixed; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.cta-band p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.cta-band .btn { margin: 6px; }

/* ----- Page intro (non-hero pages) handled by hero via crumbs ----- */

/* ----- Contact layout ----- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: 2rem; }
.contact__list { margin: 24px 0; }
.contact__list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 0; }
.contact__list .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--green-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.contact__list strong { display: block; font-size: 15px; }
.contact__list span, .contact__list a { color: var(--muted); font-size: 14.5px; }
.contact__map { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ----- Footer ----- */
.footer { background: var(--green-dark); color: #c7d2cb; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 48px; padding: 72px 24px 56px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand strong { font-family: var(--font-display); font-size: 22px; color: #fff; }
.footer__lead { font-size: 14.5px; color: #aebcb4; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #c7d2cb; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer__social a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.footer__heading { color: #fff; font-size: 1.25rem; font-family: var(--font-display); margin-bottom: 20px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { color: #aebcb4; font-size: 14.5px; }
.footer__links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; color: #aebcb4; line-height: 1.5; }
.footer__contact svg { color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.footer__contact a { color: #aebcb4; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.footer__map iframe { width: 100%; height: 170px; border: 0; display: block; filter: grayscale(.2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; color: #94a39b; }
.footer__bottom-meta { color: #94a39b; }

/* ----- Back to top ----- */
.back-to-top { position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--green-dark); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 800; box-shadow: var(--shadow); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); transform: translateY(-3px); }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .amenities { grid-template-columns: repeat(2, 1fr); }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .room-detail__layout { grid-template-columns: 1fr; }
    .room-detail__facts { position: static; }
}

@media (max-width: 860px) {
    .nav__menu {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .28s ease, transform .28s ease, visibility .28s;
        max-height: calc(100vh - 120px); overflow-y: auto;
    }
    .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav__menu > li { width: 100%; border-bottom: 1px solid var(--line); }
    .nav__menu > li > a { display: block; padding: 16px 4px; }
    .nav__cta { margin: 14px 0 0; }
    .nav__cta .btn { width: 100%; }
    .nav__toggle { display: flex; }

    .topbar__item--hide-sm { display: none; }

    .split, .contact, .form__row, .room-detail__layout { grid-template-columns: 1fr; }
    .split { gap: 36px; }
    .split__badge { left: 50%; transform: translate(-50%, 0); bottom: -22px; }

    .cards, .testimonials, .rooms-grid, .menu { grid-template-columns: 1fr; }
    .checklist { grid-template-columns: 1fr; }
    .room-detail__gallery { grid-template-columns: 1fr 1fr; }
    .room-detail__gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }

    .hero { background-attachment: scroll; }
    .cta-band { background-attachment: scroll; }
    .section { padding: 64px 0; }

    /* Prevent iOS auto-zoom on input focus (needs >=16px) */
    .field input, .field select, .field textarea { font-size: 16px; }
}

@media (max-width: 560px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .gallery-grid__item--wide { grid-column: span 2; }
    .amenities { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 36px; }
    .hero__content { padding: 70px 24px; }
    .btn { padding: 14px 24px; }
    .room-detail__gallery { grid-template-columns: 1fr; }
    .room-detail__gallery img:first-child { grid-column: auto; }

    /* Full-width hero buttons so they don't crowd on small screens */
    .hero__actions { width: 100%; }
    .hero__actions .btn { flex: 1 1 160px; text-align: center; justify-content: center; }
    .hero__dots { bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .hero, .cta-band { background-attachment: scroll; }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Design polish
   ========================================================= */

/* Visually hidden but accessible */
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Selection */
::selection { background: var(--gold); color: #fff; }
::-moz-selection { background: var(--gold); color: #fff; }

/* Visible focus for keyboard users only */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline-offset: 3px; }

/* Scroll progress indicator */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1200; transition: width .1s linear;
    box-shadow: 0 0 8px rgba(176,141,87,.6);
}

/* Decorative ornament divider */
.ornament {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    color: var(--gold); margin: 24px 0;
}
.ornament__line { display: block; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ornament svg { opacity: .85; }
.section .ornament { margin: 0 0 40px; }

/* Editorial drop cap */
.drop-cap::first-letter {
    font-family: var(--font-display); font-weight: 600;
    float: left; font-size: 3.4em; line-height: .82;
    padding: 6px 12px 0 0; color: var(--gold);
}

/* Newsletter band */
.newsletter {
    background: var(--green); color: #e8efe9;
    background-image: linear-gradient(rgba(35,54,43,.92), rgba(35,54,43,.96)),
        url('assets/images/hotel/briery-10.jpg');
    background-size: cover; background-position: center;
}
.newsletter__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 56px 24px; flex-wrap: wrap;
}
.newsletter__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.newsletter__lead { color: #c3d0c9; font-size: 15px; max-width: 460px; margin: 0; }
.newsletter__eyebrow { color: var(--gold-light); }
.newsletter .section__eyebrow { color: var(--gold-light); margin-bottom: 10px; }
.newsletter__form { flex: 1 1 360px; max-width: 480px; }
.newsletter__field { display: flex; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 50px; padding: 6px 6px 6px 18px; }
.newsletter__field input {
    flex: 1; border: 0; background: transparent; color: #fff; font-family: var(--font-body); font-size: 15px; padding: 10px 0;
}
.newsletter__field input::placeholder { color: rgba(255,255,255,.6); }
.newsletter__field input:focus { outline: none; }
.newsletter__field .btn { border-radius: 50px; }
.newsletter__msg { margin: 0 0 12px; font-size: 13.5px; }
.newsletter__msg--ok { color: #b9e0bf; }
.newsletter__msg--err { color: #f0c4b4; }

/* 404 page */
.error-code {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(6rem, 18vw, 11rem); line-height: .9;
    color: var(--green-dark); letter-spacing: .02em; margin-bottom: 8px;
    background: linear-gradient(180deg, var(--green-dark), var(--green-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Refined nav brand hover */
.nav__brand:hover .nav__brand-mark { background: var(--green); }

/* Slightly richer hero title with a soft shadow for legibility */
.hero__title { text-shadow: 0 2px 30px rgba(0,0,0,.25); }

/* =========================================================
   Print
   ========================================================= */
@media print {
    .topbar, .nav, .hero__scroll, .back-to-top, .scroll-progress,
    .newsletter, .footer__map, .footer__social, .cta-band, .lightbox { display: none !important; }
    body { color: #000; background: #fff; }
    .hero { min-height: auto; color: #000; background: #fff !important; }
    .hero__overlay { display: none; }
    .hero__title, .hero__subtitle { color: #000; text-shadow: none; }
    .hero__actions, .btn { display: none; }
    .section { padding: 18px 0; }
    a { color: #000; text-decoration: underline; }
    .section--cream, .section--green { background: #fff !important; color: #000; }
    .section--green h1, .section--green h2, .section--green h3 { color: #000; }
    .room-card, .info-card, .amenity, .testimonial { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
    .footer { background: #fff; color: #000; }
    .footer__heading, .footer__brand strong { color: #000; }
    .footer__links a, .footer__contact, .footer__lead, .footer__bottom p { color: #333; }
}

/* =========================================================
   Responsive additions
   ========================================================= */
@media (max-width: 860px) {
    .newsletter__inner { flex-direction: column; align-items: flex-start; padding: 44px 24px; }
    .newsletter__form { width: 100%; max-width: none; }
}
@media (max-width: 560px) {
    .newsletter__field { flex-direction: column; border-radius: var(--radius); padding: 14px; }
    .newsletter__field input { padding: 12px 4px; }
    .newsletter__field .btn { width: 100%; border-radius: var(--radius); }
    .ornament__line { width: 44px; }
}
