
/* Global reset to remove white border */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Lyon Legal - Offline Site
   Primary: #362d52  Secondary: #b3abd0
*/
:root{
  --ink:#1f1a2d;
  --muted:#5f5972;
  --bg:#ffffff;
  --primary:#362d52;
  --secondary:#b3abd0;
  --paper:#ebe7f6;
  --ring:#e6e1f0;
  --radius:18px;
  --maxw:1280px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; color:var(--ink); background:var(--bg); line-height:1.6; }
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* Header */
header{position:sticky;top:0;z-index:50;background:var(--primary);border-bottom:1px solid rgba(255,255,255,.08)}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:24px 0}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.brand .logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#6f65a5,var(--secondary));display:grid;place-items:center;color:#fff;font-weight:800}
.brand .name{font-weight:800;letter-spacing:.4px}
nav ul{list-style:none;margin:0;padding:0;display:flex;gap:28px}
nav a{color:#fff;text-decoration:none;font-weight:700;opacity:.98;font-size:15px;letter-spacing:.03em;text-transform:uppercase}
nav a:hover{opacity:1;text-decoration:underline}

/* Site header (logo + contact row used across pages) */
.site-header .header-main{
  background: #3a335a;
  padding: 10px 0;
}
.site-header .nav-below-logo{
  background: #3a335a;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Logo visibility + consistent sizing */
.site-logo{
  height: 48px;
  width: auto;
  display: block;
}

/* Header two-column layout */
.header-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px;
}

/* Header contact: crisp icons + readable text */
.header-contact{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.90);
}
.header-contact .contact-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-contact .contact-text{ letter-spacing: 0.01em; }
.header-contact .contact-sep{
  opacity: 0.35;
  font-size: 0.9rem;
  margin: 0 2px;
}
.contact-icon{
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: currentColor;
  stroke: none;
  opacity: 0.9;
}
@media (min-width: 1024px){
  .header-contact{ font-size: 1.0rem; }
  .contact-icon{ width: 17px; height: 17px; }
}

/* Buttons */
.btn{display:inline-block; padding:16px 28px; border-radius:999px; border:none; background:var(--primary); color:#fff; text-decoration:none; font-weight:800; box-shadow:0 6px 20px rgba(54,45,82,.25);}
.btn:hover{transform:translateY(-1px)}

/* Hero */
.hero{border-bottom:1px solid var(--ring); background:#ffffff}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:0; min-height:560px}
.hero .left{background: var(--secondary); padding:64px 64px 72px;}
.hero .left .container{max-width:720px; margin:0 auto;}
.hero h1{font-size:56px; line-height:1.1; margin:0 0 16px; color:#2c2542; letter-spacing:.2px}
.hero p{color:#3a3452; margin:0 0 20px; max-width:52ch}
.hero .cta{margin-top:28px}
.hero .right img{width:100%; height:100%; object-fit:cover; display:block;}

/* Cards + Sections */
.section{padding:56px 0}
.section h2{font-size:28px;margin:0 0 10px;color:var(--primary)}
.section p.lead{color:var(--muted);margin-top:0}
.cards{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}
.card{background:#f7f5fb;border:1px solid var(--ring);border-radius:16px;padding:22px}
.card h3{margin:8px 0;color:var(--primary)}
.card p{margin:0;color:#5f5972}

/* Process Rail */
.process{position: relative;background: linear-gradient(180deg, #f4f2fb, #ffffff);border-top: 1px solid var(--ring);border-bottom: 1px solid var(--ring);padding: 64px 0;}
.process .header{text-align: left;margin-bottom: 28px;}
.process .header h2{font-size: 32px;margin: 0 0 6px;color: var(--primary);letter-spacing: .2px;}
.process .header p.lead{color: var(--muted);margin: 0;max-width: 60ch;}
.badge-row{display:flex; gap:8px; flex-wrap:wrap;margin-top: 18px;}
.badge-chip{background: var(--secondary);color: #2b2342;border: 1px solid #a39cc4;padding: 6px 10px;border-radius: 999px;font-size: 12px;}
.rail{position: relative;display: grid;grid-template-columns: repeat(3, 1fr);gap: 22px;margin-top: 18px;counter-reset: step;}
.rail::before{content: "";position: absolute;left: 0; right: 0;top: 42px;height: 4px;background: linear-gradient(90deg, var(--secondary), rgba(179,171,208,.2));border-radius: 999px;}
.stepcard{position: relative;background: #fff;border: 1px solid var(--ring);border-radius: 16px;padding: 22px 20px 20px;box-shadow: 0 10px 30px rgba(54,45,82,.06);transition: transform .2s ease, box-shadow .2s ease;}
.stepcard:hover{transform: translateY(-4px);box-shadow: 0 16px 40px rgba(54,45,82,.12);}
.stepcard .marker{position: absolute;top: -18px; left: 20px;width: 56px; height: 56px;border-radius: 999px;display: grid; place-items: center;font-weight: 900; font-size: 20px; color: #fff;background: var(--primary);border: 4px solid #fff;box-shadow: 0 6px 16px rgba(54,45,82,.25);}
.stepcard h3{margin: 28px 0 8px;font-size: 20px;color: var(--primary)}
.stepcard p{margin: 0;color: var(--muted)}

/* CTA */
.cta{background:linear-gradient(180deg, #f2f0f8, #ffffff);border-top:1px solid var(--ring);border-bottom:1px solid var(--ring);padding:40px 0;}
.cta .row{display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:space-between}
.cta strong{font-size:20px; color: var(--primary)}

/* Footer */
.site-footer{background: var(--primary); color: #f1eff9;}
.site-footer a{ color:#ffffff; text-decoration:none; opacity:.95 }
.site-footer a:hover{ opacity:1; text-decoration:underline }
.site-footer .fgrid{display:grid; gap:28px; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; padding: 40px 0;}
.site-footer .fbrand{ display:flex; gap:12px; align-items:flex-start }
.site-footer .fbrand .logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#6f65a5,var(--secondary));display:grid;place-items:center;font-weight:800;color:#fff;}
.site-footer h4{ margin:0 0 10px; font-size:16px; color:#fff }
.site-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px }
.site-footer .contact a.btn{display:inline-block; margin-top:10px; background:#fff; color:var(--primary); border-radius:999px; padding:10px 16px; font-weight:800; text-decoration:none}
.site-footer .fbar{border-top: 1px solid rgba(255,255,255,.15);padding: 14px 0; font-size: 14px; color:#e6e0ff;}

@media (max-width: 1024px){
  .hero .wrap{grid-template-columns:1fr}
  .hero .left{padding:48px 24px}
  .cards{grid-template-columns:1fr}
  .rail{ grid-template-columns: 1fr; }
  .rail::before{ display:none; }
  .site-footer .fgrid{ grid-template-columns: 1fr; }
}

/* Services page additions */
.hero-slim{ background:var(--primary); color:#fff; padding:48px 0; border-bottom:1px solid rgba(255,255,255,.15) }
.hero-slim h1{ margin:0; font-size:40px }
.hero-slim p{ margin:8px 0 0; opacity:.95 }
.services-wrap{ padding:56px 0 }
.service-grid{ display:grid; gap:24px; grid-template-columns:1fr 1fr }
.service-card{ background:#fff; border:1px solid var(--ring); border-radius:16px; padding:22px; box-shadow:0 10px 30px rgba(54,45,82,.06); }
.service-card h2{ margin:0 0 6px; color:var(--primary) }
.service-card p.lead{ margin:0 0 16px; color:var(--muted) }
.checklist{ list-style:none; padding:0; margin:0; display:grid; gap:10px }
.checklist li{ display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:start; }
.checklist li .tick{ width:22px; height:22px; border-radius:999px; background:var(--secondary); display:grid; place-items:center; border:1px solid #a39cc4; font-weight:900; color:#2b2342; font-size:14px; line-height:1; }
@media (max-width: 1024px){ .service-grid{ grid-template-columns:1fr } }


/* === Friendly page enhancements for service detail pages === */
.crumbs{
  background:#f7f5fb;
  border-bottom:1px solid var(--ring);
  font-size:14px;
  color:#5f5972;
}
.crumbs .container{ padding:10px 24px }
.crumbs a{ color:var(--primary); text-decoration:none }
.crumbs a:hover{ text-decoration:underline }

.hero-slim{ background:var(--primary); color:#fff; padding:48px 0; border-bottom:1px solid rgba(255,255,255,.15) }
.hero-slim h1{ margin:0; font-size:40px }
.hero-slim p{ margin:8px 0 0; opacity:.95 }

.pill{
  display:inline-block; padding:8px 12px; border-radius:999px;
  background:var(--secondary); color:#2b2342; border:1px solid #a39cc4; font-weight:700;
}

.section-soft{ background:linear-gradient(180deg, #fbfaff, #ffffff); padding:40px 0; border-top:1px solid var(--ring); border-bottom:1px solid var(--ring) }
.cols-2{ display:grid; gap:22px; grid-template-columns:1fr 1fr }
@media (max-width: 1024px){ .cols-2{ grid-template-columns:1fr } }

.callout{
  background:#f8f6ff; border:1px solid var(--ring); border-left:4px solid var(--primary);
  padding:18px; border-radius:12px; color:#3a3452;
}

.list-check{ list-style:none; padding:0; margin:0; display:grid; gap:10px }
.list-check li{ display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:start }
.list-check .tick{ width:22px; height:22px; border-radius:999px; background:var(--secondary); display:grid; place-items:center; border:1px solid #a39cc4; font-weight:900; color:#2b2342; font-size:14px; line-height:1; }

.muted{ color: var(--muted); }

/* GDPR/Data Handling page - detailed service list */
.gdpr-services{ margin:18px 0 0; padding-left:20px; }
.gdpr-services li{ margin:0 0 14px; }
.gdpr-services li strong{ color:var(--primary); }
.gdpr-services li p{ margin:6px 0 0; color:var(--muted); }

/* GDPR/Data Handling page - scannable accordion grid */
.gdpr-accordion-grid{
  margin:18px 0 0;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 900px){
  .gdpr-accordion-grid{ grid-template-columns: 1fr; }
}

.gdpr-item{
  background:#fff;
  border:1px solid var(--ring);
  border-radius:14px;
  padding:14px 16px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.gdpr-item[open]{
  border-color: rgba(54,45,82,.35);
  box-shadow: 0 10px 26px rgba(54,45,82,.10);
  transform: translateY(-1px);
}

.gdpr-item summary{
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:12px;
  list-style:none;
  font-weight:800;
  color:var(--primary);
}
.gdpr-item summary::-webkit-details-marker{ display:none; }

.gdpr-num{
  width:34px; height:34px;
  border-radius:999px;
  display:grid; place-items:center;
  background: var(--primary);
  color:#fff;
  font-weight:900;
  font-size:12px;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(54,45,82,.20);
}

.gdpr-title{ flex:1; }

.gdpr-item summary::after{
  content:"+";
  font-size:22px;
  line-height:1;
  margin-left:auto;
  color: rgba(54,45,82,.65);
  font-weight:900;
}
.gdpr-item[open] summary::after{ content:"–"; }

.gdpr-content{ padding:10px 0 0 46px; }
.gdpr-content p{ margin:0; color:var(--muted); }

.kicker{ font-weight:800; color:#2b2342; letter-spacing:.2px; text-transform:uppercase; font-size:12px; }
.h2{ font-size:26px; color:var(--primary); margin:8px 0 10px }

.faq details{ background:#fff; border:1px solid var(--ring); border-radius:12px; padding:14px 16px }
.faq details+details{ margin-top:10px }
.faq summary{ cursor:pointer; font-weight:700; color:var(--primary) }
.faq p{ margin:8px 0 0; color:var(--muted) }


/* === Services page link styling (non-blue, clearly clickable) === */
.service-card .checklist a,
.service-card a{
  color: var(--ink);                 /* inherit dark text instead of blue */
  text-decoration: none;
  border-bottom: 2px dotted var(--primary);  /* dotted underline suggests link */
  font-weight: 700;
  display: inline-block;
  padding-bottom: 1px;
  transition: transform .15s ease, border-color .15s ease, border-bottom-style .15s ease;
}
.service-card .checklist a:hover,
.service-card a:hover{
  border-bottom-style: solid;        /* solid underline on hover */
  border-bottom-color: var(--primary);
  transform: translateX(2px);        /* subtle nudge */
}
.service-card .checklist a::after,
.service-card a.cta-link::after{
  content: " ›";                     /* directional cue */
  font-weight: 800;
  color: var(--primary);
}

.service-card .checklist a:focus-visible,
.service-card a:focus-visible{
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
  border-bottom-style: solid;
}

/* Center footer credit line */
.site-footer .fbar .container{
  text-align: center;
}


/* === About page enhancements === */
.about-hero{ background:linear-gradient(180deg, #f2f0f8, #ffffff); border-bottom:1px solid var(--ring); padding:48px 0 }
.badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px }
.badge{ background:var(--secondary); color:#2b2342; padding:6px 10px; border-radius:999px; border:1px solid #a39cc4; font-weight:700; font-size:12px }

.profile-card{ background:#fff; border:1px solid var(--ring); border-radius:18px; box-shadow:0 10px 30px rgba(54,45,82,.06); padding:24px }
.profile-grid{ display:grid; gap:24px; grid-template-columns:1.2fr .8fr; align-items:center }
.profile-grid img{ width:100%; max-width:320px; max-height:420px; display:block; margin:0 auto; object-fit:contain; border-radius:16px; border:1px solid var(--ring) }

.highlights{ display:grid; gap:16px; grid-template-columns:repeat(3,1fr); margin-top:16px }
.highlight{ background:#f7f5fb; border:1px solid var(--ring); border-radius:12px; padding:16px; text-align:center }
.highlight strong{ display:block; color:var(--primary); font-size:20px }
.highlight span{ color:var(--muted) }

.timeline{ position:relative; margin-top:24px }
.timeline::before{ content:""; position:absolute; left:14px; top:0; bottom:0; width:2px; background:linear-gradient(#b3abd0,#e6e1f0) }
.titem{ position:relative; padding-left:44px; margin:14px 0 }
.titem::before{ content:""; position:absolute; left:6px; top:4px; width:16px; height:16px; border-radius:999px; background:var(--primary); box-shadow:0 0 0 4px #fff }
.titem h3{ margin:0; font-size:16px; color:var(--primary) }
.titem p{ margin:4px 0 0; color:var(--muted) }

.values{ display:grid; gap:16px; grid-template-columns:repeat(3,1fr); margin-top:16px }
.value{ background:#fff; border:1px solid var(--ring); border-radius:12px; padding:16px }
.value h4{ margin:0 0 6px; color:var(--primary) }
.value p{ margin:0; color:var(--muted) }

.quote{ margin-top:20px; background:#f8f6ff; border:1px solid var(--ring); border-left:4px solid var(--primary); border-radius:12px; padding:16px; color:#3a3452; font-style:italic }

.sig{ margin-top:8px; font-weight:800; color:#2b2342 }

@media (max-width:1024px){
  .profile-grid{ grid-template-columns:1fr }
  .highlights{ grid-template-columns:1fr }
  .values{ grid-template-columns:1fr }
}


/* Testimonials quotes grid */
.quotes{ display:grid; gap:18px; grid-template-columns:repeat(3,1fr) }
.quotes blockquote{
  margin:0; padding:18px; background:#f7f5fb;
  border:1px solid var(--ring); border-left:4px solid var(--primary);
  border-radius:12px; color:#3a3452; font-style:italic
}
@media (max-width: 1024px){
  .quotes{ grid-template-columns:1fr }
}

/* Header logo image */
.logo-img{
  height: 72px;
  width: auto;
  display: block;
}

.brand{ gap:8px }

/* Remove white box behind hero CTA */
.hero .cta{background:transparent;border:0;padding:0}


/* Small learn-more buttons in cards */
.card .btn, .card .btn.secondary{
  margin-top:12px;
  padding:10px 14px;
  font-weight:800;
  border-radius:999px;
}
.cards .card-actions{ margin-top:12px }
.section .cta-inline{ text-align:center; margin-top:22px }

/* === Services Carousel === */
.carousel-wrap{ position:relative; padding:0 56px; margin-top:8px }
.carousel{
  display:flex; gap:24px; overflow-x:auto; scroll-behavior:smooth; padding: 8px 0 8px 0;
  scrollbar-width: thin;
}
.carousel::-webkit-scrollbar{ height:10px }
.carousel::-webkit-scrollbar-thumb{ background:#d8d3ea; border-radius:999px }
.carousel.drag{ cursor:grabbing }

.svc-card{ min-width: 360px; max-width: 360px }
.svc-card .svc-icon{ width:56px; height:56px; border-radius:12px; background:#eef2ff; display:grid; place-items:center; margin-bottom:8px }
.svc-card .svc-icon img{ width:40px; height:40px }

.car-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:999px; border:1px solid var(--ring);
  background:#fff; color:var(--primary); font-weight:900; line-height:1;
  display:grid; place-items:center; box-shadow:0 6px 20px rgba(54,45,82,.12); cursor:pointer;
}
.car-btn.left{ left:8px }
.car-btn.right{ right:8px }
.car-btn:hover{ background:#f7f5fb }
@media (max-width: 1024px){
  .svc-card{ min-width: 80%; max-width: 80% }
  .carousel-wrap{ padding:0 44px }
}

/* === Carousel sizing: 3 cards visible on desktop === */
.carousel{ max-width: var(--maxw); margin: 0 auto; }
.svc-card{
  /* Show three cards within the carousel width accounting for 24px gaps */
  min-width: 0;
  max-width: none;
  flex: 0 0 calc((100% - 48px) / 3); /* 2 gaps of 24px between 3 items */
}
@media (max-width: 1024px){
  .svc-card{ flex: 0 0 85%; } /* comfy mobile swiping */
}


/* Richer service cards */
.svc-card p{ margin: 6px 0 10px; color: var(--muted) }
.svc-card .mini{ list-style: disc; padding-left: 18px; margin: 0 0 10px 0; color: #514a69 }
.svc-card .mini li{ margin: 2px 0 }

/* Bring arrows closer to the cards by reducing side padding and adjusting positions */
.carousel-wrap{ padding: 0 16px; }     /* was 56px */
.car-btn.left{ left: 20px; }           /* tuck arrows closer */
.car-btn.right{ right: 20px; }

/* Keep 3 visible on desktop (from earlier tweak) */
.carousel{ max-width: var(--maxw); margin: 0 auto; }
.svc-card{ min-width: 0; max-width: none; flex: 0 0 calc((100% - 48px) / 3); }
@media (max-width: 1024px){
  .svc-card{ flex: 0 0 85%; }
}

/* Tighter arrow placement near cards */
.carousel-wrap{ padding: 0 6px !important; }
.car-btn.left{ left: 6px !important; }
.car-btn.right{ right: 6px !important; }
/* Slightly smaller shadow so it feels tighter */
.car-btn{ box-shadow: 0 4px 14px rgba(54,45,82,.12) !important; }

/* Constrain carousel wrapper to site width so arrows sit inside the content area */
.carousel-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  padding: 0 12px !important;
}
.car-btn.left{ left: 12px !important; }
.car-btn.right{ right: 12px !important; }

/* Move carousel arrows 20px outward from the content area on desktop */
@media (min-width: 1025px){
  .carousel-wrap{ overflow: visible !important; padding: 0 !important; }
  .car-btn.left{ left: -20px !important; }
  .car-btn.right{ right: -20px !important; }
}


/* Move arrows an additional 10px outward on desktop */
@media (min-width: 1025px){
  .car-btn.left{ left: -30px !important; }
  .car-btn.right{ right: -30px !important; }
}

/* === Purple scrollbar for services carousel === */
.carousel{
  scrollbar-width: thin;
  scrollbar-color: #b3abd0 #f2f0f8; /* thumb track for Firefox */
}
.carousel::-webkit-scrollbar{
  height: 10px;
}
.carousel::-webkit-scrollbar-track{
  background: #f2f0f8;
  border-radius: 999px;
}
.carousel::-webkit-scrollbar-thumb{
  background: #b3abd0;
  border-radius: 999px;
  border: 2px solid #f2f0f8;
}
.carousel::-webkit-scrollbar-thumb:hover{
  background: #a39cc4;
}

/* === Align hero copy with site container (logo start) === */
.hero .left{ padding-left: 0 !important; } /* remove extra left padding */
.hero .left .container{
  margin-left: calc((100vw - var(--maxw)) / 2 + 24px); /* align to site gutter */
  padding-left: 0;
  margin-right: auto;
  max-width: 720px;
}
@media (max-width: 1280px){
  .hero .left .container{ margin-left: 24px; } /* fallback on smaller screens */
}

/* === Contact page form === */
.contact-hero{ background: var(--primary); color:#fff; padding:48px 0; border-bottom:1px solid rgba(255,255,255,.15) }
.contact-hero h1{ margin:0; font-size:40px }
.contact-body{ padding:56px 0 }
.form-grid{ display:grid; gap:24px; grid-template-columns: 1.1fr .9fr }
.form-card{ background:#fff; border:1px solid var(--ring); border-radius:16px; padding:22px; box-shadow:0 10px 30px rgba(54,45,82,.06) }
.info-card{ background:#f7f5fb; border:1px solid var(--ring); border-radius:16px; padding:22px }
.form-row{ display:grid; gap:14px; grid-template-columns:1fr 1fr }
@media (max-width: 1024px){ .form-grid{ grid-template-columns:1fr } .form-row{ grid-template-columns:1fr } }
label{ font-weight:700; color: var(--primary) }
input[type="text"], input[type="email"], input[type="tel"], textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--ring); outline:none;
}
textarea{ min-height:140px; resize:vertical }
input:focus, textarea:focus{ border-color:#a39cc4; box-shadow:0 0 0 3px rgba(179,171,208,.25) }
.form-actions{ display:flex; gap:10px; align-items:center; }
.honey{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden }
.small{ font-size:12px; color:var(--muted) }
.map-ph{ width:100%; height:240px; background:linear-gradient(180deg, #f2f0f8, #ffffff); border:1px solid var(--ring); border-radius:12px; display:grid; place-items:center; color:#5f5972 }

/* === Hero heading size tweak === */
.hero h1{ font-size:36px !important; line-height:1.2 }

/* Ensure hero bitmap scales cleanly */
.hero .right img{ width:100%; height:100%; object-fit:cover; display:block }

/* === Shorter hero section === */
.hero .wrap{ min-height: 420px !important; }
.hero .left{ padding: 40px 48px !important; }
.hero h1{ margin-bottom: 10px; }
.hero p{ margin-bottom: 12px; }
/* Mobile: keep compact but readable */
@media (max-width: 1024px){
  .hero .wrap{ min-height: 360px !important; }
  .hero .left{ padding: 28px 24px !important; }
}

/* === Compact hero: only ~15px below the Contact button === */
.hero .wrap{ min-height: auto !important; }
.hero .left{ padding: 32px 48px 0 !important; } /* remove bottom padding */
.hero .cta{ margin-top: 18px; margin-bottom: 15px; } /* precise bottom gap */
.hero .right img{ height: 100%; object-fit: cover; display:block }
@media (max-width:1024px){
  .hero .left{ padding: 24px 24px 0 !important; }
}

/* === Force a compact hero height === */
.hero{ padding-bottom: 15px !important; }                /* exact bottom spacing */
.hero .wrap{ min-height: 0 !important; align-items: start !important; }
.hero .left{ padding: 24px 48px 0 !important; }          /* no bottom padding */
.hero h1{ margin: 0 0 8px !important; }
.hero p{ margin: 0 0 10px !important; }
.hero .cta{ margin: 14px 0 0 !important; }               /* button closer to text */

/* Cap the image column so it can't make the hero tall */
.hero .right{height:100%; overflow:hidden;}
.hero .right img{ width: 100% !important; height: 100% !important; object-fit: cover !important; display:block !important; }

@media (max-width: 1280px){
  .hero .right{ max-height: 280px !important; }
}
@media (max-width: 1024px){
  .hero .left{ padding: 18px 24px 0 !important; }
  .hero .right{ max-height: 220px !important; }
}

/* === Slightly taller hero for better balance === */
.hero .right{ max-height: 420px !important; }         /* was 320px */
.hero .left{ padding-top: 32px !important; }          /* add a little breathing room */
.hero h1{ margin-bottom: 10px !important; }
.hero p{ margin-bottom: 12px !important; }

@media (max-width: 1280px){
  .hero .right{ max-height: 360px !important; }
}
@media (max-width: 1024px){
  .hero .right{ max-height: 260px !important; }       /* mobile stays compact */
}

/* === Firm, compact hero height to match your red line === */
.hero{ padding-bottom: 0 !important; }
.hero .wrap{ min-height: 0 !important; align-items: start !important; }
.hero .left{ padding: 28px 48px 0 !important; }
.hero .cta{ margin: 14px 0 0 !important; }  /* keep button tight; section ends below image height */

/* Fix the overall hero height via the image column */
.hero .right{ height: 300px !important; max-height: 300px !important; overflow: hidden !important; }
.hero .right img{ width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; }

@media (max-width: 1280px){
  .hero .right{ height: 280px !important; max-height: 280px !important; }
}
@media (max-width: 1024px){
  .hero .left{ padding: 20px 24px 0 !important; }
  .hero .right{ height: 240px !important; max-height: 240px !important; }
}

/* === Slightly taller hero and aligned columns === */
.hero .wrap{
  height: 340px !important;            /* set the row height so both columns match */
  min-height: 340px !important;
}
.hero .left{
  padding: 28px 48px 0 !important;
  height: 100% !important;
}
.hero .right{
  height: 100% !important;             /* image column matches the row height */
  max-height: none !important;
  overflow: hidden !important;
}
.hero .right img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 1280px){
  .hero .wrap{ height: 320px !important; min-height: 320px !important; }
}
@media (max-width: 1024px){
  .hero .wrap{ height: 260px !important; min-height: 260px !important; }
  .hero .left{ padding: 20px 24px 0 !important; }
}

#services{ margin-top:25px !important; }

/* === Align hero heading with header logo gutter === */
.hero .left{ padding-left: 0 !important; }
.hero .left .container{
  /* Move to the site container's left edge, then apply the same 24px inner padding */
  margin-left: calc((100vw - var(--maxw)) / 2) !important;
  padding-left: 24px !important;
  max-width: 720px;
}
@media (max-width: 1280px){
  .hero .left .container{ margin-left: 0 !important; padding-left: 24px !important; }
}

/* === Slightly taller hero columns (+30px) === */
.hero .wrap{ height: 370px !important; min-height: 370px !important; }
@media (max-width: 1280px){
  .hero .wrap{ height: 350px !important; min-height: 350px !important; }
}
@media (max-width: 1024px){
  .hero .wrap{ height: 290px !important; min-height: 290px !important; }
}

/* Footer locations: styled below */
/* Hero: ensure generous height after header changes */
.hero .wrap{
  height:auto !important;
  min-height:560px !important;
}

/* Hero image: nicely cropped / zoomed look */
.hero .right img{
  object-fit:cover;
}

/* === Hero refinements to match provided design === */
.hero .wrap{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  align-items:stretch;
  min-height:640px !important;
  height:auto !important;
}
.hero .left{
  padding:96px 80px 96px;
}
.hero .left .container{
  max-width:560px;
}
.hero h1{
  font-size:clamp(40px,4.4vw,64px);
  line-height:1.1;
  max-width:16ch;
}
.hero p{
  font-size:18px;
  line-height:1.6;
  max-width:42ch;
}
.hero .cta{
  margin-top:40px;
}
.hero .right img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Responsive tweak: stack hero on narrow screens */
@media (max-width: 900px){
  .hero .wrap{
    grid-template-columns:1fr;
    min-height:auto !important;
  }
  .hero .left{
    padding:64px 24px 40px;
  }
  .hero .left .container{
    max-width:100%;
  }
}

/* === Footer locations: compact 3-column layout === */
.site-footer .locations-served-list{
  list-style:none;
  margin:2px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:2px 12px;
  font-size:13px;
  line-height:1.25;
}
.site-footer .locations-served-list li{
  display:block;
}
.site-footer .locations-served-list li::after{
  content:"";
}
/* On smaller screens, drop to 2 then 1 column */
@media (max-width: 900px){
  .site-footer .locations-served-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 600px){
  .site-footer .locations-served-list{
    grid-template-columns:1fr;
  }
}

/* === Hero layout tweak: wider text column, tighter image column === */
.hero .wrap{
  grid-template-columns:1.4fr 0.6fr;
}
.hero .left .container{
  max-width:680px;
}

/* === Hero text container: pushed wider for stronger presence === */
.hero .wrap{
  grid-template-columns:1.6fr 0.4fr;
}
.hero .left .container{
  max-width:820px;
}
.hero h1{
  max-width:22ch;
}

/* === Hero balance fix: restore strong image panel + wider text === */
.hero .wrap{
  grid-template-columns:1.3fr 0.7fr; /* closer to 60/40 for better balance */
}
.hero .left .container{
  max-width:760px; /* allow H1 block to run wider */
}
.hero h1{
  max-width:20ch; /* visually larger heading block */
}

/* Ensure hero image fills its column cleanly */
.hero .right{
  height:100%;
}
.hero .right img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

/* === Hero: true 50/50 split between text and image === */
.hero .wrap{
  grid-template-columns:1fr 1fr;
}

/* === Hero height tweak: reduce overall height by ~100px === */
.hero .wrap{
  min-height:540px !important;
}

/* === Hero compaction: reduce vertical space further === */
.hero .wrap{
  min-height:420px !important; /* shorter overall hero */
}
.hero .left{
  padding-top:64px;
  padding-bottom:48px;
}

/* === FORCE hero to be shorter (final override) === */
.hero .wrap{
  min-height:320px !important;
  height:auto !important;
}
.hero .left{
  padding-top:40px !important;
  padding-bottom:40px !important;
}

/* === FINAL hero compaction === */
.hero .wrap{
  min-height:0 !important;
  height:auto !important;
  align-items:flex-start;
}
.hero .left{
  padding-top:32px !important;
  padding-bottom:32px !important;
}
.hero h1{
  margin-top:0;
}

/* === Hero image: stretch to match the copy column height (desktop) === */
.hero .wrap{
  align-items: stretch !important;
}
.hero .right{
  position: relative;
  overflow: hidden;
}
.hero .right img{
  position: absolute;
  inset: 0;
  width:100%;
  height:100% !important;
  max-height:none !important;
  object-fit:fill; /* allow stretching to align bottoms */
}

/* On small screens the hero stacks, so keep the image to a sensible fixed height */
@media (max-width: 900px){
  .hero .right{ height: 320px !important; }
  .hero .right img{ object-fit: cover; }
}

/* Updated Explore our services layout */
.section-services{
  padding:64px 0;
  background:#ffffff;
}
.section-services .section-head{
  text-align:center;
  max-width:780px;
  margin:0 auto 32px;
}
.section-services .section-head .kicker{
  color:var(--secondary);
  letter-spacing:.14em;
  font-size:11px;
}
.section-services .section-head .h2,
.section-services .section-head h2{
  font-size:30px;
  margin:4px 0 8px;
  color:var(--primary);
}
.section-services .section-head .lead,
.section-services .section-head p.lead{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.service-card-wide{ grid-column:1 / -1; }

.service-card{
  background:#ffffff;
  border-radius:var(--radius);
  border:1px solid var(--ring);
  box-shadow:0 10px 26px rgba(44,34,72,.06);
  padding:16px 14px 12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.service-card h3{
  margin:0 0 2px;
  font-size:17px;
  color:var(--primary);
}
.service-card p{
  margin:0 0 4px;
  font-size:13px;
  color:var(--muted);
}
.service-card ul{
  list-style:none;
  padding:0;
  margin:2px 0 4px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.service-card ul li a{
  font-size:12px;
  color:var(--primary);
  text-decoration:none;
}
.service-card ul li a:hover{
  color:#000;
  text-decoration:underline;
}
.service-cta{
  margin-top:auto;
  padding-top:4px;
  border-top:1px solid var(--ring);
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  font-weight:500;
  color:var(--primary);
  text-decoration:none;
}
.service-cta::after{
  content:"›";
  font-size:11px;
}
.service-cta:hover{
  color:#000;
}
/* responsive */
@media (max-width:1100px){
  .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .services-grid{
    grid-template-columns:1fr;
  }
}


/* Why instruct Lyon Legal - trust indicators */
.section-trust {
  padding: 64px 0;
  background: var(--paper);
}

.section-trust .section-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-trust .section-head .kicker {
  color: var(--secondary);
  letter-spacing: 0.14em;
  font-size: 11px;
}

.section-trust .section-head .h2,
.section-trust .section-head h2 {
  font-size: 30px;
  margin: 4px 0 8px;
  color: var(--primary);
}

.section-trust .section-head .lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--ring);
  padding: 16px 14px 14px;
  box-shadow: 0 10px 26px rgba(44,34,72,0.04);
}

.trust-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--primary);
}

.trust-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Simple dropdown for About menu */
nav ul{list-style:none;margin:0;padding:0;display:flex;gap:28px}
nav li{position:relative}
nav li ul{
  position:absolute;
  top:100%;
  left:0;
  display:none;
  flex-direction:column;
  background:var(--primary);
  padding:12px 16px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  gap:8px;
  min-width:200px;
  z-index:100;
}
nav li:hover > ul{
  display:flex;
}
nav li ul li a{
  text-transform:none;
  font-size:14px;
  font-weight:600;
}

/* Team page layout */
.team-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(4,1fr);
  margin-top:24px;
}
.team-card{
  text-align:left;
}
.team-photo{
  width:100%;
  aspect-ratio:4/5;
  border-radius:16px;
  border:1px dashed var(--ring);
  background:var(--paper);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  font-size:14px;
  color:var(--muted);
}
@media (max-width: 1100px){
  .team-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .team-grid{ grid-template-columns:1fr; }
}

/* Nested dropdowns for Services menu */
nav li ul li{ position:relative; }
nav li ul li ul{
  top:0;
  left:100%;
  margin-left:8px;
}

/* Arrow indicators for nested dropdown headings (Individuals & Businesses) */
nav li.has-submenu > a[href^="services.html#"]::after{
  content:"\25BE"; /* small downwards triangle */
  font-size:10px;
  margin-left:6px;
}

/* Arrow indicators for top-level dropdowns (Services & About) */
nav > ul > li.has-submenu > a::after{
  content:"\25BE"; /* small downwards triangle */
  font-size:10px;
  margin-left:6px;
}



/* =========================================================
   Mobile navigation + small-screen layout fixes
   ========================================================= */

/* Hamburger button */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:10px;
  border-radius:12px;
  cursor:pointer;
}
.nav-toggle:focus{ outline:2px solid rgba(255,255,255,.65); outline-offset:3px; }
.nav-toggle .bar{
  display:block;
  width:26px;
  height:2px;
  margin:6px 0;
  background:#fff;
  border-radius:2px;
}

/* Make sure the top bar can anchor the dropdown on mobile */
.topbar{ position:relative; }

/* Mobile breakpoint */
@media (max-width: 900px){
  .topbar{ padding:16px 0; }

  /* Show hamburger */
  .nav-toggle{ display:inline-flex; flex-direction:column; justify-content:center; align-items:center; }

  /* Collapse nav by default */
  nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    background:var(--primary);
    border-radius:16px;
    margin-top:10px;
    overflow:hidden;
    box-shadow:0 12px 28px rgba(0,0,0,.28);
    z-index:1000;
  }
  .topbar.nav-open nav{ display:block; }

  nav ul{
    flex-direction:column;
    gap:0;
    padding:6px 0;
  }
  nav > ul > li{ border-top:1px solid rgba(255,255,255,.12); }
  nav > ul > li:first-child{ border-top:0; }

  nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    font-size:14px;
  }

  /* Dropdowns become an accordion on mobile */
  nav li ul{
    position:static;
    display:none;
    flex-direction:column;
    background:rgba(255,255,255,.06);
    padding:6px 0 6px 12px;
    margin:0;
    border-radius:0;
    box-shadow:none;
    min-width:0;
  }
  /* Disable hover-open on touch screens */
  nav li:hover > ul{ display:none; }

  nav li.submenu-open > ul{ display:flex; }

  /* Third-level submenu indentation */
  nav li ul li ul{ padding-left:12px; }

  /* Give submenu items a slightly tighter look */
  nav li ul a{ padding:12px 16px; text-transform:none; letter-spacing:0; }

  /* Ensure the menu doesn't run off-screen on very small devices */
  nav a{ word-break:break-word; }
}

/* Small-screen spacing + typography so pages don't feel "zoomed in" */
@media (max-width: 600px){
  .container{ padding:0 18px; }

  h1{ font-size:34px; }
  h2{ font-size:26px; }

  .hero .left{ padding:36px 18px; }
  .hero .right{ padding:24px 18px; }
  .btn{ padding:14px 22px; }
}

/* ------------------------------------------------------------------
   Extra mobile polish: hero should stack and not feel stretched.
   Footer should align nicely with consistent side padding.
------------------------------------------------------------------- */

@media (max-width: 768px){
  /* Hero: stack columns + cap image height so it doesn't look "long" */
  .hero .wrap{
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .hero .left{
    padding: 26px 16px !important;
  }
  .hero .left .container{
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
  .hero h1{ font-size: 34px !important; line-height: 1.15 !important; }
  .hero p{ max-width: 60ch !important; }

  .hero .right{
    height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
  }
  .hero .right img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Footer: bring text off the extreme left edge + center nicely */
  .container{ padding: 0 16px; }
  .site-footer .fgrid{ text-align: center; }
  .site-footer .fbrand{ justify-content: center; }
  .site-footer ul{ justify-items: center; }
}

@media (max-width: 360px){
  .hero h1{ font-size: 30px !important; }
  .hero .right{ height: 200px !important; max-height: 200px !important; }
}


/* Keep services heading on one line */
@media (min-width: 1024px){
  .boutique-services .section-head h2{
    white-space: nowrap;
  }
}



/* About dropdown */

/* dropdown-hover-bridge: prevents menu from disappearing when moving cursor */
.site-nav .nav .has-dropdown{
  position: relative;
}
.site-nav .nav .has-dropdown::after{
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px; /* hover bridge */
}

.site-nav .nav .has-dropdown{
  position: relative;
}

.site-nav .nav .has-dropdown > a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav .nav .has-dropdown > a::after{
  content: "▾";
  font-size: 0.75em;
  opacity: 0.75;
  }

.site-nav .nav .dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 2000;
}

.site-nav .nav .dropdown-menu a{
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #2b2541;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .nav .dropdown-menu a:hover{
  background: rgba(91,72,152,0.08);
}

.site-nav .nav .has-dropdown:hover .dropdown-menu,
.site-nav .nav .has-dropdown:focus-within .dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mobile: keep dropdown readable */
@media (max-width: 820px){
  .site-nav .nav .dropdown-menu{
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 6px 0 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav .nav .dropdown-menu a{
    padding: 8px 10px;
    color: rgba(255,255,255,0.92);
  }
  .site-nav .nav .dropdown-menu a:hover{
    background: rgba(255,255,255,0.10);
  }
}

/* Nav item alignment fix */
.site-nav .nav{
  align-items: center;
}
.site-nav .nav > li{
  display: flex;
  align-items: center;
}


/* Hamburger menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #000;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .header-contact,
  .top-contact,
  .contact-header {
    display: none !important;
  }
}


/* === Mobile Hamburger Fix === */
.hamburger {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 1001;
}

.hamburger span {
  background: #ffffff; /* visible on dark header */
}

/* Ensure header/nav allows absolute positioning */
header, nav {
  position: relative;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
}


/* === DEFINITIVE MOBILE NAV FIX === */
@media (max-width: 768px) {

  .hamburger {
    display: block !important;
    position: fixed;
    top: 18px;
    right: 16px;
    width: 32px;
    height: 24px;
    z-index: 9999;
    background: none;
    border: none;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: #ffffff !important;
  }

  nav ul,
  .nav-links {
    display: none !important;
  }

  .nav-links.nav-active {
    display: flex !important;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #3f3a5f;
    flex-direction: column;
    padding: 20px;
    z-index: 9998;
  }
}


@media (max-width: 768px) {
  ul.nav-links {
    display: none !important;
  }

  ul.nav-links.nav-active {
    display: flex !important;
    flex-direction: column;
  }
}


/* Service card dropdown (Index page: Property card) */
.service-more-dropdown{
  position: relative;
  display: inline-block;
}

.service-more-dropdown summary.btn{
  list-style: none;
  cursor: pointer;
}

.service-more-dropdown summary.btn::-webkit-details-marker{
  display: none;
}

.service-more-dropdown .service-more-menu{
  margin: 10px 0 0;
  padding: 10px 0;
  list-style: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
  border-radius: 10px;
  z-index: 50;
}

.service-more-dropdown .service-more-menu a{
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #2b2541;
  text-decoration: none;
  white-space: nowrap;
}

.service-more-dropdown .service-more-menu a:hover{
  background: rgba(91,72,152,0.08);
}

@media (max-width: 820px){
  .service-more-dropdown{
    display: block;
  }
  .service-more-dropdown .service-more-menu{
    position: static;
    min-width: auto;
    box-shadow: none;
    border: 0;
    padding: 8px 0 0;
    background: transparent;
  }
  .service-more-dropdown .service-more-menu a{
    padding: 8px 0;
  }
}


/* Tick list styling (used on Construction page) */
ul.ticks{
  list-style: none;
  padding-left: 0 !important;
  margin-left: 0;
}
ul.ticks li{
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}
ul.ticks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
}



/* Lyon Legal navigation refresh */
.site-nav .nav > li{
  position: relative;
}

.site-nav .nav > li:not(:last-child)::after{
  content: "";
  display: inline-block;
  height: 1.1em;
  width: 1px;
  background: rgba(255,255,255,0.3);
  margin: 0 8px;
}

.site-nav .nav .dropdown-menu li::after,
.site-nav .nav .sub-dropdown-menu li::after{
  display: none !important;
  content: none !important;
}

.site-nav .nav .has-dropdown > .nav-text-link,
.site-nav .nav .nav-text-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 4px;
  text-transform: uppercase;
  cursor: default;
}

.site-nav .nav .has-dropdown > .nav-text-link::after,
.site-nav .nav .has-dropdown > a::after{
  content: "▾";
  font-size: 0.75em;
  opacity: 0.75;
}

.site-nav .nav .has-sub-dropdown{
  position: relative;
}

.site-nav .nav .has-sub-dropdown > a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-nav .nav .has-sub-dropdown > a::after{
  content: "▸";
  font-size: 0.8em;
  opacity: 0.75;
}

.site-nav .nav .sub-dropdown-menu{
  position: absolute;
  top: -10px;
  left: calc(100% - 10px);
  min-width: 210px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  transform: translateX(10px);
  z-index: 2100;
}

.site-nav .nav .sub-dropdown-menu a{
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #2b2541;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .nav .has-sub-dropdown:hover > .sub-dropdown-menu,
.site-nav .nav .has-sub-dropdown:focus-within > .sub-dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.site-nav .nav .sub-dropdown-menu a:hover{
  background: rgba(91,72,152,0.08);
}

@media (max-width: 1024px){
  .site-nav .nav .sub-dropdown-menu{
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 14px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav .nav .sub-dropdown-menu a{
    color: rgba(255,255,255,0.92);
    padding: 8px 10px;
  }
}

.team-page{
  padding: 72px 0;
}

.team-page .section-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card{
  background: linear-gradient(135deg, #ffffff 0%, rgba(141, 104, 255, 0.08) 100%);
  border: 1px solid rgba(54,45,82,.10);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(18, 14, 30, .06);
}

.team-card h3{
  margin: 0 0 6px;
  color: var(--primary);
}

.team-card p{
  margin: 0;
  color: rgba(20,20,25,.78);
  line-height: 1.6;
}

.team-card p + p{
  margin-top: 12px;
}

.team-role{
  display: inline-block;
  margin-bottom: 14px;
  color: #6b5ca5;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
}

.team-placeholder{
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(58,51,90,1) 0%, rgba(107,92,165,1) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 1.35rem;
}

.team-photo{
  width: 118px;
  height: 118px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(18, 14, 30, .12);
}

.team-highlights{
  margin: 16px 0 0;
  padding-left: 20px;
  color: rgba(20,20,25,.78);
}

.team-highlights li{
  margin: 0 0 8px;
  line-height: 1.55;
}

.team-note{
  margin-top: 40px;
  padding: 18px 22px;
  border-left: 4px solid rgba(107,92,165,.45);
  background: rgba(107,92,165,.08);
  border-radius: 12px;
}

.team-subsection{
  margin-top: 56px;
}

.team-subsection .section-head{
  text-align: left;
  max-width: 860px;
  margin: 0 0 28px;
}

.team-grid-secondary{
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: start;
}

.team-card-featured .team-placeholder{
  margin-bottom: 16px;
}

@media (max-width: 960px){
  .team-grid-secondary{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px){
  .team-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .team-grid{
    grid-template-columns: 1fr;
  }
}



/* 2026-03 navigation repair v3 */
.site-nav .nav{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
  flex-wrap:nowrap !important;
}

.site-nav .nav > li{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  padding-right:20px !important;
  margin-right:20px !important;
  border-right:1px solid rgba(255,255,255,0.30) !important;
}

.site-nav .nav > li:last-child{
  padding-right:20px !important;
  margin-right:0 !important;
  border-right:1px solid rgba(181,164,236,0.65) !important;
}

.site-nav .nav > li::after,
.site-nav .nav .dropdown-menu li::after,
.site-nav .nav .sub-dropdown-menu li::after{
  content:none !important;
  display:none !important;
}

.site-nav .nav > li.has-dropdown::before{
  content:"" !important;
  position:absolute !important;
  left:-12px !important;
  right:-12px !important;
  top:100% !important;
  height:14px !important;
}

.site-nav .nav > li > a,
.site-nav .nav > li > .nav-text-link{
  display:inline-flex !important;
  align-items:center !important;
  padding:10px 0 !important;
  color:#fff !important;
  text-decoration:none !important;
  text-transform:uppercase !important;
  font-size:0.82rem !important;
  letter-spacing:0.05em !important;
  font-weight:700 !important;
}

.site-nav .nav > li > .nav-text-link{
  font-weight:800 !important;
}

.site-nav .nav > li.has-dropdown > a::after,
.site-nav .nav > li.has-dropdown > .nav-text-link::after{
  content:none !important;
  display:none !important;
}

.site-nav .nav .has-sub-dropdown > a::after{
  content:"▸" !important;
  display:inline-block !important;
  opacity:0.75 !important;
}

.site-nav .nav .dropdown-menu li,
.site-nav .nav .sub-dropdown-menu li{
  display:block !important;
  padding-right:0 !important;
  margin-right:0 !important;
  border-right:0 !important;
}


/* 2026-03 navigation dropdown indicators v4 */
html body .site-nav .nav > li.has-dropdown > a,
html body .site-nav .nav > li.has-dropdown > .nav-text-link{
  gap: 0.48em !important;
}

html body .site-nav .nav > li.has-dropdown > a::after,
html body .site-nav .nav > li.has-dropdown > .nav-text-link::after{
  content:"" !important;
  display:inline-block !important;
  width:0 !important;
  height:0 !important;
  margin-left:0.22em !important;
  border-left:4px solid transparent !important;
  border-right:4px solid transparent !important;
  border-top:5px solid currentColor !important;
  opacity:0.9 !important;
  transform:translateY(1px) !important;
}


/* === Homepage hero tidy-up (2026-03-20) === */
.hero{
  padding-bottom:0 !important;
}
.hero .wrap{
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr) !important;
  min-height:0 !important;
  height:auto !important;
  align-items:stretch !important;
}
.hero .left{
  padding:26px 0 !important;
}
.hero .left .container{
  max-width:640px !important;
}
.hero h1{
  margin:0 0 10px !important;
  max-width:18ch !important;
}
.hero p{
  margin:0 0 10px !important;
}
.hero .right{
  min-height:100% !important;
}
.hero .right img{
  position:absolute;
  inset:0;
  width:100%;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}
#services{
  margin-top:0 !important;
}
@media (max-width: 900px){
  .hero .wrap{
    grid-template-columns:1fr !important;
  }
  .hero .left{
    padding:24px 0 20px !important;
  }
  .hero .left .container{
    max-width:100% !important;
    margin-left:0 !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }
  .hero .right{
    height:220px !important;
    min-height:220px !important;
  }
}


/* === Homepage hero headline refinement (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0,1.18fr) minmax(0,0.82fr) !important;
}
.hero .left{
  padding:20px 0 !important;
}
.hero .left .container{
  max-width:720px !important;
}
.hero h1{
  font-size:31px !important;
  line-height:1.15 !important;
  max-width:27ch !important;
  margin:0 0 8px !important;
}
.hero p{
  margin:0 0 8px !important;
}
@media (max-width: 900px){
  .hero .wrap{
    grid-template-columns:1fr !important;
  }
  .hero .left{
    padding:20px 0 18px !important;
  }
  .hero .left .container{
    max-width:100% !important;
  }
  .hero h1{
    font-size:28px !important;
    max-width:100% !important;
  }
}

/* === Homepage hero image widened (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0,0.74fr) minmax(0,1.26fr) !important;
}
.hero .left .container{
  max-width:560px !important;
}
.hero h1{
  max-width:24ch !important;
}
@media (max-width: 1400px){
  .hero .wrap{
    grid-template-columns:minmax(0,0.84fr) minmax(0,1.16fr) !important;
  }
  .hero .left .container{
    max-width:600px !important;
  }
}

/* === Homepage hero image width fine-tune (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0,0.80fr) minmax(0,1.20fr) !important;
}
.hero .left .container{
  max-width:580px !important;
}
@media (max-width: 1400px){
  .hero .wrap{
    grid-template-columns:minmax(0,0.88fr) minmax(0,1.12fr) !important;
  }
  .hero .left .container{
    max-width:610px !important;
  }
}

/* === Homepage hero image width final nudge (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0,0.87fr) minmax(0,1.13fr) !important;
}
@media (max-width: 1400px){
  .hero .wrap{
    grid-template-columns:minmax(0,0.94fr) minmax(0,1.06fr) !important;
  }
}

/* === Homepage hero image width extra nudge (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0,0.84fr) minmax(0,1.16fr) !important;
}
@media (max-width: 1400px){
  .hero .wrap{
    grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr) !important;
  }
}

/* === Homepage hero image width precise 117px right nudge (2026-03-20) === */
.hero .wrap{
  grid-template-columns:minmax(0, calc(42% + 117px)) minmax(0, calc(58% - 117px)) !important;
}
@media (max-width: 1400px){
  .hero .wrap{
    grid-template-columns:minmax(0, calc(46% + 117px)) minmax(0, calc(54% - 117px)) !important;
  }
}

/* === Mobile hero single-column fix (2026-03-22) === */
@media (max-width: 900px){
  .hero .wrap{
    grid-template-columns:1fr !important;
    height:auto !important;
    min-height:0 !important;
  }

  .hero .left{
    padding:24px 0 18px !important;
  }

  .hero .left .container{
    max-width:100% !important;
    margin-left:0 !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }

  .hero .right{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }

  .hero .right img{
    position:static !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:4 / 3;
    object-fit:cover !important;
    display:block !important;
  }
}


/* 2026-03 team page layout refresh */
.team-featured-wrap{
  display:flex;
  justify-content:center;
  margin:0 0 32px;
}

.team-card-featured{
  width:min(100%, 420px);
}

.team-card-featured .team-photo{
  width:140px;
  height:140px;
}

.team-card-minimal{
  min-height:220px;
}

.team-grid-admin .team-card{
  text-align:left;
}

@media (max-width: 640px){
  .team-card-featured{
    width:100%;
  }
}

/* 2026-04 meet the team content updates */
.team-card-bio{
  width:min(100%, 920px);
  display:grid;
  grid-template-columns:160px minmax(0, 1fr);
  gap:24px;
  align-items:start;
}

.team-card-bio .team-photo{
  width:160px;
  height:160px;
  margin-bottom:0;
}

.team-card-copy p:first-of-type{
  margin-top:0;
}

@media (max-width: 720px){
  .team-card-bio{
    grid-template-columns:1fr;
  }

  .team-card-bio .team-photo{
    margin-bottom:18px;
  }
}
