:root{
  --blue:#0a2a4a;
  --blue2:#1c6fb8;
  --bg:#f4f6f8;
  --text:#1c1f24;
  --muted:#5b6674;
  --card:#ffffff;
  --line:#e7ecf2;
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --radius:14px;
}

/* RESET */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* LAYOUT */
.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}
.section{ margin:36px 0; }
.muted{ color:var(--muted); }
.fineprint{ font-size:.85rem; color:var(--muted); }

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--blue);
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
}
.logo{ height:44px; }
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-name{ font-weight:900; }
.brand-tag{ font-size:.8rem; opacity:.9; }

.nav-toggle{
  background:none;
  border:1px solid rgba(255,255,255,.3);
  color:#fff;
  font-size:20px;
  padding:6px 10px;
  border-radius:10px;
  cursor:pointer;
}
.nav-links{
  display:none;
  flex-direction:column;
  gap:6px;
}
.nav-links a{
  color:#fff;
  font-weight:800;
  padding:8px 10px;
  border-radius:8px;
}
.nav-links a.active,
.nav-links a:hover{
  background:rgba(255,255,255,.15);
}
.nav-links.open{ display:flex; }

@media(min-width:900px){
  .nav-toggle{ display:none; }
  .nav-links{
    display:flex !important;
    flex-direction:row;
    gap:10px;
  }
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:var(--radius);
  border:1px solid var(--blue);
  font-weight:900;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  border:none;
}
.btn.ghost{
  background:transparent;
  border:1px solid #fff;
  color:#fff;
}
.btn.full{ width:100%; }

/* HERO */
.hero{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  padding:50px 0;
}
.hero-small{ padding:40px 0; text-align:center; }
.hero-grid{
  display:grid;
  gap:20px;
}
.hero-copy h1{
  font-size:2.2rem;
  margin-bottom:10px;
}
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.badge{
  background:rgba(255,255,255,.2);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
}
@media(min-width:900px){
  .hero-grid{ grid-template-columns:1.2fr .8fr; }
}

/* CARDS */
.cards{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.card{
  background:var(--card);
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.card h3{ color:var(--blue); }

/* SPLIT / PANELS */
.split{
  display:grid;
  gap:16px;
}
.panel{
  background:var(--card);
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
@media(min-width:900px){
  .split{ grid-template-columns:1fr 1fr; }
}

/* =========================
   GALLERY (FIXED + FINAL)
========================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
}

/* supports <figure> OR raw <img> */
.gallery-item,
.gallery-grid > img{
  background:#fff;
  border-radius:10px;
  padding:8px;
  transition:transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover,
.gallery-grid > img:hover{
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* force images visible */
.gallery-item img,
.gallery-grid > img{
  display:block;
  width:100%;
  height:190px;
  object-fit:contain;
  background:#f3f3f3;
  border-radius:8px;
}

/* captions */
.gallery-item figcaption{
  text-align:center;
  margin-top:6px;
  font-size:.78rem;
  font-weight:600;
  color:#555;
}

/* REVIEWS */
.review-rotator{ display:grid; gap:12px; }
.review-card{
  background:#fff;
  border-radius:var(--radius);
  padding:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.review-stars{ font-weight:900; }
.review-text{ font-size:1.05rem; }
.review-meta{
  display:flex;
  justify-content:space-between;
  font-weight:800;
}

/* FORMS */
.form label{
  display:grid;
  gap:6px;
  font-weight:800;
}
.form input,
.form select,
.form textarea{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  font-size:1rem;
}

/* CALLOUT */
.callout{
  background:linear-gradient(135deg,rgba(10,42,74,.12),rgba(95,179,255,.14));
  padding:18px;
  border-radius:var(--radius);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

/* FOOTER */
.footer{
  background:#061b31;
  color:#fff;
  padding:20px 0 0;
  margin-top:40px;
}
.footer-grid{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-links a{
  color:#fff;
  font-weight:800;
}
.footer-bottom{
  text-align:center;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.2);
  margin-top:12px;
}
@media(min-width:900px){
  .footer-grid{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
}
/* ===== GALLERY UPGRADE (NICE LOOK) ===== */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:14px;
}

.gallery-grid > img,
.gallery-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gallery-grid > img:hover,
.gallery-item:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  border-color:rgba(28,111,184,.35);
}

/* images look clearer + more “premium” */
.gallery-grid > img{
  width:100%;
  height:230px;
  object-fit:cover;          /* fills frame nicely */
  background:#eef2f6;
  border-radius:10px;
}

/* if you ever use <figure class="gallery-item"><img> */
.gallery-item img{
  width:100%;
  height:230px;
  object-fit:cover;
  background:#eef2f6;
  border-radius:10px;
}

/* optional: nicer section headings spacing */
.section h2{
  margin-bottom:10px;
}

/* optional: on phones, slightly shorter images */
@media (max-width:600px){
  .gallery-grid > img,
  .gallery-item img{
    height:200px;
  }
}
