:root{
  --bg: #0b1220;
  --card: #101a2e;
  --text: #e9eefc;
  --muted: #b7c3e3;
  --line: rgba(233,238,252,.14);
  --btn: #2b6cff;
  --btn2: #1f2a44;
  --ok: #2dd4bf;
  --warn: #fbbf24;
  --max: 1100px;
  --radius: 16px;
}

*{ box-sizing:border-box; }

html,
body{
  height:100%;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(43,108,255,.22), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(45,212,191,.18), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* Header */
header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  background:rgba(11,18,32,.72);
  border-bottom:1px solid var(--line);
}

.topbar{
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  color:var(--muted);
  font-size:14px;
}

.topbar b{
  color:var(--text);
}

.topbar .pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(16,26,46,.55);
}

.navrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0 14px;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}

.logo{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(43,108,255,1), rgba(45,212,191,1));
  box-shadow:0 10px 26px rgba(43,108,255,.18);
}

nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}

nav a{
  color:var(--muted);
  font-weight:600;
  padding:10px 8px;
  border-radius:10px;
}

nav a:hover{
  color:var(--text);
  background:rgba(233,238,252,.06);
}

/* 
nav a.active{
  color:var(--text);
  background:rgba(233,238,252,.08);
  border:1px solid var(--line);
}
 */

nav a.active{
  color:#2b6cff;
  font-weight:600;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(16,26,46,.7);
  color:var(--text);
  font-weight:700;
  white-space:nowrap;
}

.btn.primary{
  background:var(--btn);
  border-color:transparent;
  box-shadow:0 10px 28px rgba(43,108,255,.28);
}

.btn:hover{
  transform:translateY(-1px);
}

.btn:active{
  transform:translateY(0);
}

/* Layout */
main{
  padding:18px 0 8px;
}

.hero{
  padding:26px 0 12px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}

.card{
  background:rgba(16,26,46,.72);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  border:1px solid var(--line);
  background:rgba(11,18,32,.6);
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

h1{
  margin:14px 0 10px;
  font-size:clamp(30px, 4vw, 46px);
  line-height:1.1;
  letter-spacing:-.3px;
}

.lead{
  color:var(--muted);
  font-size:17px;
  margin:0 0 14px;
}

.badges{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  margin-top:14px;
}

.badge{
  border:1px solid var(--line);
  background:rgba(11,18,32,.55);
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}

/* Forms */
.formrow{
  display:grid;
  gap:10px;
  margin-top:12px;
}

label{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

input,
select,
textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(11,18,32,.55);
  color:var(--text);
  outline:none;
}

textarea{
  min-height:110px;
  resize:vertical;
}

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

.small{
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
}

/* Sections */
section{
  padding:18px 0;
}

.section-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin:10px 0 12px;
}

.section-title h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.2px;
}

.section-title p{
  margin:0;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}

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

.grid2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

.item{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(16,26,46,.64);
}

.item h3{
  margin:0 0 6px;
  font-size:16px;
  letter-spacing:-.1px;
}

.item p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.stars{
  color:var(--warn);
  letter-spacing:1px;
  font-weight:900;
}

/* Footer */
footer{
  border-top:1px solid var(--line);
  margin-top:18px;
  padding:22px 0 36px;
  color:var(--muted);
  font-size:14px;
}

.footergrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  align-items:start;
}

.footlinks{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
}

.footlinks a{
  color:var(--muted);
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(16,26,46,.55);
}

.footlinks a:hover{
  color:var(--text);
}

/* Mobile */
@media (max-width: 880px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  nav{
    display:none;
  }

  .grid3{
    grid-template-columns:1fr;
  }

  .grid2{
    grid-template-columns:1fr;
  }

  .row2{
    grid-template-columns:1fr;
  }

  .footergrid{
    grid-template-columns:1fr;
  }

  .badges{
    flex-wrap:wrap;
  }

  .footlinks{
    flex-wrap:wrap;
  }
}

.hero-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-image img{
  width:100%;
  height:auto;
  border-radius:var(--radius);
  margin-top:10px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* Mobile */
@media (max-width: 900px){
  .hero-flex{
    flex-direction:column;
    text-align:center;
  }

  .hero-image img{
    aspect-ratio:16 / 9;
    object-fit:cover;
  }
}

/* HERO IMAGE OVERLAY CARD */
.hero-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  padding:70px 50px;
  color:white;
  min-height:420px;
  display:flex;
  align-items:center;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* 
.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.60),
    rgba(0,0,0,.45)
  );
  z-index:1;
}
 */

.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,var(--hero-dark,0.55));
  z-index:1;
}

/* FULL-WIDTH HERO VARIANT FOR INTERIOR PAGES */
.hero-full{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  padding:70px 50px;
  color:white;
  min-height:420px;
  display:flex;
  align-items:center;
}

.hero-full .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-full::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.60),
    rgba(0,0,0,.45)
  );
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:none;
}

.hero-content .actions{
  margin-top:18px;
  gap:14px;
}

@media (max-width: 700px){
  .hero-card,
  .hero-full{
    padding:40px 24px;
    min-height:320px;
  }

  h1{
    font-size:clamp(28px, 8vw, 40px);
  }

  .lead{
    font-size:16px;
  }

  .actions{
    justify-content:flex-start;
  }
}

.btn.emergency{
background:#d92d20;
color:#fff;
}

.map-pill{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}

.map-pill:hover{
  text-decoration:none;
  transform:translateY(-1px);
}

.trust{
margin-top:-8px;
margin-bottom:18px;
}

.hero-content .badges{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
}

.hero-content .small{
  text-align:center;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:stretch;
}

.hero-grid .card{
  height:100%;
}

@media (max-width: 900px){

.hero-grid{
  grid-template-columns:1fr;
}

}

/* Map image container */
.map-image-link{
  position:relative;
  display:flex;              /* 🔥 KEY CHANGE */
  justify-content:center;    /* horizontal center */
  align-items:center;        /* vertical center (nice bonus) */

  width:min(100%, 160px);
  margin:10px auto 0;
  border-radius:12px;
  overflow:hidden;
  line-height:0;
  cursor:pointer;
}

/* Image itself (centered + responsive) */
.map-image{
  display:block;
  width:160px;
  height:auto;
  border-radius:12px;
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* Hover effect (matches your UI feel) */
.map-image-link:hover .map-image{
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  filter:brightness(.8);
}

/* Overlay label */
.map-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.01em;
  text-align:center;
  background:rgba(0,0,0,.18);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

/* Show overlay on hover */
.map-image-link:hover .map-overlay{
  opacity:1;
}