/* ===== CROSSCOR — World-Class Redesign ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0B1D3A;
  --navy-light: #142d54;
  --gold: #C5A35A;
  --gold-light: #D4B978;
  --white: #FFFFFF;
  --off-white: #F7F6F3;
  --gray-100: #F0EFEC;
  --gray-200: #E0DED8;
  --gray-400: #9A9689;
  --gray-600: #5C5A52;
  --gray-800: #2E2D29;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--gray-800); line-height: 1.7; background: var(--white); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,29,58,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197,163,90,0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; height: 80px;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
  width: 42px; height: 42px; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: var(--gold); letter-spacing: -1px;
}
.logo-text { color: var(--white); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 1px; }
.logo-text span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 0; }
nav a {
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase; padding: 0.5rem 1rem;
  transition: color var(--transition); position: relative;
}
nav a:hover, nav a.active { color: var(--gold); }
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition);
}
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--navy); border: 1px solid rgba(197,163,90,0.15);
  padding: 0.5rem 0; box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 0.6rem 1.5rem; font-size: 0.78rem; white-space: nowrap; }
.dropdown a::after { display: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 10rem 0 6rem; text-align: center; position: relative; overflow: hidden;
  min-height: 70vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="none" stroke="rgba(197,163,90,0.04)" stroke-width="1" x="0" y="0" width="100" height="100"/></svg>');
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(197,163,90,0.3); padding: 0.5rem 1.5rem;
  margin-bottom: 2rem; font-weight: 500;
}
.hero h1 {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 1.5rem; max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 650px;
  margin: 0 auto 2.5rem; line-height: 1.8; font-weight: 300;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--gold); color: var(--navy); padding: 1rem 2.5rem;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase;
  transition: all var(--transition);
}
.hero-cta:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(197,163,90,0.3); }

/* Hero small variant */
.hero-sm {
  min-height: 40vh; padding: 8rem 0 4rem;
}
.hero-sm h1 { font-size: 2.8rem; }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
section.alt { background: var(--off-white); }

.section-label {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 700;
  color: var(--navy); line-height: 1.25; margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-600); max-width: 650px; line-height: 1.8;
  margin-bottom: 3rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--gray-200); padding: 2.5rem;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 48px; height: 48px; background: rgba(197,163,90,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.4rem; color: var(--gold);
}
.service-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--navy); }
.service-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem;
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold);
}

/* ===== TESTIMONIAL ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200); padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: var(--serif); font-size: 4rem;
  color: var(--gold); opacity: 0.3; position: absolute; top: 1rem; left: 1.5rem; line-height: 1;
}
.testimonial-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; font-style: italic; padding-top: 1.5rem; }
.testimonial-card .source { margin-top: 1.5rem; font-size: 0.82rem; font-weight: 600; color: var(--navy); font-style: normal; text-transform: uppercase; letter-spacing: 0.5px; }

/* Full testimonial list */
.testimonials-list .testimonial-item {
  border-bottom: 1px solid var(--gray-200); padding: 2.5rem 0;
}
.testimonials-list .testimonial-item:last-child { border-bottom: none; }
.testimonials-list .testimonial-item blockquote {
  font-size: 1rem; color: var(--gray-600); line-height: 1.9; font-style: italic;
  padding-left: 2rem; border-left: 3px solid var(--gold); margin: 0;
}
.testimonials-list .testimonial-item .attribution {
  margin-top: 1rem; padding-left: 2rem; font-size: 0.82rem; font-weight: 600;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===== ABOUT / BIO ===== */
.bio-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.bio-photo {
  background: var(--gray-100); aspect-ratio: 3/4; display: flex;
  align-items: center; justify-content: center; border: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
}
.bio-photo-placeholder {
  font-family: var(--serif); font-size: 5rem; color: var(--gold); opacity: 0.3;
}
.bio-content h2 { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin-bottom: 0.5rem; }
.bio-content .credentials { font-size: 0.85rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2rem; }
.bio-content p { margin-bottom: 1.5rem; font-size: 0.95rem; color: var(--gray-600); line-height: 1.9; }

/* ===== CONTENT PAGE ===== */
.content-page { padding: 3rem 0 5rem; }
.content-page h2 {
  font-family: var(--serif); font-size: 1.8rem; color: var(--navy);
  margin: 3rem 0 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold);
}
.content-page h2:first-child { margin-top: 0; }
.content-page h3 {
  font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin: 2.5rem 0 1rem;
}
.content-page p { margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--gray-600); line-height: 1.9; }
.content-page ul {
  margin: 1rem 0 1.5rem 1.5rem; list-style: none;
}
.content-page ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem;
  font-size: 0.95rem; color: var(--gray-600);
}
.content-page ul li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

/* ===== STATS ===== */
.stats-bar {
  background: var(--navy); padding: 4rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-item .number {
  font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.stat-item .label {
  font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase;
  letter-spacing: 1px; margin-top: 0.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 5rem 0; text-align: center;
}
.cta-section h2 { font-family: var(--serif); font-size: 2.5rem; color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-section .hero-cta { display: inline-flex; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-info h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.8; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; }
.contact-detail .value { font-size: 0.95rem; color: var(--gray-800); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 1rem 1.25rem; border: 1px solid var(--gray-200);
  font-family: var(--sans); font-size: 0.92rem; margin-bottom: 1rem;
  background: var(--white); transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  background: var(--gold); color: var(--navy); border: none; padding: 1rem 2.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: all var(--transition);
}
.contact-form button:hover { background: var(--gold-light); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy); border-top: 1px solid rgba(197,163,90,0.15); padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text { font-size: 1.1rem; margin-bottom: 1rem; display: block; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--gold); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 1.25rem; font-weight: 600;
}
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; padding: 0.3rem 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .hero-sm h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  nav { display: none; position: fixed; top: 80px; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; padding: 2rem; gap: 0; overflow-y: auto; }
  nav.open { display: flex; }
  nav a { padding: 1rem 0; font-size: 0.9rem; }
  nav a::after { display: none; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 1rem; }
  .has-dropdown:hover .dropdown { display: block; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 8rem 0 4rem; min-height: 50vh; }
  .hero-sm { padding: 7rem 0 3rem; min-height: 30vh; }
  .section-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
