:root{
  --bg: #ffffff;
  --card: #ffffff;
  --card2: #f6f9ff;
  --stroke: rgba(18, 42, 90, .14);
  --text: #0f1f3a;
  --muted: rgba(15, 31, 58, .72);
  --blue: #0b3a8a;
  --blue2: #0f56c4;
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  background:
    radial-gradient(1200px 650px at 10% -10%, rgba(15,86,196,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(11,58,138,.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
a{ color:inherit; text-decoration:none; }

.wrap{ width:min(980px, 92vw); margin:0 auto; }

.topbar{
  position: sticky; top:0; z-index: 10;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.logo{
  width: 70px; height: 36px;
  border: 1px dashed rgba(11,58,138,.35);
  border-radius: 10px;
  display:grid; place-items:center;
  font-size: 12px; color: rgba(11,58,138,.8);
}

/* HERO */
.hero{ padding: 22px 0 10px; }

.hero--image{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--stroke);
  background: url("assets/key2.jpg") center/cover no-repeat;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(2,12,30,.78), rgba(2,12,30,.55)),
    linear-gradient(180deg, rgba(2,12,30,.35), rgba(2,12,30,.55));
}

.hero__content{
  position: relative;
  padding: 38px 18px;
  color: #fff;
}

.hero__content h1{
  margin:0 0 8px;
  font-size: clamp(24px, 3.6vw, 40px);
  letter-spacing: -0.02em;
}

.sub{ margin:0; color: rgba(255,255,255,.82); }

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

/* Sections */
.section-title h2{ margin:0; font-size: 18px; }
.section-title p{ margin:6px 0 0; color: var(--muted); }

.card{
  margin: 18px 0;
  padding: 18px;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, var(--card), var(--card2));
}

.grid{ display:grid; gap:12px; margin-top:14px; }

/* 2x2 services */
.services{ grid-template-columns: repeat(2, minmax(0,1fr)); }

.service{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18,42,90,.14);
  background: rgba(255,255,255,.82);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.service:hover{
  transform: translateY(-2px);
  border-color: rgba(15,86,196,.28);
  box-shadow: 0 10px 26px rgba(15,86,196,.10);
}
.service__icon{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(15,86,196,.10);
  color: var(--blue2);
  flex: 0 0 auto;
}
.service__text h3{ margin:0 0 4px; font-size: 16px; }
.service__text p{ margin:0; color: var(--muted); }
.service__chev{
  margin-left:auto;
  color: rgba(11,58,138,.65);
  font-size: 22px;
  line-height: 1;
}

/* Buttons */
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(18,42,90,.18);
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.pill__icon{ display:inline-flex; color: var(--blue2); }

.pill--primary{
  background: linear-gradient(180deg, rgba(15,86,196,.12), rgba(15,86,196,.06));
  border-color: rgba(15,86,196,.28);
}
.pill--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,86,196,.12);
}

.pill--white{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.55);
  color: #0f1f3a;
}
.pill--white .pill__icon{ color: var(--blue2); }
.pill--white:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.pill--ghost{
  background: rgba(255,255,255,.7);
}
.pill--ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(15,86,196,.28);
}

.pill--big{
  width: min(520px, 92vw);
  justify-content:center;
  padding: 14px 16px;
  font-size: 16px;
}

/* MLA */
.mla{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:16px;
  align-items:center;
}
.mla__img{
  width: 100%;
  max-width: 240px;
  height: auto;
  display:block;
  margin: 0 auto;
  border-radius: 12px;
  border:1px solid rgba(18,42,90,.14);
  background:#fff;
}
.ticks{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
  display:grid;
  gap:10px;
  color: var(--muted);
}
.ticks li{ display:flex; align-items:flex-start; gap:10px; }
.tick{ color: var(--blue2); margin-top:2px; }

/* Embeds */
.embed{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: #fff;
}
.embed iframe{
  width:100%;
  height: 360px;
  border:0;
  display:block;
}

/* Map split layout dependant on device*/
.map-split{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}

.where h3{
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--blue);
}

/* single list + columns */
.where__list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  column-count: 2;       
  column-gap: 22px;
}
.where__list li{
  break-inside: avoid;
  margin: 2px 0;
}

/* pricing section */

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

.price-card{
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.85);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.price-card h3{
  margin:0;
  font-size:16px;
  color: var(--blue);
}

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

.price-list{
  margin:8px 0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.55;
}

.price-note{
  margin-top:auto;
  font-size:13px;
  color: rgba(15,31,58,.65);
}

.price-card--highlight{
  border-color: rgba(15,86,196,.35);
  box-shadow: 0 12px 28px rgba(15,86,196,.12);
}

.pricing-cta{
  margin-top:18px;
  text-align:center;
}
.pricing-cta p{
  margin:0 0 12px;
  color: var(--muted);
}

/* Contact big */
.contact-big{
  margin: 22px 0 10px;
  padding: 26px 18px;
  border-radius: var(--radius);
  border:1px solid rgba(15,86,196,.22);
  background: linear-gradient(180deg, rgba(15,86,196,.08), rgba(255,255,255,.8));
  text-align:center;
}
.contact-big h2{ margin:0 0 6px; font-size: 22px; }
.contact-big p{ margin:0; color: var(--muted); }

.contact-big__stack{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;

  /* add side padding so pills don’t feel tight */
  padding: 0 10px 8px;
}

/* Ensure big pills never touch edges */
.contact-big__stack .pill--big{
  width: 100%;
  max-width: 520px;
}

.footer{
  padding: 14px 0 28px;
}
.footer__fine{
  text-align:center;
  color: rgba(15,31,58,.60);
  font-size: 12px;
}

/* Modal */
.modal{
  position:fixed; inset:0;
  background: rgba(15,31,58,.35);
  display:grid; place-items:center;
  padding: 20px;
  z-index: 50;
}
.modal[hidden]{ display:none !important; }

.modal__card{
  width: min(640px, 95vw);
  max-height: calc(100vh - 40px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  border-radius: 18px;
  border:1px solid rgba(18,42,90,.18);
  background: #fff;
  box-shadow: 0 30px 70px rgba(15,31,58,.25);
  padding: 14px;
}

.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.modal__close{
  border:1px solid rgba(18,42,90,.18);
  background: rgba(255,255,255,.8);
  color: var(--blue2);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.modal__close:hover{
  border-color: rgba(15,86,196,.28);
}

/* Responsive */
@media (max-width: 900px){
  .map-split{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .mla{ grid-template-columns: 1fr; }
  .mla__img{ max-width: 220px; }

  /* Pricing stacks on smaller screens */
  .pricing{ grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 760px){
  .services{ grid-template-columns: 1fr; }
  .embed iframe{ height: 320px; }
  .hero__content{ padding: 36px 16px; }

  /* On mobile, keep the list readable: 2 columns if it fits, otherwise 1 */
  .where__list{ column-count: 2; }
}

@media (max-width: 420px){
  /* Very small screens: single column list */
  .where__list{ column-count: 1; }
}
