/* ===== VILLA SICILIU — Mediterranean Modern ===== */

/* -- Fonts loaded via <link rel="preload"> in HTML head -- */

/* -- Flaticon Hotel Icons (from CozyStay theme) -- */
@font-face {
  font-family: "flaticon_hotel";
  src: url("fonts/flaticon_hotel.woff2") format("woff2"),
       url("fonts/flaticon_hotel.woff") format("woff");
  font-display: swap;
}
i[class^="flaticon-"]:before, i[class*=" flaticon-"]:before {
  font-family: flaticon_hotel !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.flaticon-car:before { content: "\f15a"; }
.flaticon-sunrise:before { content: "\f11b"; }
.flaticon-location:before { content: "\f122"; }
.flaticon-signpost:before { content: "\f11f"; }
.flaticon-destination:before { content: "\f11e"; }
.flaticon-world:before { content: "\f11d"; }

/* -- Design Tokens -- */
:root {
  /* Palette — warm sand + sea */
  --white: #FFFFFF;
  --sand-50: #FDFCFA;
  --sand-100: #F7F4F0;
  --sand-200: #EDE8E1;
  --sand-300: #D9D1C7;
  --sand-400: #B8ADA0;
  --sand-500: #8C8176;
  --sand-600: #6B6058;
  --sand-700: #4A4139;
  --sand-800: #2E2720;
  --sand-900: #1C1714;

  --sea-400: #4A9BA8;
  --sea-500: #2E8591;
  --sea-600: #1F6E79;
  --sea-700: #165560;

  --coral-400: #E07B5F;
  --coral-500: #D4644A;
  --coral-600: #B85340;

  --olive-400: #7A9B5A;
  --olive-500: #5E8040;

  --gold-400: #C9A84C;
  --gold-500: #B89530;

  /* Semantic */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --bg-card: var(--white);
  --bg-dark: var(--sand-900);
  --text: var(--sand-800);
  --text-secondary: var(--sand-600);
  --text-muted: var(--sand-500);
  --accent: var(--sea-500);
  --accent-hover: var(--sea-600);
  --terracotta: var(--coral-500); /* legacy alias for inline styles */
  --terracotta-hover: var(--coral-600);
  --olive: var(--olive-500);
  --olive-light: #EFF4EA;
  --sea: var(--sea-500);
  --sea-light: #E4F3F5;
  --gold: var(--gold-500);
  --border: var(--sand-200);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(44,39,32,0.04);
  --shadow-sm: 0 2px 8px rgba(44,39,32,0.06);
  --shadow-md: 0 8px 24px rgba(44,39,32,0.08);
  --shadow-lg: 0 16px 40px rgba(44,39,32,0.10);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --fast: 0.15s;
  --normal: 0.3s;
  --slow: 0.6s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* -- Dark Mode -- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1714;
    --bg-alt: #211e1a;
    --bg-card: #2a2520;
    --bg-dark: #0e0c0a;
    --text: #e8e2da;
    --text-secondary: #a89e94;
    --text-muted: #7a7068;
    --accent: #4ab8c7;
    --accent-hover: #5ccad9;
    --border: #3a342e;
    --sea-light: rgba(74,184,199,0.1);
    --olive-light: rgba(122,155,90,0.1);

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.35);
  }

  h1, h2, h3, h4 { color: #e8e2da; }
  .stat__number { color: #e8e2da; }
  .intro__overlay {
    background: linear-gradient(
      180deg,
      rgba(30, 28, 25, 0.88) 0%,
      rgba(30, 28, 25, 0.75) 50%,
      rgba(30, 28, 25, 0.88) 100%
    );
  }
  .stat + .stat::before { background: rgba(232,226,218,0.2); }
  .hero__title { color: #fff; }
  .gallery__header h2 { color: #e8e2da; }
  .testimonial__quote { color: #e8e2da; }
  .testimonial__dot { background: var(--border); }

  .nav--scrolled {
    background: rgba(26,23,20,0.92);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  }
  .nav--scrolled .nav__logo img { filter: none; }
  .nav--scrolled .nav__links a { color: var(--sand-800); }
  .nav--scrolled .nav__contact { color: var(--accent); }
  .nav--scrolled .nav__toggle span { background: var(--text); }
  .nav--scrolled .lang-switch { background: rgba(255,255,255,0.08); }
  .nav--scrolled .lang-switch a:not(.active) { color: var(--text-muted); }

  .mobile-menu { background: var(--bg); }
  .mobile-menu .lang-switch { background: var(--border); }

  .lightbox { background: rgba(0,0,0,0.96); }

  .footer { background: #0e0c0a; }
  .footer__logo { filter: brightness(0) invert(1); }

  .loc-card__icon { color: #c9a84c; }

  .book { background: #0e0c0a; }
  .book__btn--secondary { border-color: rgba(255,255,255,0.1); }
  .footer__social a { background: rgba(255,255,255,0.08); }

  .pricing-table th { background: #2a2520; }
  .pricing-table tr:hover td { background: rgba(255,255,255,0.03); }

  .guide-card__tip { background: rgba(122,155,90,0.1); }
}

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* -- Skip link -- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--fast);
}
.skip-link:focus {
  top: 16px;
}

/* -- Focus -- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Body text links */
.text-content a, .guide-card__text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.text-content a:hover, .guide-card__text a:hover {
  color: var(--accent-hover);
}

/* -- Typography -- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--sand-800);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* -- Layout -- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (min-width: 768px) {
  .container { padding: 0 40px; }
  section { padding: 100px 0; }
}
@media (min-width: 1080px) { section { padding: 120px 0; } }

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--normal), box-shadow var(--normal);
}
/* Transparentny nav (na hero) ma subtelny gradient od góry, żeby biały tekst był zawsze czytelny */
.nav--top {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
}
/* Na stronach bez hero (data-atrybut lub klasa na body) nav--top nigdy nie powinien być widoczny */
body:not(.has-hero) .nav.nav--top { background: rgba(253,252,250,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
body:not(.has-hero) .nav.nav--top .nav__links a,
body:not(.has-hero) .nav.nav--top .nav__contact { color: var(--sand-800); }
body:not(.has-hero) .nav.nav--top .nav__logo img { filter: brightness(0) saturate(100%) invert(15%) sepia(10%) saturate(500%) hue-rotate(10deg); }
body:not(.has-hero) .nav.nav--top .lang-switch { background: rgba(0,0,0,0.06); }
body:not(.has-hero) .nav.nav--top .lang-switch a:not(.active) { color: var(--text-muted); }
body:not(.has-hero) .nav.nav--top .nav__toggle span { background: var(--text); }
.nav--scrolled {
  background: rgba(253,252,250,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 24px;
}
@media (min-width: 768px) { .nav__inner { padding: 0 40px; } }
.nav__logo img { height: 44px; width: auto; transition: filter var(--normal); }
.nav--scrolled .nav__logo img { filter: brightness(0) saturate(100%) invert(15%) sepia(10%) saturate(500%) hue-rotate(10deg); }
.nav__links {
  display: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--fast);
}
.nav--top .nav__links a { color: rgba(255,255,255,0.85); }
.nav--scrolled .nav__links a { color: var(--sand-800); }
.nav__links a:hover { color: var(--accent); }

/* Language switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  padding: 2px;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 4px;
  transition: all var(--fast);
}
.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}
.nav--top .lang-switch { background: rgba(255,255,255,0.12); }
.nav--top .lang-switch a:not(.active) { color: rgba(255,255,255,0.6); }
.nav--scrolled .lang-switch a:not(.active) { color: var(--text-muted); }
.lang-switch a:hover:not(.active) { color: var(--accent); }

/* Contact link */
.nav__contact {
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav--top .nav__contact { color: rgba(255,255,255,0.85); }
.nav--scrolled .nav__contact { color: var(--accent); }

/* Mobile toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  transition: all var(--normal) var(--ease);
}
.nav--top .nav__toggle span { background: #fff; }
.nav--scrolled .nav__toggle span { background: var(--text); }
@media (min-width: 768px) { .nav__toggle { display: none; } }

.nav__toggle[aria-expanded="true"] span { background: var(--text); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal) var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--fast), transform var(--normal) var(--ease), opacity var(--normal) var(--ease);
  opacity: 0;
  transform: translateY(16px);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .lang-switch { opacity: 0; transform: translateY(16px); transition: opacity var(--normal) var(--ease) 0.3s, transform var(--normal) var(--ease) 0.3s; }
.mobile-menu.open .lang-switch { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .lang-switch { margin-top: 16px; background: var(--sand-200); }
.mobile-menu .lang-switch a { color: var(--text-muted); font-size: 0.85rem; font-family: var(--font-body); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28,23,20,0.1) 0%,
    rgba(28,23,20,0.05) 40%,
    rgba(28,23,20,0.55) 75%,
    rgba(28,23,20,0.85) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 640px;
  padding: 0 24px 80px;
}
@media (min-width: 768px) {
  .hero__content { padding: 0 64px 100px; }
}
.hero__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--coral-400);
  border-radius: 1px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--coral-500);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--normal) var(--ease);
  box-shadow: 0 4px 16px rgba(212,100,74,0.3);
}
.hero__cta:hover {
  background: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,100,74,0.4);
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== INTRO ===== */
.intro {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(253, 252, 250, 0.88) 0%,
    rgba(253, 252, 250, 0.75) 50%,
    rgba(253, 252, 250, 0.88) 100%
  );
  backdrop-filter: blur(2px);
}
.intro .container {
  position: relative;
  z-index: 2;
}
.intro__content {
  max-width: 640px;
  margin: 0 auto;
}
.intro__label { margin-bottom: 16px; }
.intro .label::before { display: none; }
.intro__title { margin-bottom: 20px; }
.intro__text {
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}
.intro__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding: 20px 32px;
  background: none;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--sand-300);
}
.stat__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--sand-800);
  line-height: 1;
}
.stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
@media (max-width: 600px) {
  .intro { padding: 80px 0; }
  .intro__stats { flex-wrap: wrap; }
  .stat { padding: 16px 24px; }
  .stat:nth-child(3)::before { display: none; }
}

/* ===== VILLA ===== */
.villa__header {
  text-align: center;
  margin-bottom: 48px;
}
.villa__header .label { margin-bottom: 16px; }
.villa__header .label::before { display: none; }
.villa__header h2 { margin-bottom: 12px; }
.villa__header p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Villa editorial splits */
.villa__split {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.villa__split:last-of-type { margin-bottom: 0; }
@media (min-width: 768px) {
  .villa__split { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .villa__split--reverse { direction: rtl; }
  .villa__split--reverse > * { direction: ltr; }
}

/* Overlapping photos */
.villa__photos {
  position: relative;
  min-height: 360px;
}
@media (min-width: 768px) { .villa__photos { min-height: 440px; } }
.villa__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.villa__photo--main {
  display: block;
  width: 75%;
  aspect-ratio: 3/4;
  margin-left: auto;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
}
.villa__photo--accent {
  display: block;
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 50%;
  aspect-ratio: 4/3;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--bg);
}

/* Text side */
.villa__text .label { margin-bottom: 16px; }
.villa__text h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}
.villa__list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.villa__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.villa__list li strong {
  color: var(--text);
  font-weight: 600;
}

/* Amenities */
.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 768px) {
  .amenities { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (min-width: 1080px) {
  .amenities { grid-template-columns: repeat(6, 1fr); }
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 28px 12px;
  background: transparent;
  border-radius: var(--radius);
  transition: transform var(--normal) var(--ease);
}
.amenity:hover { transform: translateY(-4px); }
.amenity__icon {
  font-size: 52px;
  line-height: 1;
  color: var(--sand-400);
  flex-shrink: 0;
  transition: transform var(--normal) var(--ease), color var(--fast) var(--ease);
}
.amenity:hover .amenity__icon {
  color: var(--coral-500);
  transform: scale(1.1);
}

/* ===== GALLERY ===== */
.gallery {
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery__header {
  text-align: center;
  margin-bottom: 40px;
}
.gallery__header .label { margin-bottom: 16px; }
.gallery__header .label::before { display: none; }
.gallery__header h2 { color: var(--sand-800); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
}
@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 10px;
  }
}
@media (min-width: 1080px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 10px;
  }
}
/* Masonry: select items span 2 rows */
.gallery__item:nth-child(1),
.gallery__item:nth-child(5),
.gallery__item:nth-child(10) {
  grid-row: span 2;
}
.gallery__item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
}
.gallery__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(28,23,20,0);
  transition: background var(--normal);
  border-radius: var(--radius-sm);
}
.gallery__item:hover::after { background: rgba(28,23,20,0.15); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }

/* ===== LOCATION ===== */
.location { background: var(--white); }
.location__header {
  text-align: center;
  margin-bottom: 48px;
}
.location__header .label { margin-bottom: 16px; }
.location__header .label::before { display: none; }
.location__header p {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-weight: 300;
}
.location__bullets {
  list-style: disc;
  padding-left: 20px;
  max-width: 520px;
  margin: 24px auto 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.location__bullets li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}
.location__bullets li strong {
  color: var(--text);
  font-weight: 600;
}

.location__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .location__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .location__grid { grid-template-columns: repeat(3, 1fr); } }
.loc-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--normal), transform var(--normal) var(--ease);
}
.loc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.loc-card__icon {
  width: 64px; height: 64px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #b89530;
  font-size: 48px;
  transition: transform var(--fast) var(--ease);
}
.loc-card:hover .loc-card__icon {
  transform: scale(1.08);
}
.loc-card__icon svg { width: 22px; height: 22px; }
.loc-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.loc-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
}
/* All location icons use the same gold color */

/* ===== TESTIMONIAL ===== */
.testimonial {
  text-align: center;
  padding: 80px 0;
  position: relative;
}
.testimonial__slider {
  position: relative;
  min-height: 180px;
}
.testimonial__slide {
  opacity: 0;
  position: absolute;
  top: 0; left: 0; right: 0;
  transition: opacity var(--slow) var(--ease);
  pointer-events: none;
}
.testimonial__slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.55;
  color: var(--sand-800);
}
.testimonial__author {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.testimonial__stars {
  color: var(--gold-400);
  font-size: 1rem;
  margin-top: 10px;
  letter-spacing: 4px;
}
.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--fast), transform var(--fast);
}
.testimonial__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.testimonial__dot:hover { background: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  background: var(--sand-900);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer__inner { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer a {
  font-size: 0.88rem;
  font-weight: 300;
  transition: color var(--fast);
}
.footer a:hover { color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { display: flex; align-items: center; gap: 8px; }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
}
.footer__bottom a { margin-left: 16px; }
.footer__logo { filter: brightness(0) invert(1); height: 26px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal);
}
.lightbox.visible { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast);
  cursor: pointer;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger */
.villa__split--reverse { transition-delay: 0.15s; }
.location__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.location__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.location__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.location__grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.location__grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.intro__stats .stat:nth-child(2) { transition-delay: 0.08s; }
.intro__stats .stat:nth-child(3) { transition-delay: 0.16s; }
.intro__stats .stat:nth-child(4) { transition-delay: 0.24s; }

/* ===== PARALLAX SEA SECTION ===== */
.parallax-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-section__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.parallax-section__overlay {
  position: absolute; inset: 0;
  background: rgba(28,23,20,0.35);
}
.parallax-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 80px 24px;
  max-width: 720px;
}
.parallax-section__content h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.parallax-section__content p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 36px;
}
.parallax-section__cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--sand-400);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--normal) var(--ease);
}
.parallax-section__cta:hover {
  background: var(--sand-500);
  transform: translateY(-2px);
}

/* ===== EXPERIENCES ===== */
.experiences {
  position: relative;
  overflow: hidden;
}
.experiences__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.experiences__overlay {
  position: absolute; inset: 0;
  background: rgba(28,23,20,0.7);
}
.experiences .container { position: relative; z-index: 2; }
.experiences__icon {
  font-size: 48px;
  color: rgba(255,255,255,0.7);
  display: block;
  margin: 0 auto 16px;
}
.experiences__header {
  text-align: center;
  margin-bottom: 48px;
}
.experiences__label { color: rgba(255,255,255,0.6) !important; }
.experiences__label::before { background: rgba(255,255,255,0.4) !important; }
.experiences__header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}
.experiences__header p {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
}
.experiences__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .experiences__grid { grid-template-columns: repeat(3, 1fr); } }
.exp-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform var(--normal) var(--ease), box-shadow var(--normal), border-color var(--normal);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.25);
}
.exp-card__img-wrap { overflow: hidden; }
.exp-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.exp-card:hover .exp-card__img { transform: scale(1.05); }
.exp-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.exp-card__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.exp-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
}
.exp-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
}
.exp-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-400);
  transition: color var(--fast);
}
.exp-card:hover .exp-card__link { color: #fff; }

/* Stagger */
.experiences__grid .exp-card:nth-child(2) { transition-delay: 0.1s; }
.experiences__grid .exp-card:nth-child(3) { transition-delay: 0.2s; }

/* ===== BOOK / CONTACT ===== */
.book {
  background: var(--sand-900);
  color: rgba(255,255,255,0.7);
  padding: 100px 0;
}
.book__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .book__inner { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}
.book__content .label { color: var(--coral-400); }
.book__content .label::before { background: var(--coral-400); }
.book__content h2 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 16px;
}
.book__content p {
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
}
.book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.book__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--normal) var(--ease);
}
.book__btn--primary {
  background: var(--coral-500);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212,100,74,0.3);
}
.book__btn--primary:hover {
  background: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,100,74,0.4);
}
.book__btn--secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.book__btn--secondary:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.book__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.book__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}
.book__detail svg {
  color: var(--coral-400);
  flex-shrink: 0;
  margin-top: 2px;
}
.book__detail strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ===== FOOTER SOCIAL ===== */
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 767px) { .footer__social { justify-content: center; } }
.footer__social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: all var(--fast);
}
.footer__social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== SUBPAGE STYLES ===== */
.page-header {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 56px;
  text-align: center;
  background: var(--bg-alt);
}
.page-header .label { margin-bottom: 16px; }
.page-header .label::before { display: none; }
.page-header h1 { margin-bottom: 12px; }
.page-header p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.guide-cards { display: grid; gap: 32px; }
.guide-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--normal), transform var(--normal) var(--ease);
}
.guide-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
@media (min-width: 768px) {
  .guide-card { display: grid; grid-template-columns: 2fr 3fr; }
  .guide-card:nth-child(even) { direction: rtl; }
  .guide-card:nth-child(even) > * { direction: ltr; }
}
.guide-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.guide-card:hover .guide-card__img { transform: scale(1.03); }
.guide-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-card__meta {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.guide-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.guide-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.guide-card__tip {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--olive-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--olive-500);
  border-left: 3px solid var(--olive-500);
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table th {
  background: var(--sand-800);
  color: #fff;
  padding: 14px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 300;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--sand-100); }
.pricing-table .price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--coral-500);
}

/* ===== UTILITY ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  transition: gap var(--fast);
}
.back-link:hover { gap: 10px; }

.text-content { max-width: 680px; margin: 0 auto; }
.text-content h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.5rem; }
.text-content h3 { margin-top: 32px; margin-bottom: 10px; }
.text-content p { margin-bottom: 14px; color: var(--text-secondary); font-weight: 300; }
.text-content ul { margin-bottom: 14px; padding-left: 20px; list-style: disc; }
.text-content li { margin-bottom: 6px; color: var(--text-secondary); font-weight: 300; }
.text-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; border-radius: var(--radius-sm); overflow: hidden; }
.text-content th, .text-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.88rem;
}
.text-content th { font-weight: 600; color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero__title { font-size: 2.4rem; }
  .villa__split { margin-bottom: 60px; }
  .villa__photos { min-height: 300px; margin-bottom: 20px; }
  .loc-card { padding: 20px; }
  .testimonial { padding: 64px 0; }
  .footer__inner { text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  /* 44px touch targets */
  .nav__toggle { min-width: 44px; min-height: 44px; }
  .lang-switch a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ===== Booking form (Netlify) ===== */
.book__form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand-200);
  display: grid;
  gap: 1rem;
  max-width: 560px;
}
.hidden-field { position: absolute; left: -9999px; }
.book__form-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
}
.book__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.book__form-row:has(.book__field--small) {
  grid-template-columns: 1fr 1fr 100px;
}
.book__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.book__field span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.book__field input,
.book__field textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--sand-300);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.book__field input:focus,
.book__field textarea:focus {
  outline: none;
  border-color: var(--sea-500);
  box-shadow: 0 0 0 3px rgba(46, 133, 145, 0.15);
}
.book__form-submit {
  justify-self: start;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .book__form-row {
    grid-template-columns: 1fr;
  }
  .book__form-row:has(.book__field--small) {
    grid-template-columns: 1fr;
  }
  .book__form-submit {
    justify-self: stretch;
    width: 100%;
  }
}
