/* ============================================================
   MATZA MATERIALES DE CONSTRUCCIÓN
   custom.css — CSS Central Corporativo
   Versión: 2.0
   Instrucciones: Enlazar DESPUÉS de bootstrap.min.css y ANTES de style.css
   <link href="css/custom.css" rel="stylesheet">
   ============================================================ */

/* ─────────────────────────────────────────────
   1. VARIABLES GLOBALES (sobreescriben Bootstrap 5)
───────────────────────────────────────────── */
:root {
  /* Paleta corporativa */
  --primary:           #F7901E;
  --primary-dark:      #d4720a;
  --primary-light:     #fbb040;
  --secondary:         #FCB316;
  --dark:              #231F20;
  --dark-soft:         #3a3637;
  --light:             #ffffff;
  --gray-100:          #f8f6f4;
  --gray-200:          #ede9e5;
  --gray-400:          #b0a89f;
  --gray-600:          #6b635e;

  /* Bootstrap 5 overrides */
  --bs-primary:        #F7901E;
  --bs-primary-rgb:    247, 144, 30;
  --bs-dark:           #231F20;
  --bs-dark-rgb:       35, 31, 32;
  --bs-body-color:     #231F20;
  --bs-body-bg:        #ffffff;
  --bs-border-radius:  0.5rem;
  --bs-border-radius-lg: 0.75rem;

  /* Tipografía */
  --font-display:      'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:         'DM Sans', 'Segoe UI', Arial, sans-serif;

  /* Sombras */
  --shadow-sm:         0 2px 8px rgba(35,31,32,.08);
  --shadow-md:         0 6px 24px rgba(35,31,32,.13);
  --shadow-lg:         0 12px 40px rgba(35,31,32,.18);
  --shadow-orange:     0 4px 20px rgba(247,144,30,.35);

  /* Transiciones */
  --transition:        0.35s cubic-bezier(.4,0,.2,1);

  /* Espaciados */
  --section-py:        80px;
}

/* ─────────────────────────────────────────────
   2. TIPOGRAFÍA — Google Fonts cargadas inline
   Pega esto en el <head> de cada HTML (antes de bootstrap):
   <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700;800&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
───────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.normal {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: justify;
}

/* ─────────────────────────────────────────────
   3. COLORES BOOTSTRAP — parches globales
───────────────────────────────────────────── */
.bg-primary        { background-color: var(--primary) !important; }
.text-primary      { color: var(--primary) !important; }
.border-primary    { border-color: var(--primary) !important; }

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

/* ─────────────────────────────────────────────
   4. TOPBAR — barra superior
───────────────────────────────────────────── */
.container-fluid.bg-light.p-0 {
  background-color: var(--gray-100) !important;
  border-bottom: 2px solid var(--primary);
  font-size: 13px;
}

.container-fluid.bg-light.p-0 small,
.container-fluid.bg-light.p-0 span,
.container-fluid.bg-light.p-0 a {
  color: var(--dark-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.container-fluid.bg-light.p-0 a:hover,
.container-fluid.bg-light.p-0 .link:hover {
  color: var(--primary);
  cursor: pointer;
}

/* Iconos redes sociales en topbar */
.container-fluid.bg-light.p-0 .btn-square {
  color: var(--dark-soft);
  border-color: var(--gray-200) !important;
  transition: all var(--transition);
}
.container-fluid.bg-light.p-0 .btn-square:hover {
  background-color: var(--primary);
  border-color: var(--primary) !important;
  color: #fff;
}

/* ─────────────────────────────────────────────
   5. NAVBAR — barra de navegación
───────────────────────────────────────────── */
.navbar.sticky-top {
  top: -100px;
  transition: top 0.5s ease;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform var(--transition);
}
.navbar-brand:hover .logo {
  transform: scale(1.05);
}

/* Links de nav */
.navbar .navbar-nav .nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 28px 0;
  margin-left: 22px;
  position: relative;
  transition: color var(--transition);
}

.navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Buscador en navbar */
.tbuscador {
  height: 42px;
  max-width:100%;
flex:1;
  border-radius: 8px 0 0 8px !important;
  border: 1.5px solid var(--gray-200);
  box-shadow: none;
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tbuscador:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,144,30,.15);
  outline: none;
}

.categoria {
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  font-size: 13px;
  padding: 0 10px;
  background-color: var(--gray-100);
  color: var(--dark);
  cursor: pointer;
  transition: border-color var(--transition);
}
.categoria:focus {
  border-color: var(--primary);
  outline: none;
}

.buscador-btn {
  height: 42px;
  border-radius: 0 8px 8px 0;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0 20px;
  transition: background var(--transition), box-shadow var(--transition);
}
.buscador-btn:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-orange);
}

/* Resultados de búsqueda */
.resultados {
  position: absolute;
  top: 80px;
  left: 303px;
  width: 25%;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  z-index: 9999;
  cursor: pointer;
  font-size: 14px;
}

/* Responsive navbar */
@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 12px 0;
  }
  .navbar .navbar-nav .nav-link::after { display: none; }
  .navbar .navbar-nav {
    margin-top: 20px;
    border-top: 1px solid var(--gray-200);
  }
}

/* ─────────────────────────────────────────────
   6. MOBILE HEADER STRIP
───────────────────────────────────────────── */
.page-header-mobile {
  display: none;
}

@media (max-width: 768px) {
  .page-header-mobile {
    display: block;
    height: 34px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    text-align: center;
    line-height: 34px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

/* ─────────────────────────────────────────────
   7. PAGE HEADER (páginas interiores)
───────────────────────────────────────────── */
.page-header {
  height: 110px;
  background: url(../img/nav_bar.webp) center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 1;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(35,31,32,.45);
}
.page-header * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .page-header { height: 36px; }
}

/* ─────────────────────────────────────────────
   8. CARRUSEL HERO
───────────────────────────────────────────── */
.carrusel {
  width:100%;
  height:200px;
  margin:2 auto;
  position:relative;
  overflow:hidden;
  border-radius:10px
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--dark);
  border: 12px solid var(--dark);
  border-radius: 50%;
  opacity: 0.85;
  transition: opacity var(--transition), background-color var(--transition);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary);
  border-color: var(--primary);
  opacity: 1;
}

@media (max-width: 768px) {
 /* El wrapper del carousel */
  #carouselExampleDark.carrusel {
    height: 52vw !important;   /* proporcional a la pantalla */
    min-height: 180px;
    max-height: 260px;
    overflow: hidden;
  }

  /* Las imágenes dentro del carousel */
  #carouselExampleDark .carousel-item {
    height: 52vw;
    min-height: 180px;
    max-height: 260px;
    overflow: hidden;
  }

  #carouselExampleDark .carousel-item img.carrusel {
    width: 100% !important;
    height: 100% !important;
    object-fit: strecht !important;     /* sin bandas laterales */
    object-position: center !important;
  }
}

/* ─────────────────────────────────────────────
   9. SECCIÓN ABOUT (Quiénes Somos)
───────────────────────────────────────────── */
.about {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Badge de años experiencia */
.position-absolute.bg-white {
  box-shadow: var(--shadow-md);
}
.position-absolute.bg-white .bg-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  border-radius: 4px;
}
.position-absolute.bg-white .bg-primary p {
  color: var(--dark) !important;
  text-shadow: none;
}

/* Accent border izquierdo */
.border-start.border-5.border-primary {
  border-color: var(--primary) !important;
  border-left-width: 4px !important;
}

/* Features check */
.bi-check2-circle.text-primary { color: var(--primary) !important; }

/* ─────────────────────────────────────────────
   10. SECCIÓN SERVICIOS (cards de canales)
───────────────────────────────────────────── */
.service-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--gray-200);
}
.service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-item .service-text::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity var(--transition), height var(--transition);
}
.service-item:hover .service-text::before {
  opacity: 1;
}

.anuncios {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}
.anuncios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-item:hover .anuncios img {
  transform: scale(1.04);
}

.service-text {
  padding: 24px 20px;
}
.service-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-text p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   11. SECCIÓN APPOINTMENT (cita / formulario)
───────────────────────────────────────────── */
.appointment {
  background: linear-gradient(rgba(35,31,32,.72), rgba(35,31,32,.72)),
              url(../img/carousel-12.webp) center/cover no-repeat;
  position: relative;
}

.appointment .form-control {
  border-radius: 8px;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.92) !important;
  color: var(--dark) !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.appointment .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,144,30,.2);
}

.appointment label { color: rgba(35,31,32,.7); font-size: 13px; }

/* ─────────────────────────────────────────────
   12. TESTIMONIALES
───────────────────────────────────────────── */
.indi-review {
  margin: 50px auto;
  padding: 28px 32px;
  width: 92vw;
  height: auto;
  min-height: 120px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.indi-review p {
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--dark-soft);
}

.review {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stars {
  color: var(--primary);
  font-size: 22px !important;
}

/* Owl carousel nav */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 46px;
  height: 46px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: #fff;
}

/* ─────────────────────────────────────────────
   13. FACTS OVERLAY
───────────────────────────────────────────── */
.facts-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(35,31,32,.68);
}
.facts-overlay h1 {
  font-size: clamp(60px, 8vw, 110px);
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  font-family: var(--font-display);
}
.facts-overlay a:hover { color: var(--primary) !important; }

/* ─────────────────────────────────────────────
   14. CONTACTO / MAPA
───────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact { grid-template-columns: 1fr; }
}

/* Input genérico */
.input {
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,144,30,.15);
  outline: none;
}

/* ─────────────────────────────────────────────
   15. FOOTER
───────────────────────────────────────────── */
.footer,
.container-fluid.bg-dark.footer {
  background-color: var(--dark) !important;
  color: #9e9895;
}

.footer h4.text-light { 
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #e0dbd8 !important;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer p, .footer small { 
  font-size: 14px; 
  line-height: 1.8;
  color: #9e9895;
}

.footer a { 
  color: #c0bbb8;
  text-decoration: none;
  transition: color var(--transition);
}
.footer a:hover { color: var(--primary); }

/* Redes sociales en footer */
.footer .btn-square.btn-outline-primary {
  border-color: rgba(247,144,30,.4) !important;
  color: #9e9895;
  transition: all var(--transition);
}
.footer .btn-square.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary) !important;
  color: #fff;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  text-align: left;
  color: #9e9895;
  font-weight: normal;
  text-transform: capitalize;
  transition: all var(--transition);
  text-decoration: none;
  font-size: 14px;
}
.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Newsletter en footer */
.footer .form-control {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color var(--transition);
}
.footer .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,144,30,.15);
  outline: none;
}
.footer .form-control::placeholder { color: rgba(255,255,255,.4); }

/* Copyright strip */
.footer .border-top {
  border-color: rgba(255,255,255,.08) !important;
  font-size: 13px;
}

/* ─────────────────────────────────────────────
   16. BOTÓN WHATSAPP FLOTANTE
───────────────────────────────────────────── */
.btn-whatsapp,
.whatsapp-btn {
  position: fixed;
  z-index: 10000;
  bottom: 90px;
  right: 16px;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(37,211,102,.5));
  transition: transform var(--transition), filter var(--transition);
}
.btn-whatsapp:hover,
.whatsapp-btn:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(37,211,102,.65));
}

/* Sticker "nuevo número" */
.sticker {
  position: fixed;
  bottom: 152px;
  right: 10px;
  background: red;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 7px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-orange);
  animation: pulse-sticker 2.5s ease-in-out infinite;
  z-index: 10001;
}
@keyframes pulse-sticker {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}

/* ─────────────────────────────────────────────
   17. BACK TO TOP
───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  display: none;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  z-index: 99;
  transition: background var(--transition), transform var(--transition);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────
   18. SPINNER
───────────────────────────────────────────── */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease-out, visibility 0s linear .4s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* ─────────────────────────────────────────────
   19. UTILIDADES GLOBALES
───────────────────────────────────────────── */
.bi-2x   { font-size: 2rem; }
.link    { cursor: pointer; }
.center  { display: flex; justify-content: center; align-items: center; }
.left    { display: flex; justify-content: flex-start; align-items: flex-start; }

/* Animación fade-up WOW */
.fadeup-wow {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

/* Botones cuadrados (redes sociales topbar) */
.btn-square     { width: 38px; height: 38px; }
.btn-sm-square  { width: 32px; height: 32px; }
.btn-lg-square  { width: 48px; height: 48px; }
.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 6px;
}

/* Botón general */
.btn {
  font-weight: 600;
  transition: all var(--transition);
  border-radius: 8px;
}

/* Secciones — padding uniforme */
section > .container-xxl,
section > .container-fluid {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* ─────────────────────────────────────────────
   20. CATÁLOGO DE PRODUCTOS (páginas interiores)
   Clases genéricas para la web dentro de web
───────────────────────────────────────────── */
.product-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  background: #fff;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}
.product-card:hover img {
  transform: scale(1.04);
}
.product-card .card-body {
  padding: 18px 20px;
}
.product-card .card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-card .price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

/* Buscador catálogo */
.buscador {
  margin: 1.5rem 0;
  padding: 1rem;
  text-align: center;
}

/* ─────────────────────────────────────────────
   21. TABLA DE PRECIOS / PANEL ADMIN
───────────────────────────────────────────── */
.table {
  font-size: 14px;
  border-color: var(--gray-200);
}
.table thead th {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
}
.table tbody tr:hover {
  background-color: rgba(247,144,30,.06);
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: var(--gray-100);
}

/* ─────────────────────────────────────────────
   22. DROPDOWN MENÚ USUARIO
───────────────────────────────────────────── */
.dropdown-menu {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  padding: 8px 0;
  min-width: 180px;
}
.dropdown-item {
  padding: 9px 18px;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover {
  background: rgba(247,144,30,.1);
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    opacity: 1;
  }
}

/* ─────────────────────────────────────────────
   23. BREADCRUMBS
───────────────────────────────────────────── */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--primary);
  font-weight: bold;
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb-item.active { color: var(--gray-400); }

/* ─────────────────────────────────────────────
   24. SCROLL BARS (Chrome/Edge)
───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─────────────────────────────────────────────
   25. SELECCIÓN DE TEXTO
───────────────────────────────────────────── */
::selection {
  background: var(--primary);
  color: #fff;
}

/* ── Testi-stat cards: misma altura ── */
.testi-stat-card {
  height: 100%;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.row.g-3 > [class*="col"] {
  display: flex;
}

/* ── Carrusel: imágenes stretch ── */
.carrusel {
  width: 100%;
  height: 520px;          /* ajusta la altura que quieras */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Carrusel debajo del navbar ── */
.hero-section {
  margin-top: 0;
  position: relative;
}

/* ═══ TESTIMONIALES ═══ */
.testimonials-section {
  background: var(--gray-100);
  padding: 90px 0;
  position: relative;
}

.testimonials-section .section-title { color: var(--dark); }
.testimonials-section .section-desc  { color: var(--gray-600); }

/* Tarjetas */
.testimonial-carousel .item { padding: 8px 12px 24px; }

.testimonial-item {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(35,31,32,.08);
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(35,31,32,.13);
}

/* Comilla decorativa */
.testimonial-item::before {
  content: '\201C';
  position: absolute;
  top: 12px; right: 20px;
  font-size: 64px; line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: .1;
  pointer-events: none;
}

/* Estrellas */
.testimonial-stars { display:flex; gap:3px; margin-bottom:12px; }
.testimonial-stars i { color: var(--secondary); font-size: 13px; }

/* Texto */
.testimonial-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

/* Autor */
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.testimonial-name   { font-weight: 700; font-size: 14px; color: var(--dark); margin: 0; }
.testimonial-source { font-size: 12px; color: var(--gray-500); margin: 0; }

/* Dots */
.testimonial-carousel .owl-dots {
  margin-top: 24px !important;
  text-align: center;
}
.testimonial-carousel .owl-dot span {
  width: 8px !important; height: 8px !important;
  background: var(--gray-300) !important;
  border-radius: 50% !important;
  margin: 0 4px !important;
  transition: all .3s !important;
}
.testimonial-carousel .owl-dot.active span {
  background: var(--primary) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* Botones navegación */
.testi-nav-group { display: flex; gap: 10px; }
.testi-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: #fff;
  color: var(--dark);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 2px 10px rgba(35,31,32,.08);
}
.testi-nav-btn:hover,
.testi-nav-btn--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(247,144,30,.35);
}

/* Progress bar */
.testi-progress-wrap {
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-top: 28px;
  overflow: hidden;
}
.testi-progress-bar {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width .4s ease;
}

/* Pill rating */
.testi-pill-rating {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 700;
  color: var(--gray-600);
  box-shadow: 0 2px 8px rgba(35,31,32,.06);
  white-space: nowrap;
}
.testi-pill-rating i { color: var(--secondary); font-size: 11px; }


/* Botones Owl nativos */
.testimonial-carousel .owl-nav { 
  display: flex; 
  justify-content: flex-end; 
  gap: 10px; 
  margin-top: 24px; 
}
.testimonial-carousel .owl-nav button {
  width: 44px; height: 44px;
  border-radius: 50% !important;
  border: 1.5px solid var(--gray-200) !important;
  background: #fff !important;
  color: var(--dark) !important;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(35,31,32,.08);
  transition: all .3s;
}
.testimonial-carousel .owl-nav button:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(247,144,30,.35);
}
.testimonial-carousel .owl-nav button span { display: none; }