
/* === RESET / BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #22313f;
  background: #e4f1fe;
}
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
img{ max-width: 100%; height: auto; display: block; }
:root{
  --brand: #007bc9;
  --brand-dark: #005fa3;
  --paper: #ffffff;
  --sky: #e4f1fe;
  --ink: #22313f;
  --muted: #5c6b7a;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --container: 1200px;
}

/* === UTIL === */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 20px;
}
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem .9rem;
  /* border-radius: 999px; */
  background: var(--brand);
  color: #fff;
  /* font-weight: 400; */
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease;
}
.button:hover{ background: var(--brand-dark); transform: translateY(-1px); }
.button.ghost{
  background: transparent;
  color: var(--brand);
  border-color: rgba(0,123,201,0.35);
}
.button.ghost:hover{
  background: rgba(0,123,201,0.08);
  transform: translateY(-1px);
}

/* === CALL BANNER === */
.call-banner{
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  /* font-weight: 700; */
  font-size: 14px;
  position: relative;
  z-index: 1100;
}
.call-banner a{ text-decoration: underline; }

/* === HEADER / NAV (GFORCE-LIKE) === */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav-wrap{
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand{
  display: inline-flex;
  align-items: center;
  min-width: 160px;
}
.brand img{
  width: 210px;
  max-width: 48vw;
}

/* Desktop nav */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu-root{
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-link{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 10px 10px;
  /* font-weight: 700; */
  color: var(--ink);
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.top-link:hover{
  color: var(--brand-dark);
}

.has-panel{
  position: relative;
}

.has-panel::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropdown-panel{
  position: absolute;
  top: calc(100% + 12px);
  left: 100%;
  transform: translate(-50%, 8px);
  min-width: 200px;
  background: white;
  /* border-radius: 16px; */
  /* box-shadow: 0 20px 40px rgba(0,0,0,0.12); */
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(.22,.61,.36,1);
}
/* ===== ACTIVE / CURRENT PAGE LINK ===== */

/* Desktop */
.menu-root .top-link[aria-current="page"],
.menu-root .top-link.is-current{
  color: var(--brand-dark);
  position: relative;
}

.menu-root .top-link[aria-current="page"]::after,
.menu-root .top-link.is-current::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
  opacity: 0.9;
}

/* Mobile */
.mobile-menu a[aria-current="page"],
.mobile-menu a.is-current{
  color: var(--brand-dark);
  /* background: rgba(0,123,201,0.10); */
  border-bottom-color: var(--brand);
}


/* Open state */
.has-panel:hover .dropdown-panel,
.has-panel:focus-within .dropdown-panel{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.simple-list{
  display: grid;
  gap: 10px;
}
.simple-list a{
  display: block;
  padding: 10px 12px;
  /* border-radius: 12px; */
  /* font-weight: 600; */
  color: var(--ink);
  /* background: rgba(0,123,201,0.03); */
  transition: background .2s ease, color .2s ease;
}
.simple-list a:hover{
  /* background: rgba(0,123,201,0.12); */
  color: var(--brand-dark);
}

.nav-cta{ margin-left: 6px; }

/* Header CTA (optional for desktop) */
.header-cta{ display: none; }

/* Hamburger */
.hamburger{
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.hamburger span{
  position: absolute;
  left: 10px; right: 10px;
  height: 3px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.hamburger span:nth-child(1){ top: 14px; }
.hamburger span:nth-child(2){ top: 20.5px; }
.hamburger span:nth-child(3){ top: 27px; }
.hamburger.is-active span:nth-child(1){ top: 20.5px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2){ opacity: 0; }
.hamburger.is-active span:nth-child(3){ top: 20.5px; transform: rotate(-45deg); }

/* === MOBILE NAV CURTAIN (UPDATED + CLOSE BUTTON) === */
/* === MOBILE NAV CURTAIN (UPDATED + CLOSE BUTTON) === */
/* Requires: <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400&display=swap" /> */

.mobile-curtain{
  position: fixed;
  inset: 0;
  background: rgba(228,241,254,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 1200;
}

.mobile-curtain.show{
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  padding: 78px 16px 18px;
  transform: translateY(-10px);
  transition: transform .18s ease;
}

.mobile-curtain.show .mobile-panel{
  transform: translateY(0);
}

/* top row: language toggle + close */
.mobile-topbar{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-lang{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(0,123,201,0.25);
  background: rgba(255,255,255,0.65);
  border-radius: 999px;
}

.mobile-lang .lang-btn{
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.mobile-lang .lang-btn.is-active,
.mobile-lang .lang-btn[aria-pressed="true"]{
  color: var(--brand-dark);
}

.mobile-lang .lang-sep{
  opacity: 0.55;
}

.mobile-close{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,123,201,0.25);
  background: rgba(255,255,255,0.75);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-close:hover{
  background: rgba(0,123,201,0.10);
  border-color: rgba(0,123,201,0.35);
}

.mobile-close .material-symbols-outlined{
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}

/* menu list */
.mobile-menu{
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.mobile-menu a{
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(0,123,201,0.18);
  /* border-radius: 14px; */
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

.mobile-menu a:hover{
  background: rgba(0,123,201,0.10);
  border-color: rgba(0,123,201,0.30);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

/* Optional: active page indicator */
.mobile-menu a[aria-current="page"]{
  color: var(--brand-dark);
}

/* prevent scroll behind nav */
body.nav-open{
  overflow: hidden;
  touch-action: none;
}


/* === HERO CAROUSEL (GFORCE-LIKE) === */
.home-hero{
  position: relative;
  overflow: hidden;
  background: #8dc6ff;
}
.hero-carousel{
  position: relative;
  height: clamp(520px, 78vh, 780px);
}
.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  will-change: transform, opacity;
  /* color: var(--brand); */
  background: #8dc6ff; 
  background-size: cover;
  background-position: center;
}
.slide.active{
  opacity: 1;
  transform: translateX(0);
}
.home-hero-overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 40px 0;
}
.home-hero-overlay .container{
  text-align: left;
}
.home-hero-overlay h1{
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.home-hero-overlay .lead{
  font-size: clamp(1rem, 2vw, 1.25rem);
  /* font-weight: 600; */
  opacity: 0.95;
  margin-bottom: 18px;
}
.home-hero-overlay .button{
  background: var(--brand);
}
.home-hero-overlay .button:hover{
  background: var(--brand-dark);
}

.hero-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,0.18);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .15s ease;
  z-index: 5;
}
.hero-btn:hover{
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%) scale(1.03);
}
.hero-btn.prev{ left: 16px; }
.hero-btn.next{ right: 16px; }

.hero-dots{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}
.hero-dots .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.hero-dots .dot.active{
  background: #fff;
  transform: scale(1.2);
}

/* === SECTION HEADINGS === */
.section{
  padding: 60px 0;
}
.section-head{
  margin-bottom: 18px;
}
.section-head h2{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brand);
  letter-spacing: -0.3px;
}
.section-head p{
  color: var(--muted);
  /* font-weight: 600; */
  max-width: 68ch;
  margin-top: 10px;
}

/* ---------- INTRO ---------- */
.intro{
  background: transparent;
  padding: 40px 0 0;
}

.intro-content{
  max-width: 1100px;
  margin: 0 auto;
}

.intro-text h2{
  font-size: 2.4rem;
  font-weight: 800;
  color: #007bc9;
  margin-bottom: 16px;
}

.intro-text p{
  font-size: 1.05rem;
  max-width: auto;
  line-height: 1.7;
  color: #333;
}

/* insurance intro */
.insurance-intro-content{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.insurance-intro-text h2{
  max-width: 640px;
    font-size: 2.4rem;
    font-weight: 800;
    color: #007bc9;
    margin-bottom: 16px;
}

.insurance-intro-image{
  display: flex;
  justify-content: center;
  align-items: center;
}

.insurance-partner-logo{
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* real estate intro */
.real-estate-intro-content{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.real-estate-intro-text h2{
  max-width: 640px;
    font-size: 2.4rem;
    font-weight: 800;
    color: #007bc9;
    margin-bottom: 16px;
}

.real-estate-intro-image{
  display: flex;
  justify-content: center;
  align-items: center;
}

.real-estate-partner-logo{
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* === SERVICES GRID (your look, slightly refined) === */
.services-grid{
  padding: 0 0 20px;
}
.grid-wrapper{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 18px;
  padding: 2rem;
  max-width: 1200px;
  justify-self: center;
}
.service-card{
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--brand);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  overflow: hidden;
}
.service-inner{
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 280px;
}

/* Top row: icon (left) + text (right) */
.service-top{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
}

/* Large, left-aligned icon */
.service-icon{
  width: 100%;
  max-width: 170px;
  margin: 0;
}

/* Text styling */
.service-card p{
  color: #2b3a47;
  line-height: 1.5;
}

/* Bottom row: centered CTA */
.service-bottom{
  justify-self: center;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 900px){
  .grid-wrapper{ grid-template-columns: 1fr; }
  .service-top{ grid-template-columns: 110px 1fr; }
}
@media (max-width: 600px){
  .service-top{ grid-template-columns: 1fr; text-align: left; justify-items: center;}
  .service-icon{ max-width: 120px; }
}

/* === CONTACT (keep simple) === */
/* .contact{
  padding: 55px 0;
} */
.contact-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.card{
  background: transparent;
}
.card h3{
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.form input, .form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 10px;
  background: #fff;
}
.form button{ width: 100%; border-radius: 12px; }

.info p{ color: #2b3a47; margin-bottom: 10px; }

@media (max-width: 900px){
  .contact-wrap{ grid-template-columns: 1fr; }
}

/* === MAP + FOOTER === */
.map-container{
  width: 100%;
  height: 460px;
  overflow: hidden;
}
.map-container iframe{
  width: 100%;
  height: 100%;
  border: 0;
}


.footer-container {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-height: 300px;
}
.top-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
}

.footer-icon {
  width: 100px;
  height: auto;
/*   border-radius: 0.2rem; */
}

.bottom-footer {
  text-align: center;
}

.bottom-footer p {
  color: black;
  font-size: 0.7rem;
}

/* === MOBILE FOOTER === */
@media (max-width: 760px) {
  .top-footer {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

  .footer-icon {
    margin: 0 auto;
  }
}

/* === RESPONSIVE NAV SWITCH === */
@media (max-width: 980px){
  .nav{ display: none; }
  .header-cta{ display: inline-flex; }
  .hamburger{ display: inline-block; }
}
@media (max-width: 520px){
  .header-cta{ display: none; }
  .hero-btn{ display: none; } /* optional: hide arrows on tiny screens */
}

.lang-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left: 18px;
}

.lang-btn{
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  color: #22313f;
  padding: 6px 8px;
  /* border-radius: 10px; */
}

.lang-btn.is-active{
  /* background: rgba(0,123,201,0.12); */
  color: #005fa3;
}

.lang-sep{
  opacity: .5;
}

.mobile-lang{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


@media (max-width: 600px){
  .translation-services .top-content{
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .translation-services .service-icon{
    max-width: 120px;
  }
}


/* make the top row horizontal */
.top-content{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  text-align: left;
}

/* left column holds a large icon */
.left-content{
  display: grid;
  place-items: center;
}

.service-icon{
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* right column text */
.right-content h3{
  font-size: 1.35rem;
  margin-bottom: .35rem;
  color: #22313f;
}
.right-content p{
  font-size: 1.05rem;
  color: #56616b;
  line-height: 1.45;
}

/* button row centered */
.bottom-content{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* if you want the button not full width anywhere */
.bottom-content .cta-button{
  width: auto;
  min-width: 160px;
  text-align: center;
  
}

/* card spacing so layout breathes */
.service-card{
  padding: 1.2rem;
}
.content{
  gap: 10px;
}

/* responsive */
@media (max-width: 700px){
  .top-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-icon{
    width: 120px;
  }

  .bottom-content{
    justify-content: center;
  }
}


/* --- RESOURCES STRIP (horizontal cards) --- */
.resources{
  padding: 26px 0 40px;
}

.resources h2{
  font-size: 2.4rem;
  font-weight: 800;
  color: #007bc9;
  margin-bottom: 16px;
}

.resources-slider{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(350px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.resources-slider::-webkit-scrollbar{
  height: 5px;
}
.resources-slider::-webkit-scrollbar-thumb{
  background: rgba(0, 123, 201, 0.35);
  border-radius: 999px;
}
.resources-slider::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
}

.resource-slide{
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: grid;
  text-decoration: none;
}

.resource-slide:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(0,0,0,0.10);
}

.resource-slide img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.resource-title{
  padding: 12px 12px 14px;
  color: #22313f;
  font-weight: 700;
  line-height: 1.25;
}



/* === HERO SECTION === */
.hero {
  padding: 70px 20px;
  text-align: center;
  background-color: #8dc6ff;
  color: #ffffff;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ffffff;
}
/* === HERO BUTTON === */
.hero-btn{
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background-color: #ffffff;
  color: #22313f;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* Mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }
}

/* ==============================
   IDX Gateway (Georgia MLS)
   UI/UX oriented section styling
   ============================== */

   .idx-gateway{
    background: #ffffff;
    padding: 48px 0;
  }
  
  /* two-column layout */
  .idx-content{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 26px;
    align-items: start;
  }
  
  /* left column */
  .idx-left h2{
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
  }
  
  .idx-left p{
    color: var(--ink);
    max-width: 70ch;
    line-height: 1.7;
  }
  
  .idx-cta-row{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }
  
  /* Optional ghost button style to match your system */
  .button--ghost{
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(0,123,201,0.35);
  }
  .button--ghost:hover{
    background: rgba(0,123,201,0.08);
    transform: translateY(-1px);
  }
  
  .idx-note{
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
    border-left: 3px solid rgba(0,123,201,0.35);
    padding: 10px 0 10px 12px;
  }
  
  /* right column card */
  .idx-right{
    display: grid;
  }
  
  .idx-card{
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    padding: 18px;
  }
  
  .idx-card h3{
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
  }
  
  /* quick search links: pill grid */
  .idx-links{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .idx-link{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    /* background: rgba(0,123,201,0.06); */
    border: 1px solid var(--brand);
    color: var(--ink);
    font-weight: 700;
    /* transition: transform .15s ease, bc/kground .2s ease, border-color .2s ease, color .2s ease; */
    min-height: 44px; /* touch target */
  }
  
  /* subtle arrow affordance */
  .idx-link::after{
    content: "→";
    opacity: .65;
    /* transform: translateX(0); */
    transition: transform .15s ease, opacity .2s ease;
  }
  
  .idx-link:hover{
    background: rgba(0,123,201,0.12);
    border-color: rgba(0,123,201,0.35);
    color: var(--brand-dark);
    transform: translateY(-1px);
  }
  .idx-link:hover::after{
    opacity: 1;
    transform: translateX(2px);
  }
  
  .idx-link:focus-visible{
    outline: 3px solid rgba(0,123,201,0.35);
    outline-offset: 3px;
  }
  
  /* helper block */
  .idx-help{
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  
  .idx-help p{
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
  }
  .idx-help p strong{
    color: var(--ink);
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .idx-content{
      grid-template-columns: 1fr;
    }
  
    .idx-card{
      padding: 16px;
    }
  
    .idx-links{
      grid-template-columns: 1fr;
    }
  
    .idx-cta-row .button{
      width: auto;
    }
  }
  
  /* Small screens: make CTAs full width for easier tapping */
  @media (max-width: 520px){
    .idx-cta-row{
      flex-direction: column;
    }
    .idx-cta-row .button{
      width: 100%;
      justify-content: center;
    }
  }


/* Base section */
.intro,
.about-intro {
  background: #fff;
  padding: 24px 0;
}

/* Shared container sizing (uses your global .container too) */
.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Two-column layout used by About + Company sections */
.about-intro-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
}

/* Your first about section uses .intro-text inside this grid */
.about-intro-content .intro-text {
  min-width: 0;
}

/* Typography (applies to both .intro-text and .about-intro-text blocks) */
.intro-text h2,
.about-intro-text h2 {
  color: #007bc9;
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: left;
}

.intro-text p,
.about-intro-text p {
  margin: 0 0 16px;
  text-align: left;
  line-height: 1.75;
  color: #111;
}

/* Tighten spacing between stacked headings in the story block */
.intro-text h2 + p,
.about-intro-text h2 + p {
  margin-top: 0;
}

/* Lists (licenses/company info) */
.intro-text ul,
.about-intro-text ul {
  padding-left: 1.15rem;
  margin: 8px 0 0;
}

.intro-text ul li,
.about-intro-text ul li {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

.intro-text ul li::marker,
.about-intro-text ul li::marker {
  content: "• ";
  color: #007bc9;
}

/* Make <br> inside lists not create weird gaps */
.intro-text ul br,
.about-intro-text ul br {
  display: none;
}

/* Image column (headshot on the first about section) */
.about-intro-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px;
}

.about-partner-logo {
  width: min(320px, 100%);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0, 123, 201, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* Letter section wrapper (single column, readable width) */
.about-intro[aria-label="A Letter from Peter"] {
  padding: 28px 0 40px;
}

.about-intro[aria-label="A Letter from Peter"] .about-container {
  max-width: 980px;
}

/* Keep letter content single-column even if intro-content exists elsewhere */
.about-intro[aria-label="A Letter from Peter"] .intro-content {
  display: block;
}

/* Letter text spacing */
.about-intro-text {
  padding: 20px 0;
}

/* Signature image inside letter: override headshot styling */
.about-intro-text img.about-partner-logo {
  width: min(260px, 100%);
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin: 10px 0 6px;
}

/* Company info section separation */
.intro[aria-label="Licenses and Company Information"] {
  /* border-top: 2px solid #007bc9; */
  padding-top: 30px;
}

/* Company info grid: two balanced columns */
.intro[aria-label="Licenses and Company Information"] .about-intro-content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 26px 0 10px;
}

/* Subtle “card” feel for the two company columns (optional, nice UX) */
.intro[aria-label="Licenses and Company Information"] .intro-text {
  background: rgba(228, 241, 254, 0.35);
  border: 1px solid rgba(0, 123, 201, 0.12);
  border-radius: 16px;
  padding: 18px 18px 14px;
}

/* Make strong labels align nicely */
.intro-text li strong,
.about-intro-text li strong {
  font-weight: 800;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px) {
  .about-intro-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 1rem;
  }

  .about-intro-image {
    justify-content: center;
    padding: 0;
  }

  .about-partner-logo {
    width: min(280px, 100%);
  }

  /* Company section cards stack cleanly */
  .intro[aria-label="Licenses and Company Information"] .about-intro-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .intro,
  .about-intro {
    padding: 1rem;
  }

  .about-container {
    padding: 0 16px;
  }

  .about-intro-content {
    padding: 18px 0;
  }

  .intro-text p,
  .about-intro-text p {
    line-height: 1.7;
  }

  /* Reduce the “card” padding on small screens */
  .intro[aria-label="Licenses and Company Information"] .intro-text {
    padding: 14px 14px 10px;
    border-radius: 14px;
  }
}

.recaptcha-wrap{
  margin: 12px 0 12px;
}
@media (max-width: 420px){
  /* helps prevent squish on very small screens */
  .g-recaptcha{ transform: scale(0.93); transform-origin: 0 0; }
}

/* Page fade */
body.page-fade { opacity: 0; transition: opacity .18s ease; }
body.page-fade.page-ready { opacity: 1; }
body.page-fade.page-leaving { opacity: 0; }

/* Language fade */
body.lang-switching { opacity: .35; transition: opacity .18s ease; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Make hero carousel slides feel smoother */
.slide {
  transition: opacity .45s ease, transform .45s ease;
}

/* Optional: make service tilt look clean (prevents jitter) */
.service-inner { will-change: transform; transition: transform .18s ease; }
