/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #0a1e3d;
  --blue-mid: #132e5b;
  --blue-light: #1a3f7a;
  --gold: #c9a84c;
  --gold-light: #e0c572;
  --white: #ffffff;
  --offwhite: #f5f5f0;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #1e293b;
  --shadow: 0 4px 24px rgba(10,30,61,.12);
  --radius: 8px;
  --transition: .35s ease;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; }

/* === UTILITIES === */
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 0; }
.section--alt { background: var(--offwhite); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.btn {
  display: inline-block; padding: 14px 36px;
  background: var(--gold); color: var(--blue);
  font-weight: 700; font-size: .95rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
  text-transform: uppercase; letter-spacing: .5px;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--blue); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blue);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 48px;
}
.gold-line {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 16px auto 24px;
  border-radius: 2px;
}

/* === FADE-IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === HEADER / NAV === */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,30,61,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: background var(--transition);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 1px;
}
.logo img { width: 40px; height: 40px; }
.logo span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: rgba(255,255,255,.85);
  font-size: .9rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(10,30,61,.88), rgba(19,46,91,.82)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding-top: 80px;
}
.hero--small {
  min-height: 45vh;
  background: linear-gradient(135deg, rgba(10,30,61,.9), rgba(19,46,91,.85)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
}
.hero__content { max-width: 700px; }
.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 .highlight { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--blue);
  padding: 28px 0;
  border-bottom: 2px solid var(--gold);
}
.trust-bar__inner {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.85); font-size: .9rem;
}
.trust-item svg { width: 22px; height: 22px; fill: var(--gold); flex-shrink: 0; }

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(10,30,61,.18); }
.card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; fill: var(--gold); }
.card h3 { font-size: 1.15rem; color: var(--blue); margin-bottom: 10px; }
.card p { font-size: .92rem; color: var(--gray); }

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  height: 420px;
  background: linear-gradient(135deg, rgba(10,30,61,.3), rgba(10,30,61,.1)),
    url('https://images.unsplash.com/photo-1560520031-3a4dc4e9de0c?w=800&q=80') center/cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text h2 { font-size: 2rem; color: var(--blue); margin-bottom: 8px; }
.about-text .gold-line { margin: 16px 0 24px; }
.about-text p { margin-bottom: 16px; color: var(--gray); }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px;
}
.stat { text-align: center; padding: 16px; background: var(--offwhite); border-radius: var(--radius); }
.stat__number { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.stat__label { font-size: .8rem; color: var(--gray); margin-top: 4px; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  padding: 64px 0;
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px;
  background: var(--white);
  border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--blue);
  text-align: left;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px;
  color: var(--gray); font-size: .95rem;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: '\201C'; font-size: 4rem;
  color: var(--gold); opacity: .3;
  position: absolute; top: 12px; left: 20px;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial p { font-style: italic; color: var(--gray); margin-bottom: 16px; padding-top: 24px; }
.testimonial__author { font-weight: 700; color: var(--blue); font-size: .9rem; }
.testimonial__location { color: var(--gray); font-size: .8rem; }
.stars { color: var(--gold); margin-bottom: 8px; letter-spacing: 2px; }

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; font-size: .9rem;
  color: var(--blue); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info { padding: 20px 0; }
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-item svg { width: 24px; height: 24px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: .95rem; color: var(--blue); margin-bottom: 4px; }
.contact-info-item p { font-size: .9rem; color: var(--gray); }

/* === CONTENT PAGES === */
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 1.8rem; color: var(--blue); margin-bottom: 8px; }
.content-section h3 { font-size: 1.3rem; color: var(--blue-mid); margin: 24px 0 10px; }
.content-section p { margin-bottom: 16px; color: var(--gray); }
.content-section ul { margin: 12px 0 20px 20px; }
.content-section ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  color: var(--gray); font-size: .95rem;
}
.content-section ul li::before {
  content: ''; position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 32px 0;
}
.expertise-detail {
  background: var(--offwhite);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  margin-bottom: 24px;
}
.expertise-detail h3 { margin-top: 0; }

/* === 404 === */
.page-404 {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 80px;
}
.page-404 h1 { font-size: 6rem; color: var(--gold); font-weight: 800; }
.page-404 h2 { font-size: 1.8rem; color: var(--blue); margin-bottom: 16px; }
.page-404 p { color: var(--gray); margin-bottom: 32px; }

/* === FOOTER === */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer p, .footer a { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-brand p { margin-bottom: 12px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}
.footer-bottom a { font-size: .8rem; }
.footer-partners { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-partners a { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-partners a:hover { color: var(--gold); }

/* === MAP === */
.map-container {
  width: 100%; height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,30,61,.98);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 28px; z-index: 999;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.2rem; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero { min-height: 75vh; }
  .hero--small { min-height: 40vh; }
  .about-grid, .contact-grid, .two-col {
    grid-template-columns: 1fr;
  }
  .about-image { height: 280px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-bar__inner { gap: 24px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { text-align: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat__number { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
