@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Updated palette — pearl whites replacing beige */
  --pearl: #F8F8F6;
  --pearl-mid: #F0F0EE;
  --pearl-dark: #E8E8E4;
  --white: #FFFFFF;
  --ink: #141410;
  --ink-mid: #2E2E28;
  --ink-light: #6A6860;
  --gold: #B8893A;
  --gold-light: #D4A85C;
  --gold-pale: #FBF6EC;
  --gold-glow: rgba(184,137,58,0.15);
  --forest: #2C4A3E;
  --forest-light: #3D6357;
  --forest-pale: #EBF2EF;
  --forest-glow: rgba(44,74,62,0.12);
  --border: rgba(44,74,62,0.12);
  --border-gold: rgba(184,137,58,0.25);
  --border-strong: rgba(184,137,58,0.4);
  --shadow-sm: 0 2px 12px rgba(20,20,16,0.06);
  --shadow-md: 0 6px 30px rgba(20,20,16,0.10);
  --shadow-lg: 0 16px 60px rgba(20,20,16,0.14);
  --shadow-gold: 0 8px 32px rgba(184,137,58,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--pearl);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, background 0.3s;
}

nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}

/* ── LOGO TREATMENT ── */
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px;
  background: var(--forest);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s;
}

.nav-logo:hover .logo-mark { transform: rotate(-4deg) scale(1.05); }

.logo-mark::before {
  content: 'C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600; font-style: italic;
  color: var(--gold-light);
  line-height: 1;
}

.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}

.logo-text-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-text-bottom {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem; font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem; font-weight: 400;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--forest); font-weight: 500; }
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--border-gold);
  border-radius: 20px; overflow: hidden;
}

.lang-btn {
  padding: 5px 13px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; font-weight: 500;
  color: var(--ink-light);
  transition: all 0.25s;
  letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--forest); color: var(--white); }

.btn-nav {
  padding: 9px 20px;
  background: var(--forest);
  color: var(--white); border: none;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}

.btn-nav::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn-nav:hover { background: var(--forest-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* ── MOBILE HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; width: 32px; height: 32px;
  z-index: 300;
}

.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 199;
  flex-direction: column;
  padding: 2rem 2rem;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover { color: var(--forest); padding-left: 8px; }

.mobile-menu-bottom {
  margin-top: auto;
  display: flex; gap: 1rem; align-items: center;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: var(--forest); color: var(--white);
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s;
}

.btn-primary:hover { background: var(--forest-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(44,74,62,0.3); }
.btn-primary:hover::before { left: 100%; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 29px;
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--forest);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
}

.btn-secondary:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: var(--gold); color: var(--white);
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  animation: pulse-gold 3s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,137,58,0); }
  50% { box-shadow: 0 0 0 8px rgba(184,137,58,0.15); }
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  animation: none;
}

/* ── LAYOUT ── */
.page-wrap { padding-top: 68px; min-height: 100vh; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: block;
}

/* ── PAGE HERO (shared across inner pages) ── */
.page-hero {
  background: var(--forest);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(184,137,58,0.22) 0%, transparent 65%);
}

.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,137,58,0.4), transparent);
}

.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--gold-light); }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600; font-style: italic;
  color: var(--white); line-height: 1.12;
  margin-bottom: 1.25rem;
}

.page-hero p {
  font-size: 1.0625rem; color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto; line-height: 1.8;
}

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 600; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1rem; color: var(--ink-light);
  line-height: 1.8; max-width: 560px;
  margin: 1rem auto 0;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--forest);
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,137,58,0.18) 0%, transparent 70%);
}

.cta-band-inner { position: relative; z-index: 1; }

.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 600; font-style: italic;
  color: var(--white); line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.0625rem; color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-band-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  width: 32px; height: 32px;
  background: var(--forest);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}

.footer-logo-mark::before {
  content: 'C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem; font-weight: 600; font-style: italic;
  color: var(--gold-light);
}

.footer-logo-text-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em;
  line-height: 1;
}

.footer-logo-text-bottom {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem; font-weight: 500;
  color: var(--gold-light); letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.75; }

.footer-col h4 {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1140px; margin: 1.75rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: rgba(255,255,255,0.25);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-right .btn-nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
}
