/* ============================================
   McHugh Partners LLC — Brand & Design System
   Deep Navy + Warm Gold | Playfair Display + Inter
   ============================================ */

:root {
  --navy-950: #0a1628;
  --navy-900: #1e3a5f;
  --navy-800: #1a3660;
  --navy-700: #1e4d8c;
  --navy-600: #2563a0;
  --gold-500: #c9a84c;
  --gold-400: #d4b75e;
  --gold-300: #e0c972;
  --gold-600: #a8872e;
  --neutral-50: #f8f9fa;
  --neutral-100: #f1f3f5;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #868e96;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.10);
  --shadow-lg: 0 8px 32px rgba(10,22,40,0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy-900); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--neutral-600);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  border: 2px solid var(--gold-500);
}
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-900);
}
.logo-mark { color: var(--navy-900); }

.logo-light { color: var(--white); }
.logo-light .logo-mark { color: var(--gold-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
}
.mobile-nav-inner a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.mobile-nav-inner a:last-child { border: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(30,58,95,0.85) 50%, rgba(26,54,96,0.80) 100%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding-top: 40px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-headline em {
  font-style: normal;
  color: var(--gold-400);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.trust-item svg { color: var(--gold-400); flex-shrink: 0; }

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--neutral-50);
}
.services .container { text-align: center; }
.services .section-sub { margin: 0 auto 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(30,58,95,0.08);
  color: var(--navy-900);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--navy-900); color: var(--gold-400); }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--navy-900);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.about-content .section-title { margin-bottom: 20px; }
.about-content > p {
  color: var(--neutral-600);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-features {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
}
.about-feature svg { color: var(--gold-500); flex-shrink: 0; }

/* ============================================
   WORK / GALLERY
   ============================================ */
.work {
  padding: 100px 0;
  background: var(--neutral-50);
}
.work .container { text-align: center; }
.work .section-sub { margin: 0 auto 56px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-item:hover img { transform: scale(1.06); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.work-item:hover .work-overlay { opacity: 1; }

.work-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201,168,76,0.04);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  color: var(--neutral-600);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-details { display: grid; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item svg { color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.6;
}
.contact-item a:hover { color: var(--gold-600); text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--neutral-200);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--neutral-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--neutral-400); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.form-success svg { color: var(--gold-500); margin: 0 auto 16px; }
.form-success h3 {
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.form-success p { color: var(--neutral-600); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   REVEAL ANIMATIONS (below-fold only)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal[data-revealed="true"] {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 20px; }

  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }

  .work { padding: 64px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item { aspect-ratio: 16/9; }

  .cta-banner { padding: 60px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .contact { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; }
}
