
:root {
  --navy: #0B1F3B;
  --navy2: #102A4E;
  --gold: #C9A227;
  --gold2: #E2C15A;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --gray: #EEF2F6;
  --text: #0B1220;
  --muted: #425466;
  --shadow: 0 10px 30px rgba(11,31,59,.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: var(--navy);
  color: white;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.topbar a {
  color: white;
  opacity: .95;
}
.topbar .pill {
  display:inline-flex;
  gap:8px;
  align-items:center;
  background: rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 999px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(16,42,78,.10);
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 18px;
}
.brand {
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand .name {
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .name b {
  letter-spacing: .06em;
}
.brand .name span {
  font-size: 12px;
  color: var(--muted);
}

.menu {
  display:flex;
  gap: 18px;
  align-items:center;
}
.menu a {
  font-weight: 600;
  color: #1B2B45;
  opacity: .92;
}
.menu a:hover { opacity: 1; }
.cta {
  display:flex;
  gap: 10px;
  align-items:center;
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(16,42,78,.14);
  background: white;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(11,31,59,.06);
}
.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border: 0;
  color: #1B1400;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0px); }

.hamburger {
  display:none;
  border: 1px solid rgba(16,42,78,.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
  font-weight: 800;
}

.hero {
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(201,162,39,.22), transparent 60%),
    radial-gradient(700px 260px at 85% 10%, rgba(11,31,59,.18), transparent 55%),
    linear-gradient(180deg, rgba(238,242,246,.8), transparent 45%);
  padding: 44px 0 26px;
}
.hero-grid {
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: stretch;
}
.badges {
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,31,59,.06);
  border: 1px solid rgba(16,42,78,.10);
  color: #1B2B45;
  font-weight: 700;
  font-size: 13px;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 12px 0 10px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-actions {
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(16,42,78,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 14px;
}
.kpis {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kpi {
  padding: 12px;
  border-radius: 14px;
  background: rgba(11,31,59,.04);
  border: 1px solid rgba(16,42,78,.08);
}
.kpi b { display:block; font-size: 18px; }
.kpi span { color: var(--muted); font-size: 13px; }

.section {
  padding: 44px 0;
}
.section h2 {
  margin: 0 0 10px;
  font-size: 30px;
}
.section p.sub {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}
.grid-3 {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tile {
  padding: 18px;
}
.tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.tile p {
  margin: 0;
  color: var(--muted);
}
/* Put spacing back between paragraphs inside tile/cards */
.tile p.note{
  margin: 10px 0 0;      /* space between paragraphs */
  line-height: 1.6;
}

/* don't add extra space above the first paragraph */
.tile p.note:first-of-type{
  margin-top: 0;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(201,162,39,.18);
  border: 1px solid rgba(201,162,39,.35);
  font-weight: 900;
  color: #1B1400;
  margin-bottom: 10px;
}

.service-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.price {
  margin-top: 10px;
  font-weight: 800;
  color: #1B2B45;
}
.note {
  font-size: 13px;
  color: var(--muted);
}

.steps {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  padding: 16px;
}
.step b {
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(11,31,59,.08);
  margin-bottom: 8px;
}

.gallery {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ph {
  height: 180px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(11,31,59,.10), rgba(201,162,39,.12)),
    repeating-linear-gradient(90deg, rgba(11,31,59,.08) 0 10px, rgba(11,31,59,.04) 10px 20px);
  border: 1px solid rgba(16,42,78,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(27,43,69,.65);
  font-weight: 800;
}

.form {
  padding: 18px;
}
.form-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  font-size: 13px;
  font-weight: 700;
  color: #1B2B45;
  display:block;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,42,78,.14);
  outline: none;
  font: inherit;
  background: white;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(201,162,39,.8);
  box-shadow: 0 0 0 4px rgba(201,162,39,.16);
}

footer {
  background: var(--navy);
  color: rgba(255,255,255,.92);
  padding: 28px 0;
  margin-top: 36px;
}
footer .foot {
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
footer .muted { color: rgba(255,255,255,.72); }
footer a { color: white; text-decoration: underline; text-underline-offset: 3px; }

.mobile-cta {
  display:none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(16,42,78,.12);
  backdrop-filter: blur(10px);
  z-index: 60;
}:root{
  --mobile-cta-height: 84px; /* adjust if your bar is taller/shorter */
}

/* Give the page breathing room so the fixed bottom bar doesn't cover content */
body{
  padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom));
}

/* If you have a main wrapper, you can use this instead of body */
main{
  padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom));
}

/* Position the CTA above the iPhone safe area */
.mobile-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom);
  z-index: 9999;
}

/* Optional: ensure links at the very bottom aren't hidden */
footer{
  padding-bottom: 16px;
}

.mobile-cta .wrap {
  display:flex;
  gap: 10px;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .menu { display:none; }
  .hamburger { display:inline-flex; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .mobile-cta { display:block; }
}

.mobile-panel{
  display:none;
  padding: 8px 0 14px;
}
.mobile-panel.open{ display:block; }
.mobile-panel a{
  display:block;
  padding: 10px 0;
  border-top: 1px solid rgba(16,42,78,.08);
  font-weight: 700;
  color: #1B2B45;
}
/* Gallery images */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 220px;          /* controls image height */
  object-fit: cover;     /* keeps aspect ratio, crops excess */
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.ba-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:18px;
  margin-top:16px;
}

.ba-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.ba-title{
  font-weight:700;
  margin-bottom:10px;
}

.ba-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.ba-pair figure{ margin:0; }

/* ✅ THIS is the key */
.ba-pair img{
  width:100% !important;
  height:180px !important;
  max-width:100% !important;
  display:block !important;
  object-fit:cover !important;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.08);
}
@media (min-width: 768px){
  .ba-card img{
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
  }
}
.ba-pair{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.ba-pair figure{
  margin: 0 !important;
}
.ig-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.ig-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.ig-thumb img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  display:block;
  border:1px solid rgba(0,0,0,0.08);
}

.ig-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}
/* MOBILE MENU PANEL STYLE (strong override) */
@media (max-width: 900px){
  nav.menu.mobile-menu{
    width: min(92vw, 420px) !important;
    margin: 12px auto 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    box-shadow: 0 14px 40px rgba(0,0,0,.12) !important;
    background: #fff !important;
  }

  nav.menu.mobile-menu a{
    display: block !important;
    padding: 14px 16px !important;
    font-size: 20px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
  }

  nav.menu.mobile-menu a:last-child{
    border-bottom: 0 !important;
  }
}
/* Mobile menu as centered panel */
@media (max-width: 900px){
  /* hidden by default */
  [data-mobile-panel]{
    display: none;
  }

  /* shown when JS toggles .open */
  [data-mobile-panel].open{
    display: block;
    position: absolute;
    top: 72px;                 /* adjust if needed */
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
    z-index: 9999;
  }

  [data-mobile-panel].open a{
    display: block;
    padding: 14px 16px;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }

  [data-mobile-panel].open a:last-child{
    border-bottom: 0;
  }
}


/* ============================= */
/* SERVICES PAGE – detailed list */
/* ============================= */

.services-page .service-list {
  padding-left: 0;
  list-style: none;
}

.services-page .service-list li {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(11,31,59,.18);
}

.services-page .service-list li:last-child {
  border-bottom: 0;
}

.services-page .service-list li a {
  display: inline;
  text-decoration: none;
  line-height: inherit;
}

/* ============================= */


.home .service-list li{
  padding: 10px 0;
  border-bottom: 1px solid rgba(11,31,59,.10);
}

.home .service-list li:last-child{
  border-bottom: 0;
}


/* =====================================================
   SERVICES + HOME service lists
   Keep bullets, and make separation obvious on Services
   ===================================================== */

/* HOME PAGE summary list (inside tiles/cards) */
.home .service-list{
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--muted);
}
.home .service-list li{
  padding: 10px 0;
  border-bottom: 1px solid rgba(11,31,59,.10);
}
.home .service-list li:last-child{
  border-bottom: 0;
}

/* SERVICES PAGE detailed list (actual markup: .card > ul > li) */
.services-page .card ul{
  margin: 0;
  padding-left: 18px;          /* bullet indent */
  list-style: disc;            /* keep bullets */
  color: var(--muted);
}
.services-page .card ul li{
  margin: 0;
  padding: 14px 0;             /* clear separation */
  border-bottom: 2px solid rgba(11,31,59,.35); /* obvious divider */
}
.services-page .card ul li:last-child{
  border-bottom: 0;
}
/* Titles as links should look like bold text */
.services-page .card ul li a{
  text-decoration: none;
  color: inherit;
}

