/*
Theme Name: UPAM - Union Provincial Asociacion Mutual
Description: Tema a medida para el sitio institucional de Union Provincial Asociacion Mutual.
Version: 1.0.0
Author: UPAM
Text Domain: upam
*/

/* ==========================================================================
   UPAM — Unión Provincial Asociación Mutual
   Vanguardia clara: tipografía monumental + gradiente reactivo en tonos suaves
   Paleta de marca: celeste #29abe2 · naranja #f7931e · azul #03466e
   ========================================================================== */

:root {
  --bg:       #f7fafc;
  --panel:    #ffffff;
  --ink:      #0e2a3e;
  --mute:     #51677a;
  --faint:    #8499ab;
  --blue:     #29abe2;
  --navy:     #03466e;
  --navy-2:   #065a8c;
  --orange:   #f7931e;
  --orange-2: #e07f0d;
  --line:     rgba(14, 42, 62, 0.12);
  --shadow-md: 0 12px 32px -12px rgba(3, 70, 110, 0.18);
  --shadow-lg: 0 26px 56px -18px rgba(3, 70, 110, 0.26);
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --mx: 70%;
  --my: 25%;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(41, 171, 226, 0.3); }

h1, h2, h3, h4 { font-family: var(--font-display); }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* Reveal (defensivo con data-split) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ==========================================================================
   Gradiente reactivo al mouse — tonos pastel sobre claro
   ========================================================================== */
.mouse-gradient {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle 620px at var(--mx) var(--my),
      rgba(41, 171, 226, 0.2) 0%, transparent 55%),
    radial-gradient(circle 880px at calc(var(--mx) + 16%) calc(var(--my) + 24%),
      rgba(247, 147, 30, 0.12) 0%, transparent 55%),
    radial-gradient(circle 700px at calc(var(--mx) - 20%) calc(var(--my) - 12%),
      rgba(3, 70, 110, 0.08) 0%, transparent 60%),
    var(--bg);
  filter: blur(46px) saturate(120%);
}

/* ==========================================================================
   Navegación
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo-full { height: 84px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--mute);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-club {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  color: #fff;
  background: var(--orange);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-club:hover { background: var(--orange-2); transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(247, 147, 30, 0.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 920px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 4vw 18px;
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 13px 10px; border-bottom: 1px solid rgba(14, 42, 62, 0.06); }
  .nav-toggle { display: flex; }
  .brand .logo-full { height: 58px; }
  .btn-club { padding: 9px 16px; font-size: 0.82rem; }
}

/* ==========================================================================
   Hero — carrusel de publicidades
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 100px;
}
.carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 680px);
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
  z-index: 1;
}
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }

/* fondo con zoom sutil (Ken Burns) */
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 42%;
  transform: scale(1);
}
.slide.is-active .slide-bg { animation: kenBurns 9s ease-out forwards; }
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
/* Placa con fondo fotográfico difuminado + foto completa en tarjeta */
.slide-blur {
  position: absolute; inset: -50px;
  background-size: cover;
  background-position: center 30%;
  filter: blur(36px) brightness(0.45) saturate(1.15);
}
.slide-split::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(3, 38, 60, 0.72) 0%, rgba(3, 38, 60, 0.42) 50%, rgba(3, 38, 60, 0.15) 100%);
}
.slide-photo {
  position: absolute; top: 7%; bottom: 7%; right: 5%;
  width: 30%;
  background-size: cover;
  background-position: center top;
  border-radius: 16px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.slide-split .slide-content { position: relative; max-width: 56%; z-index: 3; }
@media (max-width: 880px) {
  .slide-photo { display: none; }
  .slide-split .slide-content { max-width: 100%; }
}

.slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(3, 38, 60, 0.88) 0%, rgba(3, 38, 60, 0.62) 48%, rgba(3, 38, 60, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 38, 60, 0.45) 0%, transparent 30%);
}
.slide-content {
  position: relative;
  max-width: 100%;
  padding-top: 30px;
  padding-bottom: 90px;
}
.slide-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #9fd7f3;
  border: 1px solid rgba(159, 215, 243, 0.4);
  border-radius: 99px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.sk-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}
.slide-title em { font-style: italic; color: #ffb95c; }
.slide-sub {
  margin-top: 18px;
  max-width: 54ch;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  color: #d9e9f4;
}
.slide-sub b { color: #fff; font-weight: 600; }
.slide-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

.btn-orange {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  color: #fff;
  background: var(--orange);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-orange:hover { background: var(--orange-2); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(247, 147, 30, 0.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* entrada escalonada del contenido al activar la placa */
.slide-kicker, .slide-title, .slide-sub, .slide-ctas, .brand-strip, .brand-fine {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.slide.is-active .slide-kicker { opacity: 1; transform: none; transition-delay: 0.15s; }
.slide.is-active .slide-title  { opacity: 1; transform: none; transition-delay: 0.25s; }
.slide.is-active .slide-sub    { opacity: 1; transform: none; transition-delay: 0.35s; }
.slide.is-active .brand-strip  { opacity: 1; transform: none; transition-delay: 0.45s; }
.slide.is-active .brand-fine   { opacity: 1; transform: none; transition-delay: 0.5s; }
.slide.is-active .slide-ctas   { opacity: 1; transform: none; transition-delay: 0.55s; }

/* Logo del Club como título de su placa */
.slide-logo-title { line-height: 1; }
.slide-club-logo {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  margin: 0;
  box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.35);
}
.slide-club-logo img { height: 76px; width: auto; display: block; }
@media (max-width: 880px) { .slide-club-logo img { height: 56px; } }

/* Logos de marcas (slide club) */
.brand-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.brand-strip span {
  display: grid; place-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 9px 15px;
}
.brand-strip img { height: 26px; width: auto; max-width: 100px; object-fit: contain; }
.brand-fine { margin-top: 12px; font-size: 0.72rem; color: rgba(217, 233, 244, 0.7); max-width: 62ch; }

/* Controles */
.car-controls {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: min(1240px, 92vw);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 5;
}
.car-dots { display: flex; gap: 8px; }
.car-dots button {
  width: 28px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.car-dots button.is-active { background: var(--orange); width: 44px; }
.car-arrows { display: flex; gap: 10px; }
.car-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(3, 38, 60, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1rem;
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.car-arrow:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

@media (max-width: 880px) {
  .carousel { min-height: 560px; }
  .slide-content { padding-bottom: 100px; }
  .brand-strip img { height: 20px; max-width: 80px; }
  .car-arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide-bg { animation: none; }
}

.hero .eyebrow {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 26px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--blue); }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  margin-top: 46px;
}
.hero-sub { max-width: 48ch; color: var(--mute); font-size: clamp(0.98rem, 1.4vw, 1.12rem); }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-inaes {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--faint);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  color: #fff;
  background: var(--navy);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(3, 70, 110, 0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem;
  color: var(--navy);
  border: 1.5px solid rgba(3, 70, 110, 0.35);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-outline:hover { border-color: var(--navy); background: #fff; }

/* ==========================================================================
   Secciones
   ========================================================================== */
section { padding: 110px 0; position: relative; scroll-margin-top: 110px; }

.sec-tag {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.sec-tag::before { content: ""; width: 36px; height: 1px; background: var(--blue); }

.sec-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}
.sec-title em { font-style: italic; color: var(--orange); }

/* ==========================================================================
   Manifiesto
   ========================================================================== */
.manifesto { text-align: center; padding: 90px 0 70px; }
.manifesto p {
  max-width: 56ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  color: var(--mute);
}
.manifesto p b, .manifesto p em { color: var(--ink); font-weight: 600; }
.manifesto p em { font-style: italic; color: var(--navy); }
.manifesto p .hl { color: var(--orange); font-weight: 600; }

/* ==========================================================================
   Servicios — filas expandibles
   ========================================================================== */
.rows { margin-top: 54px; border-top: 1px solid var(--line); }
.row-item { border-bottom: 1px solid var(--line); }
.row-head {
  width: 100%;
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 34px 8px;
  text-align: left;
  transition: padding 0.3s var(--ease);
}
.row-head:hover { padding-left: 20px; }
.row-num {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  font-size: 1.1rem;
  color: var(--faint);
}
.row-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.row-item:hover .row-title { color: var(--blue); }
.row-item.destacado:hover .row-title { color: var(--orange); }
.row-meta {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.row-meta .soon { color: var(--orange); }
.row-plus {
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 300;
  color: var(--mute);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.row-item.is-open .row-plus { transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.row-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.row-body-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 6px 8px 44px calc(90px + 22px);
}
.row-subtitle {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
  margin: 18px 0 8px;
}
.row-body p { color: var(--mute); font-size: 0.98rem; }
.row-body p strong { color: var(--ink); }
.row-body p + p { margin-top: 12px; }
.row-body .row-cta { margin-top: 22px; }
.row-list { display: grid; gap: 10px; }
.row-list li { display: flex; gap: 11px; font-size: 0.93rem; color: var(--mute); }
.row-list li::before {
  content: "→";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.row-fine { margin-top: 18px; font-size: 0.74rem; color: var(--faint); }
@media (max-width: 880px) {
  .row-head { grid-template-columns: 44px 1fr auto; }
  .row-meta { display: none; }
  .row-num { font-size: 0.9rem; }
  .row-body-inner { grid-template-columns: 1fr; padding-left: 8px; gap: 22px; }
}

/* ==========================================================================
   Formulario de solicitud
   ========================================================================== */
.sol-form {
  margin-top: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 38px;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  position: relative;
}
.sol-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.sf-hidden { display: none; }
.sf-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.sf-field label {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.sf-field input, .sf-field select {
  width: 100%;
  padding: 13px 15px;
  font: inherit; font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sf-field input:focus, .sf-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.15);
}
.sf-field input.sf-error, .sf-field select.sf-error { border-color: #d9534f; }
.sf-field small { display: block; margin-top: 6px; font-size: 0.76rem; color: var(--faint); }
.sf-file input[type="file"] {
  padding: 10px;
  cursor: pointer;
  background: #fff;
}
.sf-file input[type="file"]::file-selector-button {
  font: inherit; font-size: 0.84rem; font-weight: 600;
  color: var(--navy);
  background: rgba(41, 171, 226, 0.12);
  border: 1px solid rgba(41, 171, 226, 0.35);
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.sf-subtitle {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
  margin: 30px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sf-consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 26px;
  font-size: 0.88rem; color: var(--mute);
  cursor: pointer;
}
.sf-consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--navy); flex-shrink: 0; }
.sf-consent a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.sol-status {
  display: none;
  margin-top: 20px;
  padding: 13px 17px;
  border-radius: 10px;
  font-size: 0.92rem; font-weight: 500;
}
.sol-status.ok { display: block; color: #1c6b3f; background: rgba(30, 158, 88, 0.12); border: 1px solid rgba(30, 158, 88, 0.35); }
.sol-status.err { display: block; color: #9b3030; background: rgba(220, 80, 80, 0.1); border: 1px solid rgba(220, 80, 80, 0.3); }
.sf-submit { margin-top: 24px; padding: 16px 40px; font-size: 1rem; display: inline-flex; width: auto; }
.sf-submit[disabled] { opacity: 0.6; cursor: wait; }
.sol-form .row-fine { margin-top: 20px; }
@media (max-width: 760px) {
  .sf-grid { grid-template-columns: 1fr; }
  .sol-form { padding: 28px 22px; }
}

/* ==========================================================================
   Turismo — banda con foto
   ========================================================================== */
.turismo-band {
  position: relative;
  padding: 120px 0 130px;
  background-image: url("assets/img/turismo-banda.webp");
  background-size: cover;
  background-position: center 55%;
}
.tb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(3, 42, 66, 0.82) 0%, rgba(3, 42, 66, 0.5) 50%, rgba(3, 42, 66, 0.1) 100%);
}
.tb-content { position: relative; max-width: 600px; color: #fff; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #ffd9a8;
  border: 1px solid rgba(255, 217, 168, 0.5);
  border-radius: 99px;
  padding: 7px 16px;
  margin-bottom: 20px;
}
.badge-soon .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(247, 147, 30, 0); }
}
.turismo-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
}
.turismo-band h2 em { font-style: italic; color: #ffb95c; }
.turismo-band p { margin-top: 16px; color: #dcebf5; font-size: 1.02rem; max-width: 52ch; }

/* ==========================================================================
   Banda Club UPAM
   ========================================================================== */
.club-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}
.club-logo-box {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
}
.club-logo-box img { height: 60px; width: auto; }
.club-band-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
}
.club-band .sec-title { max-width: 14ch; }
.club-band p { margin-top: 18px; color: var(--mute); max-width: 46ch; }
.club-band .btn-club { margin-top: 30px; font-size: 0.98rem; padding: 15px 30px; }
.club-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.club-chips .cchip {
  padding: 13px 19px;
  border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--mute);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.club-chips .cchip:hover { border-color: var(--orange); color: var(--ink); transform: translateY(-3px); }
.club-chips .cchip b { color: var(--orange); font-family: var(--font-display); }
@media (max-width: 880px) {
  .club-band-grid { grid-template-columns: 1fr; }
  .club-chips { justify-content: flex-start; }
}

/* ==========================================================================
   Valores — bloques numerados
   ========================================================================== */
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid var(--line); }
.valor {
  padding: 38px 30px 42px 0;
  border-bottom: 1px solid var(--line);
}
.valor + .valor { padding-left: 30px; border-left: 1px solid var(--line); }
.valor .v-num {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  font-size: 0.95rem;
  color: var(--orange);
  display: block; margin-bottom: 16px;
}
.valor h3 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.valor p { font-size: 0.93rem; color: var(--mute); }
@media (max-width: 880px) {
  .valores { grid-template-columns: 1fr; }
  .valor + .valor { padding-left: 0; border-left: none; }
  .valor { padding-right: 0; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin-top: 50px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 8px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.25s var(--ease), padding 0.3s var(--ease);
}
.faq-q:hover { color: var(--navy); padding-left: 18px; }
.faq-q .faq-arrow { transition: transform 0.3s var(--ease); color: var(--blue); flex-shrink: 0; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 8px 24px; color: var(--mute); font-size: 0.95rem; max-width: 70ch; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-sub { margin-top: 18px; color: var(--mute); max-width: 50ch; }
.contact-data {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.cd-item .cd-label {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
  display: block; margin-bottom: 6px;
}
.cd-item p { font-size: 0.97rem; color: var(--mute); }
.cd-link { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cd-link:hover { color: var(--blue); }

/* Confirmación de solicitud enviada */
.sol-success {
  width: min(720px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 52px 44px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(3, 70, 110, 0.08);
}
.ss-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e7f7ee;
  color: #1f9d55;
  font-size: 1.9rem; font-weight: 800;
  margin-bottom: 18px;
}
.sol-success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}
.sol-success p { font-size: 1rem; color: var(--mute); line-height: 1.65; max-width: 560px; margin: 0 auto; }
.sol-success .ss-fine { margin-top: 16px; font-size: 0.9rem; color: var(--faint); }
@media (max-width: 880px) { .contact-data { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.6);
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 20px;
}
.footer-grid .logo-footer { height: 52px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.88rem; color: var(--mute); }
.footer-links a:hover { color: var(--ink); }
.footer-legal { width: 100%; margin-top: 18px; font-size: 0.76rem; color: var(--faint); }

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal-page { padding: 150px 0 90px; }
.legal-page article { max-width: 780px; }
.legal-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  color: var(--navy);
}
.legal-updated { margin-top: 10px; font-size: 0.82rem; color: var(--faint); }
.legal-page h2 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy);
  margin: 38px 0 12px;
}
.legal-page p, .legal-page li { font-size: 0.96rem; color: var(--mute); margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; margin-bottom: 14px; }
.legal-page ul li { list-style: disc; margin-bottom: 8px; }
.legal-page b { color: var(--ink); }
.legal-note {
  margin-top: 40px;
  padding: 18px 22px;
  border-left: 4px solid var(--orange);
  background: rgba(247, 147, 30, 0.07);
  border-radius: 0 10px 10px 0;
  font-size: 0.86rem; color: var(--mute);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: var(--faint); margin-top: 10px; }
.footer-legal-links a:hover { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   CLUB UPAM — página
   ========================================================================== */
.club-hero {
  padding: 170px 0 60px;
  position: relative;
}
.club-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.club-hero h1 em { font-style: italic; color: var(--orange); }
.club-hero .hero-sub { margin-top: 22px; }

.login-wrap { padding: 30px 0 110px; }
.login-card {
  width: min(480px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.login-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.login-card h2 { font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.login-card .login-sub { margin-top: 8px; font-size: 0.92rem; color: var(--mute); }
.login-field { margin-top: 26px; }
.login-field label {
  display: block;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 9px;
}
.login-field input {
  width: 100%;
  padding: 15px 17px;
  font: inherit; font-size: 1.15rem; letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.login-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.18); }
.login-error {
  display: none;
  margin-top: 12px;
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 0.85rem; font-weight: 500;
  color: #9b3030;
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
}
.login-error.is-visible { display: block; }
.login-card .btn-primary { width: 100%; justify-content: center; margin-top: 24px; }
.login-note { margin-top: 16px; font-size: 0.78rem; color: var(--faint); text-align: center; }

/* Panel de beneficios */
.club-panel { display: none; padding: 40px 0 110px; }
.club-panel.is-active { display: block; }
.club-welcome {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 36px;
}
.club-welcome h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.01em;
  color: var(--navy);
}
.club-welcome h2 em { font-style: italic; color: var(--blue); }
.btn-logout {
  font-size: 0.84rem; font-weight: 600;
  color: var(--mute);
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-logout:hover { border-color: var(--ink); color: var(--ink); }

.club-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; align-items: center; }
.club-search {
  flex: 1; min-width: 230px;
  padding: 13px 18px;
  font: inherit; font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.club-search::placeholder { color: var(--faint); }
.club-search:focus { border-color: var(--blue); }
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-btn {
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--mute);
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}
.cat-btn:hover { border-color: var(--blue); color: var(--ink); }
.cat-btn.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(41, 171, 226, 0.5); }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.bc-ico { font-size: 1.7rem; }
.bc-discount {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic; font-size: 1.45rem;
  color: var(--orange);
}
.benefit-card h3 { font-size: 1.04rem; font-weight: 700; color: var(--ink); }
.bc-cat {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  margin: 6px 0 10px;
}
.benefit-card p { font-size: 0.87rem; color: var(--mute); flex: 1; }
.benefits-empty { display: none; padding: 48px 0; text-align: center; color: var(--faint); }
.benefits-empty.is-visible { display: block; }

/* ==========================================================================
   Movimiento reducido — sólo lo intrusivo
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .badge-soon .pulse { animation: none; }
}
