/* Hover para el logo en la navbar */
.navbar-brand img {
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
}
.navbar-brand img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  z-index: 2;
}
/* Botón de WhatsApp personalizado */
.btn-whatsapp {
  background: linear-gradient( #128c7e 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(18,140,126,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

/* Filiales: imagen pequeña a la izquierda del texto */
.filial-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
.filial-card img {
  width: 132px;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 0;
}
.filial-card h6 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
}
/* Estilos personalizados Preisa - Basado en Bootstrap 5 */
:root{
  --primary: #198754;
  --muted: #6c757d;
  --bg-soft: #f8f9fa;
}

/* Tipografías */
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: #fff;
}

/* Brand */
.brand-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}
.brand-sub {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Topbar */
.topbar a { color: #495057; }
.topbar a:hover { color: var(--primary); }

/* Navbar */
.navbar { padding: .6rem 1rem; }
.navbar .nav-link { color: rgba(255,255,255,0.92); font-weight: 600; }
.navbar .nav-link:hover { color: #fff; opacity: 0.95; text-decoration: underline; }

/* Hero */
.hero{
  min-height: 60vh;
  background:
    linear-gradient(180deg, rgba(25,135,84,0.72), rgba(25,135,84,0.72)),
    url('images/hero-funeraria.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }
  
  .hero .display-5 {
    font-size: 2.5rem;
  }
  
  .navbar .brand-title {
    font-size: 0.8rem;
  }
  
  .navbar .brand-sub {
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 40vh;
    padding: 1.5rem 1rem;
  }
  
  .hero .display-5 {
    font-size: 2rem;
  }
  
  .hero .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}
.brand-serif { font-family: 'Playfair Display', serif; color: #fff; }

/* Cards */
.card { border-radius: 12px; }
.card .icon { width: 48px; height: 48px; border-radius: 8px; display: inline-flex; align-items:center; justify-content:center; font-size:1.1rem; }

/* Acordeón custom */
.accordion-button { font-weight: 600; }
.accordion-body ul { margin: 0; padding-left: 1.05rem; }

/* Filiales */
.card img { max-height: 140px; object-fit: cover; }

/* Buttons */
.btn { border-radius: .6rem; transition: all .22s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Secciones */
section { position: relative; }

/* Footer */
footer { background: linear-gradient(135deg,#212529 0%, #343a40 100%); }

/* Responsive tweaks */
@media (max-width: 767px) {
  .hero { height: 38vh; padding: 2.5rem 1rem; }
  .navbar .nav-link { padding: .45rem .5rem; }
}

/* Accesibilidad */
a[role="button"], .btn { outline-offset: 3px; }

/* Compact utility: improve link visibility in cards */
.card a { color: var(--primary); text-decoration: none; }
.card a:hover { text-decoration: underline; color: #0f5132; }

