
:root {
  --home-cream: #fff8ef;
  --home-cream-deep: #f5e8d6;
  --home-paper: #ffffff;
  --home-ink: #242226;
  --home-muted: #5e5960;
  --home-red: #a9002f;
  --home-pink: #e85a78;
  --home-dark: #26030e;
  /* Soft light tint derived from #B90B0B */
  --home-surface: #fbf8f8;
}

/* Global readable type scale for the home page */
body {
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-ink);
}

h1,
h2,
h3,
h4,
p,
li,
a,
button {
  overflow-wrap: normal;
}

/* Navigation: stable glass segmented language switch */
.nav-shell {
  background: rgba(255, 250, 244, 0.86);
  border-bottom: 1px solid rgba(55, 30, 35, 0.12);
  box-shadow: 0 8px 28px rgba(40, 12, 20, 0.06);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.language-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 104px;
  height: 40px;
  padding: 3px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 5px 18px rgba(48, 17, 28, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-pill-bg {
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #b20b3b, #850023);
  box-shadow:
    0 5px 14px rgba(169, 0, 47, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.language-btn {
  min-height: 32px;
  height: 32px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #514b50;
}

.language-btn[aria-pressed="true"] {
  color: #fff;
}

.language-btn:hover {
  color: #a9002f;
}

.language-btn[aria-pressed="true"]:hover {
  color: #fff;
}

/* Hero: less height, calmer line length and readable title */
.hero {
  min-height: 690px;
  color: #fff;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  padding: 92px 0 78px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #fff;
  flex: 0 0 auto;
}

.hero .hero-title {
  max-width: 900px;
  margin: 0 0 26px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.7px;
  text-wrap: balance;
}

.hero .hero-title .red {
  color: #f18aa0;
}

.white {
  color: #ffff;
}

.hero-highlights {
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.hero-facts {
  margin-top: 34px;
}

.hero-fact small {
  font-size: 12px;
}

.hero-fact strong {
  font-size: 14px;
}

/* Distinct surfaces make each section easier to scan */
.section-company {
  background: var(--home-cream);
}

.section-services {
  background: #f3e4d1;
}

.section-message {
  background: var(--home-dark);
  color: #fff;
}

.section-activities {
  background: #fffaf5;
}

.section {
  padding: 88px 0;
}

.section-title {
  max-width: 700px;
  margin: 0 0 22px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.1px;
  color: var(--home-ink);
}

.section-copy {
  max-width: 660px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-muted);
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #cf4564;
}

.section-services .section-title,
.section-services .section-copy,
.section-services .eyebrow {
  color: var(--home-ink);
}

.service-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(92, 53, 55, 0.16);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(67, 34, 31, 0.205);
}

.service-card .number {
  font-size: 38px;
  line-height: 1;
}

.service-card h3 {
  margin: 20px 0 12px;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -0.4px;
}

.service-card p {
  min-height: 92px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: #5f5960;
}

.service-card .btn {
  font-size: 14px;
}

/* Representative message: no oversized quotation */
.section-message .section-title {
  color: #fff;
  font-size: 46px;
}

.section-message .quote {
  max-width: 620px;
  border-left: 3px solid #ff5478;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.48;
}

.section-message .btn {
  margin-top: 22px;
  font-size: 14px;
}

.section-message .light-eyebrow {
  color: #ff7894;
}

/* Premium carousel controls */
premium-carousel .dock {
  right: 14px;
  bottom: 14px;
  left: 14px;
  gap: 10px;
}

premium-carousel .arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(25, 17, 24, 0.62);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: none;
}

premium-carousel .arrow:hover,
premium-carousel .arrow:focus-visible {
  background: #a9002f;
  border-color: #fff;
  transform: scale(1.04);
}

premium-carousel .indicators {
  padding: 7px 12px;
  gap: 7px;
}

premium-carousel .dot {
  width: 8px;
  height: 8px;
}

premium-carousel .dot.is-active {
  width: 22px;
  background: #ff5478;
}

@media (max-width: 1100px) {
  .hero .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 70px 20px 66px;
  }

  .hero .hero-title {
    max-width: 720px;
    font-size: 42px;
    letter-spacing: -1px;
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .section-message .quote {
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  .language-selector {
    width: 96px;
    height: 38px;
  }

  .language-btn {
    font-size: 12px;
  }

  .hero .hero-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-highlights li {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .section-message .section-title {
    font-size: 34px;
  }

  .section-message .quote {
    font-size: 20px;
    padding-left: 16px;
  }
}

/* =========================================================
   FINAL HOME OVERRIDES
   ========================================================= */

.hero {
  min-height: 720px;
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  padding: 108px 0 72px;
}

.hero .hero-title {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-highlights li {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.65;
}

.section-company {
  background: #fff8ef;
  color: #242226;
}

.section-services {
  background: #f3e4d1;
  color: #242226;
}

.section-message,
.section-message.dark-panel {
  background: #26030e;
  color: #ffffff;
}

.section-activities {
  background: #fffaf5;
  color: #242226;
}

.section-company .section-title,
.section-services .section-title,
.section-activities .section-title,
.section-company .section-copy,
.section-services .section-copy,
.section-activities .section-copy {
  color: #242226;
}

.section-message .section-title,
.section-message .section-copy,
.section-message p,
.section-message .quote {
  color: #ffffff;
}

.section-message .quote {
  max-width: 560px;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 400;
}

/* Hero elements isolation */
.hero {
  isolation: isolate;
}

.hero-photo,
.hero-grid,
.hero-content,
.hero-carousel-controls {
  position: absolute;
}

.hero-photo {
  inset: 0;
  z-index: 0;
}

.hero-grid {
  inset: 0;
  z-index: 1;
}

.hero-content {
  inset: 0;
  z-index: 4;
  position: relative;
}

/* Hero carousel controls */
.hero-carousel-controls {
  position: absolute;
  z-index: 10;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  margin: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-carousel-arrow i {
  display: block;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

.hero-carousel-arrow:hover {
  color: #ffffff;
  background: rgba(169, 0, 47, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-carousel-arrow:active {
  transform: scale(0.94);
}

.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-carousel-dot {
  display: block;
  flex: 0 0 9px;
  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    width 220ms ease,
    flex-basis 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.hero-carousel-dot.active {
  flex-basis: 25px;
  width: 25px;
  background: #ffffff;
  opacity: 1;
}

.hero-carousel-dot:hover {
  background: #ffb4c4;
}

@media (max-width: 768px) {
  .hero-carousel-controls {
    right: 20px;
    bottom: 22px;
    gap: 12px;
  }

  .hero-carousel-arrow {
    flex-basis: 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .hero-carousel-dots {
    gap: 7px;
  }

  .hero-carousel-dot.active {
    flex-basis: 22px;
    width: 22px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-controls {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .hero-carousel-arrow {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .hero-carousel-arrow i {
    font-size: 13px;
  }

  .hero-carousel-dots {
    gap: 6px;
  }

  .hero-carousel-dot {
    flex-basis: 7px;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
  }

  .hero-carousel-dot.active {
    flex-basis: 18px;
    width: 18px;
  }
}

/* =========================================================
   COMPANY FOCUS HIGHLIGHTS
   ========================================================= */

.home-focus-section {
  padding: 0 0 60px 0;
}

.home-focus-section .fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent;
  border: 0;
}

.home-focus-section .fact {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.4rem;
  overflow-wrap: anywhere;
  border: 1px solid #e7e7eb;
  border-left: 4px solid var(--red, #b90b0b);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(16, 18, 22, 0.045);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-focus-section .fact:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 11, 11, 0.25);
  box-shadow: 0 14px 30px rgba(16, 18, 22, 0.09);
}

.home-focus-section .fact small {
  display: block;
  margin-bottom: 0.45rem;
  color: #687078;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-focus-section .fact strong {
  display: block;
  color: var(--home-ink, #242226);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 992px) {
  .home-focus-section .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 580px) {
  .home-focus-section .fact-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .home-focus-section .fact {
    min-height: 0;
    padding: 1.1rem 1.2rem;
  }
}

/* =========================================================
   STATISTICS SECTION & CARDS (FIXED PADDING & OVERFLOW)
   ========================================================= */

.home-stats-section {
  position: relative;
  overflow: visible;
  padding: clamp(48px, 6vw, 72px) 16px clamp(80px, 8vw, 110px);
  margin-block: 0;
  background:  var(--home-surface);
}

.home-stats-surface {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home-stats-surface > .container {
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
  overflow: visible;
}

.home-stats-heading {
  max-width: 760px;
  margin: 0 auto clamp(28px, 3.5vw, 42px);
  text-align: center;
}

.home-stats-heading .section-title {
  font-family: var(--ios-font, inherit);
  color: var(--home-ink);
}

.home-stats-heading .section-copy {
  margin-inline: auto;
  color: var(--home-muted);
}

.home-stats-grid--circular {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 1.8vw, 24px);
  width: 100%;
}

.home-stats-grid--circular .home-stat-card {
  --stat-accent: #a9002f;
  box-sizing: border-box;
  min-width: 0;
  min-height: 260px;
  height: 100%;
  padding: 26px 18px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-radius: 24px;
  text-align: center;
  color: var(--ios-glass-label, #29252d);
  font-family: var(--ios-font, inherit);
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(38, 35, 56, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-stats-grid--circular .home-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 0, 47, 0.3);
  box-shadow: 0 16px 36px rgba(47, 17, 28, 0.12);
}

.home-stats-grid--circular .home-stat-card--success {
  --stat-accent: #16805d;
  grid-column: auto;
}

.home-stats-grid--circular .home-stat-label {
  min-height: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  font-size: 0.92rem;
  font-weight: 750;
  color: #38343f;
}

.home-stat-ring {
  --progress: 0;
  --ring-size: 126px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 6px auto;
  padding: 9px;
  border-radius: 50%;
  background: conic-gradient(var(--stat-accent, #a9002f) calc(var(--progress, 0) * 1%), rgba(140, 140, 155, 0.18) 0);
  box-shadow: 0 4px 16px rgba(44, 40, 72, 0.06);
}

.home-stat-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.home-stat-ring-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--ios-glass-label, #29252d);
  font-family: var(--ios-font, inherit);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.home-stat-percent {
  color: var(--stat-accent, #a9002f);
  font-size: 0.82rem;
}

.home-stat-card .home-stat-note {
  margin: auto 0 0;
  padding-bottom: 2px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ios-glass-label, #625d68);
}

.home-stats-grid--circular .home-stat-card:not(:has(.home-stat-note)) .home-stat-ring {
  margin-bottom: auto;
}



/* =========================================================
   HOME STATISTICS — RESPONSIVE LAYOUT
   Append after all existing home.css rules
   ========================================================= */

.home-stats-section,
.home-stats-section *,
.home-stats-section *::before,
.home-stats-section *::after {
  box-sizing: border-box;
}

.home-stats-section {
  width: 100%;
  padding: clamp(40px, 6vw, 72px) 16px;
  overflow: clip;
}

.home-stats-section > .container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 0;
}

.home-stats-surface,
.home-stats-surface > .container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.home-stats-heading {
  width: 100%;
  padding-inline: 8px;
  text-align: center;
}

.home-stats-heading .section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.home-stats-heading .section-copy {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.65;
}

/* Desktop: four equal cards */
.home-stats-grid--circular {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.8vw, 24px);
  width: 100%;
}

.home-stats-grid--circular .home-stat-card {
  min-width: 0;
  min-height: 260px;
  height: 100%;
  padding: 24px 14px;
  gap: 12px;
}

.home-stats-grid--circular .home-stat-label {
  max-width: 100%;
  min-height: 2.5em;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.home-stat-ring {
  --ring-size: clamp(100px, 10vw, 126px);
  width: var(--ring-size);
  height: var(--ring-size);
  max-width: 100%;
}

.home-stat-ring-center {
  gap: 1px;
  white-space: nowrap;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

.home-stat-percent {
  font-size: 0.75em;
}

.home-stat-card .home-stat-note {
  max-width: 100%;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Tablet: two cards per row */
@media (max-width: 900px) {
  .home-stats-grid--circular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-stats-grid--circular .home-stat-card {
    min-height: 235px;
    padding: 22px 14px;
  }

  .home-stat-ring {
    --ring-size: 116px;
  }

  .home-stat-ring-center {
    font-size: 1.4rem;
  }
}

/* Mobile: compact two-column layout */
@media (max-width: 600px) {
  .home-stats-section {
    padding: 42px 14px 52px;
  }

  .home-stats-heading {
    margin-bottom: 26px;
    padding-inline: 0;
  }

  .home-stats-heading .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }

  .home-stats-heading .section-title {
    margin-bottom: 12px;
    font-size: clamp(1.65rem, 7vw, 2rem);
    letter-spacing: -0.6px;
  }

  .home-stats-heading .section-copy {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .home-stats-grid--circular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-stats-grid--circular .home-stat-card {
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 20px 8px 18px;
    gap: 10px;
    border-radius: 18px;
  }

  .home-stats-grid--circular .home-stat-label {
    min-height: 2.5em;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .home-stat-ring {
    --ring-size: clamp(88px, 27vw, 108px);
    margin: 2px auto;
    padding: 7px;
  }

  .home-stat-ring::before {
    inset: 7px;
  }

  .home-stat-ring-center {
    font-size: clamp(1.05rem, 4.5vw, 1.3rem);
  }

  .home-stat-percent {
    font-size: 0.72em;
  }

  .home-stat-card .home-stat-note {
    margin-top: 0;
    padding-bottom: 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

/* Very narrow phones: use one card per row */
@media (max-width: 340px) {
  .home-stats-section {
    padding-inline: 10px;
  }

  .home-stats-grid--circular {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-stats-grid--circular .home-stat-card {
    padding: 18px 12px;
  }

  .home-stat-ring {
    --ring-size: 108px;
  }
}

/* Accessibility: avoid hover movement on touch and reduced motion */
@media (hover: none) {
  .home-stats-grid--circular .home-stat-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stats-grid--circular .home-stat-card {
    transition: none;
  }
}

