:root {
  --ink: #1f251f;
  --muted: #667066;
  --paper: #f5f4ef;
  --card: #ecebe4;
  --line: rgba(31, 37, 31, .12);
  --white: #ffffff;
  --accent: #3d513b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 110px 0; }

.hero {
  min-height: 88vh;
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,18,14,.48) 0%, rgba(13,18,14,.08) 45%, rgba(13,18,14,.58) 100%);
}
.nav {
  position: relative; z-index: 2;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { text-decoration: none; font-family: "Playfair Display", serif; font-size: 24px; letter-spacing: .02em; }
.nav-actions { display:flex; align-items:center; gap:18px; }
.villa-button {
  border:1px solid rgba(255,255,255,.42);
  background:rgba(0,0,0,.14);
  color:rgba(255,255,255,.96);
  font:600 19.5px/1 "DM Sans", system-ui, sans-serif;
  padding:15px 22.5px;
  margin-left:-22px;
  border-radius:999px;
  cursor:pointer;
  backdrop-filter: blur(6px);
  transition:transform .2s ease, background .2s ease;
}
.villa-button:hover { transform:translateY(-2px); background:rgba(255,255,255,.15); }
.nav-link { text-decoration: none; font-size: 14px; opacity: .95; }
.language-switch { display:flex; align-items:center; gap:2px; padding:3px; border:1px solid rgba(255,255,255,.36); border-radius:999px; background:rgba(0,0,0,.12); backdrop-filter: blur(5px); }
.language { border:0; background:transparent; color:rgba(255,255,255,.75); font:600 11px/1 "DM Sans", system-ui, sans-serif; letter-spacing:.08em; padding:7px 9px; border-radius:999px; cursor:pointer; }
.language.active { background:rgba(255,255,255,.95); color:var(--ink); }
.hero-content { position: relative; z-index: 2; margin: auto auto 9vh; width: min(1180px, calc(100% - 48px)); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 600; margin: 0 0 16px; }
.eyebrow.dark { color: var(--muted); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(64px, 9vw, 126px); max-width: 900px; }
h2 { font-size: clamp(42px, 5vw, 70px); max-width: 760px; }
.hero-subtitle { font-size: clamp(18px, 2vw, 23px); max-width: 650px; margin: 18px 0 30px; color: rgba(255,255,255,.9); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: rgba(255,255,255,.95); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.scroll-hint { position: absolute; z-index: 2; right: 26px; bottom: 30px; font-size: 22px; opacity: .8; }

.intro { background: var(--paper); }
.intro-grid, .location-grid, .climb-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; align-items: end; }
.intro-copy { font-size: 19px; max-width: 560px; }
.muted { color: var(--muted); }

.gallery { background: #e7e7df; }
.section-head { margin-bottom: 38px; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.gallery-item { margin: 0; overflow: hidden; background: #dcdcd4; min-height: 420px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item-wide { min-height: 520px; }
.gallery-item.portrait { min-height: 640px; }

.location { background: var(--paper); }
.map-card {
  position: relative; min-height: 520px; border-radius: 4px; overflow: hidden;
  background:
    linear-gradient(135deg, transparent 46%, rgba(74,86,70,.14) 47%, transparent 48%),
    linear-gradient(25deg, transparent 51%, rgba(74,86,70,.12) 52%, transparent 53%),
    linear-gradient(155deg, transparent 53%, rgba(74,86,70,.10) 54%, transparent 55%),
    #dfe3d7;
}
.map-card::before, .map-card::after { content:""; position:absolute; border:1px solid rgba(71,85,68,.18); border-radius:50%; transform: rotate(-8deg); }
.map-card::before { width: 120%; height: 220px; left: -10%; top: 35%; }
.map-card::after { width: 120%; height: 170px; left: -8%; top: 45%; }
.map-texture { position:absolute; inset:0; opacity:.45; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 54px 54px; }
.map-pin { position:absolute; left: 53%; top: 47%; width: 26px; height: 26px; transform: translate(-50%,-50%) rotate(45deg); border-radius: 50% 50% 50% 0; background: var(--accent); box-shadow: 0 10px 24px rgba(25,35,25,.25); }
.map-pin span { position:absolute; width:8px; height:8px; background:#fff; border-radius:50%; top:9px; left:9px; }
.map-label { position:absolute; left: 53%; top: calc(47% + 28px); transform: translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:2px; text-align:center; }
.map-label strong { font-family:"Playfair Display", serif; font-size:28px; font-weight:500; white-space:nowrap; }
.map-label span { font-size:12px; color:#556154; white-space:nowrap; }
.map-open { position:absolute; left: 22px; bottom: 22px; background:rgba(255,255,255,.9); padding:12px 16px; border-radius:999px; text-decoration:none; font-size:13px; font-weight:600; }
.location-copy h2 { margin-bottom: 25px; }
.location-copy p { font-size: 18px; max-width: 580px; }
.notice { margin-top: 28px; max-width: 620px; padding: 20px 22px; border-left: 4px solid var(--accent); background: #ebeae2; }
.notice strong { display:block; font-size: 14px; text-transform:uppercase; letter-spacing:.12em; }
.notice p { margin: 9px 0 0; font-size: 16px; color: #4f5a50; }

.climb { background:#222922; color:#f5f4ef; }
.climb-grid { align-items: center; }
.climb .eyebrow { color: rgba(245,244,239,.5); }
.climb p { font-size: 18px; color: rgba(245,244,239,.78); max-width: 600px; }
.link-stack { display:flex; flex-direction:column; border-top:1px solid rgba(245,244,239,.16); }
.resource { display:flex; justify-content:space-between; gap:24px; align-items:center; padding:24px 0; border-bottom:1px solid rgba(245,244,239,.16); text-decoration:none; }
.resource span:first-child { display:flex; flex-direction:column; }
.resource small { font-size:11px; letter-spacing:.16em; text-transform:uppercase; opacity:.5; margin-bottom:7px; }
.resource strong { font-size:19px; font-weight:500; }
.resource > span:last-child { font-size:20px; opacity:.7; }

.contact { padding-top: 90px; padding-bottom: 90px; }
.contact-card {
  display:flex; justify-content:space-between; align-items:end; gap:40px;
  background:#dfe3d9; padding:56px 60px; border-radius:4px;
}
.contact-card h2 { font-size: clamp(42px, 5vw, 64px); }
.contact-card p { max-width: 640px; color:#566053; font-size:17px; margin:18px 0 0; }
.contact-card .button { flex:none; }

.password-modal[hidden] { display:none; }
.password-modal { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:24px; }
.password-backdrop { position:absolute; inset:0; background:rgba(18,22,18,.58); backdrop-filter:blur(7px); }
.password-dialog { position:relative; z-index:1; width:min(520px, 100%); background:var(--paper); padding:42px; border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.28); }
.password-close { position:absolute; top:14px; right:17px; border:0; background:transparent; font-size:32px; line-height:1; color:var(--muted); cursor:pointer; }
.password-dialog h2 { font-size:clamp(42px, 7vw, 64px); margin-bottom:18px; }
.password-dialog > p:not(.eyebrow) { margin:0 0 22px; color:var(--muted); font-size:17px; }
.password-dialog form { display:flex; gap:10px; flex-wrap:wrap; }
.villa-password { flex:1 1 220px; min-height:48px; border:1px solid var(--line); background:#fff; border-radius:999px; padding:0 17px; font:400 15px/1 "DM Sans", system-ui, sans-serif; outline:none; }
.villa-password:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(61,81,59,.14); }
.password-error { width:100%; margin:0; color:#8a2f2f; font-size:14px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.footer { border-top:1px solid var(--line); padding:24px 0 36px; background:var(--paper); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; font-size:12px; color:var(--muted); }

@media (max-width: 820px) {
  .container, .nav, .hero-content { width: min(100% - 32px, 680px); }
  .nav-actions { gap: 10px; }
  .section { padding: 78px 0; }
  .intro-grid, .location-grid, .climb-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item-wide, .gallery-item.portrait { min-height: 360px; }
  .contact-card { padding: 38px 28px; flex-direction:column; align-items:flex-start; }
  .footer-inner { flex-direction:column; gap:6px; }
  .hero { min-height: 78vh; }
  .nav-actions { flex-wrap:wrap; justify-content:flex-end; }
  .password-dialog { padding:34px 24px 26px; }
}

@media (max-width: 520px) {
  .nav { padding: 22px 0; }
  h1 { font-size: clamp(54px, 17vw, 78px); }
  .hero-content { margin-bottom: 8vh; }
  .map-card { min-height: 420px; }
  .map-label strong { font-size: 24px; }
}

@media (max-width: 760px) { .villa-button { font-size:15px; padding:12px 17px; margin-left:0; } }

/* Hiking routes */
.hikes { background: #f4f1e9; }
.hike-intro { max-width: 760px; margin-bottom: 2rem; }
.hike-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.hike-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.hike-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.hike-copy { padding: 1.4rem 1.5rem 1.6rem; }
.hike-copy h3 { margin: .25rem 0 .65rem; font-size: clamp(1.25rem,2vw,1.65rem); }
.hike-copy p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .hike-grid { grid-template-columns: 1fr; } }
