/* ============================================================
   Bridge and Bond — Brand Stylesheet
   Fonts: Lora (display/headings) + Source Sans 3 (body)
   Palette: Anchor Navy / Connection Blue / Calm White
   ============================================================ */

:root{
  --navy: #232559;
  --navy-deep: #181a3f;
  --blue: #246eb7;
  --blue-light: #4a8fd1;
  --white: #f4f4f4;
  --pure-white: #ffffff;

  --sky: #bee0ed;
  --lavender: #baabd3;
  --charcoal: #363535;

  --lime: #c1db79;
  --aqua: #90d3d0;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 18px 40px -20px rgba(35, 37, 89, 0.35);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--pure-white);
  -webkit-font-smoothing: antialiased;
}

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

a{ color: var(--blue); text-decoration: none; }
a:hover{ color: var(--navy); }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1{ font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.35rem; }

p{ margin: 0 0 1em; }

.container{
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.6em;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary{
  background: var(--blue);
  color: var(--pure-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{
  background: var(--navy);
  color: var(--pure-white);
  transform: translateY(-2px);
}
.btn-outline{
  background: transparent;
  border-color: var(--pure-white);
  color: var(--pure-white);
}
.btn-outline:hover{
  background: var(--pure-white);
  color: var(--navy);
}
.btn-outline-navy{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover{
  background: var(--navy);
  color: var(--pure-white);
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35,37,89,0.08);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img{ height: 38px; width: auto; }
.nav{
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a{
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}
.nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--blue);
  transition: width 0.2s ease;
}
.nav a:hover::after, .nav a.active::after{ width: 100%; }
.nav a.active{ color: var(--blue); }

.header-cta{ display: flex; align-items: center; gap: 18px; }
.header-cta .btn{ padding: 11px 24px; font-size: 0.95rem; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px;
}

/* ===== Decorative curve background (used on navy sections) ===== */
.curve-bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.curve-bg svg{ position: absolute; opacity: 0.5; }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--pure-white);
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero .container{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1{ color: var(--pure-white); }
.hero .lede{
  font-size: 1.15rem;
  color: rgba(244,244,244,0.88);
  max-width: 50ch;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-image{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.hero-image img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-badge{
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--pure-white);
  color: var(--navy);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 220px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
}
.hero-badge strong{ display:block; font-size: 1.6rem; color: var(--blue); margin-bottom: 4px; }

/* ===== Page header (inner pages) ===== */
.page-header{
  position: relative;
  background: var(--navy);
  color: var(--pure-white);
  padding: 70px 0 60px;
  overflow: hidden;
}
.page-header .container{ position: relative; z-index: 2; max-width: 760px; }
.page-header h1{ color: var(--pure-white); margin-bottom: 0.3em; }
.page-header p{ color: rgba(244,244,244,0.85); font-size: 1.1rem; margin: 0; }

/* ===== Sections ===== */
section{ padding: 88px 0; }
.section-tight{ padding: 60px 0; }
.bg-white{ background: var(--pure-white); }
.bg-calm{ background: var(--white); }
.bg-sky{ background: var(--sky); }
.bg-navy{ background: var(--navy); color: var(--pure-white); position: relative; overflow:hidden; }
.bg-navy h2, .bg-navy h3{ color: var(--pure-white); }

.section-head{ max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head.left{ margin: 0 0 50px; text-align: left; }

/* ===== Grids ===== */
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.img-rounded{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.img-rounded img{ width: 100%; height: 100%; object-fit: cover; }

/* ===== Cards ===== */
.card{
  background: var(--pure-white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 10px 30px -18px rgba(35,37,89,0.25);
  border: 1px solid rgba(35,37,89,0.06);
}
.card .icon-circle{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.card h3{ margin-bottom: 0.4em; }
.card p{ color: var(--charcoal); margin: 0; }

.value-pill{
  background: linear-gradient(135deg, var(--sky) 0%, #a8d8ea 100%);
  color: var(--navy);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px;
  margin: 0 auto;
  box-shadow: 0 8px 24px -8px rgba(35,37,89,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-pill:hover{
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 32px -8px rgba(35,37,89,0.4);
}

/* Steps */
.steps{ counter-reset: step; }
.step{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
.step:last-child{ margin-bottom: 0; }
.step-num{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--pure-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3{ margin-bottom: 0.25em; }
.step p{ margin: 0; color: var(--charcoal); }

/* Quote */
.quote-block{
  position: relative;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}
.quote-block::before{
  content: "“";
  display: block;
  font-size: 4rem;
  color: var(--sky);
  line-height: 0.5;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

/* Testimonials */
.testimonial{
  background: var(--pure-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px -18px rgba(35,37,89,0.25);
}
.testimonial p{ font-style: italic; color: var(--charcoal); }
.testimonial .who{ font-weight: 700; color: var(--navy); font-style: normal; margin-top: 14px; }

/* CTA band */
.cta-band{
  background: var(--blue);
  color: var(--pure-white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2{ color: var(--pure-white); }
.cta-band p{ color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 30px; }

/* FAQ accordion */
.faq-item{
  border-bottom: 1px solid rgba(35,37,89,0.12);
}
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.faq-q .plus{
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner{ padding-bottom: 24px; color: var(--charcoal); max-width: 760px; }
.faq-item.open .faq-a{ max-height: 400px; }

/* Forms */
.form-card{
  background: var(--pure-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid #d8d8e2;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--blue);
  background: var(--pure-white);
}
.field textarea{ resize: vertical; min-height: 120px; }
.radio-group{ display: flex; gap: 16px; flex-wrap: wrap; }
.radio-option{
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid #d8d8e2;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}
.radio-option input{ width: auto; accent-color: var(--blue); }
.form-note{ font-size: 0.88rem; color: #6b6b6b; margin-top: 8px; }
.form-success{
  display: none;
  background: var(--sky);
  color: var(--navy);
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 18px;
}
.form-success.show{ display: block; }
.form-error{
  display: none;
  background: #fdeceb;
  color: #b13c2f;
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 18px;
}
.form-error.show{ display: block; }

/* Contact info list */
.contact-list{ list-style: none; margin: 0; padding: 0; }
.contact-list li{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-list .ic{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list strong{ display: block; color: var(--navy); margin-bottom: 2px; }
.social-row{ display: flex; gap: 14px; margin-top: 20px; }
.social-row a{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--pure-white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-row a:hover{ background: var(--blue); }

/* Footer */
.site-footer{
  position: relative;
  background: var(--navy);
  color: rgba(244,244,244,0.85);
  padding: 64px 0 28px;
  overflow: hidden;
}
.footer-grid{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid .logo img{ height: 34px; margin-bottom: 14px; }
.footer-grid p{ color: rgba(244,244,244,0.7); font-size: 0.95rem; }
.footer-col h4{
  color: var(--pure-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a{ color: rgba(244,244,244,0.75); font-size: 0.95rem; }
.footer-col a:hover{ color: var(--pure-white); }
.footer-bottom{
  position: relative; z-index: 2;
  border-top: 1px solid rgba(244,244,244,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(244,244,244,0.6);
}
.footer-bottom a{ color: rgba(244,244,244,0.6); }

/* Utility */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.tag-list{ display: flex; gap: 10px; flex-wrap: wrap; }
.tag{
  background: var(--sky);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.check-list{ list-style: none; margin: 0; padding: 0; }
.check-list li{
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
}
.check-list .tick{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Photo collage on About */
.collage{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.collage .img-rounded:nth-child(1){ margin-top: 36px; }
.collage .img-rounded:nth-child(3){ margin-top: -24px; }

/* Responsive */
@media (max-width: 980px){
  .grid-2, .hero .container{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero{ padding-top: 90px; }
  .hero-image{ order: -1; }
}
@media (max-width: 760px){
  .nav, .header-cta .btn-outline-navy{ display: none; }
  .nav.open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--pure-white);
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-toggle{ display: flex; }
  .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  section{ padding: 52px 0; }
  .section-tight{ padding: 40px 0; }
  .container{ padding: 0 20px; }
  .collage .img-rounded:nth-child(1), .collage .img-rounded:nth-child(3){ margin-top: 0; }

  /* Header */
  .site-header .container{ height: 72px; }
  .logo img{ height: 32px; }
  .header-cta{ gap: 10px; }
  .header-cta .btn{ padding: 9px 18px; font-size: 0.88rem; }

  /* Hero */
  .hero{ padding: 48px 0 56px; }
  .hero .container{ gap: 36px; }
  .hero .lede{ font-size: 1.02rem; max-width: none; }
  .hero-actions{ flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn{ justify-content: center; }
  .hero-image img{ aspect-ratio: 4/3; }
  .hero-badge{ padding: 14px 16px; max-width: 70%; font-size: 0.85rem; }
  .hero-badge strong{ font-size: 1.3rem; }

  .page-header{ padding: 48px 0 40px; }

  /* Fixed-height media blocks flatten out on small screens */
  .img-rounded{ height: 240px !important; }
  .collage .img-rounded{ height: 200px !important; }

  /* Stat / trust bar and photo strip stack sensibly */
  .trust-stats{ grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .photo-strip{ grid-template-columns: 1fr 1fr !important; }

  .card[style*="span 2"], .value-card[style*="span 2"]{ grid-column: span 1 !important; }

  .steps{ padding-top: 4px; }
  .step{ grid-template-columns: 44px 1fr; gap: 14px; margin-bottom: 28px; }
  .step-num{ width: 44px; height: 44px; font-size: 1rem; }

  .form-card{ padding: 26px 20px; }

  /* Google Form / iframes need extra room once fields stack */
  iframe{ min-height: 1300px; }
}

@media (max-width: 480px){
  .container{ padding: 0 16px; }
  h1{ font-size: 1.9rem; }
  h2{ font-size: 1.5rem; }
  .btn{ padding: 12px 22px; font-size: 0.95rem; }
  .trust-stats{ grid-template-columns: 1fr !important; gap: 18px !important; }
  .photo-strip{ grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .photo-strip-item{ height: 130px; }
  .img-rounded{ height: 200px !important; }
  .value-card{ padding: 22px 18px; }
  .testimonial{ padding: 24px 20px; }
  .cta-band{ padding: 48px 0; }
  .cta-band h2{ font-size: 1.5rem; }
}

/* ============================================================
   VALUE CARDS (replaces circles on homepage)
   ============================================================ */
.value-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.value-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.value-card .value-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}
.value-card h3 {
  color: var(--sky);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.value-card p {
  color: rgba(244,244,244,0.78);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   PHOTO STRIP
   ============================================================ */
.photo-strip-item {
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 760px) {
  .photo-strip-item { height: 160px; }
}

/* Header scroll shadow */
.site-header.scrolled {
  box-shadow: 0 4px 24px -8px rgba(35,37,89,0.18);
}

/* Check list li initial state (JS animates in) */
.check-list li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.check-list li.revealed {
  opacity: 1;
  transform: none;
}
