/* ============================================================
   JBCR — Design Tokens (CSS Custom Properties)
   Reference these in Bricks editor as var(--navy), var(--aqua), etc.
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:        #0D2B45;
  --navy-mid:    #1A3F5C;
  --navy-light:  #234E6E;
  --aqua:        #2AACCA;
  --aqua-light:  #5EC8E0;
  --aqua-pale:   #D6F2F9;
  --white:       #FFFFFF;

  /* Grays */
  --gray-50:     #F7F8FA;
  --gray-100:    #EEF0F3;
  --gray-300:    #B0B8C4;
  --gray-400:    #8B95A3;
  --gray-500:    #6B7685;
  --gray-600:    #5A6473;
  --gray-700:    #3D4857;
  --gray-900:    #1A202C;

  /* Status */
  --success:     #1A9E6D;
  --error:       #DC2626;

  /* Typography */
  --font:        'Inter', sans-serif;

  /* Layout */
  --container:   1200px;
  --content:     960px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 24px rgba(0,0,0,0.12);
  --shadow-navy: 0 8px 24px rgba(13,43,69,0.20);

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;
}

/* ============================================================
   BASE OVERRIDES FOR BRICKS
   ============================================================ */
/* html { font-size: 16px; scroll-behavior: smooth; } */

body {
  font-family: var(--font) !important;
  -webkit-font-smoothing: antialiased;
}

/* Ensure Bricks container matches our design system */
#brx-content,
#brx-footer {
  font-family: var(--font);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   Use these as Bricks CSS classes
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 12px;
}

.section-title {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
}
.section-subtitle--white { color: rgba(255,255,255,0.80); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

.accent-line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--aqua);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* ============================================================
   BUTTONS
   Use class="btn btn-primary" etc. on Bricks button elements
   ============================================================ */
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-navy {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-navy:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--aqua);
  color: var(--white) !important;
  border-color: var(--aqua);
}
.btn-primary:hover {
  background: #1F8FA8;
  border-color: #1F8FA8;
  box-shadow: 0 4px 12px rgba(42,172,202,0.35);
  color: var(--white) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--aqua) !important;
  border-color: var(--aqua);
}
.btn-secondary:hover {
  background: var(--aqua);
  color: var(--white) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-navy {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white) !important;
}

.btn-lg { padding: 16px 36px !important; font-size: 18px !important; }
.btn-sm { padding: 10px 20px !important; font-size: 14px !important; }

.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO BADGE (animated pulse)
   ============================================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,172,202,0.15);
  border: 1px solid rgba(42,172,202,0.3);
  color: var(--aqua-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--aqua);
  border-radius: 50%;
  animation: jbcr-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes jbcr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

/* ============================================================
   TRUST BAR ITEMS
   ============================================================ */
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-right: 1px solid var(--gray-100);
}
.trust-item:last-child { border-right: none; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.service-card-body {
  padding: 24px;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--aqua-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card-desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card-link {
  color: var(--aqua);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   WHY-ITEM (icon + title + desc)
   ============================================================ */
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.why-item__icon {
  width: 48px;
  height: 48px;
  background: var(--aqua-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  position: relative;
}
.process-step__number {
  font-size: 42px;
  font-weight: 800;
  color: var(--aqua-pale);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.process-step__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step__desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars svg {
  fill: #F59E0B;
  stroke: none;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.testimonial-meta {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-item:first-child {
  border-top: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--aqua);
  transition: transform 0.25s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   SERVICE AREA TAGS
   ============================================================ */
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.area-tag svg {
  color: var(--aqua);
  flex-shrink: 0;
}

/* ============================================================
   MOBILE CTA BAR (fixed bottom — hidden on desktop)
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  padding: 12px 16px;
  gap: 10px;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav-links a {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.mobile-nav-links a:hover {
  color: var(--aqua);
  text-decoration: none;
}
.mobile-nav-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(42,172,202,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6473' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   BRICKS-SPECIFIC OVERRIDES
   ============================================================ */

/* Remove Bricks default margin on elements inside sections */
#brx-content .brxe-block,
#brx-content .brxe-div {
  box-sizing: border-box;
}

/* Ensure our font applies inside Bricks elements */
#brx-content * {
  font-family: var(--font);
}

/* Override Bricks heading color defaults — only unclassed headings */
#brx-content h1:not([class]),
#brx-content h2:not([class]),
#brx-content h3:not([class]),
#brx-content h4:not([class]) {
  color: var(--navy);
}

/* Bricks button element — apply our styles via class */
#brx-content .brxe-button a,
#brx-content .brxe-button button {
  font-family: var(--font);
}

/* ============================================================
   HOMEPAGE v2 — Figma-accurate component styles
   ============================================================ */

/* Reset inside jbcr wrapper */
.jbcr * { box-sizing: border-box; }

/* ── Buttons ── */
.jbcr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
  border-radius: 8px; text-decoration: none; white-space: nowrap;
  cursor: pointer; border: none; transition: opacity .2s, border-color .2s;
  line-height: 1;
}
.jbcr-btn--primary { background: #7fcde8; color: #013060; padding: 16px 28px; }
.jbcr-btn--primary:hover { opacity: .88; color: #013060; text-decoration: none; }
.jbcr-btn--ghost { background: transparent; color: #fff; padding: 16px 28px; border: 1.5px solid rgba(255,255,255,.5); }
.jbcr-btn--ghost:hover { border-color: rgba(255,255,255,.85); color: #fff; text-decoration: none; }
.jbcr-btn--ghost-aqua { border-color: rgba(127,205,232,.6); color: rgba(255,255,255,.9); }
.jbcr-btn--ghost-aqua:hover { border-color: #7fcde8; }
.jbcr-btn--lg { padding: 18px 36px; }

/* ── Shared section helpers ── */
.jbcr-section { padding: 96px 80px; }
.jbcr-section--white { background: #fff; }
.jbcr-section--surface { background: #f7f8fa; }
.jbcr-section--navy { background: #013060; }
.jbcr-inner { max-width: 1280px; margin: 0 auto; }

.jbcr-label {
  display: block; font-size: 12px; font-weight: 600; color: #7fcde8;
  letter-spacing: 1.2px; text-transform: uppercase; text-align: center; margin-bottom: 12px;
}
.jbcr-h2 { font-size: 36px; font-weight: 700; color: #013060; text-align: center; line-height: 1.2; margin-bottom: 12px; }
.jbcr-h2--white { color: #fff; }
.jbcr-h2--xl { font-size: 44px; font-weight: 800; }
.jbcr-sub { font-size: 18px; color: #5a6473; text-align: center; line-height: 1.65; margin-bottom: 56px; }
.jbcr-sub--white { color: rgba(255,255,255,.8); }

/* ── Hero ── */
.jbcr-hero {
  background: #013060;
  padding: 100px 80px;
  display: flex; align-items: center; gap: 80px; justify-content: center;
}
.jbcr-hero__copy {
  display: flex; flex-direction: column; gap: 24px;
  width: 620px; flex-shrink: 0;
}
.jbcr-hero__badge {
  display: inline-flex; align-items: center;
  background: rgba(127,205,232,.15);
  border-radius: 100px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: #7fcde8;
  width: fit-content; white-space: nowrap;
}
.jbcr-hero__h1 { font-size: 56px; font-weight: 800; color: #fff; line-height: 1.1; margin: 0; }
.jbcr-hero__sub { font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.65; max-width: 580px; margin: 0; }
.jbcr-hero__ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.jbcr-hero__urgent {
  font-size: 14px; color: rgba(127,205,232,.85); font-weight: 500;
  text-decoration: none; display: block;
}
.jbcr-hero__urgent:hover { color: #7fcde8; text-decoration: none; }
.jbcr-hero__img {
  width: 580px; height: 480px; border-radius: 20px; flex-shrink: 0;
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(128,207,232,.12) 0%, rgba(79,143,178,.08) 50%, rgba(3,48,97,.05) 100%),
              linear-gradient(180deg, rgba(46,71,92,.85) 0%, rgba(20,38,56,.95) 100%);
  display: flex; align-items: center; justify-content: center;
}
.jbcr-hero__img-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
.jbcr-hero__img-emoji { font-size: 48px; color: rgba(255,255,255,.5); display: block; }
.jbcr-hero__img-cap { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); }
.jbcr-hero__img-hint { font-size: 12px; color: rgba(127,205,232,.5); }
.jbcr-hero__badges {
  position: absolute; bottom: 20px; left: 20px;
  display: flex; gap: 8px;
}
.jbcr-badge-before {
  background: rgba(80,112,130,.5); color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 100px;
}
.jbcr-badge-after {
  background: rgba(127,205,232,.8); color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 100px;
}

/* ── Trust Bar ── */
.jbcr-trust { background: #fff; border-bottom: 1px solid #eef0f3; padding: 0 80px; }
.jbcr-trust__inner {
  display: flex; align-items: center; height: 72px;
  max-width: 1280px; margin: 0 auto;
}
.jbcr-trust__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: #1a202c;
  white-space: nowrap; flex: 1; justify-content: center;
}
.jbcr-trust__sep { width: 1px; height: 28px; background: #eef0f3; flex-shrink: 0; }

/* ── Service Cards ── */
.jbcr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jbcr-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.jbcr-card__img {
  height: 160px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 4px;
}
.jbcr-card__img-emoji { font-size: 40px; }
.jbcr-card__img-label {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6);
  letter-spacing: .55px; text-transform: uppercase;
}
.jbcr-card__icon { font-size: 32px; }
.jbcr-card__title { font-size: 18px; font-weight: 600; color: #013060; margin: 0; }
.jbcr-card__desc { font-size: 15px; color: #5a6473; line-height: 1.6; flex: 1; margin: 0; }
.jbcr-card__link { font-size: 14px; font-weight: 600; color: #7fcde8; text-decoration: none; }
.jbcr-card__link:hover { text-decoration: underline; }

/* ── Features (Why Choose Us) ── */
.jbcr-feature {
  padding: 28px; border-radius: 12px;
  background: #fff; border: 1px solid #eef0f3;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.jbcr-feature__icon { font-size: 28px; margin-bottom: 16px; display: block; }
.jbcr-feature__title { font-size: 18px; font-weight: 600; color: #013060; margin-bottom: 10px; }
.jbcr-feature__desc { font-size: 15px; color: #5a6473; line-height: 1.65; margin: 0; }

/* ── Process Steps ── */
.jbcr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.jbcr-step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(127,205,232,.12); border: 2px solid #7fcde8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #7fcde8; margin-bottom: 16px;
}
.jbcr-step__title { font-size: 18px; font-weight: 600; color: #013060; margin-bottom: 10px; }
.jbcr-step__desc { font-size: 15px; color: #5a6473; line-height: 1.65; margin: 0; }

/* ── Portfolio ── */
.jbcr-portfolio-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #eef0f3; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.jbcr-portfolio-photo {
  height: 240px; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.jbcr-portfolio-photo__emoji { font-size: 64px; }
.jbcr-portfolio-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(1,48,96,.7); color: rgba(255,255,255,.85);
  font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 100px;
}
.jbcr-portfolio-info { background: #fff; padding: 16px 20px; }
.jbcr-portfolio-info__title { font-size: 16px; font-weight: 600; color: #013060; margin-bottom: 6px; }
.jbcr-portfolio-info__loc { font-size: 13px; color: #5a6473; margin: 0; }
.jbcr-portfolio-cta { text-align: center; margin-top: 40px; }
.jbcr-link-arrow {
  font-size: 15px; font-weight: 600; color: #7fcde8; text-decoration: none;
}
.jbcr-link-arrow:hover { text-decoration: underline; }

/* ── Testimonials ── */
.jbcr-testimonial {
  background: #fff; border: 1px solid #eef0f3; border-radius: 12px;
  padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.jbcr-testimonial__stars { font-size: 16px; margin-bottom: 16px; color: #f59e0b; }
.jbcr-testimonial__quote {
  font-size: 15px; color: #374151; line-height: 1.7;
  margin-bottom: 24px; font-style: italic;
}
.jbcr-testimonial__name { font-size: 15px; font-weight: 600; color: #013060; margin-bottom: 4px; }
.jbcr-testimonial__meta { font-size: 13px; color: #5a6473; margin: 0; }

/* ── Service Areas ── */
.jbcr-areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.jbcr-area-tag {
  background: #fff; border: 1px solid #d1d5db; border-radius: 100px;
  padding: 8px 18px; font-size: 14px; color: #374151; font-weight: 500;
}

/* ── FAQ ── */
.jbcr-faq { max-width: 840px; margin: 48px auto 0; }
.jbcr-faq details { border-bottom: 1px solid #eef0f3; }
.jbcr-faq summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; cursor: pointer; font-size: 17px; font-weight: 600;
  color: #013060; gap: 16px; list-style: none; user-select: none;
}
.jbcr-faq summary::-webkit-details-marker { display: none; }
.jbcr-faq summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: #7fcde8;
  flex-shrink: 0; transition: transform .25s;
}
.jbcr-faq details[open] summary::after { transform: rotate(45deg); }
.jbcr-faq-a { font-size: 15px; color: #5a6473; line-height: 1.7; padding: 0 0 24px; margin: 0; }

/* ── CTA Sections ── */
.jbcr-cta-wrap { text-align: center; max-width: 900px; margin: 0 auto; }
.jbcr-cta-title {
  font-size: 36px; font-weight: 700; color: #fff;
  margin-bottom: 16px; line-height: 1.25;
}
.jbcr-cta-title--xl { font-size: 44px; font-weight: 800; }
.jbcr-cta-sub {
  font-size: 17px; color: rgba(255,255,255,.8);
  line-height: 1.65; max-width: 680px; margin: 0 auto 32px;
}
.jbcr-cta-btns { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Testimonials grid has top margin */
.jbcr-testimonials-grid { margin-top: 48px; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   (Bricks has its own breakpoint system — these are fallback)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn,
  .btn-group .btn-primary,
  .btn-group .btn-secondary {
    justify-content: center;
    text-align: center;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    padding: 10px 16px;
    width: 100%;
  }
}

/* ── Homepage v2 Responsive ── */
@media (max-width: 1200px) {
  .jbcr-hero { gap: 48px; padding: 80px 48px; }
  .jbcr-hero__copy { width: auto; flex: 1; }
  .jbcr-hero__img { width: 420px; height: 380px; flex-shrink: 0; }
  .jbcr-section { padding: 80px 48px; }
  .jbcr-trust { padding: 0 48px; }
}

@media (max-width: 1024px) {
  .jbcr-hero { padding: 72px 40px; gap: 40px; }
  .jbcr-hero__h1 { font-size: 44px; }
  .jbcr-hero__img { width: 360px; height: 320px; }
  .jbcr-section { padding: 72px 40px; }
  .jbcr-trust { padding: 0 40px; }
  .jbcr-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .jbcr-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 767px) {
  /* Hero stacks vertically */
  .jbcr-hero {
    flex-direction: column; padding: 56px 20px;
    gap: 40px; text-align: center; align-items: center;
  }
  .jbcr-hero__copy { width: 100%; align-items: center; }
  .jbcr-hero__badge { font-size: 12px; }
  .jbcr-hero__h1 { font-size: 34px; }
  .jbcr-hero__sub { font-size: 16px; max-width: 100%; text-align: center; }
  .jbcr-hero__ctas { flex-direction: column; width: 100%; }
  .jbcr-hero__ctas .jbcr-btn { width: 100%; max-width: 340px; }
  .jbcr-hero__img { width: 100%; max-width: 400px; height: 260px; }
  /* Trust bar wraps */
  .jbcr-trust { padding: 0 20px; }
  .jbcr-trust__inner { height: auto; flex-wrap: wrap; padding: 16px 0; gap: 0; }
  .jbcr-trust__item { flex: 0 0 50%; justify-content: flex-start; padding: 10px 0; font-size: 13px; }
  .jbcr-trust__sep { display: none; }
  /* Sections */
  .jbcr-section { padding: 56px 20px; }
  .jbcr-h2 { font-size: 26px; }
  .jbcr-h2--xl { font-size: 30px; }
  .jbcr-sub { font-size: 16px; margin-bottom: 36px; }
  /* Grids */
  .jbcr-grid-3 { grid-template-columns: 1fr; }
  .jbcr-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  /* CTA */
  .jbcr-cta-title { font-size: 26px; }
  .jbcr-cta-title--xl { font-size: 30px; }
  .jbcr-cta-sub { font-size: 15px; }
  .jbcr-cta-btns { flex-direction: column; }
  .jbcr-cta-btns .jbcr-btn { width: 100%; max-width: 340px; }
  /* FAQ */
  .jbcr-faq summary { font-size: 15px; }
  /* Areas */
  .jbcr-area-tag { font-size: 13px; padding: 7px 14px; }
}

@media (max-width: 478px) {
  .jbcr-hero__h1 { font-size: 28px; }
  .jbcr-hero__img { height: 220px; }
  .jbcr-grid-4 { grid-template-columns: 1fr; }
  .jbcr-trust__item { flex: 0 0 100%; }
  .jbcr-h2 { font-size: 24px; }
}
