/* Shared styles across pages */
:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #0f0f0f;
  --gold: #C9A84C;
  --gold-bright: #D4AF37;
  --gold-soft: #8a7838;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-line: rgba(201, 168, 76, 0.18);
  --white: #F5F5F0;
  --white-dim: rgba(245, 245, 240, 0.6);
  --white-faint: rgba(245, 245, 240, 0.4);
  --serif: 'Cormorant Garamond', 'Cairo', serif;
  --sans: 'Inter', 'Cairo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.center-line {
  position: fixed; left: 50%; top: 0; bottom: 0;
  width: 1px; z-index: 2; pointer-events: none; opacity: 0.5;
  background: linear-gradient(180deg, transparent 0%, var(--gold-line) 15%, var(--gold-line) 85%, transparent 100%);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 60px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 70%, transparent 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.logo {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo .mark {
  width: 32px; height: 32px; border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 14px;
  color: var(--gold); transform: rotate(45deg);
}
.logo .mark span { transform: rotate(-45deg); display: block; }
.nav-links {
  display: flex; gap: 48px; align-items: center; list-style: none;
}
.nav-links a {
  color: var(--white); text-decoration: none;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  position: relative; padding: 6px 0;
  transition: color 0.4s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 1px; background: var(--gold);
  transition: all 0.4s ease; transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .lang {
  font-family: 'Cairo', sans-serif; font-size: 13px; letter-spacing: 0;
  color: var(--gold); border: 1px solid var(--gold-line);
  padding: 6px 14px; border-radius: 2px;
  transition: all 0.4s ease;
}
.nav-links .lang:hover { background: var(--gold-dim); border-color: var(--gold); }
.nav-links .lang::after { display: none; }

/* BUTTON */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 36px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold);
  color: var(--gold); background: transparent;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateX(0); }
.btn.primary { background: var(--gold-dim); }
.btn .arrow {
  width: 24px; height: 1px; background: currentColor;
  position: relative; transition: transform 0.4s ease;
}
.btn .arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { transform: translateX(4px); }

/* SECTION HEADER */
.section { padding: 140px 60px; position: relative; z-index: 3; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-num {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  color: var(--gold); letter-spacing: 0.3em;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 16px;
}
.section-num::before, .section-num::after {
  content: ''; width: 30px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1; letter-spacing: -0.01em; color: var(--white);
}
.section-title em { color: var(--gold); font-weight: 300; }
.section-sub {
  margin-top: 24px; font-family: var(--sans);
  font-size: 14px; font-weight: 300; color: var(--white-dim);
  letter-spacing: 0.04em; max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* PAGE HERO (smaller, for inner pages) */
.page-hero {
  padding: 220px 60px 80px;
  text-align: center; position: relative; z-index: 3;
}
.page-hero .crumb {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.3em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.page-hero .crumb .line { width: 40px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95; letter-spacing: -0.02em; color: var(--white);
}
.page-hero h1 em { color: var(--gold); font-style: italic; font-weight: 300; }
.page-hero .lead {
  margin-top: 28px; font-size: 15px; font-weight: 300;
  color: var(--white-dim); max-width: 620px;
  margin-left: auto; margin-right: auto; letter-spacing: 0.02em;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--gold-line);
  padding: 36px 60px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 3;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; color: var(--white-faint);
  text-transform: uppercase;
}
footer .gold { color: var(--gold); }

/* WHATSAPP FAB */
.wa-fab {
  position: fixed; bottom: 36px; right: 36px; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; cursor: pointer;
}
.wa-fab .label {
  background: var(--bg-card); border: 1px solid var(--gold-line);
  color: var(--white); font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 10px 18px;
  opacity: 0; transform: translateX(10px);
  transition: all 0.4s ease; white-space: nowrap;
}
.wa-fab:hover .label {
  opacity: 1; transform: translateX(0); border-color: var(--gold);
}
.wa-fab .circle {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--bg-card);
  display: grid; place-items: center; color: var(--gold);
  transition: all 0.5s ease; position: relative;
}
.wa-fab .circle::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px solid var(--gold);
  opacity: 0.4; animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}
.wa-fab:hover .circle {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 0 32px rgba(201,168,76,0.4);
}
.wa-fab svg { width: 26px; height: 26px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RTL adjustments */
body[dir="rtl"] { font-family: 'Cairo', var(--sans); }
body[dir="rtl"] .nav-links a { letter-spacing: 0; font-family: 'Cairo', sans-serif; font-size: 13px; text-transform: none; font-weight: 400; }
body[dir="rtl"] .btn { letter-spacing: 0; font-family: 'Cairo', sans-serif; font-size: 13px; text-transform: none; font-weight: 500; }
body[dir="rtl"] .wa-fab { right: auto; left: 36px; }
body[dir="rtl"] .wa-fab .label { transform: translateX(-10px); }
body[dir="rtl"] .wa-fab:hover .label { transform: translateX(0); }
body[dir="rtl"] .section-num, body[dir="rtl"] .page-hero .crumb {
  font-family: 'Cairo', sans-serif; font-style: normal;
}

@media (max-width: 720px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 9px; letter-spacing: 0.18em; }
  .section, .page-hero { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .page-hero { padding-top: 160px; padding-bottom: 60px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .wa-fab .label { display: none; }
}
