:root {
    --primary-color: #000000;
    --primary-light: #2d2d2d;
    --accent-color: #8B4513;
    --light-color: #f8f8f8;
    --dark-color: #1a1a1a;
    --text-color: #333333;
    --gold-color: #C5A47E;
    --border-radius: 0;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Montserrat', sans-serif;
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* RESET COMPLETO */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--sans-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* CONTENEDOR PRINCIPAL */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO HEADER */
.hero-header {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Imagen de fondo */
.hero-header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Capa oscura superpuesta */
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
  z-index: 1;
}

/* Contenido del header */
.hero-header header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

/* Animación opcional */
.fade-in {
  animation: fadeIn 1.2s ease-in-out both;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 20px;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold-color);
}

h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.subtitle {
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 25px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.meta-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-wrap: wrap;
}

/* LAYOUT PRINCIPAL */
.content-wrapper {
    display: block;
    margin-bottom: 60px;
    width: 100%;
}

article {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-font);
    font-weight: 600;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    line-height: 1.3;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

p {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* COMPONENTES DE CONTENIDO */
.intro {
    font-size: 1rem;
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.6;
    width: 100%;
}

.intro::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 2.5rem;
    color: var(--gold-color);
    font-family: serif;
    opacity: 0.3;
}

.highlight-box {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    box-shadow: var(--box-shadow);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--gold-color));
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-box h3 {
    color: white;
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    max-width: 100%;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* LISTAS */
ul, ol {
    margin: 18px 0;
    padding-left: 20px;
    overflow-wrap: break-word;
}

li {
    margin-bottom: 8px;
    position: relative;
    line-height: 1.5;
}

ul li::before {
    content: '—';
    color: var(--accent-color);
    position: absolute;
    left: -15px;
    font-weight: bold;
}

/* BLOCKQUOTE */
blockquote {
    border-left: 3px solid var(--accent-color);
    padding: 20px 0 20px 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-color);
    background-color: var(--light-color);
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 2.5rem;
    color: var(--gold-color);
    font-family: serif;
    opacity: 0.3;
}

/* TABLAS RESPONSIVAS CORREGIDAS */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0; /* Eliminé el margin horizontal de 10px */
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    box-sizing: border-box; /* Añadí esto para incluir padding/border en el width */
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.60rem; /* Aumenté el tamaño de fuente para mejor legibilidad */
    min-width: 500px;
}

th, td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.85rem;
}

tr:nth-child(even) {
    background-color: var(--light-color);
}

/* MEJORA PARA MÓVILES */
@media (max-width: 480px) {
    .table-wrapper {
        margin: 20px -15px; /* Margen negativo para usar todo el ancho */
        width: calc(100% + 30px); /* Compensa el padding del contenedor */
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    
    table {
        min-width: 400px;
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 10px 8px;
    }
}
/* SIDEBAR */
aside {
    background-color: var(--light-color);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow);
    width: 100%;
}

.sidebar-widget {
    margin-bottom: 25px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.toc {
    list-style-type: none;
    padding-left: 0;
}

.toc li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.toc li:before {
    content: "";
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 8px;
    border-radius: 50%;
}

.toc a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    line-height: 1.4;
}

.toc a:hover {
    color: var(--accent-color);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 25px;
    margin-top: 60px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--gold-color);
}

.footer-links {
    list-style-type: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: white;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  background: #333;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: #c6a769;
  transform: translateY(-5px);
}
.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ELEMENTOS DECORATIVOS */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 30px 0;
    width: 100%;
}

.feature-badge {
    display: inline-block;
    background-color: var(--gold-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
/* FAQ SECTION - CORREGIDA */
.faq-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    padding: 30px 20px;
    margin: 40px auto;
    width: 100%;
    max-width: 700px;
}

.faq-section h2 {
    font-family: var(--serif-font);
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #222;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold-color);
}

.faq-question .icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Aumenté este valor */
    opacity: 1;
}

.faq-answer p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

#faq a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 500;
}

#faq a:hover {
    text-decoration: underline;
}

/* Responsive para FAQ */
@media (min-width: 768px) {
    .faq-section {
        padding: 40px 30px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 18px 0;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}
/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 80px;
    right: 10px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.wa-label {
    position: fixed;
    right: 70px;
    bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 8px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    z-index: 1001;
    white-space: nowrap;
}

/* COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    display: none;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.cookie-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cookie-content a {
    color: #0033a0;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.cookie-buttons button:first-child {
    background-color: #0033a0;
    color: #fff;
}

.cookie-buttons button:last-child {
    background-color: #e0e0e0;
    color: #333;
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* =================== RESPONSIVE =================== */

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    header {
        padding: 120px 0 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .content-wrapper {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 50px;
    }
    
    aside {
        margin-top: 0;
        position: sticky;
        top: 30px;
        height: fit-content;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    header {
        padding: 140px 0 100px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .content-wrapper {
        gap: 60px;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 80px 0 40px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .meta-info {
        flex-direction: column;
        gap: 5px;
        font-size: 0.7rem;
    }
    
    .intro, .highlight-box, .cta-box {
        padding: 20px 15px;
    }
    
    .table-wrapper {
        margin: 20px -10px;
        width: calc(100% + 20px);
    }
    
    table {
        min-width: 400px;
    }
    
    .wa-label {
        display: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Muy pequeño */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .breadcrumb {
        font-size: 0.7rem;
    }
}
/* Título */
.related-product h3{
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.15;
  color: var(--primary-600);
  font-weight: 600;
  letter-spacing: .2px;
  flex: 1 1 auto;
}

/* Botón principal (estilo genérico .btn, si ya existe adapta las variables) */
.related-product .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-width: 170px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  background: var(--primary);
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 18px rgba(123,30,58,0.12);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

/* Icono dentro del botón (si lo añades) */
.related-product .btn .icon{
  display: inline-block;
  transform: translateY(0);
  transition: transform var(--transition);
}

/* Hover / Focus states */
.related-product .btn:hover,
.related-product .btn:focus{
  background: var(--primary-600);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(123,30,58,0.14);
  outline: none;
}

/* Focus visible (accesibilidad) */
.related-product .btn:focus-visible{
  box-shadow: 0 0 0 4px rgba(123,30,58,0.12);
  border-radius: 12px;
}

/* Layout responsive: en pantallas pequeñas columna vertical */
@media (max-width: 720px){
  .related-product{
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }

  .related-product h3{
    margin-bottom: 12px;
  }

  .related-product .btn{
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
  }
}

/* Variante ligera: si quieres un botón outline en lugar de sólido */
.related-product .btn-outline{
  background: transparent;
  color: var(--primary-600);
  border: 2px solid rgba(123,30,58,0.12);
  box-shadow: none;
}
.related-product .btn-outline:hover,
.related-product .btn-outline:focus{
  background: rgba(123,30,58,0.06);
  transform: translateY(-2px);
}

/* Preferencias de reducción de movimiento */
@media (prefers-reduced-motion: reduce){
  .related-product .btn,
  .related-product .btn .icon{
    transition: none;
  }
  .related-product .btn:hover,
  .related-product .btn:focus{
    transform: none;
  }
}

/* Pequeño helper para integrar iconos FontAwesome dentro del .btn:
   <a class="btn" href="#"><i class="fa fa-shopping-bag" aria-hidden="true"></i> Ver colección</a>
*/
.related-product .btn i.fa{
  font-size: 1.05rem;
  line-height: 1;
}

/* Si usas un esquema oscuro en el sitio, aquí una variante rápida */
.dark-theme .related-product{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid rgba(255,255,255,0.04);
}
.dark-theme .related-product h3{ color: #ffdfe6; }
.dark-theme .related-product .btn{ color: #111; background: #ffd4dc; }
/* Navegación móvil inferior */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-primary);
    font-size: 0.8rem;
    gap: 5px;
  }

  .mobile-bottom-nav a i {
    font-size: 1.5rem;
  }
/* Sidebar del blog */
.blog-sidebar {
  background-color: #ffffff; /* Fondo blanco limpio */
  border-radius: 12px;       /* Esquinas redondeadas como otras secciones */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sutil sombra */
  padding: 20px;
  margin-top: 40px;
  font-family: 'Roboto', sans-serif;
}

.blog-sidebar h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #1a1a1a; /* Color de títulos consistente con la web */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar ul li {
  margin-bottom: 12px;
}

.blog-sidebar ul li a {
  text-decoration: none;
  color: #333333; /* Gris oscuro para enlaces */
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.blog-sidebar ul li a:hover {
  color: #e60023; /* Rojo MEDALLO para hover */
  transform: translateX(4px); /* Pequeña animación de movimiento */
}

.related-posts {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1024px) {
  .blog-sidebar {
    margin-top: 30px;
    padding: 15px;
  }
}

@media screen and (max-width: 768px) {
  .blog-sidebar {
    width: 100%;
    margin-top: 25px;
  }
}
/* Estilos para la sección de reseñas */
.reviews-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.rating-summary {
    text-align: center;
    margin-bottom: 40px;
}

.overall-rating .stars {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 1.2rem;
    color: #666;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    font-weight: bold;
    color: #333;
}

.review-rating .stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-body p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.9rem;
    color: #888;
    text-align: right;
}

.reviews-cta {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.reviews-cta p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}
/* Enlace de accesibilidad: oculto hasta que se usa con teclado */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 10px; /* Se muestra cuando el usuario presiona Tab */
}
/* BOTÓN VOLVER ARRIBA */
.btn-back-top {
  position: fixed;
  bottom: 130px !important;
  right: 25px;
  background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(40, 53, 147, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

.btn-back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-top:hover {
  background: linear-gradient(135deg, #3949ab 0%, #283593 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 53, 147, 0.4);
}

.btn-back-top:active {
  transform: translateY(-1px);
}

.btn-back-top i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-back-top:hover i {
  transform: translateY(-2px);
}

/* Efecto de pulso opcional */
.btn-back-top.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 53, 147, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 53, 147, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 53, 147, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .btn-back-top {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .btn-back-top i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .btn-back-top {
    bottom: 70px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}
     /* ===== BADGE RECTANGULAR SOBRIO CON ANIMACIÓN ===== */
.badge-rect {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  overflow: hidden;
  animation: pulseBadge 2s ease-in-out infinite; /* Animación añadida */
      margin: 5px;
      margin-left: 38px;
      top: 5px;
      border-radius: 5px;
}

/* Línea inferior corporativa */
.badge-rect::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #8a1538, #ffd700);
}

/* Texto superior */
.badge-top {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1px;
}

/* Marca principal */
.badge-brand {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffd700, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0;
}

/* Subtexto */
.badge-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* Animación de respiración */
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.urgency-badge {
  background: linear-gradient(45deg, #FF6B6B, #FF8E53);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.9em;
  color: #666;
}

.btn-premium {
  background: linear-gradient(45deg, #283593, #3949ab);
  border: none;
  padding: 15px 30px;
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 60, 156, 0.3);
}
/* AÑADIR al CSS existente */
.hero-header img {
  content-visibility: auto;
  contain-intrinsic-size: 1200px 1788px;
}

.highlight-box img {
  content-visibility: auto;
  contain-intrinsic-size: 400px 600px;
}