/* ================================================================
   HOMEPAGE — full redesign 2026-05-09
   Brand: peach #DF7D6F + dark #150e0e
   Reuses about.css / media-pages.css / blog-pages.css for shared
   patterns; this file only adds homepage-unique sections.
   ================================================================ */

/* ============ HERO ============ */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #150e0e 0%, #1f1413 60%, #2a1814 100%);
  padding: 180px 0 90px;  /* top padding clears the ~116px absolute site header */
  overflow: hidden;
  border-bottom: 3px solid #DF7D6F;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(223,125,111,.20) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -150px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(223,125,111,.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.home-hero .container-fluid { position: relative; z-index: 2; }

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(223,125,111,.14);
  border: 1px solid rgba(223,125,111,.4);
  color: #DF7D6F;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.home-hero-eyebrow svg { font-size: 13px; }

.home-hero h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.home-hero h1 .peach-color { color: #DF7D6F; }
.home-hero-sub {
  color: #d6c5b8;
  font-size: 18px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 30px;
}
.home-hero-sub strong { color: #fff; font-weight: 600; }

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.home-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8b9ad;
  font-size: 13.5px;
}
.home-hero-trust-item svg { color: #DF7D6F; font-size: 18px; flex-shrink: 0; }
.home-hero-trust-item strong {
  color: #fff;
  font-weight: 600;
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.home-hero-trust-item small { color: #8a7a6e; font-size: 12px; }

/* Hero portrait */
.home-hero-portrait {
  position: relative;
  max-width: 460px;
  margin: 30px auto 0;       /* breathing room below the absolute site header */
}
.home-hero-portrait::before {
  content: "";
  position: absolute;
  inset: -10px -10px 24px 24px;
  border: 2px solid #DF7D6F;
  border-radius: 28px;
  z-index: 0;
}
.home-hero-portrait picture, .home-hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.home-hero-portrait-floating {
  position: absolute;
  z-index: 2;
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.4);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(0,0,0,.4);
}
.home-hero-portrait-floating .icon-blob {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.home-hero-portrait-floating strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}
.home-hero-portrait-floating small { color: #b8a89c; font-size: 11.5px; }
.home-hero-portrait-floating.top { top: 60px; left: -30px; }
.home-hero-portrait-floating.bottom { bottom: 50px; right: -30px; }

/* ============ FEATURED-IN STRIP ============ */
.home-featured {
  background: #0a0606;
  border-bottom: 1px solid rgba(223,125,111,.12);
  padding: 30px 0;
}
.home-featured-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 30px;
}
.home-featured-label {
  color: #8a7a6e;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-featured-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(223,125,111,.2);
}
.home-featured-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.home-featured-track {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: home-marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.home-featured-track img {
  height: 36px;
  width: auto;
  filter: grayscale(1) brightness(2);
  opacity: .6;
  transition: opacity .25s ease, filter .25s ease;
}
.home-featured-track img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
@keyframes home-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 2)); }
}

/* ============ SPECIALITY TILES ============ */
.home-section {
  background: #0a0606;
  padding: 80px 0;
}
.home-section.alt {
  background: linear-gradient(180deg, #0a0606 0%, #150e0e 100%);
}
.home-section-head {
  text-align: center;
  margin-bottom: 46px;
}
.home-eyebrow {
  display: inline-block;
  color: #DF7D6F;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.home-h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 14px;
}
.home-h2 .peach-color { color: #DF7D6F; }
.home-section-sub {
  color: #b8a89c;
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.specialty-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  transition: transform .35s ease, box-shadow .35s ease;
}
.specialty-tile.tall { aspect-ratio: 4 / 6; grid-row: span 2; }
.specialty-tile picture, .specialty-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.specialty-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(223,125,111,.22);
  text-decoration: none;
}
.specialty-tile:hover img { transform: scale(1.06); }
.specialty-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,6,6,.92) 100%);
}
.specialty-tile-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  z-index: 2;
  color: #fff;
}
.specialty-tile-cat {
  display: inline-block;
  color: #DF7D6F;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.specialty-tile-title {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 4px;
  line-height: 1.2;
}
.specialty-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
}
.specialty-tile-cta svg { transition: transform .25s ease; font-size: 11px; }
.specialty-tile:hover .specialty-tile-cta { color: #DF7D6F; }
.specialty-tile:hover .specialty-tile-cta svg { transform: translateX(4px); }

/* ============ TREATMENTS — 3 categories ============ */
.treatment-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tcat-card {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.18);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tcat-card:hover {
  transform: translateY(-5px);
  border-color: #DF7D6F;
  box-shadow: 0 16px 36px rgba(223,125,111,.18);
}
.tcat-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}
.tcat-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
}
.tcat-card > p {
  color: #b8a89c;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.tcat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 6px;
}
.tcat-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d6c5b8;
  font-size: 14px;
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s ease;
}
.tcat-list a::before {
  content: "";
  width: 6px; height: 6px;
  background: #DF7D6F;
  border-radius: 50%;
}
.tcat-list a:hover { color: #fff; }
.tcat-card-cta {
  color: #DF7D6F;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border-top: 1px solid rgba(223,125,111,.18);
  padding-top: 16px;
  margin-top: auto;
}
.tcat-card-cta svg { transition: transform .25s ease; font-size: 11px; }
.tcat-card-cta:hover { color: #fff; }
.tcat-card-cta:hover svg { transform: translateX(3px); }

/* ============ EQUIPMENT showcase ============ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.equipment-card {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.18);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.equipment-card:hover { transform: translateY(-4px); border-color: #DF7D6F; }
.equipment-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0606;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid rgba(223,125,111,.12);
  overflow: hidden;
}
/* <picture> is inline by default, so max-height:100% on the inner <img>
   collapses to "none" and the image renders at full intrinsic size.
   Make <picture> block-level and fill the parent so the <img> can
   actually constrain. */
.equipment-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.equipment-img picture img,
.equipment-img > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.equipment-body { padding: 22px 24px 26px; }
.equipment-tag {
  display: inline-block;
  color: #DF7D6F;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.equipment-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
}
.equipment-card p {
  color: #b8a89c;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ============ TESTIMONIAL CARDS ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.18);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  color: #DF7D6F;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}
.testimonial-quote {
  color: #d6c5b8;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
  /* Limit to ~7 lines so cards don't get crazy tall */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(223,125,111,.18);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-author-name {
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  margin: 0;
  line-height: 1.2;
}
.testimonial-author-meta {
  color: #8a7a6e;
  font-size: 12px;
  margin-top: 2px;
}
.testimonial-author-meta svg { color: #DF7D6F; font-size: 11px; }

/* ============ Section "view all" link ============ */
.home-view-all {
  text-align: center;
  margin-top: 36px;
}
.home-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(223,125,111,.4);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.home-view-all-btn:hover {
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  text-decoration: none;
}
.home-view-all-btn svg { transition: transform .25s ease; font-size: 12px; }
.home-view-all-btn:hover svg { transform: translateX(4px); }

/* ============ Mobile ============ */
@media (max-width: 1199px) {
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-tile.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-categories { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .home-hero { padding: 130px 0 60px; }
  .home-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
  .home-hero-portrait-floating.top { top: 14px; left: -10px; }
  .home-hero-portrait-floating.bottom { bottom: 14px; right: -10px; }
  .home-featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-featured-label::after { display: none; }
}
@media (max-width: 767px) {
  .home-hero { padding: 110px 0 40px; text-align: left; }
  .home-section { padding: 50px 0; }
  .specialty-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .home-hero-trust { gap: 14px; }
  .home-hero-portrait { display: none; }
  .home-hero-portrait-floating { display: none; }
}
