/* ==========================================================================
   Villa Alakaza — Guide de la maison
   Feuille de style principale
   ========================================================================== */

:root {
  /* Couleurs */
  --color-bg:            #FFFFFF;
  --color-bg-alt:         #F6F5F1;  /* gris-sable très clair */
  --color-text:            #161814; /* quasi-noir */
  --color-text-soft:        #55584E; /* gris-vert doux */
  --color-accent:            #2E5B3E; /* vert forêt */
  --color-accent-soft:        #DCE6DC; /* vert tendre */
  --color-white:                #FFFFFF;
  --color-line:                  #E6E3D9;

  /* Typographie */
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  /* Rythme */
  --section-padding: 6.5rem 0;
  --container-width: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h2, h3 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; color: var(--color-text-soft); }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.center { text-align: center; }

/* ==========================================================================
   HEADER / MENU
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  padding: .4rem 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.main-nav a:hover { color: var(--color-accent); }
.main-nav a.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.lang-toggle {
  font-family: var(--font-main);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .35rem .75rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: none;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: transform .25s ease, opacity .25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 630px;
  width: 100%;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,15,10,.55) 0%, rgba(10,15,10,0) 45%);
}
.hero-caption {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 3.2rem;
  color: var(--color-white);
  z-index: 1;
}
.hero-caption h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 500;
  color: var(--color-white);
  max-width: 16ch;
  margin: 0 0 .3em;
}
.hero-sub {
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  max-width: 40ch;
  margin: 0;
}

/* ==========================================================================
   INTRO — portrait rond + accroche ("About us")
   ========================================================================== */
.intro { padding: var(--section-padding); }
.intro-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-portrait img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}
.intro-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.intro-text p { max-width: 56ch; font-size: 1.05rem; }

/* ==========================================================================
   GALERIE — mosaïque
   ========================================================================== */
.gallery { padding: var(--section-padding); padding-top: 4.5rem; }
.gallery h2 { margin-bottom: 2.2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.gallery-grid img:hover { opacity: .85; }
.gallery-quote {
  text-align: center;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--color-text);
  max-width: 56ch;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
}

/* ==========================================================================
   KPI — "La maison en chiffres"
   ========================================================================== */
.kpi { padding: var(--section-padding); background: var(--color-bg-alt); }
.kpi-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.kpi-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 14ch; }
.kpi-text > p { max-width: 46ch; font-size: 1.02rem; margin-bottom: 2.5rem; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 2.5rem;
}
.kpi-number {
  display: block;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi-number small { font-size: .5em; font-weight: 700; margin-left: .15em; }
.kpi-label {
  display: block;
  margin-top: .5rem;
  font-size: .92rem;
  color: var(--color-text-soft);
}
.kpi-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   NOTRE FAMILLE
   ========================================================================== */
.family { padding: var(--section-padding); }
.family h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.family-intro {
  max-width: 52ch;
  margin: 0 auto 3.5rem;
  font-size: 1.02rem;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}
.family-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.family-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.family-card p { font-size: .92rem; }

/* ==========================================================================
   WELCOME — texte sur image sombre
   ========================================================================== */
.welcome {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.welcome img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,15,10,.6), rgba(12,15,10,.82));
}
.welcome-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.welcome-content h2 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: .35em;
}
.welcome:not(.welcome--letter) .welcome-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.welcome-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto;
}

/* Variante "lettre" : texte long, en italique, centré */
.welcome--letter {
  min-height: auto;
  padding: 5rem 0;
}
.welcome--letter .welcome-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}
.welcome--letter .welcome-content h2 { text-align: center; }
.welcome--letter .welcome-content p {
  font-style: italic;
  text-align: center;
  font-size: .92rem;
  margin: 0 0 1.1em;
  max-width: none;
}
.welcome--letter .welcome-content p:last-child { margin-bottom: 0; }

/* ==========================================================================
   PAGE HEADER — bandeau titre pour les pages secondaires
   ========================================================================== */
.page-hero {
  padding: 11rem 0 3.5rem;
}
.house-banner + .page-hero { padding: 4.5rem 0 2rem; }
.page-hero + .todo-section { padding-top: 3.5rem; }
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 0 0 .6em;
}
.page-hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 0;
}
.page-content {
  padding: 0 0 8rem;
  min-height: 25vh;
}
.page-placeholder {
  font-style: italic;
  color: var(--color-text-soft);
}

/* ==========================================================================
   THINGS TO DO — marchés, randos, plats, astuces
   ========================================================================== */
.todo-lead {
  padding: 3.5rem 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}
.todo-lead p {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 1.15rem;
  font-style: italic;
  text-align: center;
  color: var(--color-text);
}

.todo-section { padding: var(--section-padding); }
.section-alt { background: var(--color-bg-alt); }

.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head.center-head { max-width: 62ch; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head p { font-size: 1.02rem; margin: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.card-grid--three { grid-template-columns: repeat(3, 1fr); }

.hike-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 1.8rem;
}
.info-card.is-featured {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}
.info-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.info-card p { font-size: .95rem; margin-bottom: .8rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .meta {
  font-size: .85rem;
  color: var(--color-text-soft);
  margin-bottom: .8rem;
}
.info-card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-white);
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.info-card.is-featured .tag { background: var(--color-white); }

.trail-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.trail-list li {
  font-size: .92rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.trail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.trail-dot--yellow { background: #E3B341; }
.trail-dot--green { background: var(--color-accent); }
.trail-dot--orange { background: #D97A3F; }
.trail-dot--red { background: #B5493C; }

.section-note {
  margin-top: 2.2rem;
  font-size: .98rem;
  text-align: center;
  color: var(--color-text-soft);
}

.section-photo {
  max-width: 820px;
  margin: 0 auto 2.6rem;
}
.section-photo img {
  width: 100%;
  height: clamp(220px, 34vw, 360px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(22, 24, 20, .12);
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.section-photo img:hover { opacity: .85; }

.dish-card { text-align: center; }
.dish-card .emoji {
  display: block;
  font-size: 2.1rem;
  margin-bottom: .7rem;
}

.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: 72ch;
}
.tips-list li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 1rem;
  color: var(--color-text);
}
.tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 800;
}

.todo-banner {
  width: 100%;
  height: clamp(200px, 22vw, 320px);
  overflow: hidden;
}
.todo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

/* ==========================================================================
   YOUR STAY — règles de la maison + infos pratiques
   ========================================================================== */
.tbd {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: .85em;
  padding: .05em .55em;
  border-radius: 4px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2.6rem;
}
.rule-card { text-align: center; }
.rule-card img,
.rule-card .room-images--placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.rule-card .room-images--placeholder {
  padding: 1rem;
  font-size: .85rem;
}
.rule-card img:hover { opacity: .85; }
.rule-card h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.rule-card p { font-size: .9rem; margin: 0; }

.house-rule-highlight {
  max-width: 700px;
  margin: 2.6rem auto 0;
  text-align: center;
}
.house-rule-highlight p { margin: 0; max-width: none; }

/* ==========================================================================
   CONTACT & FAQ
   ========================================================================== */
.emergency-grid .info-card h3 { font-size: 1.1rem; }
.emergency-grid .info-card p { font-size: 1.15rem; font-weight: 700; margin-bottom: 0; }
.emergency-grid .info-card p a { color: var(--color-accent); }
.meta-note {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: var(--color-text-soft);
  margin-top: .3rem;
}

.hazard-section {
  padding: var(--section-padding);
  background: var(--color-accent-soft);
}
.hazard-photo {
  width: 100%;
  height: clamp(160px, 22vw, 300px);
  overflow: hidden;
  margin-bottom: 2.6rem;
}
.hazard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.hazard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.6rem;
}
.hazard-grid .info-card { background: var(--color-white); }
.hazard-section .section-note { margin-top: 2.4rem; }

.practical-info {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.practical-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.practical-photo img:hover { opacity: .85; }
.practical-map iframe {
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
  border-radius: 10px;
  display: block;
}

.info-list {
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-line);
}
.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.8rem;
  padding: 1.2rem 0 1.2rem 1.8rem;
}
.info-row + .info-row { border-top: 1px solid var(--color-line); }
.info-row dt {
  font-weight: 700;
  text-align: right;
  font-size: .95rem;
}
.info-row dd {
  margin: 0;
  color: var(--color-text-soft);
  font-size: .96rem;
  line-height: 1.6;
}
.info-row dd ol, .info-row dd ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.info-row dd li { margin-bottom: .5rem; }
.info-row dd a { text-decoration: underline; color: var(--color-text); }

.tips-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: stretch;
}
.tips-layout .tips-list { max-width: none; }
.tips-image {
  align-self: stretch;
}
.tips-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(22, 24, 20, .1);
}

/* ==========================================================================
   THE HOUSE — bannière + titre/sous-titre
   ========================================================================== */
.house-banner {
  margin-top: 78px; /* dégage le header fixe */
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  overflow: hidden;
}
.house-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.house-intro { padding: 4.5rem 0 3.5rem; }
.house-intro h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 28ch;
  margin-bottom: .6em;
}
.house-intro p {
  font-size: 1.05rem;
  max-width: 60ch;
}
.house-notes {
  margin-top: 2rem;
  max-width: 900px;
}
.house-notes .info-card p {
  margin: 0;
  font-size: .98rem;
  max-width: none;
}

/* ==========================================================================
   ROOMS — blocs "1 ou 3 images" + titre/texte
   Réutilisable pour toute page qui présente des pièces / espaces.
   ========================================================================== */
.rooms { padding: var(--section-padding); }
.house-intro + .rooms { padding-top: 3.5rem; }
.room-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.room-block + .room-block { margin-top: 5.5rem; }
.room-block--reverse { align-items: start; grid-template-columns: 1.35fr 1fr; }

.room-images img {
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.room-images img:hover { opacity: .85; }

.room-images--single img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}
.room-images--pool {
  display: grid;
  gap: .9rem;
}
.room-images--pool img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}
.room-images--placeholder {
  width: 100%;
  height: 480px;
  border-radius: 6px;
  border: 1px dashed var(--color-line);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-soft);
  font-size: .95rem;
  padding: 2rem;
}

.room-text h3 {
  font-size: 1.05rem;
  margin: 1.7rem 0 .9rem;
}
.pool-highlight { margin-bottom: 1.2rem; }
.pool-highlight p { max-width: none; margin: 0; }
.pool-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.pool-rules li {
  font-size: .96rem;
  line-height: 1.55;
  color: var(--color-text-soft);
}
.pool-rules li strong { color: var(--color-text); }
.room-images--triple {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .9rem;
  height: 480px;
}
.room-images--triple img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.room-images--triple img:first-child { grid-row: 1 / 3; }

.room-images--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  height: 480px;
}
.room-images--double img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.room-text h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.room-text p { font-size: 1rem; max-width: 46ch; }

.room-warning {
  display: block;
  background: #FBEAE7;
  color: #B5493C;
  border: 1px solid #B5493C;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.5;
  padding: .7rem 1rem;
  border-radius: 8px;
  margin: 0 0 1.2rem;
  max-width: none;
}

/* ==========================================================================
   LIGHTBOX — zoom galerie (Home)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 10, .93);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  line-height: 1;
  padding: .6rem;
  opacity: .85;
  transition: opacity .2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close {
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.2rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
}
.lightbox-prev { left: .8rem; }
.lightbox-next { right: .8rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 1.8rem 0;
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-size: .8rem;
  color: var(--color-text-soft);
}

/* ==========================================================================
   PASSWORD GATE
   ========================================================================== */
html.gate-locked body > *:not(.password-gate) { display: none !important; }
html:not(.gate-locked) .password-gate { display: none !important; }

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  padding: 2rem;
}

.gate-form {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.gate-form h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: .4em;
}

.gate-form p {
  font-size: .95rem;
  margin-bottom: 1.6rem;
}

.gate-form input[type="password"] {
  width: 100%;
  font-family: var(--font-main);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-text);
  margin-bottom: 1rem;
}

.gate-form input[type="password"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

.gate-form button {
  width: 100%;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .85rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-white);
  cursor: pointer;
  transition: opacity .2s ease;
}

.gate-form button:hover { opacity: .9; }

.gate-error {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: .85rem;
  color: #B5493C;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .intro-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .intro-portrait { margin: 0 auto; }
  .intro-portrait img { width: 220px; height: 220px; }
  .intro-text p { margin-left: auto; margin-right: auto; }

  .kpi-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .kpi-text > p { margin-left: auto; margin-right: auto; }
  .kpi-image img { height: 340px; order: -1; }
  .kpi-text { text-align: center; }
  .kpi-text h2 { margin-left: auto; margin-right: auto; }
  .kpi-grid { max-width: 420px; margin: 0 auto; text-align: left; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .family-grid { grid-template-columns: repeat(2, 1fr); }

  .room-block { grid-template-columns: 1fr; gap: 1.8rem; }
  .room-images--single img { height: 340px; }
  .room-images--placeholder { height: 340px; }
  .room-images--pool img { height: 220px; }
  .room-images--triple { height: 360px; }
  .room-images--double { height: 300px; }
  .room-block--reverse .room-images { order: -1; }

  .card-grid--three { grid-template-columns: repeat(2, 1fr); }
  .hike-grid { grid-template-columns: 1fr; }

  .tips-layout { grid-template-columns: 1fr; gap: 2rem; }
  .tips-image { order: -1; }
  .tips-image img { height: 260px; }

  .rule-grid { grid-template-columns: repeat(2, 1fr); }

  .practical-info { grid-template-columns: 1fr; }
  .practical-photo img { min-height: 260px; }
  .practical-map iframe { min-height: 260px; }

  .hazard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --section-padding: 4.5rem 0; }

  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-bg);
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav .lang-toggle { margin-top: .3rem; }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .burger { display: flex; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-quote { font-size: 1rem; margin-top: 1.8rem; }

  .family-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }

  .house-banner { height: 280px; }
  .house-intro { padding: 3.5rem 0 .5rem; }

  .welcome--letter .welcome-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
  }

  .lightbox-prev, .lightbox-next { font-size: 2rem; padding: .4rem; }
  .lightbox-close { font-size: 1.8rem; top: .8rem; right: 1rem; }

  .card-grid { grid-template-columns: 1fr; }
  .card-grid--three { grid-template-columns: 1fr; }

  .rule-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 420px; margin-left: auto; margin-right: auto; }

  .info-row { grid-template-columns: 1fr; gap: .3rem; padding: 1rem 0 1rem 1.2rem; }
  .info-row dt { text-align: left; }

  .hazard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-caption { left: 1.2rem; right: 1.2rem; bottom: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }

  .room-images--triple { grid-template-columns: 1fr 1fr; height: 260px; }
  .room-images--double { grid-template-columns: 1fr; height: auto; }
  .room-images--double img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
