@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-mid: #122849;
  --navy-light: #1a3560;
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-pale: #F5EDD5;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --text: #1a1a2e;
  --text-muted: #5a6a7e;
  --border: rgba(201,168,76,0.2);
  --shadow: 0 8px 40px rgba(11,31,58,0.12);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo .firm-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.nav-logo .firm-sub {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s;
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* SECTIONS */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-subtitle.light { color: rgba(255,255,255,0.7); }

/* DIVIDER */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .firm-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-brand .firm-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact p span.icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.badge-pill {
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== PHOTO STYLES ========== */
.img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.85) 0%, rgba(11,31,58,0.5) 100%);
}

.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.photo-split .split-img {
  position: relative;
  overflow: hidden;
}

.photo-split .split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-split .split-img:hover img { transform: scale(1.04); }

.photo-split .split-content {
  background: var(--off-white);
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-card:hover img { transform: scale(1.05); }

.photo-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.photo-card .card-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.photo-card .card-overlay p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.photo-card .card-overlay .card-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* LEAD FORM POPUP */
.lead-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lead-popup-overlay.open { display: flex; }

.lead-popup {
  background: var(--white);
  border-radius: 4px;
  max-width: 560px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.4s ease both;
}

.lead-popup-top {
  background: var(--navy);
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
}

.lead-popup-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

.lead-popup-top h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.lead-popup-top p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.lead-popup-body { padding: 2rem 2.5rem 2.5rem; }

.lead-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lead-close:hover { color: var(--gold); }

.lead-form .form-group { margin-bottom: 1rem; }

.lead-form .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--gold);
  background: var(--white);
}

.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.lead-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--navy);
  color: var(--gold);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.lead-submit:hover { background: var(--navy-light); }

.lead-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* FLOATING LEAD BUTTON */
.lead-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.9rem 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.lead-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .photo-split { grid-template-columns: 1fr; }
  .photo-split .split-img { height: 300px; }
  .photo-split .split-content { padding: 3rem 2rem; }
  .lead-form-row { grid-template-columns: 1fr; }
}
