/* ═══════════════════════════════════════════════════
   Gimnasio Atlabordo — Dark Power Theme
   Oswald + Inter · Negro / Rojo / Gris Titanio
   ═══════════════════════════════════════════════════ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --negro: #212121;
  --rojo: #D32F2F;
  --rojo-hover: #B71C1C;
  --gris: #9E9E9E;
  --blanco: #FFFFFF;
  --fondo: #1A1A1A;
  --card: #2D2D2D;
  --card-hover: #353535;
  --borde: #3A3A3A;
  --max-w: 1120px;
  --pad: 20px;
  --radius: 6px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--fondo);
  color: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rojo); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blanco); }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --- Tipografía Oswald headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--blanco);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: .5em; }

p { margin-bottom: 1em; color: #E0E0E0; }

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: none;
  color: var(--gris);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* --- Header / Navbar (sticky, siempre hamburger) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--negro);
  border-bottom: 2px solid var(--rojo);
  padding: .65rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: .5rem; }
.logo-link img, .logo-link svg { height: 38px; width: auto; }

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1010;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Slide-in panel from right */
.nav-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--negro);
  border-left: 2px solid var(--rojo);
  z-index: 1000;
  transition: right .35s ease;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.nav-panel.open { right: 0; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-overlay.show { opacity: 1; pointer-events: auto; }

.nav-panel ul { display: flex; flex-direction: column; gap: .5rem; }

.nav-panel a {
  display: block;
  padding: .75rem 1rem;
  color: var(--blanco);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.nav-panel a:hover,
.nav-panel a.active {
  color: var(--rojo);
  border-left-color: var(--rojo);
  background: rgba(211,47,47,.08);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 40%, #2D1111 100%);
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 50%, rgba(211,47,47,.12) 0%, transparent 50%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, 5%); }
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin-bottom: .3em;
  line-height: 1.05;
}

.hero h1 .accent { color: var(--rojo); }

.hero .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--rojo);
  color: var(--blanco);
}

.btn-primary:hover {
  background: var(--rojo-hover);
  color: var(--blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211,47,47,.35);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid var(--rojo);
}

.btn-outline:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }

/* --- Sections --- */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-dark { background: var(--negro); }

.section-title-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title-bar::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--rojo), transparent);
}

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--rojo);
  box-shadow: 0 8px 30px rgba(211,47,47,.15);
}

.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.15rem; }

.card-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rojo);
  margin: .5rem 0;
}

.card-price .period {
  font-size: .85rem;
  font-weight: 400;
  color: var(--gris);
}

/* --- Grid layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

/* --- Image Placeholder (gradient) --- */
.img-placeholder {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-style: italic;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent 50%);
  border-radius: inherit;
}

.img-placeholder span { position: relative; z-index: 1; }

/* --- Catalog Filters --- */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  padding: .5rem 1.2rem;
  background: var(--card);
  color: var(--gris);
  border: 1px solid var(--borde);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rojo);
  color: var(--blanco);
  border-color: var(--rojo);
}

/* --- Search bar --- */
.search-bar {
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
}

.search-bar input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--borde);
  color: var(--blanco);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--rojo);
}

.search-bar input::placeholder { color: var(--gris); }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--borde);
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-item:hover {
  border-color: var(--rojo);
  transform: scale(1.02);
}

.gallery-item .img-placeholder { min-height: 220px; border-radius: 0; }

.gallery-caption {
  background: var(--card);
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--gris);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content .img-placeholder {
  min-height: 400px;
  border-radius: var(--radius);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--gris);
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(211,47,47,.8);
  border: none;
  color: var(--blanco);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-nav:hover { background: var(--rojo-hover); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* --- Blog --- */
.blog-card .card-body { padding: 1.5rem; }
.blog-date { font-size: .8rem; color: var(--gris); margin-bottom: .5rem; }
.blog-excerpt { color: #BDBDBD; font-size: .95rem; }

.article-header {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  text-align: center;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.article-content p { margin-bottom: 1.2em; font-size: 1.05rem; line-height: 1.8; }
.article-content h2 { margin-top: 2rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.2em; }
.article-content li { margin-bottom: .5em; color: #E0E0E0; list-style: disc; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: .4rem;
  color: var(--gris);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--borde);
  color: var(--blanco);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rojo);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-msg {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
  font-size: .9rem;
}

.form-msg.success { display: block; background: rgba(76,175,80,.15); color: #81C784; border: 1px solid rgba(76,175,80,.3); }
.form-msg.error { display: block; background: rgba(211,47,47,.15); color: #EF9A9A; border: 1px solid rgba(211,47,47,.3); }

.form-privacy-notice {
  font-size: .8rem;
  color: var(--gris);
  margin-top: .75rem;
}

/* --- Contact Info Side --- */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(211,47,47,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg { width: 20px; height: 20px; fill: var(--rojo); }

.info-text h4 {
  font-size: .9rem;
  margin-bottom: .15rem;
  text-transform: uppercase;
}

.info-text p { color: var(--gris); margin-bottom: 0; font-size: .9rem; }

/* --- Map placeholder --- */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.map-placeholder a {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- FAQ Accordion --- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--blanco);
  padding: 1rem 1.25rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--rojo); }

.faq-question .faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition);
  color: var(--rojo);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1rem;
  color: #BDBDBD;
  font-size: .95rem;
  line-height: 1.7;
}

/* --- Pricing table highlight --- */
.pricing-highlight {
  border: 2px solid var(--rojo);
  position: relative;
}

.pricing-highlight::before {
  content: 'POPULAR';
  position: absolute;
  top: 0;
  right: 1rem;
  background: var(--rojo);
  color: var(--blanco);
  font-family: 'Oswald', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .25rem .75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* --- Footer --- */
.site-footer {
  background: var(--negro);
  border-top: 2px solid var(--rojo);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: .9rem;
  margin-bottom: 1rem;
  color: var(--rojo);
}

.footer-col p, .footer-col a {
  font-size: .85rem;
  color: var(--gris);
  line-height: 1.8;
}

.footer-col a:hover { color: var(--blanco); }
.footer-col ul li { margin-bottom: .35rem; }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--borde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--rojo);
  background: rgba(211,47,47,.15);
}

.footer-social svg { width: 18px; height: 18px; fill: var(--gris); }
.footer-social a:hover svg { fill: var(--blanco); }

.footer-bottom {
  border-top: 1px solid var(--borde);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--gris);
}

.footer-bottom a { color: var(--gris); }
.footer-bottom a:hover { color: var(--rojo); }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: .75rem;
}

/* --- Floating Buttons --- */
.floating-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 800;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,.5);
}

.float-btn svg { width: 26px; height: 26px; }

.float-whatsapp { background: #25D366; }
.float-whatsapp svg { fill: #FFFFFF; }

.float-call { background: var(--rojo); }
.float-call svg { fill: #FFFFFF; }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--negro);
  border-top: 2px solid var(--rojo);
  padding: 1rem 0;
  z-index: 1100;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: .85rem;
  color: var(--gris);
}

.cookie-text a { color: var(--rojo); }

.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.cookie-actions button {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .05em;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--rojo);
  color: var(--blanco);
}

.cookie-accept:hover { background: var(--rojo-hover); }

.cookie-reject {
  background: transparent;
  color: var(--gris);
  border: 1px solid var(--borde);
}

.cookie-reject:hover { color: var(--blanco); border-color: var(--gris); }

/* --- Chatbot --- */
.chatbot-toggle {
  position: fixed;
  bottom: 8rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--rojo);
  border: none;
  border-radius: 50%;
  color: var(--blanco);
  cursor: pointer;
  z-index: 850;
  box-shadow: 0 4px 15px rgba(211,47,47,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-toggle svg { width: 26px; height: 26px; fill: currentColor; }

.chatbot-window {
  position: fixed;
  bottom: 11rem;
  right: 1.5rem;
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: 500px;
  background: var(--negro);
  border: 1px solid var(--rojo);
  border-radius: 12px;
  z-index: 860;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.chatbot-window.open { display: flex; }

.chatbot-header {
  background: var(--rojo);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header h4 {
  font-size: .9rem;
  margin: 0;
  letter-spacing: .05em;
}

.chatbot-header-actions { display: flex; gap: .5rem; }

.chatbot-header button {
  background: none;
  border: none;
  color: var(--blanco);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px;
  opacity: .8;
  transition: opacity var(--transition);
}

.chatbot-header button:hover { opacity: 1; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 250px;
}

.chat-msg {
  max-width: 85%;
  padding: .65rem 1rem;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--card);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #E0E0E0;
}

.chat-msg.user {
  background: var(--rojo);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: var(--blanco);
}

.chat-msg a { color: var(--blanco); text-decoration: underline; }
.chat-msg.bot a { color: var(--rojo); }

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 1rem .75rem;
}

.quick-reply {
  font-size: .78rem;
  padding: .35rem .75rem;
  background: var(--card);
  border: 1px solid var(--borde);
  color: var(--gris);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.quick-reply:hover {
  border-color: var(--rojo);
  color: var(--blanco);
}

.chatbot-input {
  display: flex;
  border-top: 1px solid var(--borde);
}

.chatbot-input input {
  flex: 1;
  background: var(--card);
  border: none;
  color: var(--blanco);
  padding: .85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
}

.chatbot-input input:focus { outline: none; }
.chatbot-input input::placeholder { color: var(--gris); }

.chatbot-input button {
  background: var(--rojo);
  border: none;
  color: var(--blanco);
  padding: 0 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.chatbot-input button:hover { background: var(--rojo-hover); }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #0D0D0D, #1A1A1A 60%, #2D1111);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem;
  font-size: .82rem;
  color: var(--gris);
  margin-top: .75rem;
}

.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--rojo); }
.breadcrumb .sep { margin: 0 .2rem; }

/* --- Legal pages --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.legal-content h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.1rem; color: var(--rojo); }
.legal-content p, .legal-content li { color: #BDBDBD; font-size: .95rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1em; }
.legal-content li { list-style: disc; margin-bottom: .4em; }
.legal-content a { color: var(--rojo); }

/* --- 404 --- */
.page-404 {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.page-404 .big-404 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--rojo);
  line-height: 1;
  opacity: .3;
}

/* --- Schedule Table --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.schedule-table th,
.schedule-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--borde);
  font-size: .9rem;
}

.schedule-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--rojo);
  font-size: .8rem;
  letter-spacing: .05em;
}

.schedule-table td { color: #BDBDBD; }

/* --- Nosotros --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.value-item:hover { border-color: var(--rojo); }

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(211,47,47,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 28px; height: 28px; fill: var(--rojo); }

/* --- Comparador --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: .85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--borde);
  font-size: .88rem;
}

.compare-table th {
  background: var(--negro);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rojo);
}

.compare-table td { color: #BDBDBD; }
.compare-table .check { color: var(--rojo); font-weight: 700; }
.compare-table tr:hover td { background: rgba(211,47,47,.05); }

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Cookie config link in footer --- */
.cookie-config-link {
  cursor: pointer;
  background: none;
  border: none;
  color: var(--gris);
  font-size: .8rem;
  font-family: 'Inter', sans-serif;
  padding: 0;
  text-decoration: underline;
  transition: color var(--transition);
}

.cookie-config-link:hover { color: var(--rojo); }

/* --- Responsive --- */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .floating-btns { bottom: 5.5rem; right: 1rem; }
  .chatbot-toggle { bottom: 5.5rem; right: 4.5rem; }
  .chatbot-window { bottom: 8.5rem; right: .5rem; width: calc(100vw - 1rem); }
  .cookie-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
  .hero::before { animation: none; }
}
