/* Optimal Lab Test — Katy Page */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Roboto', sans-serif; color: #333; background: #fff; }
a { color: #3B6BE0; text-decoration: none; }
a:hover { color: #E01F26; }
img, svg { max-width: 100%; }
input::placeholder, textarea::placeholder { color: #9aa0a8; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; color: #16181d; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 24px; }
.section-alt { background: #F5F7FB; }
.section-title { font-weight: 700; font-size: 32px; margin: 0 0 12px; }
.title-bar { width: 60px; height: 4px; background: #E01F26; border-radius: 2px; margin: 0 0 18px; }
.center { text-align: center; }
.center .title-bar { margin: 0 auto 18px; }
.eyebrow { color: #E01F26; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.lead { font-size: 16px; line-height: 1.75; color: #4c5560; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 15px; padding: 16px 30px; border-radius: 4px; white-space: nowrap; flex: none !important;}
.btn-red { background: #E01F26; color: #fff; }
.btn-red:hover { background: #b81920; color: #fff; }
.btn-outline { background: #fff; color: #3B6BE0; border: 2px solid #3B6BE0; padding: 14px 30px; }
.btn-outline:hover { background: #3B6BE0; color: #fff; }
.btn-blue { background: #3B6BE0; color: #fff; font-size: 13px; letter-spacing: .5px; padding: 14px 22px; }
.btn-blue:hover { background: #2f57bd; color: #fff; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero */
.hero {margin-top:100px; background: linear-gradient( 90deg,    rgba(243, 246, 252, 0.96) 0%,    rgba(234, 240, 250, 0.82) 55%,    rgba(234, 240, 250, 0.6) 100%), url("../img/location/hero-banner.png") center center / cover no-repeat;}
.hero-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1.15fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dfe6f2; color: #3B6BE0; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 14px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #E01F26; }
.hero h1 { font-weight: 700; font-size: 40px; line-height: 1.2; margin: 0 0 12px; max-width: 480px; }
.hero h1 .accent { color: #E01F26; }
.hero-sub { font-size: 17px; line-height: 1.7; color: #4c5560; margin: 0 0 16px; max-width: 460px; }
.hero-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #2b323b; }

/* Form card */
.form-card { background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(23,43,99,.14); padding: 34px 32px; }
.form-card h3 { font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.form-card .form-note { font-size: 14px; color: #6b7280; margin: 0 0 22px; }
.form-fields { display: grid; gap: 14px; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; padding: 14px 16px; border: 1px solid #dde2ea; border-radius: 4px; font-family: 'Roboto', sans-serif; font-size: 15px; color: #333; }
.form-fields select { color: #6b7280; background: #fff; }
.form-fields input:focus, .form-fields textarea:focus { border-color: #3B6BE0; outline: none; }
.form-fields button { background: #3B6BE0; color: #fff; border: none; cursor: pointer; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .4px; padding: 16px; border-radius: 4px; }
.form-fields button:hover { background: #2f57bd; }
.form-fields textarea{resize: none;}

/* Two-column sections */
.two-col { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.stretch { align-items: stretch; }
.col-img { position: relative; min-height: 420px; overflow: hidden; border-radius: 10px; }
.col-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.img-placeholder { width: 100%; height: 100%; min-height: 240px; border-radius: 10px; background: #EAF0FA; border: 1px dashed #b9c8e4; display: flex; align-items: center; justify-content: center; color: #7f8ea8; font-size: 14px; }
.narrow-500 { max-width: 500px; }
.narrow-440 { max-width: 440px; }
.narrow-420 { max-width: 420px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.service-card { background: #fff; border: 1px solid #e7eaf0; border-radius: 8px; padding: 30px 24px; display: flex; flex-direction: column; gap: 14px; transition: all .2s; }
.service-card:hover { border-color: #3B6BE0; box-shadow: 0 12px 30px rgba(23,43,99,.1); }
.icon-tile { width: 54px; height: 54px; border-radius: 12px; background: #EAF0FA; display: flex; align-items: center; justify-content: center; }
.service-card h3 { font-weight: 600; font-size: 17px; line-height: 1.35; margin: 0; }
.service-card p { font-size: 14px; line-height: 1.65; color: #5a6472; margin: 0; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 30px; }
.step-card { grid-column: span 2; position: relative; background: #fff; border: 1px solid #e7eaf0; border-radius: 12px; padding: 28px; box-shadow: 0 6px 20px rgba(23,43,99,.06); }
.step-card:hover { box-shadow: 0 14px 32px rgba(23,43,99,.12); border-color: #c9d6f2; }
.step-card:nth-child(4) { grid-column: 2 / span 2; }
.step-card:nth-child(5) { grid-column: 4 / span 2; }
.step-num { position: absolute; top: 16px; right: 20px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; color: #D9E4F7; }
.step-card .icon-tile { width: 48px; height: 48px; border-radius: 8px; margin-bottom: 18px; }
.step-card h3 { font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.step-card p { font-size: 15px; line-height: 1.7; color: #5a6472; margin: 0; }

/* Accordions */
.accordion { display: grid; gap: 14px; }
.accordion-item { border: 1px solid #e7eaf0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(23,43,99,.06); }
.accordion-item.open { background: #F8FAFE; }
.accordion-toggle { width: 100%; background: transparent; border: none; cursor: pointer; text-align: left; padding: 18px 22px; display: flex; align-items: center; gap: 16px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; color: #16181d; }
.accordion-toggle .label { flex: 1; }
.badge-num { width: 40px; height: 40px; border-radius: 8px; background: #3B6BE0; color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon { width: 42px; height: 42px; border-radius: 50%; background: #EAF0FA; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chev { width: 26px; height: 26px; border-radius: 50%; background: #EAF0FA; color: #3B6BE0; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; font-family: 'Roboto', sans-serif; }
.accordion-item.open .chev { background: #3B6BE0; color: #fff; }
.accordion-body { display: none; padding: 0 22px 18px 78px; }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { font-size: 14.5px; line-height: 1.7; color: #5a6472; margin: 0; }
.faq .accordion-body { padding: 0 24px 20px; }
.faq .accordion-toggle { justify-content: space-between; font-size: 16px; padding: 20px 24px; }

/* CTA */
.cta { background: linear-gradient(120deg, #274a9e 0%, #3B6BE0 100%); }
.cta-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-weight: 700; font-size: 32px; margin: 0 0 14px; }
.cta p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.85); margin: 0; max-width: 680px; }
.btn-white { background: #fff; color: #274a9e; }
.btn-white:hover { background: #e8edf8; color: #274a9e; }

/* FAQ */
.faq-wrap { max-width: 880px; margin: 0 auto; }

.whycoose-us .two-col{
    align-items: center;
}
.col-image img{
  width: 100%;
  display: block;
  border-radius: 10px;
}
.why-local .col-image img {
    min-height: 600px;
    object-fit: cover;
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card, .step-card:nth-child(4), .step-card:nth-child(5) { grid-column: auto; }
  .col-img { min-height: 320px; height: 320px; }
  .two-col .col-img { order: -1; }
  .narrow-500 {
    max-width: 100%;
    /* background: red; */
}
}
@media (max-width:991px){
  .hero-sub{max-width: 100%;}
    .why-local .two-col,
  .whycoose-us .two-col{
    display: flex;
      flex-direction: column;
      gap: 15px;
  }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .hero {margin-top:70px;}
  .hero h1 { font-size: 26px; line-height: 36px; }
  .section-title, .cta h2 { font-size: 24px; }
  .section { padding: 44px 16px; }
  .services-grid, .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-card { padding: 24px 20px; }
  .accordion-body { padding-left: 22px; }
  .col-img { min-height: 240px; height: 240px; }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 16px 36px; gap: 36px; }
  .newsletter-form input { width: 100%; min-width: 0; }
  .footer-bottom-inner { justify-content: center; }
  .hero-sub,.hero-points li{font-size: 15px;}
  .lead{font-size: 15px; line-height: 25px;}
  .btn-group{
      gap: 18px;
  }
  .container{padding: 0 10px;}
  .accordion-toggle{padding: 16px 12px; font-size: 16px;}
  .btn{
    padding: 14px 22px;
  }
  .btn-outline{
      padding: 14px 22px;
  }
.why-local {
    padding-bottom: 0;
}
.why-local .col-image img {
    min-height: auto;
    object-fit: cover;
}
}
