/* ==========================================================================
   DENTIST32 — HOMEPAGE
   Loaded only on the homepage; restyles the existing components.
   .home-refresh  = shared system from the 20 Oct 2026 spec
   .home-v1       = Premium Light (split hero, warm/cool wash)
   ========================================================================== */

/* ==========================================================================
   SHARED SYSTEM
   ========================================================================== */
body.home-refresh {
  --text: #25313b;
  --text-ink: #25313b;
  --text-muted: #576574;
  --text-faint: #7b8794;
  --surface: #fafaf8;
  --border: #e3e7ea;
  --blue: #0d659e;
  --blue-hover: #0a5283;
  --blue-deep: #083f63;
  --orange-soft: #fff4ec;
  --action: #c2410c;
  --action-hover: #9a3412;
  --accent: #e0560a;
  --pale-orange: #fff4ec;
  --pale-blue: #eef7fc;
  --shadow-soft: 0 8px 24px rgba(37, 49, 59, 0.06);
  --shadow-lift: 0 18px 40px rgba(37, 49, 59, 0.12);
  --r-card: 16px;
  --r-ctl: 10px;
  --section-y: 80px;
  background: var(--surface);
  color: var(--text);
}

.home-refresh :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---- Header ---- */
.home-refresh .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.home-refresh .nav-list {
  gap: 28px;
}

.home-refresh .nav-list a {
  position: relative;
  font-size: 15px;
  color: var(--text);
}

.home-refresh .nav-list a:hover,
.home-refresh .nav-list a.active {
  color: var(--action);
}

.home-refresh .nav-list a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.home-refresh .header-actions {
  gap: 10px;
}

.home-refresh .header-actions .btn-ghost,
.home-refresh .header-actions .btn-primary {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-ctl);
  font-size: 14px;
}

.home-refresh .header-actions .btn-ghost {
  color: #fff;
  background: var(--action);
  border-color: var(--action);
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.25);
}

.home-refresh .header-actions .btn-ghost:hover {
  background: var(--action-hover);
}

/* login stays visually quiet */
.home-refresh .header-actions .btn-primary {
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}

.home-refresh .header-actions .btn-primary:hover {
  border-color: var(--text-muted);
}

/* ---- Buttons ---- */
.home-refresh .btn {
  border-radius: var(--r-ctl);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-refresh .btn-orange,
.home-refresh .btn-search {
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--action);
  border-radius: var(--r-ctl);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.25);
}

.home-refresh .btn-orange:hover,
.home-refresh .btn-search:hover {
  background: var(--action-hover);
  transform: translateY(-1px);
}

.home-refresh .btn-outline {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}

.home-refresh .btn-outline:hover {
  color: var(--action);
  border-color: var(--action);
}

/* ---- Headings ---- */
.home-refresh .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.6px;
  color: var(--action);
}

.home-refresh .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.home-refresh .section-title,
.home-refresh .section-title-lg {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--text);
}

.home-refresh .section-lede {
  max-width: 580px;
  font-family: var(--font);
  font-size: 17px;
  color: var(--text-muted);
}

.home-refresh .edu-heading .section-lede {
  margin-top: 14px;
}

/* ==========================================================================
   HERO — shared split layout (copy left, photo right)
   ========================================================================== */
.home-refresh .hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 104px;
  text-align: left;
}

/* clip only sideways so the search dropdowns can hang below the hero */
@supports (overflow: clip) {
  .home-refresh .hero {
    overflow: clip visible;
  }
}

/* sit above the trust strip (.value-props, z-index 2) that overlaps the hero */
.home-refresh .hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: stretch;
  gap: 56px;
}

.home-refresh .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 1.6px;
  color: var(--action);
  background: #fff;
  border: 1px solid #fde0c9;
  border-radius: 999px;
}

.home-refresh .hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 86, 10, 0.15);
}

.home-refresh .hero-title {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  color: var(--text);
}

.home-refresh .hero-hl {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

/* hand-drawn style underline beneath the highlight */
.home-refresh .hero-hl::after {
  display: none;
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C50 3 120 2 198 6' fill='none' stroke='%23F59E5B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.home-refresh .hero-subtitle {
  max-width: 560px;
  margin: 14px 0 0 !important;
  font-size: 16.5px !important;
  line-height: 1.6;
  color: var(--text-muted) !important;
}

/* search card in the copy column: city OR pin code, then specialty + button */
.home-refresh .search-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 24px 0 0;
  padding: 8px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(37, 49, 59, 0.1);
}

.home-refresh .search-bar:hover,
.home-refresh .search-bar:focus-within {
  border-color: #cfd6db;
  box-shadow: 0 24px 56px rgba(37, 49, 59, 0.14);
}

.home-refresh .search-divider {
  display: none;
}

.home-refresh .search-or {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.home-refresh .search-field-select {
  grid-column: 1;
}

/* in the card layout the message sits inside the field */
.home-refresh .search-error {
  position: static;
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  font-size: 12.5px;
  white-space: normal;
  background: none;
  border: 0;
  box-shadow: none;
}

.home-refresh .search-field.has-error,
.home-refresh .search-field.has-error:focus-within {
  background: #fef2f2;
  box-shadow: inset 0 0 0 1.5px #fecaca;
}

.home-refresh .btn-search {
  grid-column: 2 / -1;
}

.home-refresh .search-field,
.home-refresh .search-field:nth-of-type(1) {
  padding: 12px 16px !important;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.home-refresh .search-field:hover,
.home-refresh .search-field:focus-within {
  background: var(--surface);
}

.home-refresh .search-field label {
  font-size: 11.5px;
  letter-spacing: 0.9px;
  color: var(--text-muted);
}

.home-refresh .search-field input,
.home-refresh .search-field .select-label {
  font-size: 16px;
  color: var(--text);
}

.home-refresh .btn-search {
  width: 100%;
  height: 56px;
  margin: 4px 0 0;
  align-self: stretch;
  border-radius: 12px;
}

/* the highlighted field already shows focus; skip the boxed outline */
.home-refresh .search-field input:focus-visible,
.home-refresh .select-search-box input:focus-visible {
  outline: none;
}

.home-refresh .search-field:focus-within {
  box-shadow: inset 0 0 0 1.5px #cfd6db;
}

/* dropdowns line up with their field and open below it */
.home-refresh .custom-searchable-select {
  position: static;
}

.home-refresh .select-dropdown,
.home-refresh .autocomplete-dropdown {
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(37, 49, 59, 0.16), 0 4px 12px rgba(37, 49, 59, 0.06);
  z-index: 20;
}

.home-refresh .select-search-box {
  margin: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-refresh .select-search-box:focus-within {
  background: #fff;
  border-color: var(--blue);
}

.home-refresh .select-search-box input {
  font-size: 14px;
}

.home-refresh .select-options-list,
.home-refresh .autocomplete-list {
  max-height: 280px;
  padding: 0 6px 6px;
  scrollbar-width: thin;
  scrollbar-color: #cfd6db transparent;
}

.home-refresh .autocomplete-list {
  padding-top: 6px;
}

.home-refresh .select-options-list li,
.home-refresh .autocomplete-list li {
  padding: 10px 12px;
  border-left: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.home-refresh .select-options-list li .opt-sub {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.home-refresh .select-options-list li:hover,
.home-refresh .autocomplete-list li:hover {
  background: var(--pale-orange);
  color: var(--action);
}

.home-refresh .select-options-list li.is-selected {
  background: var(--pale-orange);
  color: var(--action);
  font-weight: 700;
}

.home-refresh .autocomplete-list li:hover svg {
  color: var(--action);
}

.home-refresh .autocomplete-list li strong {
  font-weight: 700;
}

.home-refresh .autocomplete-list li.autocomplete-sub {
  padding-left: 37px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.home-refresh .hero-stats {
  justify-content: flex-start;
  gap: 0;
  margin-top: 24px;
}

.home-refresh .hero-stats .stat {
  min-width: 0;
  padding: 0 28px;
  text-align: left;
  border-left: 1px solid var(--border);
}

.home-refresh .hero-stats .stat:first-child {
  padding-left: 0;
  border-left: none;
}

.home-refresh .stat-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.home-refresh .stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* photo with floating trust badges; fills the height of the copy column so
   neither side leaves empty space */
.home-refresh .hero-art {
  position: relative;
  min-height: 420px;
  margin-right: 20px;
}

.home-refresh .hero-art img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(37, 49, 59, 0.18);
}

.home-refresh .hero-art::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffd5b6 0%, #fde8d8 100%);
}

.home-refresh .hero-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(37, 49, 59, 0.16);
  animation: heroFloat 6s ease-in-out infinite;
}

.home-refresh .hero-float--a {
  left: -44px;
  top: 14%;
}

.home-refresh .hero-float--b {
  right: -20px;
  bottom: 12%;
  animation-delay: -3s;
}

.home-refresh .hero-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: #16a34a;
}

.home-refresh .hero-float--b .hero-float-icon {
  background: #f59e0b;
}

.home-refresh .hero-float-icon svg {
  width: 18px;
  height: 18px;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-refresh .hero-float {
    animation: none;
  }
}

/* ==========================================================================
   TRUST STRIP — icon badges
   ========================================================================== */
.home-refresh .value-props {
  max-width: none;
  margin-top: -56px;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(37, 49, 59, 0.08);
}

.home-refresh .value-prop {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 24px 28px;
}

.home-refresh .value-prop + .value-prop {
  border-left-color: var(--border);
}

.home-refresh .value-prop::before {
  content: "";
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pale-orange) center / 24px no-repeat;
}

.home-refresh .value-prop:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.home-refresh .value-prop:nth-child(2)::before {
  background-color: var(--pale-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D659E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
}

.home-refresh .value-prop:nth-child(3)::before {
  background-color: #fef7e6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B45309' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E");
}

.home-refresh .value-prop h3 {
  font-size: 16px;
  line-height: 1.4;
}

.home-refresh .value-prop p {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   DOCTOR CARDS
   ========================================================================== */
.home-refresh .section-doctors {
  padding: var(--section-y) 0;
}

.home-refresh .doctor-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.home-refresh .doctor-card:hover {
  transform: translateY(-4px);
  border-color: #fdc9a4;
  box-shadow: var(--shadow-lift);
}

.home-refresh .doctor-photo {
  border-radius: 14px;
}

.home-refresh .doctor-name {
  font-size: 18px;
  line-height: 1.4;
}

.home-refresh .doctor-card:hover .doctor-name {
  color: var(--action);
}

.home-refresh .doctor-specialty {
  font-family: var(--font);
  font-size: 14px;
  color: var(--blue);
}

.home-refresh .doctor-meta,
.home-refresh .rating-count {
  font-size: 13px;
  color: var(--text-muted);
}

.home-refresh .stars svg {
  fill: #f59e0b;
}

.home-refresh .carousel-arrow {
  width: 44px;
  height: 44px;
  border-color: var(--border);
  box-shadow: none;
}

.home-refresh .carousel-arrow:hover {
  background: var(--action);
  border-color: var(--action);
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.25);
}

/* ==========================================================================
   TREATMENT TILES — round icon badges
   ========================================================================== */
.home-refresh .section-treatments {
  padding: var(--section-y) 0;
}

.home-refresh .treatment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.home-refresh .treatment-card {
  height: auto;
  min-height: 160px;
  padding: 24px 12px;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: none;
}

.home-refresh .treatment-card img {
  width: 72px;
  height: 72px;
  padding: 16px;
  background: var(--pale-orange);
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-refresh .treatment-card:nth-child(even) img {
  background: var(--pale-blue);
}

.home-refresh .treatment-card:hover {
  transform: translateY(-4px);
  border-color: #fdc9a4;
  box-shadow: var(--shadow-lift);
}

.home-refresh .treatment-card:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(224, 86, 10, 0.08);
}

.home-refresh .treatment-card span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* ==========================================================================
   MASCOT BANNERS + ARTICLES
   ========================================================================== */
.home-refresh .section-education,
.home-refresh .section-kids {
  padding-top: var(--section-y);
}

.home-refresh .mascot-banner {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 148px;
  padding: 22px 32px;
  background:
    radial-gradient(circle at 8% 120%, rgba(13, 101, 158, 0.12) 0 90px, transparent 91px),
    radial-gradient(circle at 96% -20%, rgba(224, 86, 10, 0.12) 0 110px, transparent 111px),
    var(--pale-blue);
  border: 1px solid #d4e8f5;
  border-radius: 22px;
}

.home-refresh .mascot-banner img {
  mix-blend-mode: multiply;
}

.home-refresh .mascot-banner p {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
}

.home-refresh .edu-panel {
  gap: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.home-refresh .edu-tab {
  min-height: 54px;
  height: auto;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
}

.home-refresh .edu-tab:hover {
  background: var(--pale-orange);
}

.home-refresh .edu-tab[aria-selected="true"] {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.25);
}

.home-refresh .edu-articles {
  gap: 20px;
}

.home-refresh .article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-refresh .article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.home-refresh .article-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.home-refresh .article-card:hover img {
  transform: scale(1.04);
}

.home-refresh .article-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 18px 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  background: #fff;
}

.home-refresh .article-card:hover .article-title {
  color: var(--action);
}

.home-refresh .center-action {
  margin-top: 32px;
}

/* ==========================================================================
   PATIENT PANELS
   ========================================================================== */
.home-refresh .section-cta {
  padding: var(--section-y) 0;
}

.home-refresh .cta-grid {
  gap: 24px;
}

.home-refresh .cta-card {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  padding: 44px;
  border-radius: 24px;
  text-align: left;
  color: var(--text);
}

.home-refresh .cta-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid currentColor;
  opacity: 0.06;
  pointer-events: none;
}

.home-refresh .cta-card--blue {
  background: linear-gradient(135deg, #eef7fc 0%, #dcedf9 100%);
  border: 1px solid #cfe4f3;
  color: var(--blue);
}

.home-refresh .cta-card--orange {
  background: linear-gradient(135deg, #fff4ec 0%, #ffe6d3 100%);
  border: 1px solid #fdd9bd;
  color: var(--action);
}

.home-refresh .cta-card h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.home-refresh .cta-card p {
  max-width: 440px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.home-refresh .cta-card .btn {
  width: auto;
  min-width: 180px;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 26px;
  font-size: 15px;
  color: #fff;
}

.home-refresh .cta-card--blue .btn {
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(13, 101, 158, 0.25);
}

.home-refresh .cta-card--blue .btn:hover {
  background: var(--blue-hover);
  opacity: 1;
}

.home-refresh .cta-card--orange .btn {
  background: var(--action);
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.25);
}

.home-refresh .cta-card--orange .btn:hover {
  background: var(--action-hover);
  opacity: 1;
}

/* ==========================================================================
   FOR DENTISTS — numbered steps
   ========================================================================== */
.home-refresh .section-dentists {
  padding: var(--section-y) 0;
  background: linear-gradient(135deg, #fff4ec 0%, #fafaf8 50%, #eef7fc 100%);
}

.home-refresh .dentists-head p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
}

.home-refresh .steps-grid {
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}

.home-refresh .step-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  counter-increment: step;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-refresh .step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.home-refresh .step-card::before {
  content: "0" counter(step);
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--accent);
  opacity: 0.1;
}

.home-refresh .step-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #f59e5b);
}

.home-refresh .step-card h3 {
  position: relative;
  padding-right: 64px;
  font-size: 18px;
  line-height: 1.4;
}

.home-refresh .step-card p {
  position: relative;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.home-refresh .section-testimonials {
  padding-top: var(--section-y);
}

.home-refresh .testimonial-card {
  position: relative;
  padding: 56px 28px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.home-refresh .testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
}

.home-refresh .testimonial-card blockquote {
  font-size: 17px;
  line-height: 1.6;
}

.home-refresh .testimonial-author {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.home-refresh .testimonial-author img {
  width: 44px;
  height: 44px;
}

.home-refresh .testimonial-author strong {
  font-size: 15px;
}

.home-refresh .testimonial-author span {
  font-size: 13px;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.home-refresh .newsletter-wrap {
  padding-top: var(--section-y);
}

.home-refresh .newsletter {
  overflow: hidden;
  padding: 48px 52px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 182, 0.35) 0 140px, transparent 141px),
    radial-gradient(circle at 0% 100%, rgba(230, 242, 251, 0.7) 0 100px, transparent 101px),
    linear-gradient(135deg, #fffaf5 0%, #fdf1e6 100%);
  border: 1px solid #f3e1d2;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(37, 49, 59, 0.08);
}

.home-refresh .newsletter h2 {
  font-size: 28px;
  line-height: 1.25;
}

.home-refresh .newsletter p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.home-refresh .newsletter-form {
  height: 54px;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-refresh .newsletter-form input {
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.home-refresh .newsletter-form input:focus {
  border-color: var(--blue);
}

.home-refresh .newsletter-form button {
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--action);
  border: none;
  border-radius: 12px;
}

.home-refresh .newsletter-form button:hover {
  background: var(--action-hover);
}

.home-refresh .newsletter-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  opacity: 0.85;
}

/* ==========================================================================
   OPTION 1 — PREMIUM LIGHT
   Split hero over a warm/cool colour wash, photo on a peach backdrop.
   ========================================================================== */
.home-v1 .hero {
  background:
    radial-gradient(700px 500px at 0% 0%, #fff1e6 0%, rgba(255, 241, 230, 0) 70%),
    radial-gradient(700px 520px at 100% 100%, #e6f2fb 0%, rgba(230, 242, 251, 0) 70%),
    var(--surface);
}

.home-v1 .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 49, 59, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}

.home-v1 .section-treatments {
  background: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .home-refresh .hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 48px;
  }

  .home-refresh .hero-title {
    font-size: 46px;
  }

  .home-refresh .hero-float--a {
    left: -24px;
  }
}

@media (max-width: 1080px) {
  .home-refresh .search-bar {
    padding: 8px;
  }

  .home-refresh .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-refresh .edu-tab {
    flex: 0 1 auto;
  }
}

@media (max-width: 900px) {
  .home-refresh .hero {
    padding: 40px 0 96px;
  }

  .home-refresh .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-refresh .hero-art {
    display: none;
  }

  .home-refresh .value-props {
    margin-top: -48px;
  }

  .home-refresh .value-prop + .value-prop {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  body.home-refresh {
    --section-y: 48px;
  }

  .home-refresh .hero-title {
    font-size: 38px;
    letter-spacing: -0.8px;
  }

  .home-refresh .hero-hl {
    white-space: normal;
  }

  .home-refresh .hero-subtitle {
    font-size: 16px !important;
  }

  .home-refresh .search-bar {
    grid-template-columns: 1fr;
  }

  .home-refresh .search-or {
    justify-self: center;
    margin: 0;
  }

  .home-refresh .search-field-select,
  .home-refresh .btn-search {
    grid-column: 1;
  }

  .home-refresh .hero-stats {
    justify-content: space-between;
  }

  .home-refresh .hero-stats .stat {
    padding: 0 12px;
  }

  .home-refresh .stat-value {
    font-size: 22px;
  }

  .home-refresh .section-title,
  .home-refresh .section-title-lg {
    font-size: 28px;
  }

  .home-refresh .mascot-banner p {
    font-size: 24px;
  }

  .home-refresh .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-refresh .treatment-card {
    flex: none;
    min-height: 140px;
  }

  .home-refresh .edu-panel {
    padding: 16px;
  }

  .home-refresh .cta-card,
  .home-refresh .newsletter {
    padding: 30px 22px;
  }

  .home-refresh .cta-card h2 {
    font-size: 24px;
  }

  .home-refresh .newsletter-form {
    flex-wrap: wrap;
    height: auto;
  }

  .home-refresh .newsletter-form input,
  .home-refresh .newsletter-form button {
    flex: 1 1 100%;
    height: 52px;
  }
}
