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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8D08A;
  --dark: #0A0A0F;
  --dark2: #12121A;
  --dark3: #1A1A28;
  --dark4: #222235;
  --text: #F0EDE8;
  --text-muted: #9A9580;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: all 0.4s ease;
}
.nav-logo { display: flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.nav-logo img { height: 64px; width: auto; filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%); transition: filter 0.3s ease; }
.nav-logo img:hover { filter: brightness(0) saturate(100%) invert(90%) sepia(30%) saturate(400%) hue-rotate(5deg) brightness(110%); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-rccg { font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 500; }
.nav-logo-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--text); font-weight: 700; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-burger { display: none; }

/* BUTTONS */
.btn-primary {
  padding: 0.85rem 2.5rem; background: var(--gold); color: var(--dark);
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 0.85rem 2.5rem; background: transparent; color: var(--text);
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(201,168,76,0.4); cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.7rem; }

/* TYPOGRAPHY */
.section-eyebrow { font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--text); line-height: 1.15; }
.section-title .italic { font-style: italic; color: var(--gold); }

/* ORNAMENT */
.ornament { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 2rem; }
.ornament-line { flex: 1; max-width: 60px; height: 1px; background: var(--gold); }
.ornament-diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.ornament.center { justify-content: center; }

/* DIVIDER */
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* PAGE HERO (inner pages) */
.page-hero {
  min-height: 40vh; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 8rem 4rem 4rem; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 60%, #1a1430 0%, var(--dark) 70%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-cross {
  position: absolute; right: 4rem; top: 50%; transform: translateY(-50%);
  opacity: 0.04; pointer-events: none;
}
.page-hero-cross svg { width: 400px; height: 400px; }

/* FOOTER */
footer { background: var(--dark); padding: 3rem 4rem; border-top: 1px solid rgba(201,168,76,0.1); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { display: flex; align-items: center; margin-bottom: 1rem; }
.footer-brand .footer-logo img { height: 70px; width: auto; filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%); }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 250px; }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.1); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { width: 36px; height: 36px; border: 1px solid rgba(201,168,76,0.3); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--gold); text-decoration: none; transition: all 0.3s; }
.footer-socials a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-2px); }
.footer-socials a svg { display: block; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,15,0.98); border-top: 1px solid rgba(201,168,76,0.15); padding: 1rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.9rem 2rem; font-size: 0.85rem; letter-spacing: 2px; }
  .nav-burger { display: flex; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; }
  .nav-burger span { display: block; height: 2px; background: var(--gold); transition: all 0.3s ease; transform-origin: center; }
  .nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero-cross { display: none; }
  footer { padding: 3rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
