/* HERO */

.hero{
  padding: 3.6rem 0 2.2rem;
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(47,111,237,0.12), transparent 60%),
    radial-gradient(900px 380px at 90% 10%, rgba(31,58,95,0.10), transparent 60%);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1{
  margin-top: 0.6rem;
  color: var(--text);
}

.hero-copy .lead{
  margin-top: 0.95rem;
  max-width: 58ch;
}

.hero-actions{
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.hero-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-inner{
  padding: 1.35rem 1.35rem 1.2rem;
}

.hero-card h2{
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.mini-cta{
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(16, 19, 24, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-cta-text{
  margin: 0;
  font-weight: 700;
  color: rgba(16, 19, 24, 0.75);
}

.mini-cta-link{
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}

.mini-cta-link:hover{
  text-decoration: underline;
}

/* STRIP */

.strip{
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(16, 19, 24, 0.02);
}

.strip-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.strip-item{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.4rem 0.25rem;
}

.strip-number{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(16, 19, 24, 0.90);
}

.strip-text{
  color: rgba(16, 19, 24, 0.62);
  font-weight: 700;
}

/* SECTIONS */

.section{
  padding: 3rem 0;
}

.section-alt{
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  max-width: 72ch;
}

.section-head h2{
  color: var(--text);
}

.section-head p{
  margin-top: 0.75rem;
}

/* TWO COL */

.two-col{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.inline-actions{
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* CTA */

.cta{
  padding: 3rem 0 4rem;
}

.cta-inner{
  background: #0f1115;
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-inner h2{
  color: #fff;
  font-size: 1.7rem;
}

.cta-inner p{
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.78);
}

.cta-actions{
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta .btn-primary{
  background: #fff;
  color: #0f1115;
}

.cta .btn-secondary{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.cta .btn-secondary:hover{
  border-color: rgba(255,255,255,0.28);
}

/* Responsive */

@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .two-col{
    grid-template-columns: 1fr;
  }
  .strip-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== VISIT (BANNER + INFO + MAP) ===== */

.visit-composite{
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

/* Banner: centred logo */
.visit-banner{
  height: 140px;
  display: grid;
  z-index: 10;
  place-items: center;
  background: linear-gradient(135deg, #0b2446, #0f2f5c);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

/* Optional: small copy in the banner (use only if you add .visit-banner-topline in HTML) */
.visit-banner-topline{
  position: absolute;
  left: 1.5rem;
  top: 1.15rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
}

.visit-banner-topline h2{
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.visit-banner-topline p{
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  max-width: 70ch;
}

/* Logo: always visible on a white badge */
.visit-banner-logo{
  width: min(360px, 70%);
  height: auto;
  z-index: 11;
  display: block;

  background: rgba(255,255,255,0.96);
  padding: 12px 16px;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* Bottom: details + map */
.visit-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);

  /* Important: outer composite controls rounding/shadow/border */
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.visit-left{
  padding: 2rem;
}

.visit-meta{
  display: grid;
  gap: 0.85rem;
}

.visit-meta-item{
  display: grid;
  gap: 0.2rem;
}

.visit-label{
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(15,23,42,0.6);
}

.visit-value{
  font-weight: 700;
  color: rgba(15,23,42,0.85);
}

.visit-value a{
  color: inherit;
  text-decoration: none;
}

.visit-value a:hover{
  text-decoration: underline;
}

.visit-actions{
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Map pane + divider */
.visit-map{
  position: relative;
  min-height: 340px;
  z-index: 1;
  background: var(--surface-2);
  border-left: 1px solid var(--border);
}

.visit-map iframe{
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile */
@media (max-width: 900px){
  .visit-banner{
    height: 160px;
    padding: 1rem;
  }

  .visit-banner-topline{
    left: 1rem;
    right: 1rem;
  }

  .visit-card{
    grid-template-columns: 1fr;
  }

  .visit-map{
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}
/* ===== Services dropdown (light theme) ===== */

.primary-nav .has-dropdown { position: relative; }

/* panel */
.primary-nav .has-dropdown > .dropdown{
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;

  min-width: 240px;
  padding: 8px;
  margin: 0;
  list-style: none;

  background: #fff;                 /* match header */
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  z-index: 2000;
}

/* show */
.primary-nav .has-dropdown:hover > .dropdown,
.primary-nav .has-dropdown:focus-within > .dropdown{
  display: block;
}

/* items */
.primary-nav .dropdown li { margin: 0; }

.primary-nav .dropdown a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;

  color: #111 !important;           /* force readable text */
  text-decoration: none;
  white-space: nowrap;
}

/* hover */
.primary-nav .dropdown a:hover{
  background: rgba(0,0,0,0.05);
}
/* Keep dropdown open reliably */
.primary-nav .has-dropdown { 
  position: relative;
}

/* Invisible hover bridge */
.primary-nav .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
  pointer-events: auto;
}

.primary-nav .has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;           /* no gap */
  left: 0;

  min-width: 240px;
  padding: 8px;
  margin: 0;
  list-style: none;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  z-index: 2000;
}

.primary-nav .has-dropdown:hover > .dropdown,
.primary-nav .has-dropdown:focus-within > .dropdown {
  display: block;
}

.primary-nav .dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #111 !important;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav .dropdown a:hover {
  background: rgba(0,0,0,0.05);
}
.primary-nav ul { align-items: center; }          /* already set, but keep */
.primary-nav li { display: flex; align-items: center; }  /* key fix */

.primary-nav a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* ---- NAV: fix vertical misalignment ---- */

.primary-nav > ul{
  display: flex;          /* in case it isn't already */
  align-items: center;    /* align all items on the same cross-axis */
}

/* Make each top-level li a flex container so its child link is centered
   even if the li is taller (eg has-dropdown with padding-bottom). */
.primary-nav > ul > li{
  display: flex;
  align-items: center;
}

/* Make top-level links and the CTA share the same alignment model */
.primary-nav > ul > li > a{
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Your CTA is already an <a>, but this makes it consistent */
.primary-nav .nav-cta{
  display: inline-flex;
  align-items: center;
  line-height: 1;
}