/* Directorio Funerario — estilos.css v3 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:         #1d5c8f;
  --azul-oscuro:  #0a1628;
  --azul-nav:     #060f1c;
  --rojo:         #c0392b;
  --verde:        #2d8a5e;
  --naranja:      #e07020;
  --morado:       #6c4bd8;
  --gris-fondo:   #f7f9fc;
  --gris-borde:   #e4e8ef;
  --gris-texto:   #888;
  --primary:      #1d5c8f;
  --primary-h:    #154a75;
  --dark:         #0a1628;
  --orange:       #e07020;
  --green:        #2d8a5e;
  --green-cem:    #2d8a5e;
  --flores-bg:    #fffbf0;
  --flores-border:#f0d98a;
  --text:         #374151;
  --muted:        #888;
  --border:       #e4e8ef;
  --bg-card:      #f7f9fc;
  --radius:       10px;
  --radius-btn:   6px;
  --shadow:       0 2px 8px rgba(0,0,0,0.06);
  --shadow-h:     0 6px 20px rgba(29,92,143,0.15);
  --shadow-hover: 0 6px 20px rgba(29,92,143,0.15);
  --light:        #f0f5fa;
}

body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: var(--text); background: #fff; line-height: 1.6; }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; color: var(--primary); }
h1.ficha-h1 { font-size: 22px; font-weight: 600; line-height: 1.2; }
h2.seccion-h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-h); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.site-nav {
  background: #fff; border-bottom: 1px solid #e8ecf0; height: 66px;
  display: flex; align-items: center; padding: 0;
  position: sticky; top: 0; z-index: 200;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 38px; height: 38px; background: var(--azul); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-text { font-family: Georgia, serif; font-size: 20px; line-height: 1; }
.nav-logo-text .p1 { color: var(--azul-oscuro); }
.nav-logo-text .p2 { color: var(--azul); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #444; font-size: 14px; font-family: Arial, sans-serif; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--azul); }
.nav-urgente { background: var(--rojo); color: #fff !important; font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.nav-urgente:hover { background: #a93226; text-decoration: none; }
/* legacy compat */
.site-header { background: var(--azul-oscuro); height: 56px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: Georgia, serif; font-size: 1.2rem; font-weight: bold; color: #fff !important; }
.main-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: rgba(255,255,255,.88); font-size: .9rem; transition: color .15s; }
.main-nav a:hover { color: #fff; text-decoration: none; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 8px 0; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--muted); }

/* ── HERO FICHA ── */
.hero { background: var(--light); border-bottom: 3px solid var(--primary); padding: 28px 0 20px; }
.hero h1 { margin-bottom: 8px; }
.ficha-header { padding: 16px 24px; max-width: 1100px; margin: 0 auto; }
.hero .meta { color: var(--muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.estrellas { color: #e6a800; font-size: 1rem; letter-spacing: 1px; }
.resenas { font-size: .85rem; color: var(--muted); }
.foto-ficha { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); }

/* ── FLORES MÓDULO FUNERARIA ── */
.flores-module-fur {
  background: var(--flores-bg); border: 1px solid var(--flores-border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 20px;
}
.flores-module-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.flores-module-icon { font-size: 1.4rem; flex-shrink: 0; }
.flores-module-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.flores-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.flores-product-card { background: #fff; border: 1px solid var(--flores-border); border-radius: var(--radius-btn); padding: 10px; text-align: center; }
.fp-name { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.fp-price { display: block; font-size: 20px; font-weight: 700; color: var(--azul); white-space: nowrap; }
.btn-flores-primary {
  display: block; width: 100%; text-align: center; background: var(--azul); color: #fff !important;
  padding: 10px 18px; border-radius: var(--radius-btn); font-size: 13px; font-weight: 600;
  margin-bottom: 8px; transition: background .15s; text-decoration: none; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.btn-flores-primary:hover { background: var(--primary-h); text-decoration: none; }
.btn-flores-whatsapp {
  display: flex; width: 100%; text-align: center; background: #fff; border: 1px solid var(--gris-borde);
  color: var(--azul) !important; padding: 8px 14px; border-radius: var(--radius-btn); font-size: 12px;
  margin-bottom: 8px; align-items: center; justify-content: center; min-height: 44px; text-decoration: none;
}
.flores-nota { font-size: 11px; color: var(--muted); }

/* ── FLORES MÓDULO TANATORIO (azul prominente) ── */
.flores-tanatorio-module {
  background: var(--azul); color: #fff; padding: 28px 0; margin-bottom: 8px; border-radius: 0;
}
.flores-tanatorio-module h2 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.ftm-sub { color: rgba(255,255,255,.88); margin-bottom: 16px; font-size: .9rem; }
.ftm-product {
  background: rgba(255,255,255,.1); border-radius: var(--radius-btn);
  padding: 14px 16px; text-align: center; border: 1px solid rgba(255,255,255,.2);
}
.btn-ftm-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--azul) !important;
  padding: 12px 24px; border-radius: var(--radius-btn); font-weight: 700;
  margin-right: 8px; margin-bottom: 8px; transition: all .15s; min-height: 44px;
  text-decoration: none;
}
.btn-ftm-primary:hover { background: #f0f5fa; text-decoration: none; }
.btn-ftm-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4); color: #fff !important;
  padding: 10px 18px; border-radius: var(--radius-btn); font-size: 12px; margin-bottom: 8px;
  min-height: 44px; text-decoration: none; transition: border-color .15s;
}
.btn-ftm-whatsapp:hover { border-color: rgba(255,255,255,.7); text-decoration: none; }
.ftm-nota { font-size: 11px; opacity: .7; margin-top: 10px; }

/* ── FLORES MÓDULO CEMENTERIO ── */
.flores-module-cem {
  background: #f7f9fc; border: 1px solid var(--gris-borde); border-radius: var(--radius);
  padding: 16px; margin-bottom: 20px;
}
.flores-products-cem { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.fpc-card { background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radius-btn); padding: 10px; text-align: center; }
.btn-cem-primary {
  display: flex; width: 100%; text-align: center; background: var(--verde); color: #fff !important;
  padding: 10px 18px; border-radius: var(--radius-btn); font-size: 13px; font-weight: 600;
  transition: background .15s; align-items: center; justify-content: center; min-height: 44px;
  text-decoration: none;
}
.btn-cem-primary:hover { background: #237a50; text-decoration: none; }

/* ── FLORES BANNER HOME ── */
.flores-banner {
  background: var(--flores-bg); border: 1px solid var(--flores-border); border-radius: var(--radius);
  padding: 16px 20px; margin: 24px 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .9rem;
}
.flores-banner .flores-icon { font-size: 1.4rem; flex-shrink: 0; }
.flores-banner .flores-texto { flex: 1; min-width: 200px; }
.flores-banner .flores-cta {
  background: var(--azul); color: #fff !important;
  padding: 9px 18px; border-radius: var(--radius-btn);
  font-weight: bold; white-space: nowrap; font-size: .85rem;
  transition: background .15s; text-decoration: none; display: inline-flex;
  align-items: center; min-height: 44px;
}
.flores-banner .flores-cta:hover { background: var(--primary-h); text-decoration: none; }

/* ── PRECIOS ── */
.precios-bloque { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.precio-item {
  background: #f8fafc; border-radius: var(--radius);
  padding: 14px 18px; flex: 1; min-width: 150px;
  font-size: .9rem; border: 1px solid var(--gris-borde);
}
.precio-item strong { color: var(--azul); font-size: 1.15rem; display: block; margin-top: 4px; }
.precio-item .precio-fecha { font-size: 11px; color: var(--muted); margin-top: 4px; }
.consultar { color: var(--muted); font-style: italic; }

/* ── CONTACTO ── */
.contacto-bloque { margin: 8px 0 20px; }
.telefono-grande {
  font-family: Georgia, serif; font-size: 1.5rem;
  color: var(--azul); font-weight: bold;
  display: block; margin-bottom: 8px;
}
.contacto-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius-btn);
  font-size: 13px; font-weight: 600; transition: all .15s; cursor: pointer;
  min-height: 44px; text-decoration: none;
}
.btn-primary { background: var(--azul); color: #fff !important; }
.btn-primary:hover { background: var(--primary-h); text-decoration: none; }
.btn-outline { border: 1px solid var(--azul); color: var(--azul) !important; background: transparent; }
.btn-outline:hover { background: var(--light); text-decoration: none; }
.btn-report { border: 1px solid var(--gris-borde); color: var(--muted) !important; font-size: .82rem; padding: 7px 14px; border-radius: 4px; display: inline-flex; align-items: center; margin-top: 16px; text-decoration: none; min-height: 36px; }
.btn-report:hover { border-color: #999; text-decoration: none; }

/* ── SERVICIOS / BADGES ── */
.servicios-grid { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.badge-si { background: #e8f5ee; color: #2d8a5e; border: 1px solid #b3d9c5; }
.badge-no { background: #f0f0f0; color: #888; border: 1px solid #e0e0e0; text-decoration: line-through; }

/* ── MAPA ── */
.map-container { height: 200px; width: 100%; border-radius: var(--radius); overflow: hidden; margin: 12px 0; box-shadow: var(--shadow); border: 1px solid var(--gris-borde); z-index: 1; }
#mapa { height: 200px; width: 100%; border-radius: var(--radius); overflow: hidden; z-index: 1; }

/* ── SECCIONES ── */
.seccion { padding: 24px 0; border-top: 1px solid var(--gris-borde); }
.seccion h2 { margin-bottom: 14px; }
.ficha-body { padding: 0 0 40px; }

/* ── FAQ ── */
.faq-lista { margin: 8px 0; }
.faq-item { border: 1px solid var(--gris-borde); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-pregunta {
  background: none; border: none; width: 100%; text-align: left;
  padding: 14px 18px; font-size: .95rem; font-weight: 600;
  font-family: Georgia, serif; color: var(--azul-oscuro); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .15s;
}
.faq-pregunta:hover { background: var(--gris-fondo); }
.faq-ico { font-size: 1.3rem; font-weight: 300; transition: transform .25s; flex-shrink: 0; }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 18px; }
.faq-item.open .faq-respuesta { max-height: 600px; padding: 4px 18px 16px; }
.faq-item.open .faq-ico { transform: rotate(45deg); }

/* ── RELACIONADOS ── */
.relacionados-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.card-relacionado { border: 1px solid var(--gris-borde); border-radius: var(--radius); padding: 14px; transition: background .15s; }
.card-relacionado:hover { background: var(--gris-fondo); }
.card-relacionado h4 { font-size: .9rem; margin-bottom: 4px; }
.card-relacionado .card-meta { font-size: .82rem; color: var(--muted); }

/* ── LISTADO CARDS ── */
.listado-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding: 20px 0; }
.card { border: 1px solid var(--gris-borde); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: block; color: var(--text) !important; }
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); text-decoration: none; }
.card-img { width: 100%; height: 160px; object-fit: cover; display: block; background: var(--gris-fondo); }
.card-img-placeholder { width: 100%; height: 160px; background: var(--gris-fondo); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.card-body { padding: 14px; }
.card-body h3 { font-size: 1rem; margin-bottom: 4px; color: var(--azul-oscuro); }
.card-body .card-meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.card-body .card-precio { font-size: .88rem; color: var(--azul); font-weight: bold; }

/* ── HERO PÁGINA ── */
.hero-page {
  background: var(--azul-oscuro);
  color: #fff; padding: 56px 0 44px; text-align: center;
}
.hero-page h1 { color: #fff; margin-bottom: 12px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.hero-page p { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 620px; margin: 0 auto; }
.hero-stats { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero-stat strong { font-size: 1.4rem; font-family: Georgia, serif; display: block; }
.hero-stat span { font-size: .82rem; opacity: .75; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--azul); padding: 18px 48px; display: flex;
  justify-content: center; gap: 0;
}
.stats-bar-item {
  flex: 1; text-align: center; color: #fff; padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item strong { font-family: Georgia, serif; font-size: 1.4rem; display: block; }
.stats-bar-item span { font-size: 11px; opacity: .82; }

/* ── HOME HERO ── */
.home-hero { background: #f0f5fa; padding: 56px 48px; display: flex; gap: 48px; align-items: flex-start; }
.home-hero-left { width: 460px; flex-shrink: 0; }
.home-hero-right { flex: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px; background: #e6f1fb;
  color: var(--azul); font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: 20px; margin-bottom: 16px;
}
.hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--azul);
  animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.home-h1 { font-family: Georgia, serif; font-size: 36px; color: var(--azul-oscuro); line-height: 1.2;
  margin-bottom: 10px; font-weight: 700; white-space: normal; }
.home-h1 .h1-blue { color: var(--azul); }
.home-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.5; }
.home-search-bar {
  height: 52px; border: 2px solid var(--azul); border-radius: 10px; overflow: hidden;
  display: flex; box-shadow: 0 2px 12px rgba(29,92,143,0.12);
}
.home-search-bar input {
  flex: 1; border: none; outline: none; padding: 0 14px; font-size: 14px; min-width: 0;
}
.home-search-bar input::placeholder { color: #bbb; }
.home-search-divider { width: 1px; background: var(--gris-borde); margin: 10px 0; }
.home-search-bar .search-btn {
  background: var(--azul); color: #fff; border: none; padding: 0 26px;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .15s; font-family: Arial, sans-serif;
}
.home-search-bar .search-btn:hover { background: var(--primary-h); }
.hero-trust-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hero-stat-card {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px;
  padding: 12px 16px;
}
.hero-stat-card .sc-num { font-family: Georgia, serif; font-size: 17px; font-weight: 700; color: var(--azul-oscuro); }
.hero-stat-card .sc-label { font-size: 11px; color: var(--muted); }
.hero-searches { background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 14px 16px; }
.hero-searches-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.hero-search-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f3f4f6; }
.hero-search-item:last-child { border-bottom: none; }
.hero-search-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--azul); margin-right: 8px; flex-shrink: 0; }
.hero-search-name { font-size: 13px; color: #333; flex: 1; }
.badge-pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.badge-azul { background: #e6f1fb; color: var(--azul); }
.badge-verde { background: #eaf4ef; color: var(--verde); }

/* ── QUÉ NECESITAS ── */
.que-necesitas { background: #fff; padding: 60px 48px; }
.que-necesitas h2 { text-align: center; font-size: 22px; margin-bottom: 32px; color: var(--azul-oscuro); }
.necesitas-grid {
  border: 1px solid var(--gris-borde); border-radius: 12px; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 0 auto;
}
.necesitas-col {
  padding: 28px 22px; border-right: 1px solid var(--gris-borde);
  transition: background .15s; cursor: pointer; position: relative;
}
.necesitas-col:last-child { border-right: none; }
.necesitas-col:hover { background: #f7fafd; }
.necesitas-icon-wrap { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.necesitas-col h3 { font-family: Georgia, serif; font-size: 15px; color: var(--azul-oscuro); margin-bottom: 6px; }
.necesitas-col p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.necesitas-link { font-size: 12px; font-weight: 600; text-decoration: none; opacity: 0; transition: opacity .15s; }
.necesitas-col:hover .necesitas-link { opacity: 1; }

/* ── MÓDULOS CONTENIDO ── */
.modulos { background: var(--gris-fondo); padding: 60px 48px; }
.modulos h2 { text-align: center; font-size: 22px; margin-bottom: 32px; color: var(--azul-oscuro); }
.modulos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.modulo-card {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 12px; overflow: hidden;
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.modulo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.modulo-bar { height: 4px; }
.modulo-body { padding: 22px 20px 18px; }
.modulo-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.modulo-card h3 { font-family: Georgia, serif; font-size: 15px; color: var(--azul-oscuro); margin-bottom: 8px; line-height: 1.3; }
.modulo-card p { font-size: 12px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.modulo-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--gris-borde); padding: 12px 20px; font-size: 11px; }
.modulo-count { color: var(--muted); }
.modulo-link { font-weight: 700; text-decoration: none; font-size: 12px; }

/* ── CÓMO FUNCIONA ── */
.como-funciona { background: #fff; padding: 60px 48px; }
.como-funciona-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 960px; margin: 0 auto; }
.cf-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--azul); margin-bottom: 10px; }
.como-funciona h2 { font-family: Georgia, serif; font-size: 26px; color: var(--azul-oscuro); margin-bottom: 10px; }
.como-funciona .cf-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.paso { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.paso-num { width: 30px; height: 30px; border-radius: 50%; background: var(--azul); color: #fff; font-family: Georgia, serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.paso h4 { font-family: Georgia, serif; font-size: 14px; color: var(--azul-oscuro); margin-bottom: 4px; }
.paso p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cf-mockup { background: #f8fafc; border: 1px solid var(--gris-borde); border-radius: 12px; overflow: hidden; }
.cfm-header { background: var(--azul-oscuro); color: #fff; padding: 12px 16px; font-size: 13px; font-weight: 600; }
.cfm-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--gris-borde); }
.cfm-row:last-child { border-bottom: none; }
.cfm-num { width: 28px; height: 28px; border-radius: 50%; background: #e6f1fb; color: var(--azul); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfm-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--azul-oscuro); }
.cfm-meta { font-size: 11px; color: var(--muted); }
.cfm-price { font-family: Georgia, serif; font-size: 14px; font-weight: 700; color: var(--azul); }

/* ── FLORES HOME ── */
.flores-home { background: var(--azul-oscuro); padding: 60px 48px; }
.flores-home-inner { max-width: 860px; margin: 0 auto; }
.flores-home h2 { font-family: Georgia, serif; font-size: 26px; color: #fff; text-align: center; margin-bottom: 8px; }
.flores-home .fh-sub { text-align: center; color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 28px; }
.flores-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.fh-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 18px 14px; text-align: center;
}
.fh-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.fh-name { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.fh-desc { font-size: 11px; color: rgba(255,255,255,.65); margin-bottom: 10px; line-height: 1.4; }
.fh-price { font-family: Georgia, serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; display: block; }
.fh-btn {
  display: block; background: var(--azul); color: #fff !important; text-decoration: none;
  padding: 8px 12px; border-radius: 6px; font-size: 12px; font-weight: 600;
  transition: background .15s; min-height: 36px; display: flex; align-items: center; justify-content: center;
}
.fh-btn:hover { background: var(--primary-h); text-decoration: none; }
.flores-garantias {
  background: rgba(29,92,143,0.25); border: 1px solid rgba(77,166,232,0.15); border-radius: 10px;
  padding: 14px 20px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,.85);
}

/* ── PROVINCIAS ── */
.provincias-section { background: var(--gris-fondo); padding: 60px 48px; }
.provincias-section h2 { text-align: center; font-size: 20px; margin-bottom: 24px; color: var(--azul-oscuro); }
.provincias-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(114px, 1fr)); gap: 8px; }
.provincia-link {
  background: #fff; border: 1.5px solid var(--gris-borde); border-radius: 9px;
  padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 600;
  display: block; color: var(--azul-oscuro) !important; text-decoration: none;
  transition: all .15s;
}
.provincia-link:hover {
  background: var(--azul); color: #fff !important; border-color: var(--azul);
  box-shadow: 0 4px 12px rgba(29,92,143,0.25); transform: translateY(-1px); text-decoration: none;
}

/* ── CTA FINAL ── */
.cta-final { background: var(--azul); padding: 48px; text-align: center; }
.cta-final h2 { font-family: Georgia, serif; font-size: 24px; color: #fff; margin-bottom: 10px; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 20px; }
.cta-search { display: inline-flex; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.25); max-width: 500px; width: 100%; }
.cta-search input { flex: 1; border: none; padding: 14px 16px; font-size: 14px; outline: none; min-width: 0; }
.cta-search button { background: var(--azul-oscuro); color: #fff; border: none; padding: 14px 22px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s; }
.cta-search button:hover { background: #060f1c; }
.cta-rgpd { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 12px; }
.cta-rgpd a { color: rgba(255,255,255,.7); text-decoration: underline; }

/* ── HOME: SEARCH (legacy) ── */
.hero-search { display: flex; gap: 0; max-width: 520px; margin: 28px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.hero-search input { flex: 1; padding: 15px 18px; border: none; font-size: 1rem; outline: none; }
.hero-search button { padding: 15px 22px; background: var(--azul); color: #fff; border: none; cursor: pointer; font-size: .95rem; font-weight: bold; transition: background .2s; }
.hero-search button:hover { background: var(--primary-h); }

/* ── HOME: FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 36px 0; }
.feature-card { border: 1px solid var(--gris-borde); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; display: block; color: var(--text) !important; }
.feature-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); text-decoration: none; }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: .85rem; color: var(--muted); }

/* ── HOME: CONSEJOS ── */
.consejos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 20px 0; }
.consejo-card { border: 1px solid var(--gris-borde); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s; }
.consejo-card:hover { box-shadow: var(--shadow-h); }
.consejo-card h3 { font-size: 1rem; margin-bottom: 8px; }
.consejo-card p { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }

/* ── URGENTE ── */
.urgente-box { background: #fff3f3; border: 2px solid var(--rojo); border-radius: var(--radius); padding: 28px; margin: 24px 0; text-align: center; }
.urgente-box h2 { color: var(--rojo); margin-bottom: 8px; }

/* ── PROVINCIAS LIST ── */
.provincias-list { columns: 2; column-gap: 24px; padding: 20px 0; }
@media (min-width: 640px) { .provincias-list { columns: 3; } }
@media (min-width: 900px) { .provincias-list { columns: 4; } }
.provincias-list li { list-style: none; margin-bottom: 9px; }

/* ── TABLA PRECIOS ── */
.precios-tabla { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.precios-tabla th { background: var(--azul); color: #fff; padding: 13px 16px; text-align: left; font-family: Georgia, serif; }
.precios-tabla td { padding: 12px 16px; border-bottom: 1px solid var(--gris-borde); }
.precios-tabla tr:last-child td { border-bottom: none; }
.precios-tabla tr:hover td { background: var(--gris-fondo); }
.precio-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── GLOSARIO ── */
.glosario-lista { margin: 20px 0; }
.glosario-term { border-bottom: 1px solid var(--gris-borde); padding: 16px 0; }
.glosario-term dt { font-weight: bold; color: var(--azul); font-family: Georgia, serif; font-size: 1.05rem; margin-bottom: 4px; }
.glosario-term dd { color: #444; font-size: .95rem; }

/* ── TRAMITES ── */
.tramites-lista { counter-reset: tramite; margin: 20px 0; }
.tramite-item { border: 1px solid var(--gris-borde); border-radius: var(--radius); padding: 18px 18px 18px 70px; margin-bottom: 14px; position: relative; }
.tramite-item::before { counter-increment: tramite; content: counter(tramite); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: var(--azul); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-weight: bold; font-size: 1rem; }
.tramite-item h3 { font-size: 1rem; margin-bottom: 4px; }
.tramite-item p { font-size: .88rem; color: var(--muted); }

/* ── FOOTER ── */
.site-footer { background: var(--azul-nav); color: rgba(255,255,255,.6); padding: 24px 48px; font-size: 12px; margin-top: 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: Georgia, serif; font-size: 16px; margin-bottom: 4px; }
.footer-logo .p1 { color: #fff; }
.footer-logo .p2 { color: #5bb8f5; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .15s; font-size: 14px; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { color: rgba(255,255,255,.3); font-size: 13px; margin-top: 4px; }

/* ── SECCIÓN TÍTULO ── */
.section-title { font-size: clamp(1.1rem, 2.5vw, 1.3rem); margin: 32px 0 8px; color: var(--azul-oscuro); }
.section-subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }

/* ── ESTADO APERTURA ── */
.estado-abierto { background: #eaf3de; border: 1px solid #97c459; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.estado-cerrado { background: #fdecea; border: 1px solid #e87474; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.punto-verde { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); display: inline-block; margin-right: 5px; vertical-align: middle; }
.punto-rojo  { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); display: inline-block; margin-right: 5px; vertical-align: middle; }

/* ── ESTRELLAS ── */
.estrellas { color: #e6a800; font-size: 1rem; letter-spacing: 1px; }

/* ── VALORACIÓN FICHA ── */
.valoracion-ficha { display: flex; align-items: center; gap: 6px; margin: 6px 0 12px; font-size: 14px; }
.val-num { font-weight: 700; color: #0a1628; }
.val-resenas { color: #888; font-size: 13px; }

/* ── BANNER RGPD ── */
.rgpd-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--azul-oscuro); border-top: 2px solid var(--azul);
  padding: 16px 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.rgpd-text { flex: 1; min-width: 200px; font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.5; }
.rgpd-text a { color: rgba(255,255,255,.9); text-decoration: underline; }
.rgpd-btns { display: flex; gap: 10px; flex-shrink: 0; }
.rgpd-btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff !important; background: transparent;
  padding: 8px 16px; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.rgpd-btn-accept { background: var(--azul); color: #fff !important; border: none;
  padding: 8px 16px; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.rgpd-close { background: transparent; border: none; color: rgba(255,255,255,.5); cursor: pointer; font-size: 18px; padding: 4px; }

/* ── QUICK GRID ── */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }

/* ── BOTONES TÁCTIL ── */
.btn-llamar { width: 100%; padding: 14px; font-size: 15px; }
.sidebar-phone-num { font-size: 18px; font-weight: 700; white-space: nowrap; }

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 16px; height: 58px; }
  .home-hero { flex-direction: column; padding: 32px 16px; gap: 24px; }
  .home-hero-left { width: 100%; }
  .home-h1 { font-size: 26px; }
  .que-necesitas { padding: 40px 16px; }
  .necesitas-grid { grid-template-columns: 1fr 1fr; }
  .modulos { padding: 40px 16px; }
  .modulos-grid { grid-template-columns: 1fr; }
  .como-funciona { padding: 40px 16px; }
  .como-funciona-inner { grid-template-columns: 1fr; gap: 28px; }
  .flores-home { padding: 40px 16px; }
  .flores-home-grid { grid-template-columns: 1fr 1fr; }
  .provincias-section { padding: 40px 16px; }
  .stats-bar { padding: 14px 16px; gap: 0; }
  .cta-final { padding: 36px 16px; }
  .ficha-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .flores-products { grid-template-columns: 1fr; }
  .foto-ficha { height: 160px; }
  .precios-bloque { flex-direction: column; }
  .map-container, #mapa { height: 180px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .precio-table-wrapper { overflow-x: auto; }
  .flores-tanatorio-module .flores-products { grid-template-columns: 1fr; }
  .flores-products-cem { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .rgpd-banner { padding: 14px 16px; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
  .precios-bloque { flex-direction: column; }
  .hero-search { flex-direction: column; }
  .hero-search button { width: 100%; padding: 12px; }
  .necesitas-grid { grid-template-columns: 1fr; }
  .flores-home-grid { grid-template-columns: 1fr; }
  .provincias-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { flex-direction: column; gap: 8px; }
  .stats-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px 0; }
  .stats-bar-item:last-child { border-bottom: none; }
  .rgpd-btns { width: 100%; justify-content: flex-end; }
}

