/* ==========================================================================
   Funerales La Florida — hoja de estilos (sin build step, CSS puro)
   ========================================================================== */

:root {
  --gold: #b8923f;
  --gold-dark: #8c6b2e;
  --gold-light: #d9ba74;
  --cream: #fbf3e1;
  --cream-dark: #f0e1bc;
  --charcoal: #241f1a;
  --charcoal-soft: #4a4139;
  --maroon: #5c1a24;
  --maroon-dark: #3f1119;
  --white: #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1152px;
  --radius: 1rem;
  --radius-sm: 0.6rem;
  --shadow-sm: 0 1px 2px rgba(36, 31, 26, 0.06), 0 1px 3px rgba(36, 31, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(36, 31, 26, 0.12);
}

/* Cualquier elemento con el atributo [hidden] debe ocultarse siempre,
   incluso si otra regla le puso display:flex/grid/etc. */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: #fffdf8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-light); color: var(--charcoal); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
.section-lg { padding: 6rem 0; }
@media (min-width: 640px) { .section { padding: 5.5rem 0; } .section-lg { padding: 7rem 0; } }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-charcoal {
  background-color: var(--charcoal);
  background-image: url('../images/texture-dark.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: rgba(255,255,255,0.85);
}
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: #fff; }

/* ---- Section heading ---- */
.section-heading { max-width: 42rem; }
.section-heading.center { margin: 0 auto; text-align: center; }
.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.bg-charcoal .eyebrow { color: var(--gold-light); }
.section-heading h2 { font-size: 1.9rem; color: var(--charcoal); }
@media (min-width: 640px) { .section-heading h2 { font-size: 2.4rem; } }
.section-heading .lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
}
.bg-charcoal .section-heading .lead { color: rgba(255,255,255,0.75); }
@media (min-width: 640px) { .section-heading .lead { font-size: 1.1rem; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-gold { background: var(--gold); color: var(--charcoal); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-light); }
.btn-maroon { background: var(--maroon); color: #fff; box-shadow: var(--shadow-sm); }
.btn-maroon:hover { background: var(--maroon-dark); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--charcoal-soft); }
.btn-outline { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 225, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 146, 63, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.brand-name { display: none; font-family: var(--font-serif); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--charcoal); }
@media (min-width: 640px) { .brand-name { display: block; } }

.nav-desktop { display: none; gap: 1.75rem; }
.nav-desktop a { font-size: 0.9rem; font-weight: 500; color: var(--charcoal-soft); transition: color 0.15s ease; }
.nav-desktop a:hover { color: var(--gold-dark); }

.header-actions { display: none; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--charcoal); }
.header-phone:hover { color: var(--gold-dark); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

.menu-toggle { background: none; border: none; padding: 0.5rem; color: var(--charcoal); display: inline-flex; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: inline-flex; }

.mobile-menu { border-top: 1px solid rgba(184,146,63,0.2); background: var(--cream); }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.25rem 1.5rem; }
.mobile-menu a.btn { margin-top: 0.5rem; text-align: center; }
.mobile-menu-inner > a:not(.btn) { padding: 0.65rem 0.5rem; border-radius: 0.6rem; font-weight: 500; color: var(--charcoal); }
.mobile-menu-inner > a:not(.btn):hover { background: var(--cream-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--charcoal), rgba(36,31,26,0.7) 55%, rgba(36,31,26,0.35));
}
.hero-content { position: relative; padding: 5rem 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-light);
}
.hero-title { margin-top: 1.5rem; font-size: 2.25rem; max-width: 34rem; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.5rem; } }
.hero-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.85); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 26rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; max-width: none; } }

/* ==========================================================================
   Nosotros / About
   ========================================================================== */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-photos .photo-main { grid-column: 1 / -1; height: 15rem; border-radius: var(--radius); overflow: hidden; }
.about-photos .photo-sub { height: 9rem; border-radius: var(--radius); overflow: hidden; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .about-photos .photo-main { height: 19rem; } .about-photos .photo-sub { height: 11rem; } }

.about-text p { margin-top: 1.5rem; line-height: 1.75; color: var(--charcoal-soft); }
.highlights-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .highlights-grid { grid-template-columns: repeat(3, 1fr); } }
.highlight-card { padding: 1rem 1.1rem; border-radius: 0.85rem; background: var(--cream); border: 1px solid rgba(184,146,63,0.2); }
.highlight-card .label { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal-soft); }
.highlight-card .value { margin-top: 0.25rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--gold-dark); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-photo { position: relative; height: 13rem; overflow: hidden; background: var(--cream-dark); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.15rem; color: var(--charcoal); }
.card-body p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.65; color: var(--charcoal-soft); }
.card-bullets { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card-bullets li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--charcoal-soft); }
.card-bullets .icon { color: var(--gold-dark); margin-top: 0.15rem; }

.catalog-card { display: block; border-radius: 1.1rem; overflow: hidden; background: var(--cream); border: 1px solid rgba(184,146,63,0.15); transition: box-shadow 0.2s ease; }
.catalog-card:hover { box-shadow: var(--shadow-md); }
.catalog-card .card-photo { height: 10rem; background: var(--cream-dark); }
.catalog-card .card-body { padding: 1.1rem 1.25rem; }
.catalog-card h3 { font-size: 1rem; }
.catalog-card p { margin-top: 0.35rem; font-size: 0.85rem; color: var(--charcoal-soft); }

.service-icon-grid { margin-top: 1.5rem; }
.service-tile { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.service-tile .icon-badge {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--cream); color: var(--gold-dark);
  border: 1px solid rgba(184,146,63,0.25);
}
.service-tile span { font-size: 0.78rem; font-weight: 500; color: var(--charcoal-soft); }
.service-tile.on-white .icon-badge { background: var(--cream); }
.service-tile.on-cream .icon-badge { background: #fff; }

/* ==========================================================================
   Pre-arreglos teaser (home) + secciones oscuras
   ========================================================================== */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-photo { height: 20rem; border-radius: var(--radius); overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .split-photo { height: 24rem; } }

.benefit-row { display: flex; gap: 1rem; margin-top: 1.25rem; }
.benefit-row .badge {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
  background: rgba(184,146,63,0.15); color: var(--gold-light);
}
.benefit-row h4 { font-size: 1rem; color: #fff; font-family: var(--font-sans); font-weight: 600; }
.bg-cream .benefit-row h4, .bg-white .benefit-row h4 { color: var(--charcoal); }
.benefit-row p { margin-top: 0.3rem; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.68); }
.bg-cream .benefit-row p, .bg-white .benefit-row p { color: var(--charcoal-soft); }
.bg-cream .benefit-row .badge, .bg-white .benefit-row .badge { background: var(--cream-dark); color: var(--gold-dark); }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.form-card { background: #fff; border-radius: 1.1rem; padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-top: 1.25rem; }
.form-row .field { margin-top: 0; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.4rem; }
.field .optional { color: var(--charcoal-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.6rem;
  outline: none;
  background: #fff;
  color: var(--charcoal);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,63,0.25);
}
.form-alert {
  margin-top: 1.25rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.75rem 1rem; border-radius: 0.6rem;
  background: #fef2f2; color: #b91c1c; font-size: 0.88rem;
}
.form-alert .icon { margin-top: 0.15rem; }
.form-submit { margin-top: 1.5rem; }
.form-success { text-align: center; padding: 3rem 1.5rem; background: #fff; border-radius: 1.1rem; box-shadow: var(--shadow-sm); }
.form-success .icon-lg { width: 3rem; height: 3rem; color: var(--gold-dark); margin: 0 auto; }
.form-success h3 { margin-top: 0.75rem; }
.form-success p { margin-top: 0.6rem; color: var(--charcoal-soft); max-width: 24rem; margin-left: auto; margin-right: auto; }
.form-success button { margin-top: 1rem; background: none; border: none; color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }
.form-success button:hover { text-decoration: underline; }

.contact-info-card { background: var(--charcoal); color: #fff; border-radius: 1.1rem; padding: 1.5rem; }
.contact-info-card h3 { color: #fff; font-size: 1.1rem; }
.contact-info-card ul { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-info-card li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; }
.contact-info-card .icon { color: var(--gold-light); margin-top: 0.1rem; }
.contact-info-card a:hover { color: var(--gold-light); }

.whatsapp-cta {
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  padding: 1.1rem; border-radius: 1.1rem;
  background: #25D366; color: #fff; font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.whatsapp-cta:hover { transform: scale(1.01); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--charcoal);
  background-image: url('../images/texture-dark.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: rgba(255,255,255,0.8);
}
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; color: #fff; }
.footer-tagline { margin-top: 1rem; font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-social { margin-top: 1.25rem; display: flex; gap: 0.6rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); transition: background-color 0.15s ease, color 0.15s ease;
}
.social-btn:hover { background: var(--gold); color: var(--charcoal); }
.site-footer h3 { font-size: 1rem; color: #fff; }
.footer-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.88rem; }
.footer-list a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-contact .icon { color: var(--gold-light); margin-top: 0.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; text-align: left; } }

.whatsapp-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float .icon { width: 1.75rem; height: 1.75rem; }

/* ==========================================================================
   Página interior: hero angosto
   ========================================================================== */
.page-hero {
  position: relative;
  height: 16rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}
@media (min-width: 640px) { .page-hero { height: 18rem; } }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--charcoal), rgba(36,31,26,0.6) 60%, transparent); }
.page-hero-content { position: relative; padding-bottom: 2.25rem; }
.page-hero-content h1 { font-size: 1.9rem; color: #fff; margin-top: 0.4rem; }
@media (min-width: 640px) { .page-hero-content h1 { font-size: 2.4rem; } }

/* ---- Quick nav (catálogo) ---- */
.quick-nav {
  position: sticky; top: 5rem; z-index: 30;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184,146,63,0.15);
}
.quick-nav-inner { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.75rem 0; scrollbar-width: thin; }
.quick-nav-inner a {
  flex-shrink: 0; padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--cream); font-size: 0.78rem; font-weight: 600; color: var(--charcoal-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.quick-nav-inner a:hover { background: var(--gold); color: var(--charcoal); }

/* ---- Líneas de ataúdes ---- */
.line-section { scroll-margin-top: 6.5rem; }
.line-models { margin-top: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.line-models.single { max-width: 32rem; }
@media (min-width: 640px) { .line-models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .line-models:not(.single) { grid-template-columns: repeat(3, 1fr); } }
.model-card { border-radius: 1.1rem; overflow: hidden; background: var(--cream); border: 1px solid rgba(184,146,63,0.15); }
.model-card .card-photo { height: 12rem; }
@media (min-width: 640px) { .model-card .card-photo { height: 14rem; } }
.model-card .model-name { padding: 0.75rem 1.25rem; font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: var(--charcoal); }

.line-footer {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(184,146,63,0.15);
  display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) { .line-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.swatch { display: flex; align-items: center; gap: 0.4rem; }
.swatch-dot { width: 1rem; height: 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.swatch span { font-size: 0.75rem; font-weight: 500; color: var(--charcoal-soft); }
.line-note { max-width: 20rem; font-size: 0.72rem; line-height: 1.5; color: rgba(74,65,57,0.8); }
.swatch-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal-soft); margin-bottom: 0.5rem; }

/* ==========================================================================
   Estadísticas (pre-arreglos)
   ========================================================================== */
.stats-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 1.1rem; padding: 2rem; }
.stats-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-donut { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.donut-visual {
  width: 8rem; height: 8rem; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.donut-hole {
  width: 5.25rem; height: 5.25rem; border-radius: 999px;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.stat-donut-legend { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.stat-donut-legend .row { display: flex; align-items: center; gap: 0.5rem; }
.stat-donut-legend .dot { width: 0.65rem; height: 0.65rem; border-radius: 999px; }
.stat-bars { display: flex; flex-direction: column; gap: 0.9rem; }
.stat-bar-row { display: grid; grid-template-columns: 5rem 1fr 3rem; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.stat-bar-track { height: 0.65rem; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; }
.stat-bar-fill { height: 100%; border-radius: 999px; background: var(--gold); }
.stat-bar-fill.alt { background: #d94f70; }

/* ==========================================================================
   Utilidades
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }
.flex-center { display: flex; justify-content: center; }
.stack-sm { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .stack-sm-row { flex-direction: row; justify-content: center; } }
