/* Villa Ozera - theme styles */
/* Palette from client logo (teal wreath VO) + brand price banner (cream / deep teal serif) */

:root {
  --cream: #f7f3eb;
  --cream-2: #efe8da;
  --white: #ffffff;
  --ink: #1e3a44;
  --ink-soft: #58727d;
  --teal: #2b7f97;
  --teal-dark: #175263;
  --teal-deep: #0f3d4a;
  --teal-light: #7fc4d4;
  --teal-wash: #e3eff2;
  --line: #e2d9c7;
  --shadow: 0 10px 30px rgba(23, 82, 99, .10);
  --radius: 14px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--teal-deep); }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); }

.section { padding: 72px 0; }
.section--alt { background: var(--cream-2); }
.section--white { background: var(--white); }

/* Section heading with ornament like the brand price banner */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head .orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--teal); margin-bottom: 14px; }
.sec-head .orn::before, .sec-head .orn::after { content: ""; width: 56px; height: 1px; background: var(--teal); opacity: .5; }
.sec-head .orn svg { width: 14px; height: 14px; transform: rotate(45deg); }
.sec-head .kicker { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; }

/* Icons */
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .22s;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { background: var(--teal-wash); color: var(--teal-deep); }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-deep); color: #cfe4ea; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #cfe4ea; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
.topbar-group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* ---------- Header ---------- */
.header { background: var(--cream); position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--teal-deep); letter-spacing: .04em; line-height: 1; }
.brand-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; gap: 30px; align-items: center; }
.nav-list { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--teal); transition: width .25s; }
.nav a:hover::after, .nav .current-menu-item > a::after, .nav .current_page_item > a::after { width: 100%; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--teal-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--teal-deep); }
.burger .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 61, 74, .72) 0%, rgba(15, 61, 74, .38) 55%, rgba(15, 61, 74, .15) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 640px; }
.hero .kicker { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; margin-bottom: 16px; }
.hero p { max-width: 520px; margin: 20px 0 32px; font-size: 18px; color: #e8f2f5; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip { position: relative; z-index: 2; background: var(--teal-deep); border-top: 1px solid rgba(255,255,255,.22); }
.hero-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.hero-fact { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: #fff; }
.hero-fact .icon { width: 26px; height: 26px; color: var(--teal-light); }

/* ---------- Carousel ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-slide { flex: 0 0 100%; position: relative; }
.carousel-slide img { width: 100%; height: clamp(320px, 52vw, 560px); object-fit: cover; }
.carousel-cap { position: absolute; left: 18px; bottom: 18px; max-width: min(78%, 520px); background: rgba(15, 61, 74, .74); backdrop-filter: blur(4px); color: #fff; font-weight: 600; font-size: 14.5px; padding: 10px 18px; border-radius: 10px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); color: var(--teal-deep); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 3; }
.carousel-btn:hover { background: #fff; }
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }
.carousel-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 7px; z-index: 3; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s; }
.carousel-dots button.active { background: #fff; width: 22px; border-radius: 999px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.about-grid h2 { margin-bottom: 18px; }
.about-grid p { color: var(--ink-soft); margin-bottom: 14px; }
.about-feats { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.about-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.about-feats .icon { color: var(--teal); margin-top: 2px; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos img { border-radius: var(--radius); height: 220px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.about-photos img:first-child { grid-column: 1 / -1; height: 260px; }

/* ---------- Room cards (booking-like) ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.room-card:hover { transform: translateY(-5px); }
.room-card-img { position: relative; }
.room-card-img img { height: 230px; width: 100%; object-fit: cover; }
.room-badge { position: absolute; top: 14px; left: 14px; background: rgba(15,61,74,.85); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.room-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-card-body h3 { font-size: 24px; }
.room-amen { display: flex; gap: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.room-amen span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.room-amen .icon { width: 17px; height: 17px; color: var(--teal); }
.room-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.price { line-height: 1.15; }
.price .from { font-size: 12.5px; color: var(--ink-soft); }
.price .val { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--teal-dark); }
.price .per { font-size: 12.5px; color: var(--ink-soft); }

/* Rooms list page - horizontal booking-like rows */
.room-row { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 380px 1fr auto; margin-bottom: 24px; }
.room-row-img { position: relative; }
.room-row-img img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.room-row-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.room-row-body h2, .room-row-body h3 { font-size: 25px; }
.room-row-body .desc { color: var(--ink-soft); font-size: 14.5px; }
.room-occ { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.room-occ .icon { color: var(--teal); width: 18px; height: 18px; }
.room-row-side { padding: 24px 26px; border-left: 1px dashed var(--line); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 12px; min-width: 210px; text-align: right; }

/* ---------- Pools ---------- */
.pools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pool-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.pool-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pool-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(15,61,74,.82)); }
.pool-card-body { position: relative; z-index: 2; padding: 30px; }
.pool-card-body h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.pool-card-body p { color: #dcebf0; font-size: 14.5px; max-width: 420px; }
.pool-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.pool-chip .icon { width: 16px; height: 16px; }

/* ---------- Services ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.serv-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.serv-card .icon { width: 34px; height: 34px; color: var(--teal); margin-bottom: 16px; }
.serv-card h3 { font-size: 21px; margin-bottom: 8px; }
.serv-card p { font-size: 14px; color: var(--ink-soft); }
.serv-card .note { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--teal-dark); background: var(--teal-wash); padding: 4px 12px; border-radius: 999px; }

/* ---------- Rules ---------- */
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.rule { padding: 10px; }
.rule .icon { width: 30px; height: 30px; color: var(--teal); margin: 0 auto 12px; }
.rule b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.rule span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.loc-grid iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.loc-list { margin-top: 20px; display: grid; gap: 14px; }
.loc-list li { display: flex; gap: 12px; align-items: flex-start; }
.loc-list .icon { color: var(--teal); margin-top: 3px; }
.loc-list b { display: block; font-size: 15px; }
.loc-list span { font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA / booking form ---------- */
.cta { background: linear-gradient(120deg, var(--teal-deep), var(--teal-dark)); color: #fff; }
.cta .sec-head .kicker, .cta .sec-head .orn { color: var(--teal-light); }
.cta .sec-head h2 { color: #fff; }
.cta .sec-head p { color: #cfe4ea; }
.form { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-body); font-size: 15px;
}
.form ::placeholder { color: #b9d4dc; }
.form textarea { min-height: 54px; resize: vertical; }
.form .btn { justify-self: center; min-width: 260px; }
.form-note { text-align: center; font-size: 13px; color: #b9d4dc; margin-top: 14px; }

/* Light form variant (inner pages) */
.form--light input, .form--light select, .form--light textarea { background: #fff; border-color: var(--line); color: var(--ink); }
.form--light ::placeholder { color: #93a8b0; }

/* ---------- Custom select (replaces native dropdown) ---------- */
.vo-select { position: relative; }
.vo-select select { display: none; }
.vo-select-btn {
  width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-body); font-size: 15px;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.vo-select-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.vo-select.open .vo-select-btn .icon { transform: rotate(180deg); }
.vo-select-btn.placeholder { color: #b9d4dc; }
.vo-select-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 61, 74, .28); padding: 6px; z-index: 60; max-height: 262px; overflow: auto; display: none;
}
.vo-select.open .vo-select-list { display: block; }
.vo-select-list li { padding: 10px 14px; border-radius: 8px; cursor: pointer; color: var(--ink); font-size: 14.5px; }
.vo-select-list li:hover { background: var(--teal-wash); }
.vo-select-list li.selected { background: var(--teal); color: #fff; }
.form--light .vo-select-btn { background: #fff; border-color: var(--line); color: var(--ink); }
.form--light .vo-select-btn.placeholder { color: #93a8b0; }

/* ---------- Booking popup ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 37, .7); }
.modal-box {
  position: relative; background: linear-gradient(140deg, var(--teal-deep), var(--teal-dark)); color: #fff;
  width: min(620px, 100%); border-radius: 18px; padding: 38px 34px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  max-height: 92vh; overflow: auto;
}
.modal-box h3, .modal-box .modal-title { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: #fff; font-size: 30px; text-align: center; margin-bottom: 4px; }
.modal-sub { text-align: center; color: #cfe4ea; font-size: 14px; margin-bottom: 22px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,.25); }
.modal .form { max-width: none; gap: 12px; }
.modal .form .btn { min-width: 0; width: 100%; }
body.modal-open { overflow: hidden; }

/* Mobile menu overlay */
.nav-overlay { position: fixed; inset: 0; background: rgba(15, 61, 74, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 94; }
body.menu-open .nav-overlay { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.nav .nav-book { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: #b9d4dc; padding: 56px 0 0; font-size: 14.5px; }
.footer a { color: #dcebf0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand img { background: #fff; border-radius: 50%; padding: 5px; }
.footer h4, .footer .footer-col-title { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer li { display: flex; align-items: flex-start; gap: 9px; }
.footer .icon { width: 17px; height: 17px; color: var(--teal-light); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8fb3bd; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 90px 0 70px; color: #fff; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(15, 61, 74, .62); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.breadcrumbs { display: flex; gap: 8px; font-size: 13.5px; margin-bottom: 12px; color: #b9d4dc; flex-wrap: wrap; }
.breadcrumbs a { color: #dcebf0; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Room detail ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery a { border-radius: 10px; overflow: hidden; position: relative; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .more { position: absolute; inset: 0; background: rgba(15,61,74,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }

.room-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; margin-top: 44px; }
.room-main h2 { margin-bottom: 16px; }
.room-main p { color: var(--ink-soft); margin-bottom: 14px; }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; margin: 26px 0; }
.amen-grid li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.amen-grid .icon { color: var(--teal); }
.room-note { background: var(--teal-wash); border-left: 3px solid var(--teal); border-radius: 8px; padding: 16px 20px; font-size: 14.5px; margin: 20px 0; }

.book-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 100px; }
.book-card .price { text-align: center; margin-bottom: 6px; }
.book-card .price .val { font-size: 38px; }
.book-price-rows { margin: 18px 0; border-top: 1px solid var(--line); }
.book-price-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.book-price-rows b { white-space: nowrap; }
.book-card .btn { width: 100%; }
.book-phones { margin-top: 16px; text-align: center; font-size: 14px; }
.book-phones a { display: block; font-weight: 700; font-size: 16px; margin-top: 4px; }

/* Other rooms slider strip */
.other-rooms { margin-top: 60px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10, 30, 37, .92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Contacts page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.contact-card ul { display: grid; gap: 16px; margin-top: 18px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card .icon { color: var(--teal); margin-top: 3px; }
.contact-card b { display: block; font-size: 15px; }
.contact-card span, .contact-card a.val { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .serv-grid, .rules-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .pools-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .room-row { grid-template-columns: 1fr; }
  .room-row-img img { min-height: 0; height: 240px; }
  .room-row-side { border-left: none; border-top: 1px dashed var(--line); align-items: flex-start; text-align: left; }
  .room-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .hero-strip .container { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 120px; }
}

@media (max-width: 720px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw); background: var(--cream); flex-direction: column; align-items: flex-start; padding: 86px 28px 28px; gap: 0; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 40px rgba(0,0,0,.18); z-index: 95; overflow-y: auto; }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-list li { width: 100%; }
  .nav a:not(.nav-book) { display: block; width: 100%; font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-book)::after { display: none; }
  .nav .nav-book { display: inline-flex; margin-top: 22px; width: 100%; }
  .burger { display: block; position: relative; z-index: 96; }
  .header-cta .btn { display: none; }
  .topbar { font-size: 12.5px; }
  .topbar .container { justify-content: center; min-height: 34px; }
  .topbar .topbar-label { display: none; }
  .topbar-group { gap: 14px; }
  .topbar .topbar-group:last-child { display: none; }
  .rooms-grid { grid-template-columns: 1fr; }
  .serv-grid, .rules-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery a:first-child { grid-column: 1 / -1; }
  .hero { min-height: 66vh; }
}

/* =========================================================================
 * WordPress-specific additions
 * ====================================================================== */

/* Sticky header under the admin bar */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* While the mobile menu is open the header (with the burger/close button and
 * the menu panel inside it) must sit ABOVE the dark overlay (z-index 94) -
 * the sticky header creates a stacking context at z-index 90 otherwise. */
body.menu-open .header { z-index: 96; }
body.menu-open .burger { visibility: hidden; }

/* Mobile footer: brand block and contacts full-width, the two link columns side by side */
@media (max-width: 720px) {
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Mobile header: smaller brand so the tagline stays on one line */
@media (max-width: 720px) {
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 21px; }
  .header .brand-tag { font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
}

/* Close button lives INSIDE the sliding menu panel (always reachable,
 * regardless of scroll position or header behavior) */
.nav-close { display: none; }
@media (max-width: 720px) {
  .nav-close {
    display: flex; position: absolute; top: 18px; right: 20px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--teal-deep); cursor: pointer;
    align-items: center; justify-content: center;
  }
  .nav-close:hover { background: var(--teal-wash); }
  .nav-close .icon { width: 22px; height: 22px; }
}

/* Utility classes replacing prototype inline styles */
.sec-kicker { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.page-hero-text { max-width: 560px; margin-top: 14px; color: #dcebf0; }
.cta-actions { text-align: center; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-head-slim { margin-bottom: 24px; }
.contact-title { font-size: 30px; }
.rooms-note-center { max-width: 760px; margin: 30px auto 0; }
.room-badge--inline { position: static; display: inline-block; margin-bottom: 16px; }
/* Was an H3 before, promoted to H2 for a correct heading order - keep the
 * original visual size so the page looks unchanged. */
.amen-title { margin-top: 26px; font-size: clamp(21px, 2.4vw, 27px); }
.serv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.btn--sm { padding: 10px 22px; }
.about-grid--reverse .about-copy { order: 2; }
.about-grid--reverse .about-photos { order: 1; }
.page-hero--room { padding: 70px 0 50px; }
@media (max-width: 1000px) {
  .serv-grid--3 { grid-template-columns: 1fr 1fr; }
  .about-grid--reverse .about-copy { order: 1; }
  .about-grid--reverse .about-photos { order: 2; }
}
@media (max-width: 720px) {
  .serv-grid--3 { grid-template-columns: 1fr; }
}

/* Footer menu (wp_nav_menu) */
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu li a { display: inline; }

/* Map embed: the client pastes the Google iframe as is - we size it here */
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map-wrap iframe { display: block; width: 100% !important; height: 380px !important; border: 0 !important; }
.map-wrap--tall { min-height: 420px; height: 100%; }
.map-wrap--tall iframe { height: 100% !important; min-height: 420px; }

/* Booking form holder keeps the CTA-section width */
.form-holder { max-width: 760px; margin: 0 auto; }
.modal .form-holder { max-width: none; }

/* Contact Form 7: the form body uses .cf7-grid (see setup doc) */
.cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf7-grid .full { grid-column: 1 / -1; }
.cf7-grid p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.cf7-grid input[type="text"],
.cf7-grid input[type="tel"],
.cf7-grid input[type="email"],
.cf7-grid input[type="date"],
.cf7-grid select,
.cf7-grid textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-body); font-size: 15px;
}
.cf7-grid ::placeholder { color: #b9d4dc; }
.cf7-grid textarea { min-height: 54px; resize: vertical; }
.cf7-grid input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--teal); color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .22s;
}
.cf7-grid input[type="submit"]:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.cf7-grid .vo-select-btn { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.10); color: #fff; }
.cf7-grid .vo-select-btn.placeholder { color: #b9d4dc; }
/* Date fields: mini-labels above + explicit colors (Android renders the empty
 * native date text invisible otherwise) */
.cf7-grid .wpcf7-form-control-wrap[data-name="date-in"]::before { content: "Дата заїзду"; }
.cf7-grid .wpcf7-form-control-wrap[data-name="date-out"]::before { content: "Дата виїзду"; }
.cf7-grid .wpcf7-form-control-wrap[data-name="date-in"]::before,
.cf7-grid .wpcf7-form-control-wrap[data-name="date-out"]::before {
  display: block; font-size: 12.5px; color: #b9d4dc; margin: 0 0 6px 4px; letter-spacing: .02em;
}
.cf7-grid input[type="date"] { color: #fff; min-height: 50px; -webkit-appearance: none; appearance: none; }
.cf7-grid input[type="date"]::-webkit-datetime-edit { color: #fff; }
.cf7-grid input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); opacity: .8; }

.wpcf7-not-valid-tip { font-size: 12.5px; color: #ffd7d0; margin-top: 6px; display: block; }
.wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1; margin: 10px 0 0; padding: 12px 18px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35); font-size: 14px; text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.wpcf7-spinner { display: block; margin: 8px auto 0; }

/* WP content on the generic page template */
.page-content h2, .page-content h3 { margin: 22px 0 10px; }
.page-content p { margin-bottom: 14px; color: var(--ink-soft); }
.page-content ul, .page-content ol { margin: 0 0 14px 20px; }
.page-content img { border-radius: var(--radius); }
.search-results-list { display: grid; gap: 12px; }
.search-results-list a { font-weight: 600; font-size: 17px; }

/* About text produced by WYSIWYG */
.about-grid .about-copy p, .about-grid > div > p { color: var(--ink-soft); margin-bottom: 14px; }

/* =========================================================================
 * Round 2026-07-18: sticky full header, bigger logo, about single image,
 * compact mobile rules, kitchen page
 * ====================================================================== */

/* Whole head (topbar + logo row) sticks together, desktop and mobile */
.site-head { position: sticky; top: 0; z-index: 90; }
.header { position: static; top: auto; }
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }
body.admin-bar .header { top: auto; }
body.menu-open .site-head { z-index: 96; }

/* Bigger logo (all viewports) */
.brand img { width: 80px; height: 80px; }

/* About section: one designer-map image instead of a photo grid */
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; display: block; }
.about-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; pointer-events: none; }
@media (max-width: 1000px) {
  .about-photo img { min-height: 0; height: 340px; }
}
@media (max-width: 720px) {
  .about-photo img { height: 240px; }
}

/* Rules block, mobile: icon left + text right, tighter rhythm */
@media (max-width: 720px) {
  .rules-grid { gap: 6px; }
  .rule { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; text-align: left; padding: 10px 4px; }
  .rule .icon { grid-row: 1 / 3; margin: 3px 0 0; width: 26px; height: 26px; }
  .rule b { margin-bottom: 2px; }
}

/* Kitchen page: menu cards + food gallery */
.menu-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }
.section--white .menu-card { background: var(--cream); }
.menu-card h3 { font-size: 24px; margin-bottom: 12px; }
.menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-card li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); font-weight: 600; font-size: 15.5px; }
.menu-card li:last-child { border-bottom: none; }
.menu-card li .icon { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.menu-card .price-chip { margin-top: 18px; display: inline-block; background: var(--teal-wash); color: var(--teal-dark); font-weight: 700; padding: 8px 18px; border-radius: 999px; font-size: 14px; }
.food-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.food-gallery a { border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); }
.food-gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; }
.food-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 1000px) {
  .food-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .food-gallery img { height: 150px; }
}

/* Dining-hall photo strip: horizontal scroll + lightbox */
.container--wide { max-width: 1320px; }
.hall-strip {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.hall-strip a {
  flex: 0 0 auto; width: 320px; height: 220px; border-radius: var(--radius);
  overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); display: block;
}
.hall-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hall-strip a:hover img { transform: scale(1.05); }
.hall-strip::-webkit-scrollbar { height: 8px; }
.hall-strip::-webkit-scrollbar-track { background: var(--cream-2); border-radius: 999px; }
.hall-strip::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 999px; }
.hall-strip::-webkit-scrollbar-thumb:hover { background: var(--teal); }
@media (max-width: 720px) {
  .hall-strip a { width: 240px; height: 170px; }
}

/* About block, v2: eyebrow + smaller title + checklist left, larger copy
 * right, the designer map below at its natural proportions (no cropping) */
.about-head-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.about-head-grid .about-title { font-size: clamp(25px, 2.6vw, 33px); margin: 6px 0 20px; }
.about-head-grid .about-feats { margin-top: 4px; }
.about-text p { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-map { margin-top: 46px; text-align: center; }
.about-map a { display: inline-block; cursor: zoom-in; }
.about-map img {
  display: inline-block; max-width: 100%; width: auto; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (max-width: 1000px) {
  .about-head-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-map { margin-top: 32px; }
}

/* Footer address: one flowing line (no hard break), width-capped so it reads
 * as a compact block; always links to the Google CID point */
.footer-address { display: inline-block; max-width: 240px; }
