
/* ====== Design System ====== */
:root{
  --brand-blue: #1E4D8F;
  --brand-blue-700:#163a6a;
  --brand-blue-50:#f2f6fb;
  --brand-orange:#F37021;
  --brand-orange-700:#c85a13;
  --text:#0F172A;
  --muted:#475569;
  --bg:#ffffff;
  --bg-soft:#F8FAFC;
  --ring:#93C5FD;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(2,6,23,.08);
  --shadow-lg: 0 18px 60px rgba(2,6,23,.12);
  --container: 1200px;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b1220; --bg-soft:#0f172a; --text:#e2e8f0; --muted:#94a3b8;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 18px 60px rgba(0,0,0,.6);
  }
  .logo-invert{ filter: brightness(0) invert(1); }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Emoji, Noto Color Emoji, "Apple Color Emoji", sans-serif;
  color:var(--text); background:var(--bg);
  line-height:1.6; letter-spacing:.01em;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline: clamp(16px, 4vw, 32px); }

/* Header */
.header{ 
  position:sticky; 
  top:0; 
  z-index:50; 
  transition: background .3s, box-shadow .3s; 
  background: #202731; 
}

.header.scrolled{ 
  background: #202731; 
  box-shadow: var(--shadow-sm); 
  backdrop-filter: blur(8px); 
}

@media (prefers-color-scheme: dark){ 
  .header.scrolled{ 
    background: #202731; 
  } 
}

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

.brand{ 
  display:flex; 
  align-items:center; 
  gap:12px; 
  font-weight:800; 
  font-size: clamp(1.05rem, 1vw + .8rem, 1.3rem); 
  color: white;
  flex-shrink: 0;
}

.brand img{ 
  height:40px; 
  width:auto; 
}

.nav-links{ 
  display:flex; 
  gap: clamp(12px, 1.2vw, 24px); 
  align-items:center; 
  margin-left: auto;
  flex: 1;
  justify-content: flex-end;
}

.nav-links .menu{ 
  display:flex; 
  gap: clamp(12px, 1.2vw, 24px); 
  margin:0; 
  padding:0; 
  list-style:none; 
}

.nav-links .menu a{ 
  font-weight:600; 
  opacity:.9; 
  color: white; 
}

.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cta-btn{ 
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-700)); 
  color:white; 
  padding:.7rem 1rem; 
  border-radius: calc(var(--radius) - 6px); 
  box-shadow: var(--shadow-md); 
  font-weight:700;
  transition: all 0.3s ease;
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: none;
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.cta-btn:hover{ 
  transform: translateY(-1px); 
  box-shadow: var(--shadow-lg); 
}

/* Mobile Menu */
.menu-toggle{ 
  display:none; 
  border:none; 
  background:transparent; 
  font-size:1.2rem; 
  color: white; 
}

/* Hide mobile buttons by default (desktop) */
.mobile-buttons {
  display: none;
}

@media (max-width: 900px){
  .nav-links{ display:none; }
  .menu-toggle{ display:block; }
  .mobile-drawer{ 
    position:fixed; 
    inset:0 0 auto 0; 
    top:56px; 
    background:#202731; 
    border-top:1px solid rgba(255,255,255,.1); 
    display:none; 
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .mobile-drawer.open{ display:block; }
  .mobile-drawer ul{ 
    list-style:none; 
    margin:0; 
    padding:0; 
  }
  .mobile-drawer a{ 
    display:block; 
    padding:16px 24px; 
    border-bottom:1px solid rgba(255,255,255,.1); 
    font-weight:600; 
    color: white; 
    transition: background-color 0.3s ease;
  }
  
  .mobile-drawer a:hover {
    background-color: rgba(255,255,255,0.1);
  }
  
    .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  
  .mobile-buttons .cta-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
  }
  
  .mobile-buttons .cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
  }
  
  .mobile-buttons .cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
  }
}

/* Hero */
.hero{ 
  position:relative; 
  isolation:isolate; 
  background: 
    radial-gradient(1200px 800px at 70% -20%, rgba(30,77,143,.15), transparent),
    radial-gradient(800px 600px at 30% 80%, rgba(243,112,33,.1), transparent),
    linear-gradient(135deg, var(--brand-blue-50), var(--bg));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-inner{ 
  display:grid; 
  grid-template-columns: 1.1fr .9fr; 
  align-items:center; 
  gap: clamp(32px, 5vw, 64px); 
  padding: clamp(64px, 8vw, 120px) 0;
  position: relative;
  z-index: 2;
}

.hero h1{ 
  font-size: clamp(2rem, 3.2vw + 1rem, 3.8rem); 
  line-height:1.1; 
  margin:0 0 20px; 
  font-weight:800;
  background: linear-gradient(135deg, var(--text), var(--brand-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p{ 
  font-size: clamp(1.1rem, .6vw + 1rem, 1.25rem); 
  color:var(--muted); 
  margin: 0 0 24px;
  line-height: 1.7;
}

.hero .badges{ 
  display:flex; 
  flex-wrap:wrap; 
  gap:12px; 
  margin-top:20px; 
}

.badge{ 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  padding:10px 16px; 
  border-radius: 999px; 
  font-weight:600; 
  background:rgba(255,255,255,0.9); 
  color:#0f172a; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border:1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: rgba(255,255,255,1);
}

@media (prefers-color-scheme: dark){ 
  .badge{ 
    background:rgba(11,18,32,0.9); 
    color:var(--text); 
    border-color: rgba(23,32,54,0.3);
  }
  
  .badge:hover {
    background: rgba(11,18,32,1);
  }
}

.hero-card{ 
  background: rgba(255,255,255,0.95); 
  padding: clamp(24px, 3vw, 32px); 
  border-radius: 20px; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.hero-card h3{ 
  margin:0 0 16px; 
  font-size:1.3rem;
  color: var(--brand-blue);
  font-weight: 700;
}

/* Trust bar */
.trust{ 
  background: linear-gradient(135deg, var(--brand-blue-50), var(--bg-soft)); 
  border-top:1px solid rgba(2,6,23,.08); 
  border-bottom:1px solid rgba(2,6,23,.08);
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M20 0l5 15h16l-13 9 5 15-13-9-13 9 5-15-13-9h16z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.trust-inner{ 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:24px; 
  padding:32px 0;
  position: relative;
  z-index: 2;
}

.trust-inner span{ 
  display:flex; 
  align-items:center; 
  gap:12px; 
  font-weight:600; 
  color:var(--brand-blue);
  font-size: 1rem;
  padding: 16px 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.trust-inner span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  background: rgba(255,255,255,1);
}

.trust-inner span::before {
  content: "✓";
  color: var(--brand-orange);
  font-weight: bold;
  font-size: 1.2rem;
  background: rgba(243,112,33,0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sections */
section{ padding: clamp(48px, 6vw, 88px) 0; }
.section-title{ font-size: clamp(1.4rem, 1.2vw + 1.1rem, 2rem); margin:0 0 6px; }
.section-lead{ color:var(--muted); margin:0 0 24px; }

/* Services grid */
.cards{ 
  display:grid; 
  grid-template-columns: repeat(12, 1fr); 
  gap: clamp(24px, 3vw, 32px); 
}

.card{ 
  grid-column: span 4; 
  background:var(--bg); 
  border:1px solid rgba(2,6,23,.08); 
  border-radius: 20px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
  padding:28px; 
  display:flex; 
  flex-direction:column; 
  gap:16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: rgba(30,77,143,0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3{ 
  margin:0; 
  font-size:1.3rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.card p{ 
  margin:0; 
  color:var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

.card .chip{ 
  margin-top:auto; 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  background: linear-gradient(135deg, #eff6ff, #dbeafe); 
  color:#1e40af; 
  padding:8px 16px; 
  border-radius:999px; 
  font-weight:600; 
  font-size:.9rem;
  border: 1px solid rgba(30,64,175,0.1);
  transition: all 0.3s ease;
}

.card:hover .chip {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,64,175,0.2);
}

@media (prefers-color-scheme: dark){ 
  .card{ 
    border-color:rgba(23,32,54,0.3);
    background: var(--bg-soft);
  }
  
  .card .chip{ 
    background: linear-gradient(135deg, #0b2554, #1e3a8a);
    color:#93c5fd;
    border-color: rgba(147,197,253,0.2);
  }
  
  .card:hover .chip {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
  }
}

@media (max-width: 1000px){ .card{ grid-column: span 6; } }
@media (max-width: 640px){ .card{ grid-column: span 12; } }

/* Process */
.steps{ 
  display:grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: clamp(24px, 3vw, 32px); 
  counter-reset: step; 
}

.step{ 
  background: var(--bg); 
  border:1px solid rgba(2,6,23,.08); 
  border-radius: 20px; 
  padding:32px 24px 24px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
  position:relative;
  transition: all 0.3s ease;
  text-align: center;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: rgba(30,77,143,0.2);
}

.step:before{ 
  counter-increment: step; 
  content: counter(step); 
  position:absolute; 
  top:-20px; 
  left:50%;
  transform: translateX(-50%);
  height:48px; 
  width:48px; 
  border-radius:50%; 
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-700)); 
  color:white; 
  display:grid; 
  place-items:center; 
  font-weight:800; 
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(243,112,33,0.3);
  border: 3px solid white;
}

.step strong {
  display: block;
  font-size: 1.1rem;
  color: var(--brand-blue);
  margin-bottom: 8px;
  font-weight: 700;
}

.step br + * {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 900px){ 
  .steps{ 
    grid-template-columns: 1fr 1fr; 
    gap: clamp(20px, 2.5vw, 28px);
  }
  
  .step {
    padding: 28px 20px 20px;
  }
  
  .step:before {
    height: 44px;
    width: 44px;
    font-size: 1.1rem;
    top: -18px;
  }
}

@media (max-width: 520px){ 
  .steps{ 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  
  .step {
    padding: 32px 24px 24px;
  }
  
  .step:before {
    height: 48px;
    width: 48px;
    font-size: 1.2rem;
    top: -20px;
  }
}

/* Testimonials */
.testimonials{ 
  display:grid; 
  gap:24px; 
  grid-template-columns: 1.2fr .8fr; 
}

.quote{ 
  background:var(--bg); 
  border:1px solid rgba(2,6,23,.08); 
  border-radius: 20px; 
  padding:32px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--brand-orange);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: var(--text);
  font-style: italic;
}

.rating{ 
  display:flex; 
  gap:6px; 
  margin-top:16px; 
}

.star{ 
  width:20px; 
  height:20px; 
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-700)); 
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000"><path d="M12 .587l3.668 7.568L24 9.748l-6 5.853 1.417 8.262L12 19.771 4.583 23.863 6 15.6 0 9.748l8.332-1.593z"/></svg>') center/contain no-repeat; 
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000"><path d="M12 .587l3.668 7.568L24 9.748l-6 5.853 1.417 8.262L12 19.771 4.583 23.863 6 15.6 0 9.748l8.332-1.593z"/></svg>') center/contain no-repeat; 
}

.quote p:last-child {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 900px){ 
  .testimonials{ 
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  
  .quote {
    padding: 28px;
  }
}

/* CTA band */
.cta{ 
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-700)); 
  color:white; 
  border-radius: 20px; 
  box-shadow: 0 20px 40px rgba(30,77,143,0.3); 
  padding: clamp(24px, 4vw, 36px); 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:24px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta p{ 
  margin:0; 
  opacity:.95;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta h3 {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Footer */
footer{ background: var(--bg-soft); border-top:1px solid rgba(2,6,23,.06); }
.foot-grid{ display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: clamp(16px, 4vw, 32px); }
.foot-grid ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.foot-title{ font-weight:800; margin-bottom:8px; }
@media (max-width: 900px){ .foot-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .foot-grid{ grid-template-columns: 1fr; } }

/* WP core alignment helpers */
.alignwide { max-width: var(--container); margin-inline: auto; }
.alignfull { width: 100%; }

/* ===== CF7 Styling Upgrade (theme-matched) ===== */
.wpcf7 form { display:grid; gap:12px; }
.wpcf7 form p { margin:0; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width:100%;
  padding:16px 20px;
  border-radius:12px;
  border:2px solid #e2e8f0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { 
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 77, 143, 0.1);
  transform: translateY(-1px);
}

.wpcf7-form textarea { 
  min-height:120px; 
  resize:vertical;
  line-height: 1.6;
}

.wpcf7 .wpcf7-submit {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-700));
  color:#fff; 
  padding:16px 24px; 
  border:none; 
  border-radius:12px;
  font-weight:700; 
  font-size: 16px;
  cursor:pointer; 
  box-shadow: 0 4px 12px rgba(30, 77, 143, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wpcf7 .wpcf7-submit:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(30, 77, 143, 0.4);
}

.wpcf7 .wpcf7-submit:active {
  transform: translateY(0);
}

/* Modern form field labels */
.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modern select styling */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 48px;
}

/* Modern file upload styling */
.wpcf7-form input[type="file"] {
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 2px dashed #cbd5e1;
  cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
  border-color: var(--brand-blue);
  background: rgba(30, 77, 143, 0.05);
}

/* Modern checkbox and radio styling */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.2);
}

.wpcf7-form input[type="checkbox"] + label,
.wpcf7-form input[type="radio"] + label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

/* Form validation styling */
.wpcf7 form .wpcf7-response-output {
  margin-top:16px; 
  border-radius:12px; 
  padding:16px 20px;
  border: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpcf7-not-valid-tip { 
  color:#dc2626; 
  font-weight:500; 
  margin-top:6px;
  font-size: 14px;
  padding: 8px 12px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 8px;
  border-left: 3px solid #dc2626;
}

.wpcf7 form.invalid .wpcf7-response-output { 
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.wpcf7 form.sent .wpcf7-response-output { 
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-left: 4px solid #16a34a;
}

/* Form spacing improvements */
.wpcf7-form .wpcf7-form-control-wrap {
  margin-bottom: 20px;
}

/* Hero card CF7 stays single-column */
.hero-card .wpcf7 form { display:grid; gap:12px; }

/* Two-column rows on wider screens inside contact card */
@media (min-width: 720px){
  #contact .card .wpcf7 .row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
}
/* ===== New Customer Details Columns ===== */
.nc-two-columns {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important; /* form much wider, notes narrower */
  gap: 32px !important;
  width: 100% !important;
}

.nc-form-card {
  background: var(--bg);
  border: 1px solid rgba(2,6,23,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px;
  width: 100% !important;
}

.nc-notes-card {
  background: var(--bg-soft);
  border: 1px solid rgba(2,6,23,.06);
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px;
  width: 100% !important;
  height: fit-content;
  align-self: start;
}

/* Ensure Contact Form 7 doesn't break the grid layout */
.nc-two-columns .wpcf7 {
  width: 100% !important;
}

.nc-two-columns .wpcf7 form {
  width: 100% !important;
}

@media (max-width: 992px) {
  .nc-two-columns {
    grid-template-columns: 1fr !important; /* stack on tablet/mobile */
  }
}
/* Removed old ja-info styles - no longer needed */

/* New Customer Page Specific Styles */
.nc-hero {
  background: var(--brand-blue-50);
  padding: clamp(32px, 4vw, 64px) 0;
  text-align: center;
}

.nc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.nc-badges .badge {
  background: white;
  border: 1px solid rgba(30, 77, 143, 0.1);
  color: var(--brand-blue);
  font-size: 0.9rem;
}

.nc-body {
  padding: clamp(48px, 6vw, 88px) 0;
}

.nc-h2 {
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  color: var(--brand-blue);
}

.nc-h3 {
  font-size: 1.2rem;
  margin: 0 0 16px 0;
  color: var(--brand-blue);
}

.nc-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.nc-ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.nc-ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: bold;
}

.nc-divider {
  height: 1px;
  background: rgba(30, 77, 143, 0.1);
  margin: 20px 0;
}

.nc-small {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 8px 0;
}

.nc-aside {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand-orange);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .nc-hero {
    background: rgba(30, 77, 143, 0.1);
  }
  
  .nc-badges .badge {
    background: var(--bg);
    border-color: rgba(30, 77, 143, 0.3);
  }
  
  .nc-aside {
    background: var(--bg-soft);
    border-left-color: var(--brand-orange);
  }
}

/* Contact Section Modernization */
#contact .cards {
  gap: clamp(32px, 4vw, 48px);
}

#contact .card {
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(2,6,23,.08);
  transition: all 0.3s ease;
}

#contact .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

#contact .card h3 {
  font-size: 1.4rem;
  color: var(--brand-blue);
  margin-bottom: 20px;
  font-weight: 700;
}

#contact .card p {
  margin-bottom: 16px;
  line-height: 1.6;
}

#contact .card strong {
  color: var(--brand-blue);
  font-weight: 600;
}

#contact .card a {
  color: var(--brand-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

#contact .card a:hover {
  color: var(--brand-orange-700);
}

#contact .card .badge {
  display: inline-block;
  background: rgba(30,77,143,0.1);
  color: var(--brand-blue);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(30,77,143,0.2);
  margin-top: 16px;
}

/* Section titles modernization */
.section-title {
  font-size: clamp(1.6rem, 2vw + 1.2rem, 2.4rem);
  margin: 0 0 16px 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--brand-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 32px 0;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Modern Single Post Page ===== */
.single-post {
  background: var(--bg);
}

/* Post Hero Section */
.post-hero {
  background: linear-gradient(135deg, var(--brand-blue-50), var(--bg-soft));
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.post-hero .container {
  position: relative;
  z-index: 2;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-category {
  background: var(--brand-orange);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-date {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.post-title {
  font-size: clamp(2rem, 4vw + 1.5rem, 3.5rem);
  line-height: 1.2;
  margin: 0 0 24px 0;
  font-weight: 800;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-excerpt {
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.post-excerpt p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.author-avatar img {
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.read-time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Featured Image */
.post-featured-image {
  margin: 0 0 48px 0;
}

.post-featured-image .container {
  max-width: 900px;
}

.featured-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Post Content */
.post-content {
  padding: 0 0 clamp(64px, 8vw, 120px) 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

.main-content {
  min-width: 0;
}

/* Post Content Typography */
.post-content .main-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.post-content .main-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 24px 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.post-content .main-content h3 {
  font-size: 1.5rem;
  margin: 36px 0 20px 0;
  color: var(--brand-blue);
  font-weight: 600;
}

.post-content .main-content h4 {
  font-size: 1.3rem;
  margin: 32px 0 18px 0;
  color: var(--brand-blue);
  font-weight: 600;
}

.post-content .main-content p {
  margin-bottom: 24px;
}

.post-content .main-content ul,
.post-content .main-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-content .main-content li {
  margin-bottom: 8px;
}

.post-content .main-content blockquote {
  border-left: 4px solid var(--brand-orange);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 0 12px 12px 0;
}

.post-content .main-content img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  margin: 32px 0;
}

/* Post Navigation */
.post-navigation {
  margin: 64px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(2,6,23,.08);
  border-bottom: 1px solid rgba(2,6,23,.08);
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.nav-previous,
.nav-next {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 1px solid rgba(2,6,23,.08);
}

.nav-previous:hover,
.nav-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--brand-blue);
}

.nav-next {
  justify-content: flex-end;
  text-align: right;
}

.nav-arrow {
  font-size: 1.5rem;
  color: var(--brand-orange);
  font-weight: bold;
}

.nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.nav-title {
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Author Bio */
.author-bio {
  margin: 64px 0;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: 20px;
  border: 1px solid rgba(2,6,23,.08);
}

.author-header h3 {
  margin: 0 0 24px 0;
  color: var(--brand-blue);
  font-size: 1.4rem;
  font-weight: 700;
}

.author-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-avatar-large img {
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.author-details h4 {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
}

.author-details p {
  margin: 0 0 16px 0;
  color: var(--muted);
  line-height: 1.6;
}

.author-links a {
  color: var(--brand-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.author-links a:hover {
  color: var(--brand-orange-700);
}

/* Comments Section */
.comments-section {
  margin: 64px 0;
}

.comments-section h3 {
  margin: 0 0 32px 0;
  color: var(--brand-blue);
  font-size: 1.4rem;
  font-weight: 700;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(2,6,23,.08);
}

.sidebar-widget h4 {
  margin: 0 0 20px 0;
  color: var(--brand-blue);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Related Posts */
.related-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-post {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,.06);
  transition: all 0.3s ease;
}

.related-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: var(--brand-blue);
}

.related-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content h5 {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.related-content h5 a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.related-content h5 a:hover {
  color: var(--brand-blue);
}

.related-content time {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Categories List */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(2,6,23,.06);
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.categories-list a:hover {
  color: var(--brand-blue);
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-cloud a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(30,77,143,0.2);
}

.tags-cloud a:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1000px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .post-sidebar {
    position: static;
    order: -1;
  }
  
  .sidebar-widget {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .post-hero {
    padding: 48px 0 32px 0;
  }
  
  .post-title {
    font-size: clamp(1.8rem, 5vw + 1rem, 2.5rem);
  }
  
  .post-author {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .author-content {
    flex-direction: column;
    text-align: center;
  }
  
  .post-content .main-content {
    font-size: 1rem;
  }
  
  .post-content .main-content h2 {
    font-size: 1.6rem;
  }
  
  .post-content .main-content h3 {
    font-size: 1.4rem;
  }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .post-hero {
    background: linear-gradient(135deg, rgba(30,77,143,0.1), var(--bg-soft));
  }
  
  .post-author {
    background: rgba(11,18,32,0.8);
    border-color: rgba(23,32,54,0.3);
  }
  
  .sidebar-widget {
    background: var(--bg);
    border-color: rgba(23,32,54,0.3);
  }
  
  .related-post {
    background: var(--bg);
    border-color: rgba(23,32,54,0.2);
  }
  
  .tags-cloud a {
    background: rgba(30,77,143,0.2);
    border-color: rgba(30,77,143,0.3);
  }
}
