/* ==========================================================================
   ULTRA-PREMIUM DARK LUXURY THEME
   ========================================================================== */

:root {
  /* Colors */
  --bg-base: #0a0a0b;
  /* Nearly black void */
  --bg-surface: #121214;
  /* Slightly lighter for cards */
  --bg-surface-light: #18181b;

  --text-primary: #f4f4f5;
  --text-muted: #a1a1aa;

  --gold-primary: #d4af37;
  /* Classic metallic gold */
  --gold-muted: #9c8022;
  --gold-glow: rgba(212, 175, 55, 0.15);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --container-width: 1400px;
  --section-pad: 120px 5%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Texture: Film Grain overlay for richness */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

a {
  text-decoration: none;
  color: inherit;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2.5rem;
}

.center {
  text-align: center;
}

/* ==========================================================================
     TYPOGRAPHY
     ========================================================================== */

h1,
h2,
h3,
h4,
.logo-name {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

.italic-serif {
  font-style: italic;
  color: var(--gold-primary);
  font-weight: 300;
}

.body-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
     HEADER
     ========================================================================== */

.header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 40px 5%;
  z-index: 100;
  mix-blend-mode: difference;
  /* Highly premium effect */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 2rem;
  letter-spacing: 1px;
  color: #fff;
}

.logo-desc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-muted);
  margin-top: -5px;
}

.main-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  transition: color 0.4s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
     BUTTONS
     ========================================================================== */

.btn-outline {
  border: 1px solid var(--gold-muted);
  padding: 10px 24px;
  border-radius: 0;
  /* Sharp edges for luxury */
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
}

.btn-gold,
.btn-gold-large {
  display: inline-block;
  background: var(--gold-primary);
  color: #000;
  padding: 18px 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.btn-gold:hover,
.btn-gold-large:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-gold-large {
  padding: 24px 60px;
  font-size: 1rem;
}

/* ==========================================================================
     HERO: Asymmetric Split Screen
     ========================================================================== */

.hero-split {
  display: flex;
  min-height: 100vh;
  padding-top: 100px;
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 5% 0 10%;
  background-color: var(--bg-base);
}

.hero-text-box {
  max-width: 650px;
}

.hero-heading {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  margin-bottom: 30px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 80%;
  margin-bottom: 40px;
}

.hero-right {
  flex: 0.8;
  position: relative;
  background: var(--bg-surface);
}

.image-reveal-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: sepia(0.2) contrast(1.1) brightness(0.9);
  /* Cinematic color grading */
}

/* ==========================================================================
     ABOUT: LEGAL FAMILY OFFICE
     ========================================================================== */

.about-section {
  padding: 150px 0 50px;
  background-color: var(--bg-base);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.luxury-list {
  list-style-type: none;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.luxury-list li {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.luxury-list span {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ==========================================================================
     EXPERTISE SECTION
     ========================================================================== */

.expertise-section {
  padding: 150px 0;
  background-color: var(--bg-surface);
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 100px;
}

.section-heading {
  font-size: clamp(3rem, 4vw, 4.5rem);
}

.gold-line {
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.expertise-card {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: border-color 0.4s ease;
}

.expertise-card:hover {
  border-top-color: var(--gold-primary);
}

.expertise-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -20px;
  right: 0;
  line-height: 1;
  z-index: 0;
  transition: color 0.4s ease;
}

.expertise-card:hover .expertise-number {
  color: var(--gold-glow);
}

.expertise-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.expertise-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
     SOCIAL PROOF (Testimonials)
     ========================================================================== */

.proof-section {
  padding: 150px 0;
  background-color: var(--bg-base);
}

.proof-header {
  text-align: center;
  margin-bottom: 80px;
}

.google-rating {
  margin-top: 15px;
  color: var(--gold-primary);
  font-size: 1.2rem;
  letter-spacing: 4px;
}

.google-rating span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 1px;
  margin-left: 10px;
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-item {
  background: var(--bg-surface-light);
  padding: 50px 40px;
}

.quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 30px;
}

.author {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
}

/* ==========================================================================
     FINAL CTA
     ========================================================================== */

.contact-section {
  position: relative;
  padding: 180px 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-surface), var(--bg-base));
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-heading {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 30px;
}

.contact-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 60px;
}

/* ==========================================================================
     FOOTER
     ========================================================================== */

.footer {
  padding: 100px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand p {
  color: var(--gold-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 10px;
}

.footer-info h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-info p,
.footer-info a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.hover-gold:hover {
  color: var(--gold-primary);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
     ANIMATIONS & REVEALS
     ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.scale-in {
  transform: scale(1.05);
  transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.is-revealed.scale-in {
  transform: scale(1);
}

/* ==========================================================================
     RESPONSIVE
     ========================================================================== */

@media (max-width: 1024px) {

  .hero-split,
  .about-grid {
    flex-direction: column;
    padding-top: 120px;
    display: flex;
  }

  .header {
    mix-blend-mode: normal;
    background: var(--bg-base);
  }

  .hero-left,
  .hero-right {
    flex: none;
    width: 100%;
  }

  .hero-left {
    padding: 40px 5%;
    margin-bottom: 40px;
  }

  .hero-right {
    height: 60vh;
  }

  .expertise-grid,
  .testimonials-masonry,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}