/* ============================================================
   ELAN LAW — MAIN STYLESHEET
   Extracted verbatim from the original HTML source.
   Do NOT modify — preserves pixel-perfect design fidelity.
   ============================================================ */

/* ── ROOT VARIABLES & RESET ─────────────────────────────── */
:root{
  --navy:#09304F;
  --navy-dark:#061f33;
  --navy-light:#134d78;
  --accent:#1BA4EA;
  --accent-light:#5cc3f2;
  --accent-dark:#0f83bb;
  --white:#ffffff;
  --off-white:#f6f8fa;
  --gray-100:#eef1f5;
  --gray-400:#8a94a3;
  --gray-600:#57626f;
  --gray-900:#151f2b;
  --radius-sm:8px;
  --radius-md:16px;
  --radius-lg:28px;
  --shadow-sm:0 6px 18px rgba(9,48,79,0.08);
  --shadow-md:0 20px 45px rgba(9,48,79,0.14);
  --shadow-lg:0 30px 70px rgba(6,31,51,0.30);
  --transition:all .35s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:'Poppins', sans-serif;
  color:var(--gray-900);
  background:var(--white);
  line-height:1.7;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5{
  font-family:'Cormorant Garamond', serif;
  font-weight:700;
  line-height:1.2;
  color:var(--navy);
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}

section{ position:relative; }

/* ── EYEBROW / SECTION LABEL ─────────────────────────────── */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--accent-dark);
  font-size:13px;
  font-weight:600;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:var(--accent);
  display:inline-block;
}

.section-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 60px;
}
.section-head h2{
  font-size:clamp(30px,4vw,44px);
  margin-bottom:16px;
}
.section-head p{
  color:var(--gray-600);
  font-size:16px;
}

/* ── FADE-UP ANIMATION ───────────────────────────────────── */
.fade-up{
  opacity:0;
  transform:translateY(45px);
  transition:opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible{
  opacity:1;
  transform:translateY(0);
}
.fade-up.delay-1{ transition-delay:.12s; }
.fade-up.delay-2{ transition-delay:.24s; }
.fade-up.delay-3{ transition-delay:.36s; }
.fade-up.delay-4{ transition-delay:.48s; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 34px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
  z-index:1;
}
.btn-accent{
  background:linear-gradient(135deg,var(--accent-light),var(--accent) 55%,var(--accent-dark));
  color:var(--white);
  box-shadow:0 12px 30px rgba(27,164,234,0.4);
}
.btn-accent:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(27,164,234,0.55);
}
.btn-outline{
  border:1.5px solid rgba(255,255,255,0.55);
  color:var(--white);
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(6px);
}
.btn-outline:hover{
  background:var(--white);
  color:var(--navy);
  transform:translateY(-4px);
}
.btn-outline-navy{
  border:1.5px solid var(--navy);
  color:var(--navy);
}
.btn-outline-navy:hover{
  background:var(--navy);
  color:var(--white);
  transform:translateY(-4px);
}
.btn-sm{ padding:12px 26px; font-size:12px; }

/* ── NAVBAR ──────────────────────────────────────────────── */
#main-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:22px 0;
  transition:var(--transition);
  background:#fff;
  box-shadow:0 2px 15px rgba(0,0,0,0.08);
}
#main-header.scrolled{
  padding:14px 0;
  background:#fff;
  box-shadow:0 8px 30px rgba(0,0,0,0.12);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  font-family:'Cormorant Garamond', serif;
  font-size:26px;
  font-weight:700;
  color:var(--white);
  letter-spacing:.5px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand i{ color:var(--accent-light); font-size:22px; }
.brand span{ color:var(--accent-light); }
.brand img,.site-logo{
  max-height:60px;
  width:auto;
  display:block;
  transition:var(--transition);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
  flex-shrink:1;
}
.nav-links a{
  color:var(--navy);
  font-size:14.5px;
  font-weight:500;
  position:relative;
  padding:6px 0;
  transition:var(--transition);
  white-space:nowrap;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--accent);
  transition:width .3s ease;
}
.nav-links a:hover{ color:var(--accent); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.current-menu-item{ color:var(--accent); }
.nav-links a.current-menu-item::after{ width:100%; }

.nav-cta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
}

/* Nav mobile overlay backdrop */
.nav-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(6,31,51,0.55);
  z-index:999;
  backdrop-filter:blur(2px);
  opacity:0;
  transition:opacity .4s ease;
}
.nav-overlay.show{ opacity:1; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:6px;
  z-index:1002;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px 4px;
  flex-shrink:0;
}
.nav-toggle span{
  width:24px; height:2px;
  background:var(--navy);
  border-radius:2px;
  transition:var(--transition);
  display:block;
  transform-origin:center;
}
.nav-toggle.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; transform:scaleX(0); }
.nav-toggle.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* WordPress Menu Wrapping */
.nav-links ul{ display:flex; align-items:center; gap:36px; list-style:none; margin:0; padding:0; }
.nav-links li{ position:relative; }

/* Tablet: shrink gap to fit all items */
@media (max-width:1100px){
  .nav-links{ gap:24px; }
  .nav-links ul{ gap:24px; }
  .nav-links a{ font-size:13.5px; }
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  background:linear-gradient(160deg,var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  overflow:hidden;
  padding-top:180px;
  padding-bottom:60px;
}

.hero-bg-shapes{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.blur-shape{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.35;
  animation:driftShape 12s ease-in-out infinite;
}
.shape-1{ width:420px; height:420px; background:var(--accent); top:-120px; right:8%; }
.shape-2{ width:320px; height:320px; background:var(--accent-light); bottom:-100px; left:6%; animation-delay:2.5s; }
.shape-3{ width:220px; height:220px; background:var(--accent-dark); top:38%; right:38%; opacity:.22; animation-delay:5s; }
@keyframes driftShape{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-30px) scale(1.08); }
}

.hero-bg-shapes::after{
  content:"";
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center;
}

.hero-content .eyebrow{ color:var(--accent-light); }
.hero-content .eyebrow::before{ background:var(--accent-light); }
.hero-content h1{
  color:var(--white);
  font-size:clamp(36px,5vw,58px);
  margin-bottom:26px;
}
.hero-content h1 em{
  font-style:italic;
  color:var(--accent-light);
}
.hero-lead{
  color:rgba(255,255,255,0.85);
  font-size:16.5px;
  max-width:540px;
  margin-bottom:16px;
}
.hero-btns{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin:32px 0 40px;
}

.trust-badges{
  display:flex;
  flex-wrap:wrap;
  gap:14px 22px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.14);
  list-style:none;
  margin:0; padding-top:28px;
}
.trust-badges li{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,0.85);
  font-size:13.5px;
  font-weight:500;
}
.trust-badges i{ color:var(--accent-light); font-size:16px; }

.hero-media{ position:relative; z-index:1; }
.hero-media-frame{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  height:600px;
  border:1px solid rgba(255,255,255,0.12);
}
.hero-media-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform 1.2s cubic-bezier(.4,0,.2,1);
}
.hero-media:hover .hero-media-frame img{ transform:scale(1.08); }
.hero-media-frame::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(9,48,79,0.55) 0%, rgba(9,48,79,0.05) 45%, rgba(9,48,79,0.35) 100%);
}

.hero-glass-card{
  position:absolute;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:var(--radius-md);
  backdrop-filter:blur(16px);
  box-shadow:0 20px 45px rgba(6,31,51,0.35);
  z-index:3;
  max-width:270px;
}
.hero-glass-card i{
  width:42px; height:42px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  flex-shrink:0;
}
.hero-glass-card strong{ display:block; color:var(--white); font-size:14.5px; }
.hero-glass-card span{ display:block; color:rgba(255,255,255,0.72); font-size:12px; margin-top:2px; }
.card-top{ top:-24px; left:-28px; }
.card-bottom{ bottom:-24px; right:-24px; }

.scroll-indicator{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,0.7);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
}
.scroll-indicator .mouse{
  width:26px; height:42px;
  border:2px solid rgba(255,255,255,0.55);
  border-radius:20px;
  position:relative;
}
.scroll-indicator .mouse::before{
  content:"";
  position:absolute;
  top:8px; left:50%;
  width:4px; height:8px;
  background:var(--accent-light);
  border-radius:3px;
  transform:translateX(-50%);
  animation:scrollDot 1.6s infinite;
}
@keyframes scrollDot{
  0%{ opacity:1; top:8px; }
  70%{ opacity:0; top:22px; }
  100%{ opacity:0; top:8px; }
}

/* ── PRACTICE AREAS ──────────────────────────────────────── */
#practice-areas{
  padding:120px 0;
  background:var(--off-white);
}
.practice-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.practice-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:40px 32px;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
  border:1px solid rgba(9,48,79,0.05);
  position:relative;
  overflow:hidden;
}
.practice-card::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:4px;
  background:linear-gradient(90deg,var(--accent),var(--navy));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s ease;
}
.practice-card.featured{
  border:1.5px solid rgba(27,164,234,0.35);
  box-shadow:0 16px 40px rgba(27,164,234,0.14);
}
.featured-tag{
  position:absolute;
  top:20px; right:20px;
  background:var(--navy);
  color:var(--accent-light);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:6px 12px;
  border-radius:20px;
}
.practice-card:hover::before{ transform:scaleX(1); }
.practice-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-md);
}
.practice-icon{
  width:64px; height:64px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:var(--accent-light);
  margin-bottom:24px;
  transition:var(--transition);
}
.practice-card:hover .practice-icon{
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  color:var(--white);
  transform:rotate(-8deg) scale(1.08);
}
.practice-card h3{ font-size:21px; margin-bottom:10px; }
.practice-card p{ color:var(--gray-600); font-size:14px; margin-bottom:18px; }
.card-link{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  gap:8px;
  letter-spacing:.5px;
  text-transform:uppercase;
  transition:var(--transition);
}
.card-link i{ transition:var(--transition); font-size:12px; }
.practice-card:hover .card-link{ color:var(--accent-dark); }
.practice-card:hover .card-link i{ transform:translateX(6px); }

/* ── WHY CHOOSE ──────────────────────────────────────────── */
#why-choose{
  padding:120px 0;
  background:linear-gradient(160deg,var(--navy-dark),var(--navy) 60%,var(--navy-light));
  color:var(--white);
  position:relative;
}
#why-choose::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle at 85% 15%, rgba(27,164,234,0.15), transparent 40%);
  pointer-events:none;
}
#why-choose .section-head h2{ color:var(--white); }
#why-choose .section-head p{ color:rgba(255,255,255,0.7); }
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  position:relative;
  z-index:1;
}
.why-box{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--radius-md);
  padding:38px 26px;
  text-align:center;
  backdrop-filter:blur(10px);
  transition:var(--transition);
}
.why-box:hover{
  background:rgba(255,255,255,0.1);
  transform:translateY(-10px);
  border-color:var(--accent);
}
.why-box i{ font-size:36px; color:var(--accent-light); margin-bottom:20px; }
.why-box h3{ color:var(--white); font-size:20px; margin-bottom:12px; }
.why-box p{ color:rgba(255,255,255,0.68); font-size:14px; }

/* ── SPLIT LAYOUT ────────────────────────────────────────── */
#bed-bug-attorney{ padding:120px 0; background:var(--white); }
.split{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:70px;
  align-items:center;
}
.split.reverse{ grid-template-columns:1fr 1.05fr; }
.split.reverse .split-media{ order:2; }
.split.reverse .split-text{ order:1; }

.split-media{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.split-media img{
  width:100%;
  height:500px;
  object-fit:cover;
  transition:transform .7s ease;
}
.split-media:hover img{ transform:scale(1.08); }
.media-badge{
  position:absolute;
  bottom:24px; left:24px;
  background:rgba(9,48,79,0.92);
  backdrop-filter:blur(8px);
  color:var(--white);
  padding:16px 24px;
  border-radius:var(--radius-sm);
  display:flex;
  align-items:center;
  gap:14px;
  max-width:88%;
}
.media-badge i{ color:var(--accent-light); font-size:24px; flex-shrink:0; }
.media-badge strong{ display:block; font-size:15.5px; color:var(--white); }
.media-badge span{ font-size:12px; color:rgba(255,255,255,0.75); }

.split-text h2{ font-size:clamp(28px,4vw,40px); margin-bottom:20px; }
.split-text p{ color:var(--gray-600); margin-bottom:22px; font-size:15.5px; }
.check-list{
  margin-bottom:32px;
  display:flex;
  flex-direction:column;
  gap:16px;
  list-style:none;
}
.check-list li{
  display:flex;
  align-items:flex-start;
  gap:14px;
  font-size:15px;
  color:var(--gray-900);
}
.check-list i{
  color:var(--accent-dark);
  background:rgba(27,164,234,0.15);
  width:26px; height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  flex-shrink:0;
  margin-top:2px;
}

/* ── ABOUT ───────────────────────────────────────────────── */
#about{ padding:120px 0; background:var(--gray-100); }
.about-highlights{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:30px 0 34px;
  list-style:none;
}
.about-highlights li{
  display:flex;
  align-items:flex-start;
  gap:14px;
  font-size:15px;
  color:var(--gray-900);
}
.about-highlights i{
  color:var(--accent-dark);
  background:rgba(27,164,234,0.15);
  width:26px; height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  flex-shrink:0;
  margin-top:2px;
}
.about-signature{
  margin-top:30px;
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:26px;
  color:var(--navy);
}
.about-signature span{
  display:block;
  font-family:'Poppins',sans-serif;
  font-style:normal;
  font-size:13px;
  color:var(--gray-600);
  margin-top:4px;
  letter-spacing:1px;
}

/* ── CTA BANNER ──────────────────────────────────────────── */
#cta-banner{
  padding:110px 0;
  background:linear-gradient(120deg, rgba(6,31,51,0.93), rgba(9,48,79,0.88)), url('https://elanlaw.page.gd/wp-content/uploads/2026/07/about-us.jpg') center/cover no-repeat;
  text-align:center;
  position:relative;
}
#cta-banner h2{
  color:var(--white);
  font-size:clamp(30px,5vw,50px);
  max-width:780px;
  margin:0 auto 22px;
}
#cta-banner p{
  color:rgba(255,255,255,0.75);
  max-width:600px;
  margin:0 auto 40px;
  font-size:16px;
}
.cta-btns{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

/* ── CONTACT ─────────────────────────────────────────────── */
#contact{ padding:120px 0; background:var(--gray-100); }
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
}
.contact-form-wrap{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:48px;
  box-shadow:var(--shadow-md);
}
.contact-form-wrap h3{ font-size:28px; margin-bottom:8px; }
.contact-form-wrap > p{ color:var(--gray-600); margin-bottom:30px; font-size:14.5px; }
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}
.form-group{ display:flex; flex-direction:column; gap:8px; }
.form-group.full{ grid-column:1/-1; }
.form-group label{
  font-size:12.5px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea{
  padding:14px 16px;
  border:1.5px solid #e2e5ea;
  border-radius:var(--radius-sm);
  font-family:inherit;
  font-size:14.5px;
  color:var(--gray-900);
  transition:var(--transition);
  background:var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(27,164,234,0.15);
}
.form-group textarea{ resize:vertical; min-height:120px; }
.form-submit{ width:100%; justify-content:center; margin-top:6px; }
.form-success{
  display:none;
  margin-top:18px;
  padding:16px 20px;
  border-radius:var(--radius-sm);
  background:rgba(46,158,90,0.12);
  color:#227a4a;
  font-size:14px;
  align-items:center;
  gap:10px;
}
.form-success.show{ display:flex; }

.contact-info-card{
  background:var(--navy);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:40px;
  margin-bottom:26px;
  box-shadow:var(--shadow-md);
}
.contact-info-card h3{ color:var(--white); font-size:24px; margin-bottom:24px; }
.info-item{
  display:flex;
  gap:16px;
  margin-bottom:22px;
  align-items:flex-start;
}
.info-item:last-child{ margin-bottom:0; }
.info-item i{
  width:42px; height:42px;
  background:rgba(27,164,234,0.2);
  color:var(--accent-light);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:16px;
}
.info-item strong{ display:block; font-size:14.5px; margin-bottom:3px; }
.info-item span, .info-item a{
  font-size:13.5px;
  color:rgba(255,255,255,0.72);
  display:block;
}
.info-item a:hover{ color:var(--accent-light); }

.map-placeholder{
  height:220px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  position:relative;
  background:linear-gradient(135deg,#dfe4ea,#c9d2dc);
}
.map-placeholder iframe{
  width:100%; height:100%;
  border:0;
  filter:grayscale(15%) contrast(1.05);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer{
  background:var(--navy-dark);
  color:rgba(255,255,255,0.75);
  padding:90px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1.3fr 1.2fr;
  gap:40px;
  padding-bottom:60px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand{ margin-bottom:18px; }
.footer-brand p{ font-size:14px; color:rgba(255,255,255,0.6); margin-bottom:22px; }
.social-icons{ display:flex; gap:12px; }
.social-icons a{
  width:40px; height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:var(--transition);
  color:rgba(255,255,255,0.75);
}
.social-icons a:hover{
  background:var(--accent);
  color:var(--white);
  border-color:var(--accent);
  transform:translateY(-4px);
}
footer h4{
  color:var(--white);
  font-family:'Cormorant Garamond', serif;
  font-size:20px;
  margin-bottom:22px;
}
footer ul{ display:flex; flex-direction:column; gap:11px; list-style:none; }
footer ul a{ font-size:13.5px; transition:var(--transition); color:rgba(255,255,255,0.75); }
footer ul a:hover{ color:var(--accent-light); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; font-size:13.5px; align-items:flex-start; }
.footer-contact i{ color:var(--accent-light); margin-top:3px; }
.footer-bottom{
  padding:26px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  font-size:13px;
  color:rgba(255,255,255,0.5);
}
.footer-bottom a{ color:var(--accent-light); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-to-top{
  position:fixed;
  right:26px;
  bottom:26px;
  width:50px; height:50px;
  border-radius:50%;
  background:var(--accent);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  box-shadow:0 12px 26px rgba(0,0,0,0.25);
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:var(--transition);
  z-index:999;
  cursor:pointer;
  border:none;
}
#back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
#back-to-top:hover{ background:var(--navy); color:var(--accent-light); }

/* ── INNER PAGE HERO ─────────────────────────────────────── */
.inner-hero{
  min-height:320px;
  display:flex;
  align-items:center;
  position:relative;
  background:linear-gradient(160deg,var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  overflow:hidden;
  padding-top:130px;
  padding-bottom:60px;
  text-align:center;
}
.inner-hero-bg-shapes{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.inner-hero-content{
  position:relative;
  z-index:2;
  width:100%;
}
.inner-hero-content h1{
  color:var(--white);
  font-size:clamp(32px,5vw,54px);
  margin-bottom:16px;
}
.inner-hero-content .eyebrow{ justify-content:center; color:var(--accent-light); }
.inner-hero-content .eyebrow::before{ background:var(--accent-light); }

/* Breadcrumb */
.breadcrumb{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,0.65);
  font-size:13px;
  margin-top:14px;
}
.breadcrumb a{ color:rgba(255,255,255,0.75); transition:var(--transition); }
.breadcrumb a:hover{ color:var(--accent-light); }
.breadcrumb span[aria-hidden]{ color:rgba(255,255,255,0.4); }

/* ── BLOG / NEWS / SERVICE LISTING ──────────────────────── */
.listing-section{ padding:100px 0; background:var(--off-white); }

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

.post-card{
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
  border:1px solid rgba(9,48,79,0.05);
  display:flex;
  flex-direction:column;
}
.post-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-md);
}
.post-card-thumb{
  position:relative;
  overflow:hidden;
  height:220px;
  background:var(--gray-100);
}
.post-card-thumb img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .7s ease;
}
.post-card:hover .post-card-thumb img{ transform:scale(1.08); }
.post-card-thumb-placeholder{
  width:100%; height:100%;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:40px;
  color:rgba(255,255,255,0.3);
}
.post-card-cat{
  position:absolute;
  top:16px; left:16px;
  background:var(--accent);
  color:var(--white);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:20px;
}
.post-card-body{
  padding:28px 28px 24px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.post-card-meta{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--gray-400);
  font-size:12px;
  margin-bottom:12px;
}
.post-card-meta i{ color:var(--accent-dark); font-size:11px; }
.post-card h3{
  font-size:20px;
  margin-bottom:10px;
  line-height:1.3;
}
.post-card h3 a{ color:var(--navy); transition:var(--transition); }
.post-card h3 a:hover{ color:var(--accent-dark); }
.post-card p{ color:var(--gray-600); font-size:14px; margin-bottom:18px; flex:1; }
.post-card .card-link{ margin-top:auto; }

/* ── SINGLE POST / NEWS / SERVICE ────────────────────────── */
.single-section{ padding:80px 0; }
.single-wrap{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:50px;
  align-items:start;
}
.single-content-area{}
.single-feat-img{
  width:100%;
  max-height:480px;
  object-fit:cover;
  border-radius:var(--radius-md);
  margin-bottom:36px;
  box-shadow:var(--shadow-md);
}
.single-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  margin-bottom:26px;
  padding-bottom:18px;
  border-bottom:1px solid var(--gray-100);
}
.single-meta span{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  color:var(--gray-400);
}
.single-meta i{ color:var(--accent-dark); font-size:12px; }
.single-content-area h1{
  font-size:clamp(28px,4vw,42px);
  margin-bottom:22px;
}
.single-content-area .post-body{ color:var(--gray-600); font-size:15.5px; line-height:1.8; }
.single-content-area .post-body h2,
.single-content-area .post-body h3{ color:var(--navy); margin:28px 0 14px; }
.single-content-area .post-body p{ margin-bottom:18px; }
.single-content-area .post-body a{ color:var(--accent-dark); }
.single-content-area .post-body a:hover{ text-decoration:underline; }
.single-content-area .post-body ul,
.single-content-area .post-body ol{ padding-left:24px; margin-bottom:18px; }
.single-content-area .post-body ul{ list-style:disc; }
.single-content-area .post-body blockquote{
  border-left:4px solid var(--accent);
  padding:16px 22px;
  background:var(--off-white);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  font-style:italic;
  color:var(--gray-600);
  margin:22px 0;
}

/* Post tags & cats */
.post-terms{
  margin-top:34px;
  padding-top:24px;
  border-top:1px solid var(--gray-100);
}
.post-terms .term-label{
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--gray-400);
  margin-right:8px;
}
.post-terms a{
  display:inline-block;
  padding:4px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:500;
  margin:3px;
  transition:var(--transition);
}
.post-cat-link{
  background:var(--off-white);
  color:var(--navy);
  border:1px solid rgba(9,48,79,0.1);
}
.post-cat-link:hover{ background:var(--navy); color:var(--white); }
.post-tag-link{
  background:rgba(27,164,234,0.1);
  color:var(--accent-dark);
  border:1px solid rgba(27,164,234,0.2);
}
.post-tag-link:hover{ background:var(--accent); color:var(--white); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar-wrap{ display:flex; flex-direction:column; gap:30px; }
.sidebar-widget{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px;
  box-shadow:var(--shadow-sm);
}
.sidebar-widget h4{
  font-size:20px;
  margin-bottom:18px;
  padding-bottom:14px;
  border-bottom:2px solid var(--accent);
  display:inline-block;
}
.sidebar-widget ul{ display:flex; flex-direction:column; gap:10px; list-style:none; }
.sidebar-widget ul a{
  font-size:13.5px;
  color:var(--gray-600);
  transition:var(--transition);
  display:flex;
  align-items:center;
  gap:8px;
}
.sidebar-widget ul a:hover{ color:var(--accent-dark); padding-left:4px; }
.sidebar-widget ul a::before{ content:"\f105"; font-family:"Font Awesome 6 Free"; font-weight:900; color:var(--accent); font-size:11px; }
.recent-post-item{ display:flex; gap:14px; align-items:flex-start; }
.recent-post-item:not(:last-child){ padding-bottom:14px; border-bottom:1px solid var(--gray-100); margin-bottom:14px; }
.recent-post-thumb{
  width:64px; height:64px;
  border-radius:var(--radius-sm);
  overflow:hidden;
  flex-shrink:0;
  background:var(--gray-100);
}
.recent-post-thumb img{ width:100%; height:100%; object-fit:cover; }
.recent-post-info a{ font-size:13.5px; font-weight:600; color:var(--navy); line-height:1.4; display:block; margin-bottom:4px; transition:var(--transition); }
.recent-post-info a:hover{ color:var(--accent-dark); }
.recent-post-info span{ font-size:11.5px; color:var(--gray-400); }
.sidebar-search form{ display:flex; gap:0; }
.sidebar-search input{
  flex:1;
  padding:12px 16px;
  border:1.5px solid #e2e5ea;
  border-right:none;
  border-radius:var(--radius-sm) 0 0 var(--radius-sm);
  font-family:inherit;
  font-size:14px;
  outline:none;
}
.sidebar-search input:focus{ border-color:var(--accent); }
.sidebar-search button{
  padding:12px 16px;
  background:var(--accent);
  color:var(--white);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  cursor:pointer;
  border:none;
  transition:var(--transition);
}
.sidebar-search button:hover{ background:var(--accent-dark); }

/* ── PAGINATION ──────────────────────────────────────────── */
.elan-pagination{
  margin-top:60px;
  display:flex;
  justify-content:center;
}
.pagination-list{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
}
.pagination-list li a,
.pagination-list li span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px; height:44px;
  border-radius:50%;
  font-size:14px;
  font-weight:600;
  transition:var(--transition);
  border:1.5px solid transparent;
}
.pagination-list li a{
  color:var(--navy);
  border-color:rgba(9,48,79,0.15);
}
.pagination-list li a:hover{
  background:var(--accent);
  color:var(--white);
  border-color:var(--accent);
}
.pagination-list li span.current{
  background:var(--navy);
  color:var(--white);
  border-color:var(--navy);
}
.pagination-list li .dots{ border:none; color:var(--gray-400); }

/* ── SERVICE SINGLE PAGE ─────────────────────────────────── */
.service-single-icon{
  width:80px; height:80px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  color:var(--accent-light);
  margin-bottom:28px;
}

/* ── PAGE CONTENT ────────────────────────────────────────── */
.page-content-section{ padding:90px 0; background:var(--white); }
.page-content-wrap{
  max-width:860px;
  margin:0 auto;
}
.page-content-wrap .wp-content{ color:var(--gray-600); font-size:15.5px; line-height:1.85; }
.page-content-wrap .wp-content h2,
.page-content-wrap .wp-content h3{ color:var(--navy); margin:28px 0 14px; }
.page-content-wrap .wp-content p{ margin-bottom:18px; }
.page-content-wrap .wp-content a{ color:var(--accent-dark); }
.page-content-wrap .wp-content ul{ list-style:disc; padding-left:24px; margin-bottom:18px; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-page-section{ padding:100px 0; background:var(--off-white); }

/* ── SERVICES LISTING PAGE ───────────────────────────────── */
.services-section{ padding:100px 0; background:var(--off-white); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-page-section{ padding:100px 0; }

/* ── SEARCH RESULTS ──────────────────────────────────────── */
.search-results-section{ padding:80px 0; background:var(--off-white); }
.search-results-count{ font-size:14px; color:var(--gray-600); margin-bottom:36px; }
.search-results-count strong{ color:var(--navy); }
.search-form-wrap{ margin-bottom:46px; }
.search-form-wrap form{ display:flex; gap:0; max-width:580px; }
.search-form-wrap input[type="search"]{
  flex:1;
  padding:14px 20px;
  border:1.5px solid #e2e5ea;
  border-right:none;
  border-radius:var(--radius-sm) 0 0 var(--radius-sm);
  font-family:inherit;
  font-size:15px;
  outline:none;
  color:var(--gray-900);
}
.search-form-wrap input[type="search"]:focus{ border-color:var(--accent); }
.search-form-wrap button{
  padding:14px 22px;
  background:var(--accent);
  color:var(--white);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  cursor:pointer;
  border:none;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  transition:var(--transition);
}
.search-form-wrap button:hover{ background:var(--accent-dark); }

/* No results */
.no-results-wrap{
  text-align:center;
  padding:80px 24px;
}
.no-results-wrap i{ font-size:60px; color:var(--gray-100); margin-bottom:24px; }
.no-results-wrap h2{ margin-bottom:14px; }
.no-results-wrap p{ color:var(--gray-600); margin-bottom:30px; }

/* ── COMMENTS ────────────────────────────────────────────── */
.comments-area{
  margin-top:60px;
  padding-top:50px;
  border-top:2px solid var(--gray-100);
}
.comments-title{ font-size:26px; margin-bottom:30px; }
.comment-list{ list-style:none; display:flex; flex-direction:column; gap:28px; }
.comment-body{
  background:var(--off-white);
  border-radius:var(--radius-md);
  padding:24px 28px;
  border:1px solid rgba(9,48,79,0.05);
}
.comment-author-name{ font-weight:700; color:var(--navy); font-size:15px; }
.comment-date{ font-size:12px; color:var(--gray-400); margin-top:2px; }
.comment-text{ color:var(--gray-600); font-size:14.5px; margin-top:12px; line-height:1.7; }
.comment-reply-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:600;
  color:var(--accent-dark);
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-top:12px;
  transition:var(--transition);
}
.comment-reply-link:hover{ color:var(--navy); }
.comment-form-wrap{ margin-top:50px; }
.comment-form-wrap h3{ font-size:24px; margin-bottom:24px; }

/* ── WIDGETS (sidebar) ───────────────────────────────────── */
.widget{ margin-bottom:30px; }
.widget-title{
  font-size:20px;
  font-family:'Cormorant Garamond', serif;
  font-weight:700;
  color:var(--navy);
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:2px solid var(--accent);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ order:-1; }
  .hero-media-frame{ height:380px; }
  .hero-glass-card{ display:none; }
  .practice-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .split, .split.reverse{ grid-template-columns:1fr; gap:40px; }
  .split.reverse .split-media, .split.reverse .split-text{ order:0; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:40px; }
  .posts-grid{ grid-template-columns:repeat(2,1fr); }
  .single-wrap{ grid-template-columns:1fr; }
}

@media (max-width:860px){
  .nav-links{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(300px, 85vw);
    background:var(--navy-dark);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:0;
    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.4,0,.2,1);
    z-index:1001;
    box-shadow:-10px 0 40px rgba(0,0,0,0.4);
    padding:60px 32px 40px;
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-overlay{ display:block; }
  .nav-overlay.show{ display:block; }
  /* WordPress generated <ul> inside .nav-links on mobile */
  .nav-links ul{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
  }
  .nav-links ul li{ width:100%; }
  .nav-links a,
  .nav-links ul a{
    color:rgba(255,255,255,0.9) !important;
    font-size:15px;
    font-weight:500;
    display:block;
    padding:13px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
    width:100%;
  }
  .nav-links a:first-child,
  .nav-links ul li:first-child a{ border-top:1px solid rgba(255,255,255,0.08); }
  .nav-links a:hover,
  .nav-links ul a:hover{ color:var(--accent-light) !important; padding-left:6px; }
  .nav-links a::after,
  .nav-links ul a::after{ display:none; }
  .nav-toggle{ display:flex; }
  /* Hide the text CTA on very small screens, keep only toggle */
  .nav-cta .btn-accent{ padding:9px 16px; font-size:11.5px; letter-spacing:0; }
}

@media (max-width:640px){
  .practice-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero-btns{ flex-direction:column; align-items:flex-start; }
  #hero{ min-height:auto; padding-top:120px; }
  .trust-badges{ flex-direction:column; align-items:flex-start; gap:12px; }
  .posts-grid{ grid-template-columns:1fr; }
  .contact-form-wrap{ padding:28px 20px; }
  .single-wrap{ grid-template-columns:1fr; }
  .attorney-grid{ grid-template-columns:1fr; }
  /* Header mobile adjustments */
  .brand img,.site-logo{ max-height:46px; }
  #main-header{ padding:14px 0; }
  .nav-cta .btn-accent{ display:none; } /* hide CTA text btn — only toggle visible */
  .nav-toggle{ display:flex; }
}

@media (max-width:380px){
  .brand img,.site-logo{ max-height:38px; }
  .container{ padding:0 16px; }
  .nav-links{ width:100vw; padding:60px 20px 40px; }
}

/* ── ATTORNEY TEAM CARDS ─────────────────────────────────── */
.attorney-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.attorney-card{
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(9,48,79,0.06);
  transition:var(--transition);
  display:flex;
  flex-direction:column;
}
.attorney-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-md);
}
.attorney-card::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:4px;
  background:linear-gradient(90deg,var(--accent),var(--navy));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s ease;
}
.attorney-card{ position:relative; }
.attorney-card:hover::before{ transform:scaleX(1); }

.attorney-avatar{
  width:100%;
  height:200px;
  background:linear-gradient(160deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.attorney-avatar::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle at 70% 30%, rgba(27,164,234,0.2), transparent 55%);
}
.attorney-avatar i{
  font-size:72px;
  color:rgba(255,255,255,0.18);
  position:relative;
  z-index:1;
  transition:var(--transition);
}
.attorney-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}
.attorney-card:hover .attorney-avatar i{
  color:rgba(27,164,234,0.45);
  transform:scale(1.08);
}

.attorney-body{
  padding:28px 28px 30px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.attorney-body h3{
  font-size:22px;
  color:var(--navy);
  margin-bottom:4px;
}
.attorney-title{
  font-size:12.5px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--accent-dark);
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid var(--gray-100);
}
.attorney-info{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:22px;
  flex:1;
}
.attorney-email{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13.5px;
  color:var(--gray-600);
  transition:var(--transition);
  word-break:break-all;
}
.attorney-email i{
  color:var(--accent-dark);
  font-size:13px;
  flex-shrink:0;
}
.attorney-email:hover{ color:var(--accent-dark); }
.attorney-actions{ margin-top:auto; }
.attorney-actions .btn{ width:100%; justify-content:center; }

/* Responsive: attorney grid */
@media (max-width:1024px){
  .attorney-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:580px){
  .attorney-grid{ grid-template-columns:1fr; }
  .attorney-avatar{ height:160px; }
}

/* ── SERVICES PAGE ───────────────────────────────────────── */

/* Services Quick-Nav Section */
.services-nav-section{
  padding:60px 0 50px;
  background:var(--white);
  border-bottom:1px solid var(--gray-100);
}
.services-nav-title{
  text-align:center;
  font-size:clamp(26px,3.5vw,38px);
  margin-bottom:32px;
}
.services-quick-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.services-quick-nav a{
  display:inline-block;
  padding:10px 20px;
  border-radius:50px;
  border:1.5px solid rgba(9,48,79,0.18);
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  letter-spacing:.3px;
  transition:var(--transition);
  background:var(--white);
  white-space:nowrap;
}
.services-quick-nav a:hover{
  background:var(--navy);
  color:var(--white);
  border-color:var(--navy);
  transform:translateY(-3px);
  box-shadow:var(--shadow-sm);
}

/* Service Detail Sections */
.service-detail-section{
  padding:100px 0;
  position:relative;
}
.service-detail-section.bg-white{ background:var(--white); }
.service-detail-section.bg-offwhite{ background:var(--off-white); }
.service-detail-section.bg-navy{
  background:linear-gradient(160deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);
}
.service-detail-section.bg-navy::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle at 85% 20%, rgba(27,164,234,0.15), transparent 45%);
  pointer-events:none;
}

/* Two-column inner layout */
.service-detail-inner{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:70px;
  align-items:center;
}
.service-detail-inner.reverse{
  grid-template-columns:1fr auto;
}
.service-detail-inner.reverse .service-detail-icon-wrap{ order:2; }
.service-detail-inner.reverse .service-detail-content{ order:1; }

/* Icon Column */
.service-detail-icon-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.service-detail-icon{
  width:130px; height:130px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:52px;
  color:var(--accent-light);
  box-shadow:var(--shadow-md);
  flex-shrink:0;
  transition:var(--transition);
}
.service-detail-icon.specialty{
  background:linear-gradient(135deg,var(--accent-dark),var(--accent));
  color:var(--white);
}
.service-detail-section:hover .service-detail-icon{
  transform:rotate(-6deg) scale(1.05);
}

/* Floating featured badge */
.service-featured-badge{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  background:var(--navy);
  border-radius:var(--radius-md);
  max-width:220px;
  box-shadow:var(--shadow-md);
}
.service-featured-badge i{ color:var(--accent-light); font-size:20px; flex-shrink:0; }
.service-featured-badge strong{ display:block; color:var(--white); font-size:13px; }
.service-featured-badge span{ display:block; color:rgba(255,255,255,0.7); font-size:11px; margin-top:2px; }

/* Content Column */
.service-detail-content h2{
  font-size:clamp(28px,4vw,40px);
  margin-bottom:20px;
}
.service-detail-content p{
  color:var(--gray-600);
  font-size:15.5px;
  margin-bottom:18px;
  line-height:1.8;
}
.service-detail-content .check-list{ margin-bottom:28px; }

/* Section separators */
.service-detail-section + .service-detail-section{
  border-top:1px solid transparent;
}

/* ── RESPONSIVE: Services ────────────────────────────────── */
@media (max-width:860px){
  .service-detail-inner,
  .service-detail-inner.reverse{
    grid-template-columns:1fr;
    gap:36px;
  }
  .service-detail-inner.reverse .service-detail-icon-wrap,
  .service-detail-inner.reverse .service-detail-content{
    order:0;
  }
  .service-detail-icon-wrap{
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:18px;
  }
  .service-detail-icon{
    width:90px; height:90px;
    font-size:36px;
    border-radius:20px;
  }
  .service-featured-badge{ max-width:none; }
  .services-quick-nav a{ font-size:12px; padding:8px 14px; }
}

@media (max-width:640px){
  .service-detail-section{ padding:70px 0; }
  .services-nav-section{ padding:40px 0 36px; }
  .service-detail-icon-wrap{ flex-direction:column; align-items:flex-start; }
  .service-detail-icon{ width:76px; height:76px; font-size:30px; border-radius:16px; }
  .services-quick-nav a{ font-size:11.5px; padding:8px 12px; }
  .service-featured-badge{ flex-direction:column; align-items:flex-start; }
}

/* ── NEWS PAGE ───────────────────────────────────────────── */

/* News Grid layout */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* Ensure equal card heights */
.news-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(9,48,79,0.06);
  transition:var(--transition);
  height:100%; /* forces cards in grid to be equal height */
}
.news-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-md);
}

/* Consistent featured images */
.news-card-thumb{
  display:block;
  position:relative;
  width:100%;
  height:240px; /* fixed height for consistency */
  overflow:hidden;
}
.news-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover; /* prevent stretching */
  transition:transform .5s ease;
}
.news-card:hover .news-card-thumb img{
  transform:scale(1.08);
}
.news-thumb-placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(160deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
}
.news-thumb-placeholder i{
  font-size:64px;
  color:rgba(255,255,255,0.15);
  transition:var(--transition);
}
.news-card:hover .news-thumb-placeholder i{
  transform:scale(1.1);
  color:rgba(27,164,234,0.4);
}

/* Category Badge */
.news-card-cat{
  position:absolute;
  bottom:16px;
  left:16px;
  background:var(--accent);
  color:var(--white);
  padding:6px 14px;
  font-size:12px;
  font-weight:600;
  border-radius:50px;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* Card Body */
.news-card-body{
  padding:30px;
  display:flex;
  flex-direction:column;
  flex:1; /* pushes link to bottom */
}
.news-card-meta{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:13px;
  color:var(--gray-600);
  margin-bottom:12px;
}
.news-card-meta i{
  color:var(--accent-dark);
}
.news-card-body h3{
  font-size:22px;
  margin-bottom:14px;
  line-height:1.4;
  color:var(--navy);
  transition:var(--transition);
}
.news-card-body h3 a{
  color:inherit;
}
.news-card-body h3:hover{
  color:var(--accent);
}
.news-card-body p{
  color:var(--gray-600);
  font-size:15px;
  line-height:1.7;
  margin-bottom:20px;
}
/* For the static internal article body */
.news-article-body h4{
  font-size:16px;
  margin-bottom:8px;
  color:var(--navy);
}
.news-article-body p{
  font-size:14px;
  margin-bottom:16px;
}

/* Ensure link stays at the bottom */
.news-card-body .card-link{
  margin-top:auto;
  font-size:14px;
  font-weight:600;
  color:var(--accent-dark);
  display:flex;
  align-items:center;
  gap:8px;
  transition:var(--transition);
}
.news-card-body .card-link i{
  font-size:12px;
  transition:var(--transition);
}
.news-card-body .card-link:hover{
  color:var(--accent);
}
.news-card-body .card-link:hover i{
  transform:translateX(5px);
}

/* Responsive alignment for News Grid */
@media (max-width:1024px){
  .news-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .news-grid{ grid-template-columns:1fr; }
  .news-card-thumb{ height:200px; }
  .news-card-body{ padding:24px; }
}

/* ── SINGLE SERVICE PAGE ─────────────────────────────────── */
.service-detail-section{
  padding:100px 0;
  background:var(--gray-100);
}
.service-layout-grid{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:50px;
  align-items:start;
}

/* Sidebar Navigation */
.service-sidebar{
  background:var(--white);
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(9,48,79,0.05);
}
.service-nav-list{
  list-style:none;
  padding:0;
  margin:0;
}
.service-nav-list li{
  border-bottom:1px solid rgba(9,48,79,0.05);
  position:relative;
}
.service-nav-list li:last-child{
  border-bottom:none;
}
.service-nav-list li a{
  display:block;
  padding:18px 24px 18px 48px;
  font-size:13px;
  font-weight:700;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:0.5px;
  transition:var(--transition);
  position:relative;
}
/* Bullet dot */
.service-nav-list li a::before{
  content:'';
  position:absolute;
  left:24px;
  top:50%;
  transform:translateY(-50%);
  width:6px;
  height:6px;
  background-color:var(--navy);
  border-radius:50%;
  transition:var(--transition);
}
.service-nav-list li.active{
  background-color:var(--accent);
}
.service-nav-list li.active a{
  color:var(--white);
}
.service-nav-list li.active a::before{
  background-color:var(--white);
}
.service-nav-list li:hover:not(.active){
  background-color:rgba(27,164,234,0.05);
}

/* Main Content */
.service-main-content{
  background:var(--white);
  padding:40px;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(9,48,79,0.05);
  font-size:16px;
  line-height:1.8;
  color:var(--gray-600);
}
.service-article-content h1, 
.service-article-content h2, 
.service-article-content h3{
  color:var(--navy);
  margin-top:30px;
  margin-bottom:16px;
}
.service-article-content h1:first-child,
.service-article-content h2:first-child{
  margin-top:0;
}
.service-article-content p{
  margin-bottom:20px;
}
.service-featured-image{
  float:right;
  margin-left:30px;
  margin-bottom:20px;
  max-width:350px;
  border:1px solid rgba(0,0,0,0.1);
  box-shadow:var(--shadow-sm);
}
.service-featured-image img{
  width:100%;
  height:auto;
  display:block;
}

@media (max-width:1024px){
  .service-layout-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  .service-featured-image{
    float:none;
    margin-left:0;
    max-width:100%;
  }
}
@media (max-width:768px){
  .service-main-content{
    padding:30px 20px;
  }
}
