/* Dragonfly Villas – site styles */

:root {
  --ink: #0E1418;        /* page background */
  --panel: #1C2A33;      /* raised sections, cards, forms */
  --photo: #3A434A;      /* photo placeholder */
  --line: #3E5563;       /* borders, dividers */
  --text: #E9E4DC;
  --muted: #9AA7AF;
  --soft: #C5CDD2;
  --lede: #D3D9DC;
  --gold: #B89968;
  --gold-hover: #C9B391;

  --serif: 'Gilda Display', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, p { margin: 0; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Layout ---------- */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.section { padding: 120px 0; }
.section--panel { background: var(--panel); }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--sm { gap: 14px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split > * { min-width: 0; }
.split__text { flex: 1 1 420px; }
.split__media { flex: 1 1 380px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { max-width: 680px; }

/* sidebar layout used by forms and villa detail */
.with-aside { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.with-aside > * { min-width: 0; }
.with-aside__main { flex: 999 1 560px; }
.with-aside__side { flex: 1 1 320px; }

/* ---------- Type ---------- */

.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.1; }
.h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.15; }
.h3 { font-size: 22px; }

.lede { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 620px; }
.body { font-size: 17px; line-height: 1.75; color: var(--muted); }
.small { font-size: 15px; line-height: 1.7; color: var(--muted); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn--line { border-color: var(--text); color: var(--text); background: transparent; }
.btn--line:hover { background: var(--text); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; letter-spacing: 0.14em; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); padding: 12px 0;
}
.link-arrow:hover { color: var(--gold-hover); }

.tag { font-size: 13px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; }
.tag--sm { font-size: 12px; padding: 6px 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* toggle chips used for filters and villa tabs */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 2px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
a.chip { display: inline-flex; align-items: center; }
a.chip[aria-current="page"]:hover { color: var(--ink); }

/* ---------- Photos / placeholders ---------- */

/* .ph is a photo frame. Drop an <img> inside and it fills the frame;
   until then it shows the label text as a placeholder. */
.ph {
  position: relative; overflow: hidden;
  background: var(--photo); color: var(--soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em;
  padding: 0; border: 0;
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
button.ph, a.ph { cursor: zoom-in; }
a.ph { cursor: pointer; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--16x10 { aspect-ratio: 16 / 10; }
.ph--16x9 { aspect-ratio: 16 / 9; }

.ph__tag {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); background: rgba(14, 20, 24, 0.7); padding: 6px 10px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); border-bottom: 1px solid var(--panel);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(14, 20, 24, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(184, 153, 104, 0.45);
}
.site-nav {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  transition: padding 0.35s ease;
}
.is-scrolled .site-nav { padding-top: 8px; padding-bottom: 8px; }
.site-nav__logo img { height: 52px; width: auto; transition: height 0.35s ease; }
.is-scrolled .site-nav__logo img { height: 40px; }
.site-nav__links {
  flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-nav__links a { padding: 12px 0; }
.site-nav__links a[aria-current="page"] { color: var(--gold); }
.site-nav__links .btn { margin-left: auto; min-height: 44px; padding: 0 24px; letter-spacing: 0.14em; }

/* ---------- Page heroes ---------- */

.page-hero {
  position: relative; height: 460px; background: var(--photo);
  display: flex; align-items: flex-end;
}
.page-hero--tall { height: 560px; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(14, 20, 24, 0.5); }
.page-hero__note {
  position: absolute; top: 20px; right: 24px; z-index: 1;
  font-size: 12px; letter-spacing: 0.08em; color: var(--soft);
  background: rgba(14, 20, 24, 0.6); padding: 6px 10px;
}
.page-hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.page-hero--tall .page-hero__inner { padding-bottom: 80px; }
.page-hero .lede { color: var(--lede); }

.page-intro { padding-top: 96px; padding-bottom: 56px; }
.page-intro--center { text-align: center; }
.page-intro--center .stack { align-items: center; }

/* ---------- Home slider ---------- */

.slider { position: relative; height: 760px; background: var(--photo); overflow: hidden; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.slider__slide.is-active { opacity: 1; }
.slider__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* darker towards the bottom, where the caption sits, so text stays readable on bright photos */
.slider::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 20, 24, 0.85) 0%, rgba(14, 20, 24, 0.45) 45%, rgba(14, 20, 24, 0.15) 100%);
}
.slider__caption { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.slider__note {
  position: absolute; top: 24px; right: 32px; z-index: 2;
  font-size: 12px; color: var(--soft); background: rgba(14, 20, 24, 0.6); padding: 6px 10px;
}
.slider__caption {
  position: absolute; left: 80px; right: 440px; bottom: 150px; z-index: 2; max-width: 700px;
  display: flex; flex-direction: column; gap: 20px;
}
.slider__title { font-size: 64px; line-height: 1.08; }
.slider__next {
  position: absolute; right: 80px; bottom: 150px; z-index: 2; width: 300px; padding: 0;
  border: 1px solid rgba(233, 228, 220, 0.35); background: rgba(14, 20, 24, 0.72);
  cursor: pointer; display: flex; text-align: left; font-family: var(--sans); color: var(--text);
}
.slider__next:hover { border-color: var(--gold); }
.slider__next-thumb {
  flex: 0 0 96px; height: 96px; background: #2A3238;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--soft);
}
.slider__next-body { flex: 1 1 auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.slider__next-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.slider__next-title { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.slider__bars {
  position: absolute; left: 80px; right: 80px; bottom: 48px; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.slider__bar {
  min-height: 44px; padding: 14px 0 0; border: 0; border-top: 2px solid rgba(233, 228, 220, 0.35);
  background: transparent; cursor: pointer; text-align: left; font-family: var(--sans);
  display: flex; gap: 12px; color: var(--soft);
}
.slider__bar[aria-pressed="true"] { border-top-color: var(--gold); color: var(--text); }
.slider__bar-num { font-size: 12px; }
.slider__bar-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .slider { height: 640px; }
  .slider__next { display: none; }
  .slider__caption { left: 24px; right: 24px; bottom: 120px; }
  .slider__title { font-size: 40px; }
  .slider__bars { left: 24px; right: 24px; gap: 12px; }
  .slider__bar-label { display: none; }
}

/* ---------- Stats, facts, features ---------- */

.stats { display: flex; flex-wrap: wrap; gap: 32px; padding: 8px 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--serif); font-size: 30px; color: var(--gold); }
.stat__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 32px; }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 8px 0; }
.facts--detail { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px 24px; }
.fact { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.fact__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.fact__value { font-size: 16px; }
.facts--2 .fact, .facts--detail .fact { gap: 2px; padding-top: 10px; }
.facts--2 .fact__label, .facts--detail .fact__label { font-size: 11px; color: var(--muted); }
.facts--2 .fact__value { font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; }
.feature { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.service { background: var(--panel); padding: 32px; display: flex; flex-direction: column; gap: 14px; }

.checklist {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 32px; font-size: 15px;
}
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist li::before {
  content: ""; flex: 0 0 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B89968' stroke-width='2'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.3; }

/* ---------- Villa cards (home) & rows (villas page) ---------- */

.villa-card { background: var(--ink); display: flex; flex-direction: column; }
.villa-card__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.villa-card__meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.villa-card__title { font-size: 26px; line-height: 1.2; }
.villa-card .link-arrow { margin-top: auto; }

.villa-rows { display: flex; flex-direction: column; gap: 100px; padding-top: 100px; padding-bottom: 40px; }
.villa-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.villa-row:nth-child(even) { flex-direction: row-reverse; }
.villa-row > * { min-width: 0; }
.villa-row__media { flex: 1 1 460px; }
.villa-row__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.villa-row__title { font-size: 36px; line-height: 1.15; }

.panel-box { background: var(--panel); padding: 48px; display: flex; flex-direction: column; gap: 28px; }

/* ---------- Guest reviews (home) ---------- */

.reviews__notice {
  font-size: 13px; color: var(--muted); border: 1px dashed var(--line); padding: 12px 16px; border-radius: 2px;
}
/* score badges (home) */
.score-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.score-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 36px 24px 30px; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.score-badge:hover { border-color: var(--gold); background: var(--panel); color: var(--text); }
.score-badge__name { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.score-badge__score { font-family: var(--serif); font-size: 64px; line-height: 1.05; }
.score-badge__score small { font-family: var(--sans); font-size: 18px; color: var(--muted); }
.score-badge__stars { font-size: 18px; letter-spacing: 3px; color: var(--gold); }
.score-badge__label { font-size: 14px; color: var(--soft); }
.score-badge__link { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* score strip (every footer) */
.site-footer__badges {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--panel);
}
.site-footer__badges-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.footer-badge {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 10px 14px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 2px; font-size: 13px; color: var(--soft); transition: border-color 0.25s ease;
}
.footer-badge strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--gold); }
.footer-badge small { font-size: 12px; color: var(--muted); margin-left: -4px; }
.footer-badge:hover { border-color: var(--gold); color: var(--text); }

.reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review { background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__stars { display: inline-flex; gap: 2px; font-size: 16px; color: var(--line); }
.review__stars .is-on { color: var(--gold); }
.review__source { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.review__title { font-size: 21px; line-height: 1.3; }
.review__text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.review__text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.review__author { color: var(--text); font-weight: 600; }
.review .link-arrow { padding: 4px 0; font-size: 12px; }

/* ---------- Photos page ---------- */

.photo-filters { border-bottom: 1px solid var(--panel); padding-bottom: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.photo-grid .ph { width: 100%; }
.ph[hidden] { display: none; } /* .ph sets display: flex, which would otherwise override the hidden attribute (photo filter, extra villa thumbnails) */

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 12, 15, 0.96);
  display: flex; flex-direction: column; gap: 16px; padding: 20px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox__count { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lightbox__stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lightbox__frame { flex: 1 1 auto; max-width: 1200px; max-height: 100%; aspect-ratio: 4 / 3; font-size: 14px; cursor: default; }
.lightbox__frame > img { object-fit: contain; background: var(--ink); }
.lightbox__frame .ph__tag { left: 20px; bottom: 20px; font-size: 13px; padding: 8px 12px; }
.icon-btn {
  flex: 0 0 auto; width: 48px; height: 48px;
  border: 1px solid var(--muted); background: transparent; color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn--round { width: 56px; height: 56px; border-radius: 50%; background: rgba(14, 20, 24, 0.6); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-btn--round svg { width: 22px; height: 22px; }

/* ---------- Villa detail ---------- */

.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--text); }

.villa-hero { width: 100%; aspect-ratio: 16 / 7; }
.villa-hero__all {
  position: absolute; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 10px 14px; border-radius: 2px;
}
.villa-hero__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.villa-hero .ph__tag { left: 16px; bottom: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.thumbs .ph__tag {
  left: 4px; right: 4px; bottom: 4px; font-size: 9px; letter-spacing: 0.08em; padding: 3px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left;
}
.thumbs__more {
  position: absolute; inset: 0; background: rgba(14, 20, 24, 0.72);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; color: var(--text);
}

.book-box { background: var(--panel); padding: 32px; display: flex; flex-direction: column; gap: 18px; flex: 1 1 300px; }
.or { text-align: center; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Forms ---------- */

.form { background: var(--panel); padding: 40px; display: flex; flex-direction: column; gap: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 24px; }
.form-grid--narrow { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px 24px; }
.form-grid--options { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.span-all { grid-column: 1 / -1; }
.field-row { display: flex; gap: 16px; }
.field-row > * { flex: 1 1 0; min-width: 0; }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset + fieldset, .form__divider { padding-top: 28px; border-top: 1px solid var(--line); }
legend { padding: 0 0 18px; font-family: var(--serif); font-size: 26px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.input {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); font-family: var(--sans); font-size: 15px;
  color-scheme: dark;
}
.input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea.input { padding: 14px; line-height: 1.6; resize: vertical; }
input[type="date"].input, input[type="time"].input { cursor: pointer; }
.phone-input { display: flex; gap: 8px; }
.phone-input select { flex: 0 0 130px; width: 130px; padding: 0 10px; }
.phone-input input { flex: 1 1 auto; min-width: 0; }

.option {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 2px; font-size: 15px;
}
.option input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.option label { flex-grow: 1; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--soft); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--gold); }

.upload { display: flex; flex-direction: column; gap: 10px; border: 1px dashed var(--line); padding: 20px; border-radius: 2px; }
.upload input { font-family: var(--sans); font-size: 14px; color: var(--muted); color-scheme: dark; max-width: 100%; }
.upload input::file-selector-button {
  margin-right: 14px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  font: 700 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
}

/* Spam trap: a field people never see; send.php drops any form where it is filled in */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Cookie consent banner (js/analytics.js) */
.cookie-banner {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  background: var(--panel); border: 1px solid var(--line); padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); font-size: 14px; line-height: 1.6; color: var(--soft);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; }
.cookie-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--gold-hover); }
.cookie-banner__buttons { display: flex; gap: 12px; }

/* Sending result (js/main.js) */
.form-status { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.form-status--error { color: #E8A29A; }
.form-done { display: flex; flex-direction: column; gap: 16px; padding: 44px; background: var(--panel); border-left: 3px solid var(--gold); align-self: start; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); }

/* contact column beside forms */
.contact-list { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-item__big { font-family: var(--serif); font-size: 26px; }
.contact-item__email { font-family: var(--serif); font-size: 24px; word-break: break-all; }
.contact-item address { font-style: normal; font-size: 16px; line-height: 1.6; }
.contact-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.contact-photo--square img { aspect-ratio: 1 / 1; }
.contact-photo figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); }

.map { position: relative; height: 480px; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg); }
.map .btn { position: absolute; left: 24px; bottom: 24px; background: var(--ink); }

/* ---------- Article (Santorini) ---------- */

.article { display: flex; flex-direction: column; gap: 56px; padding: 100px 24px 120px; }
.article h2 { font-size: 36px; line-height: 1.2; }
.article .body { line-height: 1.85; }
.article .feature { gap: 8px; padding-top: 16px; }
.article .feature h3 { font-size: 21px; }
.callout { background: var(--panel); padding: 44px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Legal (privacy policy) ---------- */

.legal { display: flex; flex-direction: column; gap: 18px; padding-bottom: 120px; }
.legal h2 { font-size: 28px; line-height: 1.25; padding-top: 16px; }
.legal .body { font-size: 16px; line-height: 1.8; }
.legal__list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.legal__list strong { color: var(--text); font-weight: 600; }
.legal a, .form-note a, .consent a, .site-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal a { color: var(--gold); }
.legal a:hover, .form-note a:hover, .consent a:hover, .site-footer__legal a:hover { color: var(--gold-hover); }

/* ---------- FAQ ---------- */

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--gold); transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__q { font-size: 24px; line-height: 1.3; }
.faq__item summary:hover .faq__q { color: var(--gold); }
.faq__a { padding: 0 40px 28px 0; font-size: 16px; line-height: 1.75; color: var(--muted); }
.faq__a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--panel); }
.site-footer__grid {
  padding-top: 72px; padding-bottom: 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__col--brand { gap: 14px; }
.site-footer__col--brand img { height: 64px; width: auto; align-self: flex-start; }
.site-footer__col--cta { gap: 14px; align-items: flex-start; }
.site-footer__col--cta .btn { min-width: 220px; min-height: 44px; }
.site-footer__col--cta .or { width: 220px; }
.site-footer .muted { color: var(--muted); line-height: 1.6; }
.site-footer address { font-style: normal; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); transition: all 0.25s ease;
}
.social-icon:hover { background: var(--text); border-color: var(--text); color: var(--ink); }
.social-icon svg { display: block; }
.site-footer__legal { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--panel); font-size: 13px; color: var(--muted); }
