:root {
  --navy-900: #071c40;
  --navy-800: #0d2a5e;
  --navy-700: #123a82;
  --blue-600: #1d63d6;
  --blue-500: #2f7dfd;
  --blue-100: #e8f1ff;
  --blue-50: #f4f8ff;
  --gold-500: #f5b400;
  --gold-600: #dd9d00;
  --white: #ffffff;
  --ink-900: #0f1a2e;
  --ink-600: #45526b;
  --ink-400: #7c8aa5;
  --border: #dbe6f7;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(7, 28, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(7, 28, 64, 0.12);
  --shadow-lg: 0 20px 48px rgba(7, 28, 64, 0.18);

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy-900); margin: 0 0 var(--space-2); line-height: 1.2; }
p { margin: 0 0 var(--space-2); color: var(--ink-600); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-3); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap; min-height: 44px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: var(--white); background: rgba(255,255,255,0.06); backdrop-filter: blur(2px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-large { padding: 16px 30px; font-size: 16px; }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--space-3); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--navy-900); }
.brand-sub { font-family: var(--font-heading); font-weight: 600; font-size: 12px; color: var(--blue-600); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; gap: var(--space-4); flex: 1; justify-content: center; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink-600); padding: 8px 2px; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-600);
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.phone-link { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); font-family: var(--font-heading); }
.phone-link svg { width: 18px; height: 18px; color: var(--blue-600); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 0 auto; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 76px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7,28,64,0.92) 10%, rgba(7,28,64,0.72) 45%, rgba(13,42,94,0.55) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; padding-top: var(--space-6); padding-bottom: var(--space-7); }
.eyebrow { font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--space-2); }
.eyebrow.center { text-align: center; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; margin-bottom: var(--space-3); }
.hero-lead { color: rgba(255,255,255,0.88); font-size: 18px; max-width: 560px; margin-bottom: var(--space-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 14px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85); animation: bob 2.2s ease-in-out infinite; z-index: 1;
}
.scroll-cue svg { width: 26px; height: 26px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-7) 0; }
.section-alt { background: var(--blue-50); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-title.center { text-align: center; }
.section-lead { max-width: 620px; font-size: 17px; }
.section-lead.center { margin: 0 auto var(--space-5); text-align: center; }
.center { text-align: center; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-5);
}
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-4); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2);
  color: var(--blue-600);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 15px; margin-bottom: 0; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
.ba-card {
  margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-900);
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ba-card img { width: 100%; height: 340px; object-fit: cover; }
.ba-card figcaption {
  padding: 14px 18px; font-family: var(--font-heading); font-weight: 600; color: var(--white); font-size: 15px;
  background: var(--navy-900);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 var(--space-4); }
.about-point { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); font-size: 15px; }
.about-point svg { width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; }

/* ---------- Service Area ---------- */
.area-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-5); align-items: stretch; margin-top: var(--space-5); }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); align-content: start; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; }
.area-list svg { width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; }
.area-list .area-more { grid-column: 1 / -1; color: var(--blue-600); background: var(--blue-100); border: none; }
.area-list .area-more svg { color: var(--blue-600); }
.area-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; }
.area-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-6); }
.faq-intro .btn { margin-top: var(--space-2); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  background: none; border: none; text-align: left; padding: var(--space-3) 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--navy-900);
}
.faq-question svg { width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition); }
.faq-answer p { padding-bottom: var(--space-3); margin: 0; }
.faq-item.open .faq-answer { max-height: 240px; }

/* ---------- Contact ---------- */
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); }
.section-dark .eyebrow { color: var(--gold-500); }
.section-dark .section-title, .section-dark p { color: var(--white); }
.section-dark .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); align-items: start; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-2); font-weight: 600; color: var(--white); }
.contact-detail svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }
.contact-detail a { color: var(--white); }
.contact-detail a:hover { color: var(--gold-500); }
.contact-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.contact-badges span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-lg); }
.form-row { margin-bottom: var(--space-2); }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form-row label { display: block; font-weight: 600; font-size: 14px; color: var(--navy-900); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--ink-900); background: var(--white);
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue-600); }
.form-row textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-400); margin-top: var(--space-2); margin-bottom: 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); padding: var(--space-5) 0 var(--space-3); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.12); }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-sub { color: var(--gold-500); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.footer-nav a { color: rgba(255,255,255,0.75); font-weight: 500; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding-top: var(--space-3); text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--gold-500); color: var(--navy-900); font-family: var(--font-heading); font-weight: 700;
  align-items: center; justify-content: center; gap: 10px; padding: 14px; box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-call-bar svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: var(--space-2) var(--space-3);
    box-shadow: var(--shadow-md);
  }
  .main-nav.nav-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta .phone-link span { display: none; }
  .about-grid, .area-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: flex; }
  .hero { min-height: auto; padding-bottom: var(--space-6); }
  body { padding-bottom: 60px; }
}

@media (max-width: 720px) {
  .header-cta .btn-small { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { height: 66px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 10px; }
}
