:root{
  --tan: #d2ad6b;
  --ink: #1f1f1f;
  --muted: rgba(31,31,31,.70);
  --blue: #375b82;

  --card: rgba(255,255,255,.92);
  --card-border: rgba(0,0,0,.10);
  --shadow: 0 10px 22px rgba(0,0,0,.10);

  --wrap: 1100px;
  --pad: 22px;
  --radius: 10px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.5;
}

/* Background (fixed like your mock, but page is scrollable) */
.bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/flag-bg.png"); /* ASSET MARKER */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(.95) contrast(.95);
}
.bg::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 220, 170, 0.30);
}

/* Page wrapper */
.wrap{
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--tan);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo{
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-text{ line-height: 1.05; }
.brand-name{
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .2px;
}
.brand-sub{
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
  opacity: .72;
}

/* Nav */
.nav-toggle{
  display: none;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.35);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.nav{
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-link{
  text-decoration: none;
  color: rgba(31,31,31,.90);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-link:hover{
  text-decoration: underline;
}

/* Sections */
.section{
  padding: 100px 0;
}
.center{
  text-align: center;
}
.section-title{
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 22px;
}
.section-subtitle{
  margin: 0 auto 28px;
  max-width: 70ch;
  color: var(--muted);
}

/* Underline style like mock */
.underline{
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}
.underline::after{
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: rgba(0,0,0,.45);
}

/* HERO */
.hero{
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-inner{
  text-align: center;
}
.hero-title{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
}
.hero-tagline{
  margin: 0;
  font-weight: 800;
  color: rgba(31, 31, 31, 0.95);
  letter-spacing: .2px;
}

/* Buttons */
.hero-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{
  background: rgba(31,31,31,.90);
  color: #fff;
}
.btn-primary:hover{ background: rgba(31,31,31,1); }
.btn-ghost{
  background: rgba(255,255,255,.45);
  color: rgba(31,31,31,.95);
  border-color: rgba(0,0,0,.18);
}
.btn-ghost:hover{ background: rgba(255,255,255,.60); }

/* Mission */
.mission-text{
  max-width: 56ch;
  margin: 18px auto 0; /* push the box down so the heading sits clearly above */
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(31,31,31,.92);
  /* removed inner background; panel provides the background */
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

@media (max-width: 760px){
  .mission-text{
    padding: 14px 16px;
    max-width: calc(100% - 40px);
    display: block;
  }
}

/* Cards / grids */
.cards{
  display: grid;
  gap: 18px;
  align-items: stretch;
}
.card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  padding: 16px 16px 14px;
}
.card-title{
  margin: 0 0 8px;
  font-weight: 900;
  color: rgba(31,31,31,.95);
}
.card-text{
  margin: 0;
  color: rgba(31,31,31,.72);
}
.card-note{
  margin: 10px 0 0;
  color: rgba(31,31,31,.62);
  font-size: 14px;
}

.services-grid{
  grid-template-columns: repeat(3, 1fr);
}

/* Testimonials layout: 4 cards then 2 wide (desktop) */
.testimonials-grid{
  grid-template-columns: repeat(4, 1fr);
}
.quote-card .quote{
  font-weight: 900;
  color: rgba(0,0,0,.60);
  margin-bottom: 10px;
}

/* Truncated/full quote handling */
.quote .full{ display: none; }
.quote.expanded .full{ display: inline; }
.quote.expanded .short{ display: none; }
.see-more{
  margin-left: 8px;
  font-weight: 800;
  text-decoration: none;
  color: rgba(31,31,31,.8);
}
.see-more:hover{ text-decoration: underline; }
.person{
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.06));
  border: 1px solid rgba(0,0,0,.10);
}
/* Gold stars for testimonials */
.stars {
  margin-bottom: 8px;
  font-size: 16px;
}

.star {
  color: gold;
  margin-right: 2px;
}

.star.empty {
  color: #ddd; /* light gray for empty stars */
}

.person-title{
  font-weight: 900;
  font-size: 12px;
}
.person-desc{
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.wide{
  grid-column: span 2;
}

.section-cta{
  margin-top: 22px;
}

/* translucent panel for key sections so text always pops */
.card-panel{
  background: rgba(255,255,255,0.72);
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

@media (max-width: 760px){
  .card-panel{ padding: 18px; }
}

/* header CTAs (mobile) */
.header-ctas{ display: none; }
@media (max-width: 760px){
  .header-ctas{ display: flex; gap: 8px; align-items: center; }
  .header-ctas .btn{ padding: 8px 10px; font-size: 14px; }
  .header-row{ gap: 8px; }
}

/* Typography spacing tweaks */
h1,h2,h3{ margin-top: 0; margin-bottom: 12px; }
h1{ font-size: clamp(22px, 4vw, 36px); }
h2{ font-size: clamp(18px, 2.6vw, 26px); }
h3{ font-size: 16px; }

/* Pricing */
.pricing-grid{
  grid-template-columns: repeat(3, 1fr);
}
.featured{
  outline: 2px solid rgba(55, 91, 130, 0.25);
  background: rgba(255,255,255,.96);
}

/* Contact */
.contact-wrap{
  display: grid;
  /* left = contact box (narrower), right = eagle column */
  grid-template-columns: minmax(240px, 1fr) 280px;
  gap: 36px;
  align-items: center;
}
.contact-left{
  background: rgba(255,255,255,0.88);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  max-width: 480px;
}
.contact-line{
  margin: 8px 0;
  color: rgba(0,0,0,.72);
}
.social{
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.social-icon{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  background: rgba(0,0,0,.08);
  color: rgba(0,0,0,.70);
  border: 1px solid rgba(0,0,0,.12);
}
.social-icon:hover{
  background: rgba(0,0,0,.12);
}


.eagle{
  justify-self: end;
  width: 320px; /* larger eagle */
  max-height: 200px;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  color: rgba(0,0,0,.55);
  font-weight: 800;
}

.eagle[src]{
  background: transparent;
  border: none;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.footer{
  margin-top: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.12);
}
.footer-text{
  color: rgba(0,0,0,.60);
  font-weight: 700;
}
.footer-top{
  text-decoration: none;
  font-weight: 900;
  color: rgba(0,0,0,.70);
}
.footer-top:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .wide{ grid-column: span 2; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .eagle{ justify-self: start; }
}

@media (max-width: 760px){
  .contact-left{
    padding: 12px;
    background: rgba(255,255,255,0.95);
  }
}

@media (max-width: 760px){
  .nav-toggle{ display: inline-flex; }
  .nav{
    display: none;
    position: absolute;
    right: 16px;
    left: 16px;
    top: 70px;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: var(--shadow);
  }
  .nav.open{ display: flex; }
  .nav-link{
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,.04);
  }

  .services-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .wide{ grid-column: span 1; }

  .hero{ padding-top: 88px; }
}
