/* Reset */
*{margin:0;padding:0;box-sizing:border-box}

:root{
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --bg:#f4f4f4;
  --text:#111827;
  --muted:#374151;
  --white:#ffffff;

  --primary:#0f2a44;     /* navy */
  --primary2:#12355a;    /* secondary navy */
  --accent:#c8333a;      /* brand red */
  --heroBlue:#2a77b1;

  --line: rgba(17,24,39,.10);
  --shadow: 0 14px 34px rgba(0,0,0,.10);

  --header-h: 104px;
  --header-h-shrink: 80px;

  --radius: 12px;
}

html{scroll-behavior:smooth}
section{scroll-margin-top: calc(var(--header-h) + 18px)}

body{
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a{text-decoration:none;color:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* Header (WHITE) */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  background: var(--white);
  color: var(--primary);
  z-index:1000;
  border-bottom: 1px solid rgba(15,42,68,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  transition: box-shadow .2s ease;
}
.header-inner{
  /* height removed: using min-height for better logo sizing */
display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  transition: height .2s ease;
  min-height: var(--header-h);
}

.brand{
  display:flex;
  align-items:center;
  gap:2px;
  color: var(--primary);
  min-width:0;
}
.brand picture{display:flex; align-items:center}

.logo{
  height: 78px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 86px;
}

.brand-name{
  font-weight: 600;
  font-size: 1.45rem;
  white-space: nowrap;
  letter-spacing: .2px;
  transition: font-size .2s ease;
}

/* Shrink on scroll */
.site-header.shrink .header-inner{
  /* height removed: using min-height for better logo sizing */
display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  transition: height .2s ease;
  min-height: var(--header-h);
}
.site-header.shrink .logo{
  height: 62px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 62px;
}
.site-header.shrink .brand-name{
  font-weight: 600;
  font-size: 1.25rem;
  white-space: nowrap;
  letter-spacing: .2px;
  transition: font-size .2s ease;
}

/* Nav */
.nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:14px;
}
.nav a{
  position:relative;
  color: var(--primary);
  font-weight: 800;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover{ background: rgba(15,42,68,.06); color: var(--primary2); }

.nav-cta{
  background: var(--accent);
  color:#fff !important;
  border: 1px solid var(--accent);
}
.nav-cta:hover{ background: #b52d33; }

/* Active nav underline (thin red) */
.nav a.active::after,
.nav a.active-1::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:4px;
  height:2px;
  background: var(--accent);
  border-radius:2px;
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  border: 1px solid rgba(15,42,68,.18);
  background: rgba(15,42,68,.02);
  border-radius: 12px;
  padding: 10px 10px;
  cursor:pointer;
}
.nav-toggle .bar{
  display:block;
  width:22px;
  height:2px;
  background: var(--primary);
  margin:5px 0;
}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Hero */
.hero{
  background: linear-gradient(to right, var(--heroBlue), var(--primary2));
  color:#fff;
  padding: calc(var(--header-h) + 70px) 0 70px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.pill{
  display:inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.hero h1{
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
}
.hero p{
  max-width: 100ch;
  color: rgba(255,255,255,.92);
}
.hero-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover{
  background: #b52d33;
  transform: translateY(-1px);
}
.btn-ghost{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.trust{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust-item{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 12px;
}
.trust-item strong{display:block}
.trust-item span{display:block;opacity:.95;margin-top:4px;font-size:13px}

.hero-card{
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-card h2{font-size: 1.05rem; margin-bottom: 10px}
.hero-card ul{padding-left: 18px; color: #374151; line-height: 1.7}
.note{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17,24,39,.12);
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

/* Sections */
.section{ padding: 64px 0; background: var(--white); }
.section-alt{ background: #f8fafc; border-top: 1px solid rgba(17,24,39,.08); border-bottom: 1px solid rgba(17,24,39,.08); }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}
.section-head h2{font-size: 2.4rem; max-width: 70ch}

/* Cards grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.card h3{margin-bottom: 8px}
.card p{color:#4b5563}
.tag{
  margin-top: 12px;
  display:inline-block;
  background: #f3f4f6;
  border: 1px solid rgba(17,24,39,.10);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #374151;
}

/* Highlights */
.highlights{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.highlight{
  border: 1px solid rgba(17,24,39,.10);
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.highlight p{color:#4b5563}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step{
  border: 1px solid rgba(17,24,39,.10);
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.step-num{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: rgba(42,119,177,.14);
  border: 1px solid rgba(42,119,177,.22);
  color: #1f3b63;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.step p{color:#4b5563;font-size: 13.5px}

/* FAQ */
.faq details{
  background:#ffffff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  padding: 12px 14px;
}
.faq details + details{ margin-top: 10px; }
.faq summary{ cursor:pointer; font-weight: 900; }
.faq p{ margin-top: 10px; color:#4b5563; }

/* Contact */
.contact{ background: #ffffff; }
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.contact-card h2{margin-bottom: 6px}
.muted{ color:#4b5563; }
.fine{ margin-top: 10px; color:#6b7280; font-size: 12.5px; }

label{
  display:grid;
  gap: 6px;
  margin-top: 12px;
  font-weight: 800;
  color: #374151;
  font-size: 13px;
}
input, textarea{
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.15);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }

.kv{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  color:#374151;
}
.k{ font-weight: 900; }
.v{ color:#4b5563; }
.small-note{
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(17,24,39,.10);
  color:#4b5563;
  font-size: 13px;
}

/* Footer */
.site-footer{
  background: var(--primary);
  color:#fff;
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a{
  color:#fff;
  opacity: .9;
  margin-left: 12px;
  font-weight: 800;
}
.footer-links a:hover{ opacity: 1; }

/* Responsive */
@media (max-width: 980px){
  :root{
    --header-h: 104px;
    --header-h-shrink: 80px;
  }
  .hero-inner{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .highlights{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .nav-toggle{ display:block; }
  .nav{
    position: fixed;
    top: var(--header-h);
    left:0; right:0;
    background: rgba(255,255,255,.98);
    border-top: 1px solid rgba(15,42,68,.12);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-header.shrink .nav{ top: var(--header-h-shrink); }

  .nav.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav ul{
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 8px;
  }
  .nav a{ display:block; }
  .nav a.active::after,
  .nav a.active-1::after{
    left:12px; right:12px; bottom:8px;
  }
}

@media (max-width: 520px){
  .logo{
  height: 78px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 86px;
}
  .site-header.shrink .logo{
  height: 62px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 62px;
}
  .brand-name{
  font-weight: 600;
  font-size: 1.45rem;
  white-space: nowrap;
  letter-spacing: .2px;
  transition: font-size .2s ease;
}
  .grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .section-head{ flex-direction: column; align-items: flex-start; }
}

/* =========================
   Services (pricing-card style)
========================= */
.section-head.center{
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head.center .lead{
  max-width: 78ch;
  color: #4b5563;
}

.services-pricing{
  background: #ffffff;
}

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

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

.pricing-card{
  background: #f8fafc;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}

.pricing-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.pricing-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pricing-card h3{
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--primary);
}

.price-row{
  display:flex;
  flex-direction: column;
  gap: 2px;
}
.price-row .from{
  font-weight: 700;
  color: #6b7280;
  font-size: 0.95rem;
}
.price-row .price{
  font-weight: 900;
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1.05;
}

.icon-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(15,42,68,.06);
  border: 1px solid rgba(15,42,68,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.icon-badge svg{
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.checklist{
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li{
  position: relative;
  padding-left: 26px;
  color: #111827;
  font-weight: 700;
  font-size: 0.98rem;
}
.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9);
}
.checklist li::after{
  content:"";
  position:absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.pricing-card .more-item{ display:none; }
.pricing-card.expanded .more-item{ display:block; }

.show-more{
  margin-top: 14px;
  align-self: flex-end;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 900;
  cursor: pointer;
  padding: 8px 6px;
}
.show-more:hover{ color: var(--primary); }

.pricing-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(17,24,39,.10);
  color: #4b5563;
  font-size: 13px;
}



/* ===== Services groups (no pricing) ===== */
.service-group{ margin-top: 42px; }
.group-title{
  font-weight: 600;

  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 6px;
  text-align:center;
}
.group-sub{
  text-align:center;
  color:#4b5563;
  max-width: 82ch;
  margin: 0 auto 18px;
}

/* grid variants */
.pricing-grid.two-col{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.pricing-grid.one-col{
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left:auto;
  margin-right:auto;
}

/* card title helper */
.card-title{
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary);
}

/* Remove leftover price spacing if any */
.price-row, .from, .price{ display:none !important; }

/* Improve checklist spacing for long lists */
.checklist li{
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 980px){
  .pricing-grid.two-col{ grid-template-columns: 1fr; }
}


/* === Emphasize main service section headings === */
.service-group{
  margin-top: 64px;
}

.group-title{
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.group-sub{
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 28px;
}



/* === Hero visual (right-side illustration) === */
.hero-inner{
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}

.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-visual img{
  max-width: 100%;
  width: 420px;
  height: auto;
  opacity: .95;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.25));
}

@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .hero-visual{
    margin-top: 32px;
  }
}


/* === Hero background pattern (no image) === */
.hero{
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  /* subtle pattern: layered gradients */
  background:
    radial-gradient(900px 420px at 18% 20%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(800px 380px at 80% 30%, rgba(200,51,58,0.16), transparent 62%),
    radial-gradient(700px 340px at 70% 85%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.00) 40%);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.hero .container{ position: relative; z-index: 1; }

/* === Custom hero illustration + subtle animation === */
.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-illustration{
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.22));
  animation: heroFloat 6.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.hero-visual{
  animation: heroFadeIn .9s ease-out both;
}
@keyframes heroFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
@keyframes heroFadeIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-illustration, .hero-visual{ animation: none !important; }
}


/* text flows full width; illustration overlays */
  }
  .hero-visual{
    position: absolute;
    top: 10px;
    right: 0;
    margin-top: 0 !important;
    width: 520px;
    pointer-events: none;
  }
  .hero-illustration{
    width: 520px;
    max-width: 520px;
  }
}

/* Mobile/tablet: keep stacked layout */
@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .hero-visual{
    position: static;
    width: auto;
    pointer-events: none;
  }
  .hero-illustration{
    width: min(520px, 100%);
    max-width: 100%;
  }
}


/* Tablet & mobile */
@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .hero-visual{
    margin-top: 28px;
    justify-content: center;
  }
}


/* === Hero illustration: right-side MIDDLE (authoritative) === */
@media (min-width: 981px){
  .hero-inner{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center !important;
  }
  .hero-copy{
    padding-right: 10px;
  }
  .hero-visual{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center !important;
    margin-top: 0 !important;
  }
  .hero-illustration{
    width: 480px;
    max-width: 100%;
    height: auto;
  }
}

/* Tablet & mobile stack */
@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-visual{
    margin-top: 26px;
    justify-content: center;
  }
  .hero-illustration{
    width: min(520px, 100%);
  }
}


/* === Header social (LinkedIn) === */
.header-right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.header-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius: 12px;
  border: 1px solid rgba(15,42,68,.14);
  background: rgba(15,42,68,.03);
  color: var(--primary);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.header-social:hover{
  background: rgba(200,51,58,.10);
  border-color: rgba(200,51,58,.20);
  transform: translateY(-1px);
}
.header-social svg{
  width:18px;
  height:18px;
  display:block;
}
@media (max-width: 820px){
  .header-right{ gap: 8px; }
  .header-social{ width:38px; height:38px; }
}



/* === Professional typography & UI polish === */
html{ text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.1px;
}
h1,h2,h3,h4{
  letter-spacing: -0.6px;
}
p{ color: var(--muted); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid rgba(42,119,177,.35);
  outline-offset: 2px;
  border-radius: 10px;
}
.container{ padding: 0 22px; }



/* === Subtle premium surfaces === */
.card, .pricing-card, .highlight, .step, .hero-visual{
  border-color: rgba(15,42,68,.10);
}
.card, .pricing-card{
  box-shadow: 0 10px 26px rgba(15,42,68,.08);
}
.btn{
  letter-spacing: .2px;
}
.btn:active{ transform: translateY(0); }
.nav a{
  font-weight: 700;
}
.brand-name{
  font-weight: 600;
  font-size: 1.45rem;
  white-space: nowrap;
  letter-spacing: .2px;
  transition: font-size .2s ease;
}
.section-head.center{
  text-align:center;
  flex-direction: column;
  align-items: center;
}
.section-head.center .lead{
  max-width: 72ch;
}



/* === Hero copy readability === */
.hero p{
  font-size: 1.05rem;
  line-height: 1.75;
}
.pill{
  font-weight: 700;
  letter-spacing: .2px;
}



/* === List styling refinement === */
.checklist{
  margin-top: 10px;
}
.checklist li{
  line-height: 1.55;
}



/* === Heading hierarchy & typography refinement === */

/* Card titles */
.card-title{
  letter-spacing: 0.2px;
  color: #12355a;
}

/* Section main headings */
.section-head h2{
  letter-spacing: -0.3px;
  color: #0f2a44;
}

/* Subhead text */
.group-sub,
.section-head p{
  color: #4b5563;
}

/* Mobile-specific heading tuning */
@media (max-width: 768px){
  .group-title{
    font-size: 1.45rem;
    letter-spacing: 0.35px;
  }
  .section-head h2{
    font-size: 2.4rem;
  }
}

@media (max-width: 480px){
  .group-title{
    font-size: 1.35rem;
  }
  .section-head h2{
    font-size: 2.4rem;
  }
}




/* === Soft section separators === */
.section{
  position: relative;
}
.section + .section{
  border-top: 1px solid rgba(15,42,68,.08);
}
.section-alt + .section,
.section + .section-alt{
  border-top: 1px solid rgba(15,42,68,.06);
}

/* Service group divider inside Services section */
.service-group{
  padding-top: 26px;
  margin-top: 46px;
  border-top: 1px solid rgba(15,42,68,.10);
}
.service-group:first-of-type{
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

/* === Micro-animations (very subtle) === */
.pricing-card, .card, .highlight, .step{
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.pricing-card:hover, .card:hover, .highlight:hover, .step:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15,42,68,.12);
  border-color: rgba(15,42,68,.16);
}
.pricing-card:active, .card:active, .highlight:active, .step:active{
  transform: translateY(-1px);
}

/* Keep interactions accessible */
.pricing-card:focus-within, .card:focus-within, .highlight:focus-within, .step:focus-within{
  border-color: rgba(42,119,177,.28);
  box-shadow: 0 0 0 4px rgba(42,119,177,.14), 0 14px 34px rgba(15,42,68,.10);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .pricing-card, .card, .highlight, .step{
    transition: none !important;
  }
  .pricing-card:hover, .card:hover, .highlight:hover, .step:hover{
    transform: none !important;
  }
}



/* === Service section main titles (Business Services, etc.) === */
.services .service-group .group-title{
  font-weight: 600;
}



/* === Header Contact button hover (override generic nav hover) === */
.nav a.nav-cta:hover,
.nav a.nav-cta:focus-visible{
  background: #b52d33;
  border-color: #b52d33;
  color: #fff;
}


/* === Service card short summaries (SEO + scannability) === */
.card-sub{
  margin-top: 6px;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}
.pricing-top{
  gap: 10px;
}
@media (max-width: 520px){
  .card-sub{ font-size: 0.95rem; }
}

@media (max-width: 768px){
  .section-head h2{
    font-size: 2rem;
  }
  .services .service-group .group-title{
    font-size: 1.4rem;
  }
}



/* Footer text visibility fix */
.site-footer p{
  color: rgba(255,255,255,0.92);
}



/* Space before Send Message button */
.contact form button{
  margin-top: 16px;
}


/* === Accessibility & Mobile QA === */
:focus-visible{
  outline: 3px solid #c8333a;
  outline-offset: 3px;
}

@media (max-width: 480px){
  body{
    font-size: 0.95rem;
  }
  .hero h1{
    line-height: 1.2;
  }
  .btn{
    min-height: 44px;
  }
}

/* Production optimization */
img{
  max-width: 100%;
  height: auto;
}


/* === Header logo sizing (Barce Global Tax) === */
@media (max-width: 820px){
  .logo{
  height: 78px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 86px;
}
  .site-header.shrink .logo{
  height: 62px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 62px;
}
}
@media (max-width: 520px){
  .logo{
  height: 78px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 86px;
}
  .site-header.shrink .logo{
  height: 62px;
  width:auto;
  object-fit:contain;
  display:block;
  transition: height .2s ease;
  max-height: 62px;
}
}

/* === Header sizing overrides === */
@media (max-width: 820px){
  :root{ --header-h: 92px; --header-h-shrink: 74px; }
  .logo{ height: 68px; max-height: 74px; }
  .site-header.shrink .logo{ height: 56px; }
  .brand-name{ font-size: 1.25rem; }
  .site-header.shrink .brand-name{ font-size: 1.12rem; }
}
@media (max-width: 520px){
  :root{ --header-h: 86px; --header-h-shrink: 70px; }
  .logo{ height: 62px; max-height: 68px; }
  .site-header.shrink .logo{ height: 52px; }
  .brand-name{ font-size: 1.15rem; }
  .site-header.shrink .brand-name{ font-size: 1.05rem; }
}

