/* Homepage — closer match to yamedical.co layout */

.page-home .site-main {
  padding-top: 0;
}

/* Hero — centered like yamedical.co */
.home-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
}

.home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #161616;
  opacity: 0.6;
}

.home-hero .container {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 210px;
  padding-bottom: 80px;
}

.home-hero__content {
  max-width: 920px;
  margin: 0 auto;
}

.home-hero h1 {
  color: var(--color-white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 0.9;
  margin: 0 auto 18px;
}

.home-hero .hero-line {
  white-space: nowrap;
}

.home-hero__lead {
  font-size: 23px;
  font-weight: 400;
  color: #fff;
  margin: 0 auto 16px;
  max-width: 760px;
}

.home-hero__note {
  font-size: 17px;
  color: #fff;
  margin: 0 auto 28px;
}

.home-hero__note a {
  color: var(--color-accent);
  font-weight: 600;
}

.home-hero__dispatch {
  font-size: 16px;
  color: #fffdfd;
  margin: 22px auto 0;
}

.home-hero__dispatch a {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.btn--call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2abfbf;
  border-color: #2abfbf;
  text-transform: uppercase;
  letter-spacing: -0.7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 30px;
}

.btn--call svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
}

.btn--request {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
}

.btn--request:hover {
  background: #fff;
  color: var(--color-dark);
}

/* Section titles like original */
.heading-center {
  text-align: center;
  margin-bottom: 2rem;
}

.heading-center h2,
.heading-center h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: none;
}

.heading-center h2 {
  color: var(--color-primary);
  font-size: 30px;
  font-weight: 600;
}

.divider-center {
  width: 5%;
  min-width: 56px;
  height: 3px;
  background: var(--color-primary);
  border: none;
  margin: 0.5rem auto 1rem;
}

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

.lead-center {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  text-align: center;
}

/* Service image boxes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-box {
  text-align: center;
}

.service-box__img {
  width: min(220px, 70vw);
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  padding: 1.25rem;
}

.service-box__img img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-box p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  min-height: 4.5rem;
}

.service-box .btn {
  border-radius: 100px;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.6rem;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.service-box .btn:hover {
  background: #6ac8d8;
  color: var(--color-dark);
}

/* Comparison */
.comparison-section {
  max-width: 960px;
  margin: 0 auto;
}

.comparison-section .section-label {
  font-family: Montserrat, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a9a9a;
  text-align: center;
  margin-bottom: 10px;
}

.comparison-section .section-title {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #1a3a5c;
  text-align: center;
  margin-bottom: 36px;
}

.comparison-section .section-title span {
  color: #42a1b2;
}

.table-wrap {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0e8ea;
  box-shadow: 0 4px 32px rgba(7, 21, 32, 0.08);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comp-table thead th {
  padding: 18px 16px;
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.th-ya {
  background: #1a3a5c;
  color: #fff;
  text-align: left;
  padding-left: 20px;
}

.th-ya span {
  display: inline-block;
  background: #42a1b2;
  color: #1a3a5c;
  font-size: 0.58rem;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.th-walk {
  background: #d6eef0;
  color: #1a3a5c;
}

.th-er {
  background: #2abfbf;
  color: #1a3a5c;
}

.comp-table tbody tr {
  border-bottom: 1px solid #e8f2f2;
}

.comp-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  vertical-align: middle;
  line-height: 1.45;
}

.td-ya {
  border-left: 4px solid #42a1b2;
  font-weight: 600;
}

.td-walk,
.td-er {
  background: #f9fdfd;
  color: #5a5a5a;
}

/* Photo grids */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  padding: 12px 10px;
}

.photo-card--mint {
  background: var(--color-bg-mint);
}

.photo-card img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.photo-card figcaption {
  color: #1a3a5c;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 6px;
}

/* Areas We Serve — full-bleed photo, mint card, no inner padding */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.area-card {
  margin: 0;
  background: #e8f9f9;
  border: 1px solid #c8ecec;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.area-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.area-card figcaption {
  color: #1a3a5c;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  margin: 6px 8px 10px;
  line-height: 1.2;
}

.heading-upper {
  text-transform: uppercase;
  color: var(--color-primary) !important;
  font-size: 30px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Conditions We Treat: 3 wide cards, 150×150 icon centered */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
}

.condition-card {
  margin: 0;
  background: #fff;
  border: 1px solid #c8ecec;
  border-radius: 10px;
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  box-sizing: border-box;
}

.condition-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: transparent;
}

.condition-card figcaption {
  color: #1a3a5c;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 10px;
  line-height: 1.3;
}

.conditions-note {
  margin-top: 28px;
  font-size: 20px;
  color: var(--color-text);
  max-width: 960px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.75rem;
}

.service-pills .btn {
  flex: 1 1 calc(25% - 6px);
  background: #2abfbf;
  color: #fff;
  border-radius: 8px;
  padding: 16px 10px;
  font-size: 20px;
  font-weight: 500;
  text-transform: none;
  text-align: center;
}

.service-pills .btn:hover {
  background: #1a9a9a;
  color: #fff;
}

/* IV section */
.iv-band {
  background: var(--color-bg-mint);
  padding: 2rem 0;
}

.iv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.iv-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.iv-buttons .btn {
  width: 100%;
  background: #2abfbf;
  color: #fff;
  border-radius: 8px;
  padding: 1rem 0.6rem;
  font-size: 1.15rem;
  line-height: 1.2;
  text-transform: capitalize;
}

.iv-buttons .btn:hover {
  background: #1a9a9a;
  color: #fff;
}

/* AS FEATURED IN — 2×2 logos with captions */
.featured-in {
  padding: 30px 0 40px;
  background: #fff;
}

.featured-in .heading-center {
  margin-bottom: 10px;
}

.featured-lead {
  max-width: 920px;
  margin: 8px auto 0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  color: #7a7a7a;
}

.featured-lead strong {
  font-weight: 700;
  color: #7a7a7a;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1140px;
  margin: 18px auto 0;
}

.featured-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  text-decoration: none;
  padding: 12px 24px 8px;
}

.featured-item img {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
}

.featured-item span {
  display: block;
  margin-top: 6px;
  font-family: "League Spartan", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #7a7a7a;
  line-height: 1.3;
}

/* Hear from Our Patients */
.reviews {
  position: relative;
  padding: 90px 0 36px;
  color: #fff;
  background: center / cover no-repeat url("../images/testimonials-bg.png");
}

.reviews h2 {
  margin: 0 0 28px;
  text-align: center;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.reviews-slider {
  position: relative;
  padding: 0 36px;
}

.reviews-window {
  overflow: hidden;
}

.reviews-row {
  display: flex;
  gap: 15px;
  transition: transform 0.45s ease;
}

.review-card {
  position: relative;
  flex: 0 0 calc((100% - 30px) / 3);
  background: #fff;
  box-shadow: 9px 11px 14px rgba(0, 0, 0, 0.1);
  padding: 30px 24px 28px;
  margin-bottom: 110px;
  text-align: center;
  min-height: 150px;
}

.review-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  line-height: 1.45;
  font-family: "League Spartan", sans-serif;
}

.review-more {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.review-stars {
  margin-top: 16px;
  color: #fec42d;
  font-size: 16px;
  letter-spacing: 5px;
  line-height: 1;
}

.review-avatar {
  position: absolute;
  left: 50%;
  bottom: -35px;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.review-avatar--letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2e7d32;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  font-family: Helvetica, Arial, sans-serif;
}

.review-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -78px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  font-family: "League Spartan", sans-serif;
  text-align: center;
}

.review-date {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -98px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  text-align: center;
  font-family: "League Spartan", sans-serif;
}

.reviews-arrow {
  position: absolute;
  top: 70px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reviews-arrow--prev { left: 0; }
.reviews-arrow--next { right: 0; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
  cursor: pointer;
}

.reviews-dots button.is-active {
  background: #42a1b2;
  transform: scale(1.2);
}

/* Final CTA */
.home-cta-mint {
  background: var(--color-bg-mint);
  text-align: center;
}

.home-cta-mint .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn--navy {
  background: #1a3a5c;
  color: #fff;
  border-radius: 100px;
}

.btn--navy:hover {
  background: #122d4a;
  color: #fff;
}

@media (max-width: 900px) {
  .home-hero { min-height: 520px; }
  .home-hero .container { padding-top: 110px; }
  .home-hero h1 { font-size: 28px; line-height: 1.15; }
  .home-hero .hero-line { white-space: normal; }
  .home-hero__lead { font-size: 16px; }
  .photo-grid,
  .conditions-grid,
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .iv-split {
    grid-template-columns: 1fr;
  }
  .service-pills .btn {
    flex-basis: calc(50% - 6px);
    font-size: 16px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-lead { font-size: 16px; }
  .review-card {
    flex-basis: 100%;
  }
  .service-box p { min-height: 0; }
}

@media (max-width: 760px) {
  .comp-table thead { display: none; }
  .comp-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e0e8ea;
    border-radius: 8px;
    overflow: hidden;
  }
  .comp-table td {
    display: block;
    text-align: left;
  }
  .comp-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: #1a3a5c;
  }
}
