:root {
 

  --color-white: #ffffff;        
  --color-black: #000000;       
  --color-text: #111111;         
  --color-text-2: #222222;      
  --color-text-muted: #555555;   
  --color-brand-dark: #0C2D4C;     
  --color-brand-mid: #175590;      
  --color-brand-primary: #1C6AB2;  
  --color-footer-blue: #0b5ed7;   
  --color-border-light: #E5E7EB;   
  --color-review-star: #f4b400;   
  
  --radius-xs: 6px;  
  --radius-md: 12px;  
  --shadow-nav: 0 5px 15px rgba(12, 45, 76, 0.4);
  
  --shadow-nav-active: 0 1px 5px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.10);
  --shadow-cta: 0 8px 25px rgba(12, 45, 76, 0.45);
  
  --shadow-review:
    0 6px 12px rgba(0, 0, 0, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.10);
  
  --shadow-review-hover:
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.15);
  
  --shadow-call-pill:
    0 0 0 0.2rem rgba(28, 106, 178, 0.25),
    0 4px 18px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(28, 106, 178, 0.8);

  --shadow-call-pill-hover:
    0 0 0 0.25rem rgba(28, 106, 178, 0.35),
    0 6px 22px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(28, 106, 178, 1);

  --border-subtle: 1px solid rgba(0, 0, 0, 0.05);
  --border-review: 1px solid rgba(0, 0, 0, 0.08);

  --text-shadow-star: 0 1px 2px rgba(0, 0, 0, 0.25);
}





* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-40px);
  padding: 8px;
  background: var(--color-white);
  color: var(--color-black);
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.top-stripes {
  height: 36px;
  background: linear-gradient(
    to bottom,
    var(--color-brand-dark) 0 12px,     /* dark */
    var(--color-brand-mid) 12px 24px,   /* mid */
    var(--color-brand-primary) 24px 36px /* primary */
  );
}

header {
  background: var(--color-white);
  border-bottom: 0;
}

.header-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  display: block;
  height: auto;
  max-width: 260px;
}

@media (min-width: 800px) {
  .logo img { max-width: 420px; }
}

.header-call {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.20rem 0.70rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  border: 4px solid var(--color-white);
  background-color: var(--color-brand-primary);
  color: var(--color-white);
  white-space: nowrap;
  text-decoration: none;

  box-shadow: var(--shadow-call-pill);

  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;

  transition: all 0.2s ease-out;
}

.call-pill:hover {
  background-color: var(--color-brand-mid);
  color: var(--color-white);
  box-shadow: var(--shadow-call-pill-hover);
  transform: translateY(-1px);
}

.call-pill:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .call-pill {
    padding: 0.18rem 0.60rem;
    font-size: 1.18rem;
  }
}

.site-nav {
  border-top: 4px solid var(--color-brand-dark);
  border-bottom: 4px solid var(--color-brand-dark);
  background: var(--color-white);
  box-shadow: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.site-nav a {
  font-weight: 800;
  color: var(--color-text);
  padding: 8px 12px;
  line-height: 1.4;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--color-white);
  border-radius: var(--radius-xs);
  border: var(--border-subtle);
  box-shadow: var(--shadow-nav);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}

.site-nav a:hover,
.site-nav a:active {
  text-decoration: none;
  color: var(--color-brand-mid);
  transform: translateY(3px);
  box-shadow: var(--shadow-nav-active);
}

@media (max-width: 799px) {
  .site-nav ul { gap: 10px; }
  .site-nav a {
    padding: 6px 8px;
    font-size: 0.9rem;
  }
}

@media (min-width: 800px) {
  .site-nav a { font-size: 1.30rem; }
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

h1, h2, h3 {
  margin: .6em 0 .4em;
  line-height: 1.2;
  color: var(--color-brand-dark);
}

h1 {
  font-size: 2rem;
  text-align: center;
}

h2 { font-size: 1.5rem; }

p { margin: .8em 0; }

a {
  color: var(--color-brand-primary);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-brand-mid);
  text-decoration-color: var(--color-brand-mid);
}

.services-layout {
  padding-top: 24px;
  padding-bottom: 40px;
}

.services-hero {
  text-align: center;
  margin-bottom: 24px;
}

.services-divider {
  border: 0;
  height: 2px;
  background-color: var(--color-brand-mid);
  margin: 16px 0 24px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.service-card {
  background: var(--color-white);
  border: 0 !important;                 /* replaces the gray border */
  border-radius: 0.75rem;              /* matches FAQ cards */
  padding: 1rem 1.25rem;               /* matches FAQ cards */
  margin-bottom: 1rem;                 /* matches FAQ spacing */

  /* cube edge + float + blue glow (same as FAQ cards) */
  box-shadow:
    inset 4px 0 0 var(--color-brand-primary),
    inset 0 -4px 0 var(--color-brand-primary),
    inset 0 1px 0 rgba(0,0,0,0.06),
    inset -1px 0 0 rgba(0,0,0,0.06),
    0 10px 22px rgba(0, 0, 0, 0.10),
    0 18px 44px rgba(28, 106, 178, 0.22);

  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}


.service-card:hover {
  transform: translateY(-6px);         /* replaces scale(1.02) */
  box-shadow:
    inset 4px 0 0 var(--color-brand-primary),
    inset 0 -4px 0 var(--color-brand-primary),
    inset 0 1px 0 rgba(0,0,0,0.06),
    inset -1px 0 0 rgba(0,0,0,0.06),
    0 14px 30px rgba(0, 0, 0, 0.12),
    0 26px 60px rgba(28, 106, 178, 0.28);
}


.service-card h2 {
  margin-top: 0;
  margin-bottom: 0.35em;
  font-size: 1.3rem;
  color: var(--color-brand-dark);
}

.service-card p {
  margin: 0;
  color: var(--color-text-2);
}

.cta {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 18px 28px;
  margin-top: 32px;
  text-align: center;
  border: 4px solid var(--color-brand-dark);
  box-shadow: var(--shadow-cta);
}

.cta h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.cta-details {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-2);
}

.cta-details a {
  color: var(--color-brand-primary);
  text-decoration: underline;
  font-weight: 700;
}

.cta-details a:hover {
  color: var(--color-brand-mid);
}

.bottom-stripes {
  height: 18px;
  margin-top: 40px;
  background: linear-gradient(
    to bottom,
    var(--color-brand-dark) 0 6px,
    var(--color-brand-mid) 6px 12px,
    var(--color-brand-primary) 12px 18px
  );
}

.review-snippets {
  margin: 2rem 0;
}

.review-snippets h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--color-brand-dark);
}

.review-snippet {
  background-color: var(--color-white);
  border: 0 !important;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;

  box-shadow:
    inset 3px 0 0 var(--color-review-star),
    inset 0 -2px 0 var(--color-review-star),
    inset 0 1px 0 rgba(0,0,0,0.06),
    inset -1px 0 0 rgba(0,0,0,0.06),
    0 14px 30px rgba(0, 0, 0, 0.22),
    0 30px 72px rgba(0, 0, 0, 0.20);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.review-snippet:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 2px 0 0 var(--color-review-star),
    inset 0 -3px 0 var(--color-review-star),
    inset 0 1px 0 rgba(0,0,0,0.06),
    inset -1px 0 0 rgba(0,0,0,0.06),
    0 18px 38px rgba(0, 0, 0, 0.26),
    0 40px 90px rgba(0, 0, 0, 0.24);
}



.review-snippet-rating {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--color-review-star);
  text-shadow: var(--text-shadow-star);
}

.review-snippet-text {
  margin: 0 0 0.5rem;
  font-style: italic;
  color: var(--color-text-2);
}

.review-snippet-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.review-snippet-meta a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-brand-primary);
}

.review-snippet-meta a:hover {
  text-decoration: underline;
  color: var(--color-brand-mid);
}

.review-snippets-cta {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }
  .header-content { padding: 12px 16px; }
  .logo img { max-width: 240px; }
  .header-call { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  main { padding: 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

  .service-card { padding: 14px 14px; }

  .service-card h2 { font-size: 1.2rem; }

  .cta { padding: 20px 16px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-small {
  display: block;
  max-width: 300px;
  margin: 20px auto;
}

.img-medium {
  display: block;
  max-width: 520px;
  margin: 24px auto;
}

.img-wide {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.img-float-left {
  float: left;
  max-width: 220px;
  margin: 0 16px 16px 0;
}

.img-float-right {
  float: right;
  max-width: 220px;
  margin: 0 0 16px 16px;
}

@media (max-width: 600px) {
  .img-float-left,
  .img-float-right {
    float: none;
    display: block;
    margin: 16px auto;
  }
}

.img-row-2 {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 24px 0;
}

.img-row-2 img {
  width: 48%;
  height: auto;
  border-radius: var(--radius-xs);
}

.img-row-3 {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 24px 0;
}

.img-row-3 img {
  width: 32%;
  height: auto;
  border-radius: var(--radius-xs);
}

/* Footer Base */
.site-footer {
  background-color: var(--color-footer-blue);
  color: var(--color-white);
  padding: 40px 20px;
  margin-top: 40px;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Layout */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: bold;
}

/* Footer headings override global heading color */
.site-footer h3 {
  color: var(--color-white);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
  }
}

/* FAQ cards — floating + call-pill blue glow + “cube” edge (left + bottom) */
.faqs {
  margin: 2rem 0;
}

.faqs h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--color-brand-dark);
}

.faqs .faq-item {
  background: var(--color-white);
  border: 0 !important;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;

  /* cube edge: left + bottom (reliable on mobile) */
  box-shadow:
    inset 4px 0 0 var(--color-brand-primary),
    inset 0 -4px 0 var(--color-brand-primary),

    /* faint “missing” edges so it still reads like a card */
    inset 0 1px 0 rgba(0,0,0,0.06),
    inset -1px 0 0 rgba(0,0,0,0.06),

    /* float + blue glow */
    0 10px 22px rgba(0, 0, 0, 0.10),
    0 18px 44px rgba(28, 106, 178, 0.22);

  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.faqs .faq-item h3 {
  margin: 0 0 0.4rem;
  color: var(--color-brand-dark);
  font-size: 1.12rem;
}

.faqs .faq-item p {
  margin: 0;
  color: var(--color-text-2);
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
  .faqs .faq-item:hover {
    transform: translateY(-6px);         /*changed from -3 to -6 */
    box-shadow:
      inset 4px 0 0 var(--color-brand-primary),
      inset 0 -4px 0 var(--color-brand-primary),
      inset 0 1px 0 rgba(0,0,0,0.06),
      inset -1px 0 0 rgba(0,0,0,0.06),
      0 14px 30px rgba(0, 0, 0, 0.12),
      0 26px 60px rgba(28, 106, 178, 0.28);
    cursor: pointer;
  }
}

/* Touch feedback */
.faqs .faq-item:active {
  transform: translateY(-6px);          /*changed from -1 to -6 */
}
/* Q / A labels WITHOUT changing HTML */
.faqs .faq-item h3::before{
  content:"Q. ";
  color: var(--color-brand-primary);
  font-weight: 900;
}

.faqs .faq-item p:first-of-type::before{
  content:"A. ";
  color: var(--color-brand-primary);
  font-weight: 800;
}

/* Fallback for any pages still using old FAQ markup (no .faq-item wrappers) */
.faqs > h3::before{
  content:"Q. ";
  color: var(--color-brand-primary);
  font-weight: 900;
}

.faqs > p::before{
  content:"A. ";
  color: var(--color-brand-primary);
  font-weight: 800;
}
