/* ==========================================================
   Porthwenna Cottages (demo) - styles
   Re-skinning for a client? Change the colours and fonts in :root.
   ========================================================== */

:root {
  --sea: #24485a;          /* main colour: headings, header, dark sections */
  --sea-dark: #183441;
  --sea-soft: #e6eef1;
  --accent: #b5553a;       /* terracotta: booking buttons */
  --accent-hover: #9e4630;
  --sand: #f3ece1;
  --sand-2: #e8dfd0;
  --shell: #fbf8f3;        /* page background */
  --white: #ffffff;
  --ink: #22303a;
  --muted: #5a6770;
  --line: #e2dbcf;
  --star: #c98a2e;
  --booked: #d9cfc0;

  --font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(24, 52, 65, .05), 0 12px 32px rgba(24, 52, 65, .08);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--shell); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--sea); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--sea); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.22rem); color: var(--muted); }

/* ---------- Demo banner ---------- */
.demo-banner { background: var(--sea-dark); color: #d3e0e5; font-size: .84rem; line-height: 1.4; text-align: center; padding: 8px 16px; }
.demo-banner a { color: var(--white); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 26px; border: 1.5px solid transparent; border-radius: 999px;
  font: 500 1rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 19px; height: 19px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); color: var(--white); }
.btn-sea { background: var(--sea); color: var(--white); }
.btn-sea:hover { background: var(--sea-dark); color: var(--white); }
.btn-outline { border-color: var(--sea); color: var(--sea); background: transparent; }
.btn-outline:hover { background: var(--sea); color: var(--white); }
.btn-light { border-color: rgba(255, 255, 255, .8); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--sea); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--sea); font-weight: 500; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 243, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--sea); text-decoration: none; margin-right: auto; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 400 1.45rem/1 var(--font-head); }
.logo-sub { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sand); color: var(--sea); cursor: pointer; }
.header-cta { display: none; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--shell); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(24, 52, 65, .1); padding: 6px 20px 22px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-extra { padding-top: 16px; }
@media (min-width: 1040px) {
  .nav-toggle, .nav-extra { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav a { border: 0; padding: 6px 0; font-size: .98rem; position: relative; }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; margin-left: 14px; min-height: 46px; padding: 10px 22px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 36px); display: flex; align-items: flex-end; color: var(--white); isolation: isolate; background: var(--sea); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 52, 65, .35) 0%, rgba(24, 52, 65, .5) 45%, rgba(24, 52, 65, .8) 100%); }
@media (min-width: 900px) { .hero::before { background: linear-gradient(90deg, rgba(24, 52, 65, .72) 0%, rgba(24, 52, 65, .45) 45%, rgba(24, 52, 65, .05) 75%), linear-gradient(180deg, transparent 55%, rgba(24, 52, 65, .55) 100%); } }
.hero-inner { width: 100%; padding-top: 80px; padding-bottom: 28px; }
.hero h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lead { color: #f3f7f8; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); max-width: 42ch; margin-bottom: 28px; }

.booking-bar { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .22); padding: 18px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.booking-bar .bb-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.booking-bar label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.booking-bar input, .booking-bar select { width: 100%; min-height: 46px; padding: 9px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--shell); border: 1px solid var(--line); border-radius: 10px; }
.booking-bar .bb-property, .booking-bar .btn { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .hero-inner { padding-bottom: 56px; }
  .booking-bar { grid-template-columns: 1fr 1fr .8fr 1.2fr auto; align-items: end; padding: 16px 16px 16px 22px; }
  .booking-bar .bb-property, .booking-bar .btn { grid-column: auto; }
  .booking-bar .btn { min-height: 46px; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }
.section-sea { background: var(--sea); color: #dbe6ea; }
.section-sea h2, .section-sea h3 { color: var(--white); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-sea .section-head p:not(.eyebrow) { color: #c5d6dc; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* Fade-in (only when JS is running and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Book direct perks ---------- */
.perks-band { background: var(--sea); color: #dbe6ea; padding: 56px 0; }
.perks-band h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 8px; }
.perks-intro { display: grid; gap: 8px 40px; margin-bottom: 36px; }
.perks-intro p { margin: 0; color: #c5d6dc; max-width: 52ch; }
@media (min-width: 900px) { .perks-intro { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; } }
.perks-intro p { margin-top: 12px; }
.hamper { margin: 8px 0 0; }
.hamper img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.hamper figcaption { font-size: .9rem; color: #c5d6dc; margin-top: 8px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.perk { padding: 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.perk .icon { width: 30px; height: 30px; color: #f0b49c; margin-bottom: 12px; }
.perk strong { display: block; color: var(--white); font-weight: 500; font-size: 1.05rem; margin-bottom: 4px; line-height: 1.3; }
.perk span { font-size: .93rem; color: #c5d6dc; line-height: 1.5; display: block; }

/* ---------- Cottage cards ---------- */
.cottage-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .cottage-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.cottage-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cottage-card-img { display: block; overflow: hidden; }
.cottage-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s ease; }
.cottage-card:hover .cottage-card-img img { transform: scale(1.03); }
.cottage-card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.cottage-card h3 { font-size: clamp(1.7rem, 3.4vw, 2.1rem); margin-bottom: 4px; }
.cottage-card h3 a { color: inherit; text-decoration: none; }
.cottage-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.cottage-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cottage-meta .icon { width: 18px; height: 18px; }
.features { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.features li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: .88rem; color: var(--sea); }
.features .icon { width: 17px; height: 17px; }
.cottage-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-from { font-size: .9rem; color: var(--muted); line-height: 1.2; }
.price-from strong { display: block; font: 400 1.9rem/1.1 var(--font-head); color: var(--sea); }

/* ---------- Experience blocks ---------- */
.exp { display: grid; gap: 26px; align-items: center; margin-bottom: 56px; }
.exp:last-child { margin-bottom: 0; }
.exp img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.exp-text p { color: var(--muted); }
.exp-num { font: 400 1rem/1 var(--font-head); color: var(--accent); margin-bottom: 10px; display: block; }
@media (min-width: 900px) {
  .exp { grid-template-columns: 1.25fr 1fr; gap: 64px; margin-bottom: 90px; }
  .exp.flip .exp-media { order: 2; }
  .exp-text { max-width: 440px; }
}

/* ---------- Reviews ---------- */
.demo-label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: #f6e3da; color: #7d3420; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.demo-note { font-size: .93rem !important; color: var(--muted); }
.reviews { display: grid; gap: 18px; }
@media (min-width: 700px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: var(--star); margin-bottom: 14px; }
.stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0 0 20px; flex: 1; font-size: 1.04rem; }
.review blockquote p { margin: 0; }
.review figcaption { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.review figcaption strong { color: var(--sea); font-weight: 600; display: block; }

/* ---------- Guide cards ---------- */
.guide-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.guide-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; aspect-ratio: 3 / 4; isolation: isolate; }
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; }
.guide-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(24, 52, 65, .85)); }
.guide-card:hover img { transform: scale(1.05); }
.guide-card span { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.guide-card strong { display: block; font: 400 clamp(1.2rem, 2.6vw, 1.5rem)/1.2 var(--font-head); }
.guide-card small { font-size: .88rem; opacity: .9; }

/* ---------- Map ---------- */
.map-layout { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .map-layout { grid-template-columns: 1fr 1.4fr; gap: 56px; } }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sea-soft); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }
.travel { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.travel li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.travel .icon { color: var(--accent); margin-top: 3px; }

/* ---------- Hosts ---------- */
.hosts { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hosts { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.photo-placeholder { display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); background: repeating-linear-gradient(45deg, var(--sand) 0 14px, var(--sand-2) 14px 28px); border: 1.5px dashed #c4b59e; color: var(--sea); padding: 24px; width: 100%; max-width: 300px; margin: 0 auto; }
@media (min-width: 900px) { .photo-placeholder { max-width: 420px; margin: 0; } }
.photo-placeholder .icon { width: 44px; height: 44px; margin: 0 auto 10px; }
.hosts-text p:not(.eyebrow):not(.signature) { color: var(--muted); }
.signature { font: 400 1.6rem/1 var(--font-head); color: var(--sea); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 500; color: var(--sea); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform .3s; color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 2px 22px; color: var(--muted); max-width: 68ch; }

/* ---------- Enquiry form ---------- */
.enquire { display: grid; gap: 36px; }
@media (min-width: 1000px) { .enquire { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.enquire-intro p:not(.eyebrow) { color: #c5d6dc; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); text-decoration: none; font-size: 1.05rem; word-break: break-word; transition: background-color .25s; }
.contact-list a:hover { background: rgba(255, 255, 255, .08); }
.contact-list .icon { color: #f0b49c; }
.contact-list small { display: block; font-size: .82rem; color: #a9c0c8; }
.form-card { background: var(--white); color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
@media (min-width: 600px) { .form-card { padding: 34px; } }
.section-sea .form-card h3 { color: var(--sea); }
.field { margin-bottom: 16px; min-width: 0; }
.grid-2, .grid-3 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3.always { grid-template-columns: repeat(3, 1fr); }
.field label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--sea); font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--shell); border: 1px solid #c9bfae; border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2324485a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(36, 72, 90, .18); background: var(--white); }
.field-note { font-size: .88rem; color: var(--accent-hover); margin: -6px 0 14px; }
.field-note:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-small { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.form-error { color: #b3261e; font-weight: 500; margin: 12px 0 0; }
.form-error:empty { display: none; }
.confirm { text-align: center; padding: 30px 6px; }
.confirm .icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--accent); stroke-width: 1.3; }
.confirm p { color: var(--muted); }
.confirm-summary { display: inline-block; text-align: left; background: var(--sand); border-radius: 10px; padding: 12px 18px; margin: 4px 0 16px; font-size: .95rem; color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); padding: 64px 0; }
.newsletter-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .newsletter-inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.newsletter h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.newsletter p { color: var(--muted); margin: 0; }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-row input[type="email"] { flex: 1 1 220px; min-height: 50px; padding: 11px 16px; font: inherit; border: 1px solid #c9bfae; border-radius: 999px; background: var(--white); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--sea); }
.nl-done { font-weight: 500; color: var(--sea); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-dark); color: #b8cad1; font-size: .95rem; padding: 64px 0 28px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { font: 600 .82rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo { color: var(--white); margin-bottom: 16px; }
.footer-logo .logo-sub { color: #b8cad1; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 248, 243, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(24, 52, 65, .1); }
.mobile-bar .btn { flex: 1; min-height: 50px; }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: none; border-radius: 50%; border: 1.5px solid var(--sea); color: var(--sea); }
.site-footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); }
@media (min-width: 1040px) { .mobile-bar { display: none; } .site-footer { padding-bottom: 28px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: var(--white); isolation: isolate; padding: 110px 0 56px; background: var(--sea); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 52, 65, .2), rgba(24, 52, 65, .75)); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #eef3f5; max-width: 48ch; }
.page-hero.plain { padding: 64px 0 44px; }
.page-hero.plain::before { display: none; }
.breadcrumb { font-size: .9rem; margin-bottom: 10px; color: #dbe6ea; }
.breadcrumb a { color: var(--white); }

/* ---------- Cottage page ---------- */
.cottage-title { padding: 36px 0 22px; }
.cottage-title h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 6px; }
.cottage-title .lead { margin: 0; }
.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; display: none; overflow: hidden; }
.gallery .g-main, .gallery .g-thumb { display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(.95); }
.gallery .g-main { grid-column: 1 / -1; }
.gallery .g-main img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 520px; }
  .gallery .g-main { grid-column: 1; grid-row: 1 / span 2; }
  .gallery img, .gallery .g-main img { aspect-ratio: auto; }
  .gallery .g-extra { display: block; }
  .gallery .g-thumb, .gallery .g-extra { min-height: 0; }
}
.gallery .gallery-all { display: inline-flex; position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .95); color: var(--sea); font: 500 .92rem var(--font-body); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }

.facts { list-style: none; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.facts li { display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.facts .icon { color: var(--accent); width: 26px; height: 26px; }
.facts strong { display: block; font-weight: 600; color: var(--sea); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .88rem; line-height: 1.2; }

.cottage-layout { display: grid; gap: 40px; padding: 48px 0 80px; }
.cottage-layout > * { min-width: 0; }
@media (min-width: 1040px) { .cottage-layout { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; } }
.cottage-main > section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.cottage-main > section:last-child { border-bottom: 0; margin-bottom: 0; }
.cottage-main h2 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
.cottage-main p { color: var(--muted); }
.rooms { display: grid; gap: 14px; }
@media (min-width: 640px) { .rooms { grid-template-columns: 1fr 1fr; } }
.room { background: var(--white); border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); }
.room h4 { margin-bottom: 4px; color: var(--sea); }
.room p { margin: 0; font-size: .95rem; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 20px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenities li { display: flex; align-items: center; gap: 10px; font-size: .97rem; }
.amenities .icon { color: var(--sea); }
.rules { padding-left: 1.2em; color: var(--muted); }
.rules li { margin-bottom: 6px; }

.book-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.book-card .price-from strong { font-size: 2.3rem; }
.book-card ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; font-size: .95rem; color: var(--muted); }
.book-card li { display: flex; gap: 8px; align-items: center; }
.book-card li .icon { color: var(--accent); width: 18px; height: 18px; }
.book-card .btn { width: 100%; }
.book-card .contact-mini { display: flex; gap: 10px; margin-top: 12px; }
.book-card .contact-mini a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--sea); text-decoration: none; font-size: .92rem; }
@media (max-width: 1039px) { .book-card { position: static; } }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--sea); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.calendar { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .calendar { grid-template-columns: 1fr 1fr; } }
.month { background: var(--white); border-radius: 12px; border: 1px solid var(--line); padding: 16px; }
.month h3 { font: 600 1rem/1.2 var(--font-body); text-align: center; margin: 0 0 12px; color: var(--sea); }
.month table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.month th { font-size: .74rem; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.month td { padding: 2px; text-align: center; }
.day { display: grid; place-items: center; height: 38px; border-radius: 8px; font-size: .9rem; }
.day.available { background: var(--sea-soft); color: var(--sea); font-weight: 500; }
.day.booked { background: var(--booked); color: #8a7d6a; text-decoration: line-through; }
.day.changeover { background: linear-gradient(135deg, var(--booked) 50%, var(--sea-soft) 50%); color: var(--sea); font-weight: 500; }
.day.past { color: #b9b1a5; }
.cal-key { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.cal-key li { display: flex; align-items: center; gap: 8px; }
.cal-key .day { width: 22px; height: 22px; border-radius: 5px; }

/* Prices table */
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 560px) { .price-table th, .price-table td { padding: 11px 9px; font-size: .9rem; } .price-table thead th { font-size: .72rem; letter-spacing: .04em; } .price-table td.rate { font-size: 1.1rem; } }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
.price-table thead th { background: var(--sea); color: var(--white); font-weight: 500; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.price-table tbody th { font-weight: 600; color: var(--sea); }
.price-table td.rate { font: 400 1.25rem/1 var(--font-head); color: var(--sea); white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-note { font-size: .93rem; margin-top: 14px; }

.other-cottage { display: grid; gap: 0; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 80px; }
@media (min-width: 800px) { .other-cottage { grid-template-columns: 1fr 1fr; } }
.other-cottage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.other-cottage div { padding: 32px; align-self: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(15, 30, 38, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 0 20px; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-stage img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .25s ease; }
.lb-caption { color: #dbe6ea; font-size: .95rem; padding: 14px 20px 0; text-align: center; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 22px; left: 20px; color: #dbe6ea; font-size: .9rem; }
@media (max-width: 640px) { .lb-prev, .lb-next { display: none; } }

/* ---------- Local guide & policies ---------- */
.guide-section { display: grid; gap: 28px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.guide-section:last-of-type { border-bottom: 0; }
@media (min-width: 900px) { .guide-section { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } .guide-section.flip .gs-media { order: 2; } }
.gs-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tips li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.tips h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tips p { margin: 0; color: var(--muted); font-size: .97rem; }
.tip-box { display: flex; gap: 12px; align-items: flex-start; background: var(--sand); border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-size: .95rem; }
.tip-box .icon { color: var(--accent); margin-top: 2px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.jump a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: var(--white); text-decoration: none; font-size: .92rem; }
.jump a:hover { background: rgba(255, 255, 255, .26); }

.policy { padding-top: 56px; padding-bottom: 80px; }
.policy h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 1.6em; }
.policy h2:first-of-type { margin-top: 0; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: 6px; }
.policy p, .policy li { color: #3f4c55; }
.policy-note { background: #f6e3da; color: #5b2616; border-radius: 12px; padding: 14px 18px; margin-bottom: 32px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
