/* ===== Horak Fitness Gym: negro, rojo y naranja del logo ===== */
:root {
  --negro: #0b0b0b;
  --panel: #151515;
  --gris: #1c1c1c;
  --linea: #2b2b2b;
  --blanco: #f7f7f7;
  --suave: #a8a8a8;
  --rojo: #e3161d;
  --rojo-osc: #b80f15;
  --naranja: #ff5a1f;
  --degrade: linear-gradient(135deg, #ff5a1f 0%, #e3161d 55%, #8f0b10 100%);
  --radio: 12px;
  --gotica: 'UnifrakturCook', serif;
  --ancha: 'Michroma', sans-serif;
  --titulos: 'Oswald', Impact, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { background: var(--negro); color: var(--blanco); font: 400 17px/1.6 'Barlow', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--titulos); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: clamp(36px, 5.5vw, 56px); }
h2 span, h1 span { color: var(--rojo); }
.etiqueta { font-family: var(--ancha); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--naranja); margin-bottom: 12px; }
.etiqueta--clara { color: #fff; opacity: .85; }
.seccion { padding: 96px 0; }
.seccion--gris { background: var(--panel); }
.titulo { text-align: center; margin-bottom: 48px; }
.titulo p:not(.etiqueta) { color: var(--suave); margin-top: 10px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 6px; border: 2px solid transparent;
  font: 600 16px/1 var(--titulos); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }
.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 10px 24px rgba(227,22,29,.35); }
.btn--rojo:hover { background: var(--rojo-osc); }
.btn--borde { border-color: var(--blanco); color: var(--blanco); }
.btn--borde:hover { background: var(--blanco); color: var(--negro); }
.btn--borde-claro { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--borde-claro:hover { background: #fff; color: var(--rojo); }
.btn--chico { padding: 11px 18px; font-size: 14px; }

/* ===== Marca (recreación del logo) ===== */
.marca { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.marca__h {
  font-family: var(--gotica); font-size: 46px; line-height: 1; color: var(--rojo);
  -webkit-text-stroke: 1.5px #fff; paint-order: stroke fill; text-shadow: 0 2px 10px rgba(227,22,29,.5);
}
.marca__texto { font-family: var(--ancha); font-size: 13px; letter-spacing: 3px; line-height: 1.3; }
.marca__texto small { display: block; font-family: var(--titulos); font-weight: 700; font-size: 13px; letter-spacing: 4px; color: var(--naranja); }

/* ===== Encabezado ===== */
.header { position: sticky; top: 0; z-index: 20; background: rgba(11,11,11,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font: 500 15px var(--titulos); letter-spacing: 1px; text-transform: uppercase; color: var(--suave); transition: color .2s; }
.nav a:hover { color: var(--blanco); }

/* ===== Inicio ===== */
.hero {
  position: relative; overflow: hidden; min-height: min(88vh, 760px); display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(11,11,11,.96) 30%, rgba(11,11,11,.55) 70%, rgba(143,11,16,.55)),
    url(img/gen-cierre.jpg) center / cover no-repeat;
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--degrade); }
.hero__h {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: var(--gotica); font-size: clamp(260px, 42vw, 560px); line-height: 1;
  color: transparent; -webkit-text-stroke: 3px rgba(227,22,29,.55); pointer-events: none; user-select: none;
}
.hero__inner { position: relative; padding: 80px 0; }
.hero h1 { font-size: clamp(50px, 8vw, 96px); max-width: 760px; }
.hero__lema { font-family: var(--ancha); font-size: clamp(14px, 1.6vw, 18px); letter-spacing: 3px; margin-top: 18px; text-transform: uppercase; }
.hero__lema b { color: var(--naranja); font-weight: 400; }
.hero__bajada { color: #cfcfcf; font-size: 19px; max-width: 520px; margin-top: 18px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__puntos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; }
.hero__puntos li { display: flex; align-items: center; gap: 10px; font: 500 15px var(--titulos); letter-spacing: 1px; text-transform: uppercase; color: #ddd; }
.hero__puntos li::before { content: ''; width: 10px; height: 10px; transform: rotate(45deg); background: var(--rojo); }

/* ===== Servicios ===== */
.servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.servicio { position: relative; overflow: hidden; border-radius: var(--radio); background: var(--panel); border: 1px solid var(--linea); display: flex; flex-direction: column; }
.servicio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.4) contrast(1.05); transition: filter .3s, transform .5s; }
.servicio:hover img { filter: none; transform: scale(1.04); }
.servicio__texto { position: relative; padding: 22px; flex: 1; border-top: 3px solid var(--rojo); }
.servicio h3 { font-size: 24px; }
.servicio p { color: var(--suave); font-size: 15px; margin-top: 8px; }
.servicio--destacado { border-color: var(--rojo); box-shadow: 0 0 0 1px var(--rojo), 0 20px 40px rgba(227,22,29,.18); }
.servicio--destacado .servicio__texto { background: linear-gradient(180deg, rgba(227,22,29,.16), transparent); }
.servicio__trofeo { position: absolute; top: -26px; right: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--degrade); font-size: 22px; }

/* ===== Planes ===== */
.seccion--rojo { background: var(--degrade); }
.seccion--rojo .titulo h2 span { color: var(--negro); }
.seccion--rojo .titulo p:not(.etiqueta) { color: rgba(255,255,255,.85); }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radio); background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); }
.plan h3 { font-size: 24px; }
.plan__precio { font-family: var(--titulos); font-weight: 700; font-size: 52px; line-height: 1; margin: 14px 0 20px; }
.plan__precio small { font-size: 18px; font-weight: 500; opacity: .8; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: '✓'; font-weight: 700; color: #fff; }
.plan--destacado { background: var(--negro); border-color: var(--negro); box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: translateY(-10px); }
.plan--destacado li::before { color: var(--rojo); }
.plan__etiqueta { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 4px; background: #fff; color: var(--rojo); font: 700 12px/1.2 var(--titulos); letter-spacing: 1px; text-transform: uppercase; }
.planes__nota { text-align: center; margin-top: 36px; font-size: 17px; }
.planes__nota a { font-weight: 700; }

/* ===== Horarios ===== */
.horarios-caja { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.estado { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 16px 0 26px; }
.estado::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--suave); }
.estado.abierto::before { background: #2fd15a; box-shadow: 0 0 0 4px rgba(47,209,90,.25); }
.estado.cerrado::before { background: var(--rojo); }
.horarios { list-style: none; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.horarios li { display: flex; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--linea); font-size: 18px; }
.horarios li:last-child { border-bottom: 0; }
.horarios b { font-family: var(--titulos); font-weight: 600; font-size: 22px; letter-spacing: 1px; }
.horarios__cerrado { color: var(--suave); }
.horarios li.hoy { background: rgba(227,22,29,.12); box-shadow: inset 4px 0 0 var(--rojo); }
.horarios li.hoy span::after { content: 'Hoy'; margin-left: 10px; padding: 2px 8px; border-radius: 4px; background: var(--rojo); color: #fff; font: 700 12px var(--titulos); letter-spacing: 1px; text-transform: uppercase; vertical-align: 2px; }

/* ===== Ubicación ===== */
.ubicacion { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ubicacion__texto { color: var(--suave); font-size: 19px; margin-top: 8px; }
.mapa { width: 100%; height: 360px; border: 0; border-radius: var(--radio); filter: grayscale(.3); box-shadow: 0 0 0 3px var(--rojo); }

/* ===== Cierre y pie ===== */
.cierre { padding: 96px 0; text-align: center; background: radial-gradient(ellipse at center, rgba(227,22,29,.25), transparent 65%), var(--negro); }
.cierre p { color: var(--suave); margin: 14px 0 30px; }
.footer { border-top: 1px solid var(--linea); padding: 32px 0 40px; color: var(--suave); font-size: 15px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--blanco); }

.flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s;
}
.flotante:hover { transform: scale(1.08); }
.flotante svg { width: 32px; height: 32px; fill: #fff; }

/* ===== Celular ===== */
@media (max-width: 960px) {
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 28px; }
  .plan--destacado { transform: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 0; background: linear-gradient(180deg, rgba(11,11,11,.8), rgba(11,11,11,.95)), url(img/gen-cierre.jpg) center / cover no-repeat; }
  .hero__inner { padding: 56px 0 72px; }
  .hero__h { right: -40px; top: 40%; opacity: .6; }
  .horarios-caja, .ubicacion { grid-template-columns: 1fr; gap: 32px; }
  .seccion, .cierre { padding: 68px 0; }
}
@media (max-width: 560px) {
  .servicios { grid-template-columns: 1fr; }
  .header .btn--chico { padding: 10px 14px; }
  .horarios li { padding: 18px; font-size: 16px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .servicio:hover img { transform: none; }
}
