:root {
  --bg: #eef5ff;
  --bg-2: #e4f0ff;
  --bg-3: #d7e8ff;
  --panel: rgba(255,255,255,0.84);
  --panel-2: rgba(255,255,255,0.92);
  --line: rgba(18, 67, 122, 0.14);
  --line-strong: rgba(18, 67, 122, 0.26);
  --text: #12365c;
  --muted: #49688b;
  --accent: #0b4f8f;
  --accent-2: #1976c9;
  --accent-3: #66b2ff;
  --accent-4: #7c5cff;
  --shadow: 0 22px 60px rgba(13, 53, 97, 0.14);
  --radius: 28px;
  --radius-sm: 20px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(102,178,255,0.26), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(124,92,255,0.18), transparent 22%),
    radial-gradient(circle at 68% 52%, rgba(25,118,201,0.12), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 38%, #edf3ff 62%, #f9fbff 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 42px)); margin: 0 auto; }
.page-wrap { min-height: 100vh; }
.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: #fff; color: #111;
}
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,251,255,0.78));
  border-bottom: 1px solid rgba(17,61,112,0.08);
  box-shadow: 0 8px 24px rgba(15,55,96,0.05);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0;
}
.brand { display:flex; align-items:center; gap:14px; min-width:0; }
.brand-mark {
  width: 82px; height: 82px; object-fit: contain; border-radius: 18px; background: rgba(255,255,255,0.9); padding: 6px; border: 1px solid rgba(17,61,112,0.10); box-shadow: 0 10px 24px rgba(15,55,96,0.08);
}
.brand-copy { display:flex; flex-direction:column; }
.brand-copy span { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-copy small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }
.nav { display:flex; align-items:center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--accent); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 800; border: 1px solid rgba(17,61,112,0.08);
  background: linear-gradient(135deg, #0b4f8f, #1976c9 52%, #2e86d8 100%);
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
  box-shadow: 0 14px 34px rgba(22,106,184,0.30);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(22,106,184,0.34); filter: saturate(1.05); }
.button.ghost { background: rgba(255,255,255,0.72); border-color: var(--line); box-shadow: none; color: var(--accent); }
.button.small {
  padding: 11px 18px;
  font-size: .95rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0a4479, #156bb6 58%, #237fd3 100%);
  border-color: rgba(9,72,129,0.24);
  box-shadow: 0 12px 28px rgba(21,107,182,0.32);
}
.button.full { width: 100%; }
.hero { padding: 52px 0 28px; }
.hero-grid {
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center;
}
.eyebrow {
  display:inline-block; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent-2); font-weight: 800; font-size: .76rem;
}
.hero h1, .page-hero h1 {
  margin: 0 0 18px; font-size: clamp(2.8rem, 5vw, 5.3rem); line-height: .95; letter-spacing: -.045em;
}
.lead, .section-intro p, .card p, .feature p, .split-copy p, .testimonial p, .contact-panel p, .footer, .checklist li, .faq-item p, .service-list li, .pricing-card p, .cta-banner p {
  color: var(--muted); line-height: 1.8; font-size: 1.03rem;
}
.hero-actions { display:flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero-points, .mini-stats, .badge-list {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; list-style: none; margin: 18px 0 0;
}
.panel, .hero-points li, .mini-stats li, .badge-list li, .card, .feature, .testimonial, .contact-panel, .cta-banner, .pricing-card, .faq-item, .logo-frame, .service-hero-card, .trust-card, .split-panel {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-points li, .mini-stats li, .badge-list li { padding: 18px; font-weight: 700; }
.logo-frame { padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(230,240,250,.92)); }
.logo-frame img { width: 100%; object-fit: contain; filter: drop-shadow(0 18px 32px rgba(15,55,96,.14)); }
.trust-strip { padding: 16px 0 28px; }
.trust-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.trust-card { padding: 24px; }
.trust-card strong { display:block; margin-bottom: 8px; font-size: 1.06rem; }
.section { padding: 76px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(245,250,255,.78)); border-top:1px solid rgba(17,61,112,.06); border-bottom:1px solid rgba(17,61,112,.06); }
.section-intro { max-width: 780px; margin-bottom: 34px; }
.section h2, .split-copy h2, .cta-banner h2, .page-section h2, .contact-panel h2, .pricing-card h3, .service-card h3 {
  margin: 0 0 14px; font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em;
}
.card-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card { padding: 28px; }
.card h3, .feature h3, .faq-item h3, .service-card h3, .trust-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
/* Contextual icon-dot images */
.icon-dot {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin-bottom: 18px;
  background-color: rgba(255,255,255,0.82);
  border: 1px solid rgba(18,67,122,0.12);
  box-shadow: 0 10px 24px rgba(13,53,97,0.10);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.icon-business-it {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 19h8'/%3E%3Cpath d='M10 17v2'/%3E%3Cpath d='M14 17v2'/%3E%3C/svg%3E");
}
.icon-home-tech {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5L12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h14v-9.5'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E");
}
.icon-networking {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='12' r='3'/%3E%3Ccircle cx='17' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3Cpath d='M9.7 10.8l4.8-2.5'/%3E%3Cpath d='M9.7 13.2l4.8 2.5'/%3E%3C/svg%3E");
}
.icon-security {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 7.5-7 9-3.5-1.5-7-4-7-9V7l7-4z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3Cpath d='M5 19l2-2'/%3E%3Cpath d='M17 17l2 2'/%3E%3C/svg%3E");
}
.icon-cloud-web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .3-8A5.5 5.5 0 0 0 6.6 8.6 3.5 3.5 0 0 0 7 18z'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M8 16h5'/%3E%3Cpath d='M15.5 8.5h.01'/%3E%3Cpath d='M18 8.5h.01'/%3E%3C/svg%3E");
}
.icon-troubleshooting {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a5 5 0 1 0 3 3'/%3E%3Cpath d='M15 3v4h4'/%3E%3C/svg%3E");
}
.icon-clarity {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
}
.icon-warmth {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.35-7-10a4 4 0 0 1 7-2.5A4 4 0 0 1 19 11c0 5.65-7 10-7 10z'/%3E%3C/svg%3E");
}
.icon-confidence {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 7.5-7 9-3.5-1.5-7-4-7-9V7l7-4z'/%3E%3C/svg%3E");
}
.split-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.feature-list { display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feature { padding: 24px; }
.about-grid, .contact-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.split-panel, .contact-panel { padding: 32px; }
.service-links { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-link {
  padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.75);
}
.service-link h3 { margin: 0 0 8px; font-size: 1.15rem; }
.service-link p { margin: 0; color: var(--muted); line-height: 1.7; }
.testimonial-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial { padding: 26px; }
.testimonial strong { display:block; margin-top: 14px; }
.cta-banner {
  padding: 34px; display:grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(135deg, rgba(92,167,230,.22), rgba(255,255,255,.82));
}
.footer {
  border-top: 1px solid rgba(17,61,112,.08); padding: 30px 0 40px;
}
.footer-wrap { display:flex; align-items:flex-start; justify-content: space-between; gap: 20px; }
.footer-links { display:flex; gap: 16px; flex-wrap: wrap; }
.page-hero { padding: 44px 0 18px; }
.page-hero-grid { display:grid; grid-template-columns: 1fr .8fr; gap: 30px; align-items: center; }
.service-hero-card { padding: 28px; }
.checklist { margin: 0; padding-left: 18px; }
.page-section { padding: 30px 0 70px; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card, .faq-item, .pricing-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.service-list { margin: 0; padding-left: 18px; }
.service-list li { margin-bottom: 8px; }
.contact-list { display:grid; gap: 12px; margin: 18px 0 0; }
.contact-chip { padding: 14px 16px; border-radius: 16px; border:1px solid var(--line); background: rgba(255,255,255,.04); }
.form-grid { display:grid; gap: 14px; }
.field label { display:block; margin-bottom: 8px; font-weight: 700; }
.field input, .field textarea, .field select {
  width:100%; border-radius: 16px; border:1px solid rgba(17,61,112,.14); background: rgba(255,255,255,.95); color: var(--text); padding: 14px 16px; font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.small-note { color: var(--muted); font-size: .95rem; }
.inline-note { color: var(--accent); font-weight: 700; }
.kicker { color: var(--accent-2); font-weight: 800; }
@media (max-width: 1020px) {
  .hero-grid, .page-hero-grid, .split-grid, .about-grid, .contact-grid, .card-grid, .testimonial-grid, .feature-list, .trust-grid, .service-links, .two-col, .hero-points, .mini-stats, .badge-list, .cta-banner { grid-template-columns: 1fr; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .nav { gap: 14px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand-mark { width: 62px; height: 62px; }
  .brand-copy small { letter-spacing: .12em; }
  .section { padding: 58px 0; }
  .hero { padding-top: 28px; }
  .split-panel, .contact-panel, .card, .service-card, .faq-item, .pricing-card, .testimonial, .trust-card, .service-hero-card, .logo-frame { padding: 22px; }
}


.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.alert {
  margin-bottom: 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  font-weight: 600;
}
.alert.error { background: rgba(196, 64, 64, 0.10); color: #8a1f1f; border-color: rgba(196, 64, 64, 0.20); }
.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.thank-you-panel { max-width: 860px; margin: 40px auto; }
@media (max-width: 740px) {
  .field-row { grid-template-columns: 1fr; }
}

.hero h1, .page-hero h1, .section h2, .split-copy h2, .cta-banner h2, .page-section h2, .contact-panel h2, .pricing-card h3, .service-card h3, .card h3, .feature h3, .faq-item h3, .service-link h3, .trust-card strong, .testimonial strong { color: var(--text); }

.panel, .hero-points li, .mini-stats li, .badge-list li, .card, .feature, .testimonial, .contact-panel, .cta-banner, .pricing-card, .faq-item, .logo-frame, .service-hero-card, .trust-card, .split-panel {
  backdrop-filter: blur(10px);
}

.service-link:hover, .card:hover, .feature:hover, .trust-card:hover, .testimonial:hover, .service-card:hover, .pricing-card:hover, .faq-item:hover {
  border-color: rgba(31,115,183,0.24);
  transform: translateY(-2px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: 0 18px 40px rgba(15,55,96,0.12);
}

.contact-chip, .service-link, .field input, .field textarea, .field select {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}



/* Premium homepage hero */
.premium-hero {
  padding: 58px 0 34px;
}
.hero-shell {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 32px;
  padding: 34px;
  border-radius: 38px;
  border: 1px solid rgba(17,61,112,0.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(244,249,255,0.92)),
    radial-gradient(circle at top left, rgba(92,167,230,0.18), transparent 35%);
  box-shadow: 0 28px 70px rgba(15,55,96,0.12);
}
.hero-copy {
  padding: 8px 4px 8px 2px;
}
.hero-copy h1 {
  max-width: 11ch;
}
.hero-copy .lead {
  max-width: 760px;
  font-size: 1.08rem;
}
.hero-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 22px;
}
.hero-callout {
  padding: 18px 18px 17px;
  border-radius: 22px;
  border: 1px solid rgba(17,61,112,0.10);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 14px 34px rgba(15,55,96,0.08);
}
.hero-callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.hero-callout span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.premium-points li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
}
.premium-points li strong {
  font-size: 1rem;
}
.premium-points li span {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
  font-size: 0.95rem;
}
.hero-visual {
  display: grid;
  gap: 16px;
  align-content: start;
}
.hero-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31,115,183,0.12), rgba(92,167,230,0.18));
  color: var(--accent);
  border: 1px solid rgba(17,61,112,0.10);
  font-weight: 800;
  letter-spacing: .02em;
}
.premium-logo-frame {
  padding: 24px;
}
.hero-side-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(17,61,112,0.10);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 16px 38px rgba(15,55,96,0.08);
}
.hero-side-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.side-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
.text-link {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero-shell,
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }
  .hero-callouts,
  .hero-points,
  .mini-stats,
  .badge-list,
  .trust-grid,
  .card-grid,
  .testimonial-grid,
  .feature-list,
  .service-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .premium-hero {
    padding-top: 28px;
  }
  .hero-shell {
    padding: 22px;
    border-radius: 28px;
  }
  .hero-callouts,
  .hero-points,
  .mini-stats,
  .badge-list,
  .trust-grid,
  .card-grid,
  .testimonial-grid,
  .feature-list,
  .service-links {
    grid-template-columns: 1fr;
  }
  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }
}



.brand-copy {
  gap: 2px;
}
.brand-tagline {
  display: block;
  margin-top: 3px;
  color: var(--accent);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}


.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.compare-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.compare-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e8f1fa;
}
.compare-copy {
  padding: 22px;
}
.compare-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(31,115,183,0.10);
  color: var(--accent);
}
.compare-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.compare-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.compare-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--muted);
}
@media (max-width: 720px) {
  .before-after {
    grid-template-columns: 1fr;
  }
}



.hero-shell,
.panel,
.card,
.feature,
.testimonial,
.contact-panel,
.cta-banner,
.pricing-card,
.faq-item,
.logo-frame,
.service-hero-card,
.trust-card,
.split-panel,
.compare-card {
  position: relative;
  overflow: hidden;
}

.hero-shell::before,
.card::before,
.feature::before,
.contact-panel::before,
.service-hero-card::before,
.trust-card::before,
.split-panel::before,
.compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.30), transparent 45%, rgba(102,178,255,0.10) 72%, transparent 100%);
  pointer-events: none;
}

.section.alt {
  background:
    radial-gradient(circle at left top, rgba(102,178,255,0.10), transparent 30%),
    radial-gradient(circle at right center, rgba(124,92,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(243,248,255,.82));
  border-top:1px solid rgba(17,61,112,.06);
  border-bottom:1px solid rgba(17,61,112,.06);
}

.logo-frame,
.premium-logo-frame {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(233,243,255,.94)),
    radial-gradient(circle at top left, rgba(102,178,255,0.16), transparent 30%);
}

.page-hero,
.hero,
.section {
  position: relative;
}

.page-hero::after,
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.22));
  pointer-events: none;
}

.nav a.button.small,
.nav .button.small {
  color: #ffffff !important;
}

.brand-mark {
  box-shadow: 0 14px 34px rgba(15,55,96,0.12);
}



/* Hero box image badges */
.hero-box {
  position: relative;
  padding-top: 72px !important;
}
.hero-box::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background-color: rgba(255,255,255,0.92);
  border: 1px solid rgba(18,67,122,0.12);
  box-shadow: 0 10px 24px rgba(13,53,97,0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.hero-box-home::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 19h8'/%3E%3Cpath d='M10 17v2'/%3E%3Cpath d='M14 17v2'/%3E%3C/svg%3E");
}
.hero-box-home-secondary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 7.5-7 9-3.5-1.5-7-4-7-9V7l7-4z'/%3E%3Cpath d='M9.5 12l1.7 1.7 3.3-3.6'/%3E%3C/svg%3E");
}
.hero-box-service::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='12' r='3'/%3E%3Ccircle cx='17' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3Cpath d='M9.7 10.8l4.8-2.5'/%3E%3Cpath d='M9.7 13.2l4.8 2.5'/%3E%3C/svg%3E");
}
.hero-box-business::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='12' rx='2'/%3E%3Cpath d='M8 7V5h8v2'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
}
.hero-box-local::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6-4.35 6-10a6 6 0 1 0-12 0c0 5.65 6 10 6 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E");
}
.hero-box-services::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M7 4v6'/%3E%3Cpath d='M17 4v6'/%3E%3Crect x='4' y='7' width='16' height='13' rx='2'/%3E%3Cpath d='M8 13h3'/%3E%3Cpath d='M13 13h3'/%3E%3Cpath d='M8 17h8'/%3E%3C/svg%3E");
}
.hero-box-about::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
}
.hero-box-contact::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M4 8l8 6 8-6'/%3E%3C/svg%3E");
}

.hero-callout.hero-box {
  min-height: 180px;
}
.service-hero-card.hero-box,
.hero-side-card.hero-box {
  min-height: 210px;
}

@media (max-width: 720px) {
  .hero-box {
    padding-top: 68px !important;
  }
  .hero-box::after {
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}



.about-hero-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}
.about-headshot-wrap {
  display: flex;
  justify-content: center;
}
.about-headshot {
  width: min(240px, 100%);
  max-height: 340px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 18px 38px rgba(13,53,97,0.16));
}
.about-hero-copy h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}
.about-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.about-credentials {
  margin-top: 18px;
}
.credential-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.degree-list {
  margin-top: 0;
}
.degree-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100%;
}
.degree-list li strong {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.degree-list li span {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.about-photo-feature {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
}
.about-photo-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), transparent 45%, rgba(102,178,255,0.10) 72%, transparent 100%);
  pointer-events: none;
}
.about-photo-feature-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(13,53,97,0.14);
}
.about-photo-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.about-photo-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
}

@media (max-width: 900px) {
  .about-hero-card,
  .about-photo-feature {
    grid-template-columns: 1fr;
  }
  .about-headshot {
    width: min(260px, 100%);
  }
}



.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand strong {
  font-size: 1rem;
}
.footer-brand span {
  color: var(--muted);
}
.footer-tagline {
  font-weight: 700;
  color: var(--accent);
}
.footer-photo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 24px rgba(13,53,97,0.16);
  background: #fff;
}

@media (max-width: 720px) {
  .footer-brand {
    width: 100%;
  }
  .footer-photo {
    width: 52px;
    height: 52px;
  }
}


/* ===== Refresh v23: cleaner navigation, stronger footer, more personal imagery ===== */
.nav-wrap {
  position: relative;
  gap: 22px;
}
.brand {
  max-width: min(100%, 390px);
}
.brand-copy {
  min-width: 0;
}
.brand-copy span {
  font-size: 1.16rem;
}
.brand-copy small {
  letter-spacing: 0.16em;
}
.brand-tagline {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.2;
}
.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(17,61,112,0.14);
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15,55,96,0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  display: block;
}
.nav {
  margin-left: auto;
}
.nav a {
  white-space: nowrap;
}
.nav .nav-cta {
  margin-left: 4px;
}
.hero-portrait {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15,55,96,0.16);
}
.portrait-frame {
  padding: 18px;
}

.hero-portrait-home {
  aspect-ratio: 1.22 / 1;
  object-fit: contain;
  background: transparent;
  padding: 6px;
}
.branded-support-section {
  padding-top: 36px;
}
.support-intro {
  max-width: 900px;
}
.support-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.support-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 45%, rgba(11,79,143,0.08) 76%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.support-media {
  position: relative;
  overflow: hidden;
  background: #dfeaf5;
}
.support-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,36,67,0.10) 0%, rgba(8,36,67,0.00) 35%, rgba(8,36,67,0.58) 100%);
  z-index: 1;
  pointer-events: none;
}
.support-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.support-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(10,27,47,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.support-copy {
  padding: 22px;
  position: relative;
  z-index: 3;
}
.support-copy h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}
.support-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.footer {
  padding: 30px 0 42px;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.footer-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15,55,96,0.08);
  padding: 22px;
}
.footer-panel h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}
.footer-main p,
.footer-panel a,
.footer-panel span {
  color: var(--muted);
}
.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}
.footer-brand {
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-brand strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.footer-tagline {
  margin-top: 8px;
  line-height: 1.45;
}
.footer-photo {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  object-fit: cover;
}
.footer-fine {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 0 4px;
}
.contact-panel .hero-actions {
  margin-bottom: 0;
}
.contact-chip {
  line-height: 1.6;
}
@media (max-width: 1120px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    margin-left: 0;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.97);
    box-shadow: 0 20px 44px rgba(15,55,96,0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(240,247,255,0.72);
  }
  .nav .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    text-align: center;
  }
  .footer-wrap,
  .support-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main,
  .footer-fine {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .brand-mark {
    width: 66px;
    height: 66px;
  }
  .brand {
    max-width: calc(100% - 72px);
  }
  .support-gallery,
  .footer-wrap {
    grid-template-columns: 1fr;
  }
  .footer-main,
  .footer-fine {
    grid-column: auto;
  }
  .footer-fine {
    padding: 0;
  }
  .hero-actions .button,
  .hero-actions .button.ghost {
    width: 100%;
  }
}


/* About page hero fix */
.page-about .page-hero-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}
.page-about .about-hero-card {
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: start;
  min-height: auto;
}
.page-about .about-hero-copy {
  min-width: 0;
}
.page-about .about-hero-card.service-hero-card.hero-box {
  min-height: auto;
}
.page-about .degree-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.page-about .degree-list li {
  padding: 16px;
}
@media (max-width: 1100px) {
  .page-about .page-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .page-about .about-hero-card {
    grid-template-columns: 1fr;
  }
  .page-about .degree-list {
    grid-template-columns: 1fr;
  }
}


/* ===== Refresh v37: mobile header cleanup ===== */
.nav-toggle {
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}
.nav-toggle span {
  pointer-events: none;
}
@media (max-width: 1100px) {
  .topbar {
    overflow: visible;
  }
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 72px);
  }
  .brand-copy {
    min-width: 0;
  }
  .brand-tagline {
    display: none;
  }
  .nav-toggle {
    position: relative;
    z-index: 60;
    flex: 0 0 auto;
  }
  .nav {
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .nav.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (max-width: 720px) {
  .brand-copy span {
    font-size: 1.02rem;
  }
  .brand-copy small {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}
