/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ========== NAVBAR ========== */
.nav-scroll {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(240, 244, 250, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav-scroll.scrolled { box-shadow: 0 4px 24px rgba(30, 58, 95, 0.08); }
nav { display: flex; align-items: center; height: 4rem; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: #1e3a5f; }
.nav-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #1e3a5f 0%, #c8952e 100%);
  color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span:last-child { font-size: 0.65rem; font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: #33435c; transition: color 0.2s; }
.nav-links a:hover { color: #c8952e; }
.nav-cta {
  padding: 0.5rem 1.25rem; border-radius: 9999px;
  background: #1e3a5f; color: #fff !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #c8952e; transform: translateY(-1px); }
.nav-toggle { display: none; margin-left: auto; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav-bar { display: block; width: 22px; height: 2px; background: #1e3a5f; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(160deg, #f0f4fa 0%, #fdf8e8 50%, #f0f4fa 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(200,149,46,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(30,58,95,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  position: relative; z-index: 1;
}
.hero-visual { position: relative; }
.hero-img { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 24px 64px rgba(30,58,95,0.12); }
.hero-img--main { width: 100%; aspect-ratio: 720/900; }
.hero-img--accent {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 55%; aspect-ratio: 480/360;
  border-radius: 1rem; overflow: hidden;
  border: 6px solid #f0f4fa;
  box-shadow: 0 16px 48px rgba(30,58,95,0.1);
}
.hero-badge {
  position: absolute; top: 1.5rem; left: -1rem;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: #fff; color: #1e3a5f;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: 0 4px 16px rgba(30,58,95,0.1);
}
.hero-badge svg { color: #c8952e; flex-shrink: 0; }
.hero-content { padding: 1rem 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #c8952e; margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c8952e; flex-shrink: 0;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  color: #1e3a5f; margin-bottom: 1.5rem;
}
.hero-headline-accent {
  font-style: italic; color: #c8952e;
}
.hero-desc {
  font-size: 1.1rem; line-height: 1.7;
  color: #4f6589; margin-bottom: 2rem; max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 1.5rem; align-items: center; }
.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stat-num { font-size: 1.5rem; font-weight: 700; color: #1e3a5f; }
.hero-stat-label { font-size: 0.75rem; color: #7f97b8; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-divider { width: 1px; height: 32px; background: #d9e2f1; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: 9999px;
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #1e3a5f; color: #fff; }
.btn-primary:hover { background: #33435c; box-shadow: 0 8px 24px rgba(30,58,95,0.2); }
.btn-outline { background: transparent; color: #1e3a5f; border: 2px solid #1e3a5f; }
.btn-outline:hover { background: #1e3a5f; color: #fff; }
.btn-gold { background: #c8952e; color: #1e3a5f; }
.btn-gold:hover { background: #e5a224; box-shadow: 0 8px 24px rgba(200,149,46,0.3); }
.btn-full { width: 100%; justify-content: center; }

/* ========== SECTION COMMON ========== */
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #c8952e; margin-bottom: 1rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; width: 24px; height: 1.5px; background: #c8952e; opacity: 0.5;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15;
  color: #1e3a5f; margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.05rem; line-height: 1.7; color: #637da3; }

/* ========== SERVICES ========== */
.services { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.service-card {
  padding: 2rem; border-radius: 1rem;
  background: #f0f4fa; border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { border-color: #c8952e; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,58,95,0.08); }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #1e3a5f 0%, #33435c 100%);
  display: flex; align-items: center; justify-content: center;
  color: #c8952e; margin-bottom: 1.25rem;
}
.service-title { font-size: 1.15rem; font-weight: 700; color: #1e3a5f; margin-bottom: 0.5rem; }
.service-desc { font-size: 0.9rem; line-height: 1.65; color: #637da3; }

/* ========== HOW IT WORKS ========== */
.how-it-works { background: linear-gradient(180deg, #f0f4fa 0%, #fff 100%); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 40px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, #d9e2f1, #c8952e, #d9e2f1);
  z-index: 0;
}
.step-card {
  text-align: center; position: relative; z-index: 1;
  padding: 2rem 1.5rem;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: #d9e2f1;
  line-height: 1; margin-bottom: 0.5rem;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid #c8952e;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: #1e3a5f;
  box-shadow: 0 4px 16px rgba(200,149,46,0.15);
}
.step-title { font-size: 1.1rem; font-weight: 700; color: #1e3a5f; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; line-height: 1.65; color: #637da3; }
.step-connector {
  display: none; /* desktop connector line handled by ::before */
}

/* ========== ABOUT ========== */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-visual { position: relative; }
.about-img-main { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 24px 64px rgba(30,58,95,0.1); aspect-ratio: 640/800; }
.about-img-float {
  position: absolute; bottom: -2rem; left: -1rem;
  width: 55%; border-radius: 1rem; overflow: hidden;
  border: 5px solid #fff; box-shadow: 0 12px 32px rgba(30,58,95,0.1);
}
.about-content { padding: 1rem 0; }
.about-content .section-eyebrow { justify-content: flex-start; }
.about-content .section-title { text-align: left; }
.about-content > p { font-size: 1rem; line-height: 1.75; color: #4f6589; margin-bottom: 1rem; }
.about-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; line-height: 1.55; color: #33435c;
}
.about-features li svg { color: #c8952e; flex-shrink: 0; margin-top: 2px; }

/* ========== LOCATION ========== */
.location { background: #f0f4fa; }
.location-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: stretch; }
.location-map { border-radius: 1rem; overflow: hidden; min-height: 400px; box-shadow: 0 12px 32px rgba(30,58,95,0.08); }
.location-info { display: flex; flex-direction: column; gap: 1.25rem; }
.location-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; border-radius: 1rem;
  background: #fff; border: 1px solid #d9e2f1;
}
.location-card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, #1e3a5f, #33435c);
  display: flex; align-items: center; justify-content: center;
  color: #c8952e; flex-shrink: 0;
}
.location-card-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #7f97b8; margin-bottom: 0.25rem; }
.location-card-value { font-size: 0.95rem; font-weight: 600; color: #1e3a5f; line-height: 1.5; white-space: pre-line; }
.location-phone { color: #c8952e; transition: color 0.2s; }
.location-phone:hover { color: #a67420; }

/* ========== CTA ========== */
.cta { background: linear-gradient(135deg, #1e3a5f 0%, #12223a 100%); padding: 6rem 0; }
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem; padding: 3rem;
}
.cta-desc { font-size: 1rem; line-height: 1.75; color: #bcccdd; margin-top: 1rem; }
.cta-form-wrap { position: relative; }
.cta-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: #bcccdd; letter-spacing: 0.04em; }
.form-input, .form-textarea {
  padding: 0.75rem 1rem; border-radius: 0.75rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #7f97b8; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: #c8952e; background: rgba(255,255,255,0.1); }
.form-textarea { resize: vertical; }
.cta-success {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; padding: 2rem;
}
.cta-success svg { color: #c8952e; }
.cta-success-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.cta-success p { font-size: 0.9rem; color: #bcccdd; line-height: 1.6; }
.cta-success-close {
  margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600;
  color: #c8952e; text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer { background: #12223a; color: #bcccdd; padding: 4rem 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-tagline { font-size: 0.9rem; line-height: 1.65; color: #7f97b8; margin-top: 1rem; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #c8952e; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a, .footer-col span { font-size: 0.875rem; color: #7f97b8; transition: color 0.2s; }
.footer-col a:hover { color: #c8952e; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0; font-size: 0.8rem; color: #637da3; }
.footer-disclaimer { max-width: 480px; text-align: right; }

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed; top: 4rem; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(240,244,250,0.98); backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30,58,95,0.08);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 2rem; font-size: 1rem; }
  .nav-cta { margin: 0.5rem 1rem; text-align: center; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-img--accent { width: 50%; right: -1rem; bottom: -1.5rem; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .steps-grid::before { display: none; }
  .step-connector { display: block; width: 48px; height: 2px; background: linear-gradient(90deg, #c8952e, #d9e2f1); margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 300px; }
  .cta-card { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

@media (max-width: 640px) {
  .hero { padding: 5rem 0 3rem; }
  .hero-img--accent { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 32px; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
}
