/* ===== VARIABLES ===== */
:root {
  --stone: #f7f3ed;
  --stone-dark: #ede5d8;
  --cream: #fdfaf6;
  --dark: #1c1612;
  --dark-mid: #2e2620;
  --forest: #2d4a2b;
  --forest-light: #3d6438;
  --gold: #c4933a;
  --gold-light: #d4a95a;
  --text: #2e2620;
  --text-muted: #6b5f55;
  --border: #d8cfc4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(28,22,18,.08);
  --shadow-lg: 0 8px 40px rgba(28,22,18,.14);

  --nav-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { max-width: 68ch; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }

/* ===== LAYOUT ===== */
.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 3rem); margin-inline: auto; }

section { padding-block: 5rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
.nav--scrolled {
  background: rgba(252,250,246,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--dark);
  line-height: 1.2;
}
.nav__logo span { display: block; font-size: .75rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: .75;
  transition: opacity .2s, color .2s;
}
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav .nav__links a.active {
  opacity: 1;
  color: var(--gold);
}
.nav__cta {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--forest);
  color: #fff;
  padding: .6rem 1.4rem;
  border-radius: 2rem;
  transition: background .2s;
}
.nav__cta:hover { background: var(--forest-light); opacity: 1 !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform .3s, opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav--transparent .nav__logo { color: #fff; }
.nav--transparent .nav__logo span { color: var(--gold-light); }
.nav--transparent .nav__links a { color: rgba(255,255,255,.85); }
.nav--transparent .nav__links a:hover { color: var(--gold-light); opacity: 1; }
.nav--transparent .nav__links a.active { color: var(--gold-light); }
.nav--transparent .nav__burger span { background: #fff; }

/* Mobile nav */
@media (max-width: 840px) {
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--cream); box-shadow: var(--shadow-lg); padding: 1.5rem 2rem; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .nav__links.open { display: flex; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav--transparent .nav__links a { color: var(--dark); opacity: .75; }
  .nav--transparent .nav__links a:hover { color: var(--gold); opacity: 1; }
  .nav--transparent .nav__links a.active { color: var(--gold); }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c2e1a 0%, #2d4a2b 50%, #1e3320 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.squarespace-cdn.com/content/v1/6968b3d6625d013d27b5047d/b2080513-d799-490a-9a6a-77e8d7548e99/Focale_ERMITAGE_MT_CINDRE_BS-38.jpg');
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}
.hero__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(212,169,90,.4);
  border-radius: 2rem;
}
.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero__desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--dark); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,147,58,.4); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--forest-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,74,43,.4); }
.btn--ghost { color: var(--forest); border: 1.5px solid var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--sm { padding: .6rem 1.4rem; font-size: .8rem; }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 1.75rem; }
.card__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.card__title { margin-bottom: .75rem; font-size: 1.3rem; }
.card__text { color: var(--text-muted); font-size: .95rem; }

/* ===== FEATURE LIST ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.feature {
  padding: 2rem;
  background: var(--stone);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.feature__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.feature__title { font-size: 1.1rem; margin-bottom: .5rem; font-family: var(--font-display); }
.feature__text { font-size: .9rem; color: var(--text-muted); }

/* ===== HIGHLIGHT BOX ===== */
.highlight {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.highlight h2, .highlight h3 { color: #fff; }
.highlight p { color: rgba(255,255,255,.82); max-width: none; }
.highlight .eyebrow { color: var(--gold-light); }

.highlight-alt {
  background: var(--stone-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}
.price-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: .25rem;
}
.price-card__label { font-size: .85rem; color: var(--text-muted); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: .75rem;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding: 0 0 3rem 2.5rem;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -.375rem;
  top: .4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline__date {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.timeline__title { margin-bottom: .5rem; font-size: 1.15rem; }
.timeline__text { font-size: .95rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 1px; }
.faq__item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq__item + .faq__item { margin-top: .5rem; }
.faq__question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--dark);
  transition: background .2s;
}
.faq__question:hover { background: var(--stone); }
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .3s;
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s;
  color: var(--text-muted);
  font-size: .95rem;
}
.faq__item.open .faq__answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ===== INFO BOX ===== */
.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: #fff3cd;
  border: 1px solid #f5c842;
}
.info-box--alert { background: #fef3f0; border-color: #e4896c; }
.info-box--green { background: #f0f7f0; border-color: var(--forest); }
.info-box__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.info-box__text { font-size: .9rem; }
.info-box__text strong { display: block; margin-bottom: .25rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--stone-dark);
  text-align: center;
  padding-block: 4rem;
  border-top: 1px solid var(--border);
}
.newsletter__form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}
.newsletter__form input {
  flex: 1;
  padding: .85rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.newsletter__form input:focus { border-color: var(--forest); }
.newsletter__note { margin-top: .75rem; font-size: .8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.footer__logo span { display: block; font-size: .7rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-top: .25rem; }
.footer__desc { font-size: .9rem; line-height: 1.7; }
.footer__heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a { font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__email { color: var(--gold-light); }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: linear-gradient(135deg, #1c2e1a 0%, #2d4a2b 100%);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-size: cover;
  background-position: center;
}
.page-hero__content { position: relative; z-index: 1; color: #fff; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.78); }

/* ===== ACCESS SECTION ===== */
.access-card {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
}
.access-card__icon { font-size: 2rem; flex-shrink: 0; }
.access-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.access-card__text { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== PARTNER LOGOS ===== */
.partners {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.partner-card {
  padding: 1rem 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: .4; }

/* ===== SECTION DIVIDERS ===== */
.section--stone { background: var(--stone); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,.75); }
.section--dark .eyebrow { color: var(--gold-light); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== MAP EMBED PLACEHOLDER ===== */
.map-placeholder {
  background: var(--stone);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.map-placeholder__icon { font-size: 2.5rem; }

/* ===== GALERIE MOSAIC ===== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.gallery-mosaic__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.gallery-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-mosaic__item:hover img { transform: scale(1.05); }
.gallery-mosaic__main { grid-row: 1 / 3; }
.gallery-mosaic__wide { grid-column: 2 / 4; }
@media (max-width: 720px) {
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-mosaic__main { grid-row: auto; }
  .gallery-mosaic__wide { grid-column: auto; }
  .gallery-mosaic__item { aspect-ratio: 4/3; }
}
@media (max-width: 480px) { .gallery-mosaic { grid-template-columns: 1fr; } }

/* ===== PHOTO IMG ===== */
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--forest-light); }
