﻿/* ===========================
   RESET & VARIABLES
   =========================== */
:root {
  --navy:       #1b2d50;
  --navy-dark:  #13203a;
  --navy-mid:   #24396a;
  --gold:       #c49a45;
  --gold-dark:  #a67d30;
  --gold-light: #d4ab60;
  --white:      #ffffff;
  --off-white:  #f7f4ef;
  --light-gray: #ede8e0;
  --mid-gray:   #c4bdb2;
  --text:       #1e1a14;
  --text-mid:   #4a453d;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 28px rgba(0,0,0,0.13);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.18);
  --radius:     6px;
  --max-w:      1180px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 72px; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.15; }
.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-loc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  white-space: nowrap;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: var(--radius);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-full { width: 100%; }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--gutter) 5rem;
  background-color: var(--navy);
  background-image: url('assets/hero.jpg');
  background-image: image-set(
    url('assets/hero.webp') type('image/webp'),
    url('assets/hero.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19, 32, 58, 0.45) 0%,
    rgba(19, 32, 58, 0.35) 55%,
    rgba(10, 17, 34, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(10, 18, 38, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.96);
  max-width: 660px;
  line-height: 1.75;
  margin: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  z-index: 1;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar { background: var(--navy-dark); }
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: stretch;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  gap: 0.3rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 1rem 0;
}

/* ===========================
   SHARED SECTION STYLES
   =========================== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--off-white); }

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

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.sec-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.25rem;
}
.sec-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.sec-lead { color: var(--text-mid); font-size: 1.05rem; }

/* ===========================
   ABOUT
   =========================== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.about-text p { color: var(--text-mid); font-size: 1.02rem; }
.about-text .btn { margin-top: 0.75rem; }

.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}
.about-card h3 { font-size: 1.85rem; color: var(--white); margin-bottom: 0.85rem; }
.about-card > p { color: rgba(255,255,255,0.78); font-size: 0.96rem; margin-bottom: 1.35rem; }

.check-list { list-style: none; display: grid; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  background: var(--gold);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 6 5 9 10 3'/%3E%3C/svg%3E");
  background-size: 68%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.75rem; }
.service-card p { color: var(--text-mid); font-size: 0.94rem; line-height: 1.7; margin: 0; }

/* ===========================
   SERVICE AREA MAP
   =========================== */
.service-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 1.25rem;
  background: #b0cfe0;
  line-height: 0;
  max-width: 620px;
}
.map-note {
  font-size: 0.9rem;
  color: var(--text-mid);
  text-align: center;
}
.map-note code {
  background: var(--light-gray);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
}

/* ===========================
   CONTACT
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-mid); font-size: 1rem; margin-bottom: 1.5rem; }

.contact-details { list-style: none; display: grid; gap: 0.9rem; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.contact-details svg { flex-shrink: 0; color: var(--gold); }

/* ===========================
   FORM
   =========================== */
.contact-form {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.15rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.req { color: var(--gold-light); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.faq-item:first-child { border-top: 1px solid var(--light-gray); }

.faq-q {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.65rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.faq-a {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
  padding-left: 1rem;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.55); padding: 2.25rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.footer-copy { font-size: 0.88rem; margin: 0; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 0.25rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.6rem 0; font-size: 1rem; }
  .nav-cta { display: inline-block; width: auto; margin-top: 0.5rem; padding: 0.55rem 1.1rem !important; }
  .nav-links li:has(.nav-cta) { width: auto; }
  .nav-toggle { display: flex; }

  .about-layout,
  .contact-layout { grid-template-columns: 1fr; }

  .stats-inner { flex-wrap: wrap; }
  .stat { min-width: 45%; }
  .stat-sep { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat { min-width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }

  /* Remove frosted glass panel on mobile — darken overlay instead */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 18, 38, 0.82) 0%,
      rgba(10, 18, 38, 0.75) 50%,
      rgba(5, 10, 22, 0.88) 100%
    );
  }

  .hero-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 1.5rem 1rem;
  }

  .hero h1,
  .hero-sub,
  .hero-eyebrow {
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  }
}