/* ==========================================================
   PT CÓRDOBA · CERCA DE TI — Estilos
   Paleta tomada del logo: rojo PT, amarillo PT, negro marco.
   ========================================================== */
:root {
  --red: #E1141C;
  --red-2: #C40F17;
  --red-3: #8E0A10;
  --red-soft: #FDECEC;
  --yellow: #FFE500;
  --yellow-2: #F5C400;
  --black: #1B1B1B;
  --ink: #222;
  --muted: #6b6b6b;
  --line: #ececec;
  --bg: #fff;
  --bg-2: #faf7f2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 25px 60px rgba(142,10,16,.25);
  --font: "Poppins", system-ui, sans-serif;
  --display: "Anton", "Impact", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.mt-3 { margin-top: 2.5rem; }
.muted { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
::selection { background: var(--yellow); color: var(--black); }

/* ---------- Botones ---------- */
.btn {
  --bgc: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bgc); color: var(--fg); font-weight: 700; letter-spacing: .2px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { /* brillo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0); }
.btn-yellow { --bgc: var(--yellow); --fg: var(--black); }
.btn-red { --bgc: var(--red); --fg: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--red); }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--red) 0%, var(--red-3) 100%);
  transition: opacity .6s, visibility .6s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-box { text-align: center; color: #fff; }
.loader-box img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; margin: 0 auto 1.2rem; box-shadow: 0 0 0 6px rgba(255,229,0,.25); animation: pulse 1.2s infinite; }
.loader-bar { width: 180px; height: 5px; background: rgba(255,255,255,.2); border-radius: 9px; overflow: hidden; margin: 0 auto .8rem; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--yellow); border-radius: 9px; animation: load 1s infinite var(--ease); }
.loader-box p { margin: 0; letter-spacing: 3px; text-transform: uppercase; font-size: .75rem; opacity: .85; }
@keyframes load { 0% { transform: translateX(-100%);} 100% { transform: translateX(260%);} }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255,229,0,.12); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; padding: .9rem 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.nav.scrolled { background: rgba(196,15,23,.94); backdrop-filter: blur(10px); padding: .55rem 0; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,.7); }
.brand strong { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: .5px; line-height: 1; font-weight: 400; }
.brand small { display: block; color: var(--yellow); font-size: .72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: #fff; font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.music-btn {
  display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .9rem;
  border-radius: 999px; border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15); color: #fff;
}
.music-btn .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.music-btn .eq i { width: 3px; height: 4px; background: var(--yellow); border-radius: 2px; }
.music-btn[aria-pressed="true"] { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.music-btn[aria-pressed="true"] .eq i { background: var(--red); animation: eq .9s infinite ease-in-out; }
.music-btn[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: .15s; }
.music-btn[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: .3s; }
.music-btn[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 14px; } }

.burger { display: none; width: 44px; height: 42px; border-radius: 10px; border: 0; background: rgba(0,0,0,.18); padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 7rem 0 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-swiper, .hero-swiper .swiper-slide { height: 100%; }
.hero-swiper img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(142,10,16,.96) 0%, rgba(196,15,23,.85) 42%, rgba(225,20,28,.35) 100%),
    linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%);
}
.hero-squares { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-squares i { position: absolute; border-radius: 6px; background: rgba(255,255,255,.06); }
.hero-squares i:nth-child(1) { width: 180px; height: 180px; top: 12%; right: 8%; }
.hero-squares i:nth-child(2) { width: 90px; height: 90px; top: 60%; right: 22%; background: rgba(255,229,0,.12); }
.hero-squares i:nth-child(3) { width: 240px; height: 240px; bottom: -60px; right: -40px; }
.hero-squares i:nth-child(4) { width: 60px; height: 60px; top: 22%; left: 52%; background: rgba(0,0,0,.12); }
.hero-squares i:nth-child(5) { width: 130px; height: 130px; top: -40px; left: 30%; }
.hero-squares i:nth-child(6) { width: 40px; height: 40px; bottom: 20%; left: 46%; background: rgba(255,229,0,.18); }
.hero-content { position: relative; z-index: 5; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500; margin: 0 0 1.2rem; }
.eyebrow i { color: var(--yellow); }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 11vw, 8.5rem); line-height: .92; margin: 0 0 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-title .line { display: block; overflow: hidden; padding-top: .12em; }
.hero-title .yellow { color: var(--yellow); text-shadow: 0 6px 0 rgba(0,0,0,.18); }
.hero-sub { max-width: 560px; font-size: clamp(1rem, 2vw, 1.18rem); opacity: .95; margin: 0 0 2rem; }
.hero-sub strong { color: var(--yellow); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.scroll-hint { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-red { background: linear-gradient(160deg, var(--red) 0%, var(--red-3) 100%); color: #fff; overflow: hidden; }
.section-red::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.section-dark { background: radial-gradient(circle at 15% 0%, #3a0a0d 0%, var(--black) 55%); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.kicker { display: inline-block; color: var(--red); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: .78rem; margin: 0 0 .6rem; }
.kicker::before { content: "★ "; color: var(--yellow-2); }
.section-head.light .kicker, .section-red .kicker { color: var(--yellow); }
.title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1; margin: 0 0 1rem; letter-spacing: .5px; }
.hl { color: var(--red); position: relative; }
.section-red .hl, .section-dark .hl { color: var(--yellow); }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.light .lead, .section-red .lead { color: rgba(255,255,255,.85); }

/* ---------- Perfiles ---------- */
.profile-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.ptab {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1.4rem .7rem .7rem; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; text-align: left; transition: .3s var(--ease); box-shadow: var(--shadow);
}
.ptab .av { width: 52px; height: 52px; font-size: 1.1rem; }
.ptab b { display: block; font-size: 1rem; line-height: 1.2; }
.ptab small { color: var(--muted); font-size: .78rem; }
.ptab:hover { border-color: var(--red); transform: translateY(-2px); }
.ptab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-lg); }
.ptab[aria-selected="true"] small { color: var(--yellow); }

.av { /* avatar con iniciales */
  flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, var(--red), var(--red-3)); color: var(--yellow);
  font-family: var(--display); letter-spacing: 1px; border: 3px solid var(--yellow);
}
.av img { width: 100%; height: 100%; object-fit: cover; }

.ppanel[hidden] { display: none; }
.pcard {
  display: grid; grid-template-columns: 360px 1fr; background: #fff; border-radius: 28px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.1); border: 1px solid var(--line);
}
.pside { background: linear-gradient(170deg, var(--red) 0%, var(--red-3) 100%); color: #fff; padding: 2.4rem 2rem; position: relative; overflow: hidden; }
.pside::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; background: rgba(255,255,255,.07); border-radius: 30px; transform: rotate(18deg); }
.pside::after { content: "★"; position: absolute; right: 22px; bottom: 10px; font-size: 7rem; color: rgba(255,229,0,.1); line-height: 1; }
.pside .av { width: 150px; height: 150px; font-size: 3.4rem; margin: 0 auto 1.3rem; border-width: 5px; box-shadow: 0 0 0 8px rgba(255,255,255,.1); }
.pside h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.1rem; line-height: 1; margin: 0 0 .4rem; text-align: center; letter-spacing: .5px; }
.pside .role { text-align: center; color: var(--yellow); font-weight: 600; font-size: .9rem; margin: 0 0 .3rem; }
.pside .fullname { text-align: center; font-size: .8rem; opacity: .75; margin: 0 0 1.5rem; }
.pside .motto { background: rgba(0,0,0,.2); border-left: 4px solid var(--yellow); padding: .8rem 1rem; border-radius: 0 10px 10px 0; font-style: italic; margin: 0 0 1.5rem; font-size: .95rem; }
.pcontact { display: grid; gap: .6rem; position: relative; z-index: 1; }
.pcontact a, .pcontact span {
  display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); font-size: .92rem; transition: .25s;
}
.pcontact a:hover { background: var(--yellow); color: var(--black); }
.pcontact i { width: 20px; text-align: center; font-size: 1.1rem; }
.pside .btn { margin-top: 1.2rem; width: 100%; position: relative; z-index: 1; }

.pmain { padding: 2.4rem 2.4rem 2.6rem; min-width: 0; }
.pmain h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 .8rem; letter-spacing: .5px; display: flex; align-items: center; gap: .6rem; }
.pmain h4 i { color: var(--red); font-size: 1.1rem; }
.pbio { color: #444; margin: 0 0 1.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tag { background: var(--red-soft); color: var(--red-2); padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }

.afilter { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.afilter button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; color: #555; transition: .2s; }
.afilter button.active, .afilter button:hover { background: var(--black); border-color: var(--black); color: var(--yellow); }

.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.action {
  display: flex; gap: 1rem; padding: 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  transition: .3s var(--ease); cursor: pointer; text-align: left; position: relative; overflow: hidden;
}
.action::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transition: transform .3s var(--ease); }
.action:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.action:hover::before { transform: scaleY(1); }
.action .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: var(--yellow); font-size: 1.25rem; box-shadow: 0 6px 16px rgba(225,20,28,.3); }
.action h5 { margin: 0 0 .25rem; font-size: 1rem; line-height: 1.3; padding-right: 1.6rem; }
.action p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.action .cat { display: inline-block; font-size: .68rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .2rem; }
.action .see { display: inline-flex; gap: .35rem; align-items: center; color: var(--red); font-size: .8rem; font-weight: 600; margin-top: .45rem; }
.action.hide { display: none; }

.soon { text-align: center; padding: 2.5rem 1rem; border: 2px dashed #e3e3e3; border-radius: 18px; background: repeating-linear-gradient(45deg, #fff, #fff 12px, #fcfaf6 12px, #fcfaf6 24px); }
.soon i { font-size: 2.4rem; color: var(--red); margin-bottom: .8rem; }
.soon h5 { margin: 0 0 .4rem; font-size: 1.15rem; }
.soon p { margin: 0; color: var(--muted); font-size: .92rem; }
.actions.ghost .action { cursor: default; opacity: .7; }
.skel { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f0, #fafafa, #f0f0f0); background-size: 200% 100%; animation: shimmer 1.6s infinite; margin: .45rem 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1rem; position: relative; }
.benefit {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 1.4rem 1.1rem; text-align: center; transition: .35s var(--ease); backdrop-filter: blur(4px);
}
.benefit:hover { background: var(--yellow); color: var(--black); transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.benefit .ic { width: 58px; height: 58px; margin: 0 auto .9rem; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); color: var(--red); font-size: 1.45rem; transition: .35s; }
.benefit:hover .ic { background: var(--red); color: var(--yellow); transform: rotate(8deg) scale(1.08); }
.benefit h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.benefit p { margin: 0; font-size: .82rem; opacity: .85; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 2rem; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; font-size: .88rem; color: #444; display: inline-flex; gap: .45rem; align-items: center; transition: .25s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(225,20,28,.3); }
.gallery { columns: 4 240px; column-gap: 1rem; }
.gitem {
  break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: #eee; box-shadow: var(--shadow); display: block; width: 100%; border: 0; padding: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s;
}
.gitem img, .gitem video { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gitem:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.18); }
.gitem:hover img, .gitem:hover video { transform: scale(1.06); }
.gitem .gover {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; text-align: left; color: #fff;
  background: linear-gradient(0deg, rgba(142,10,16,.95) 0%, rgba(142,10,16,.3) 45%, transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.gitem:hover .gover, .gitem:focus-visible .gover { opacity: 1; }
.gover b { font-size: .98rem; line-height: 1.25; }
.gover span { font-size: .78rem; color: var(--yellow); font-weight: 600; margin-top: .3rem; display: inline-flex; gap: .4rem; align-items: center; }
.gitem .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--red); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 0 0 10px rgba(255,229,0,.3); }
.gitem .badge { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--black); font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; }
.gitem.hide { display: none; }

/* ---------- Formulario ---------- */
.steps { list-style: none; display: flex; justify-content: center; gap: .5rem; padding: 0; margin: 0 auto 2rem; max-width: 560px; }
.steps li { flex: 1; display: flex; align-items: center; gap: .55rem; justify-content: center; padding: .6rem; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 600; transition: .3s; }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: .8rem; }
.steps li.active { background: rgba(255,229,0,.12); color: var(--yellow); }
.steps li.active b { background: var(--yellow); color: var(--black); }
.steps li.done b { background: #22c55e; color: #fff; }

.form-card { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.6rem); box-shadow: 0 40px 100px rgba(0,0,0,.4); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--red) 0 70%, var(--yellow) 70% 100%); }
.form-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--display); text-transform: uppercase; font-size: 1.45rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; letter-spacing: .5px; padding: 0; }
legend i { color: var(--red); font-size: 1.1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem 1rem; border-radius: 12px; border: 2px solid #e8e8e8; background: #fafafa;
  font: inherit; font-size: .95rem; color: var(--ink); transition: border .2s, background .2s, box-shadow .2s; appearance: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(225,20,28,.12); }
.field.invalid input, .field.invalid select { border-color: var(--red); background: #fff6f6; }
.field.valid input, .field.valid select { border-color: #22c55e; }
.select-wrap { position: relative; }
.select-wrap::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 1rem; top: 50%; translate: 0 -50%; color: var(--red); pointer-events: none; font-size: .8rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hint { display: block; color: var(--muted); font-size: .76rem; margin-top: .3rem; }
.err { display: block; color: var(--red); font-size: .78rem; font-weight: 600; min-height: 0; margin-top: .25rem; }
.err:empty { display: none; }

.ine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .5rem; }
.dropzone {
  position: relative; aspect-ratio: 1.58; border-radius: 16px; border: 2px dashed #d9d9d9; background: #fafafa;
  display: grid; place-items: center; cursor: pointer; overflow: hidden; transition: .25s; text-align: center;
}
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-soft); }
.dropzone.drag { transform: scale(1.02); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-empty { padding: .6rem; pointer-events: none; }
.dz-empty strong { display: block; font-size: .88rem; }
.dz-empty small { color: var(--muted); font-size: .74rem; }
.ine-illus { width: 74px; height: 47px; margin: 0 auto .55rem; border-radius: 7px; background: linear-gradient(135deg, #f3d4d6, #fff3b0); border: 2px solid var(--red); position: relative; }
.ine-illus.front::before { content: ""; position: absolute; left: 6px; top: 8px; width: 18px; height: 24px; border-radius: 4px; background: var(--red); opacity: .7; }
.ine-illus span { position: absolute; height: 4px; border-radius: 2px; background: rgba(0,0,0,.25); left: 30px; right: 8px; }
.ine-illus span:nth-child(1) { top: 10px; } .ine-illus span:nth-child(2) { top: 18px; right: 16px; } .ine-illus span:nth-child(3) { top: 26px; right: 22px; }
.ine-illus.back span { left: 8px; }
.ine-illus.back::after { content: ""; position: absolute; right: 7px; bottom: 6px; width: 16px; height: 16px; background: repeating-linear-gradient(90deg, #333 0 2px, transparent 2px 4px); }
.dz-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.dz-remove, .dz-ok { position: absolute; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; border: 0; z-index: 2; }
.dz-remove { right: 8px; background: rgba(0,0,0,.65); color: #fff; }
.dz-ok { left: 8px; background: #22c55e; color: #fff; font-size: .8rem; }
.dropzone.has .dz-preview { display: block; }
.dropzone.has .dz-empty { visibility: hidden; }
.dropzone.has .dz-remove, .dropzone.has .dz-ok { display: grid; }
.dropzone.has { border-style: solid; border-color: #22c55e; }
.dropzone.invalid { border-color: var(--red); }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; color: #444; margin: 1.2rem 0 .3rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; }
#submitBtn { margin-top: 1rem; }
#submitBtn .spin { display: none; width: 20px; height: 20px; border: 3px solid rgba(0,0,0,.2); border-top-color: var(--black); border-radius: 50%; animation: spin .8s linear infinite; }
#submitBtn.loading .lbl { display: none; }
#submitBtn.loading .spin { display: inline-block; }
#submitBtn:disabled { opacity: .85; cursor: wait; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 6px; background: #eee; border-radius: 6px; overflow: hidden; margin-top: .8rem; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow)); transition: width .4s; }
.secure { text-align: center; color: var(--muted); font-size: .78rem; margin: .8rem 0 0; }

.success { background: #fff; color: var(--ink); border-radius: 28px; padding: 3rem 1.5rem; text-align: center; max-width: 620px; margin: 0 auto; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.success-icon { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; background: var(--red); color: var(--yellow); font-size: 2.4rem; box-shadow: 0 0 0 12px var(--red-soft); animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
.success h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 0 0 .6rem; }
.success p { color: var(--muted); }
.success strong { color: var(--red); }
.success-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.success .btn-ghost { color: var(--ink); border-color: #ddd; }

/* ---------- Ubicación ---------- */
.loc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.loc .title { text-align: left; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list i { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.1rem; }
.info-list b { display: block; font-size: .95rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .92rem; }
.info-list a { color: var(--red); font-weight: 600; }
.loc-map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; outline: 3px solid var(--yellow); aspect-ratio: 4/3; }
.loc-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #fff; padding: 2.5rem 0; border-top: 6px solid var(--red); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer .motto { font-family: var(--display); color: var(--yellow); text-transform: uppercase; letter-spacing: 1.5px; font-size: 1.2rem; margin: 0; }
.footer .small { margin: 0; font-size: .82rem; opacity: .6; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.9rem; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .3s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 150%; z-index: 9000; background: var(--black); color: #fff; padding: .85rem 1.3rem; border-radius: 14px; font-size: .9rem; box-shadow: 0 15px 40px rgba(0,0,0,.3); border-left: 5px solid var(--yellow); transition: translate .45s var(--ease); max-width: calc(100% - 32px); }
.toast.show { translate: -50% 0; }
.toast.error { border-left-color: var(--red); }

/* ---------- Animaciones de entrada (respaldo sin GSAP) ---------- */
.no-gsap .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pcard { grid-template-columns: 1fr; }
  .pside { padding: 2rem 1.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .loc { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 auto auto; top: 0; right: 0; height: 100svh; width: min(300px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 2rem;
    background: var(--red-3); transform: translateX(105%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { font-size: 1.2rem; }
  .actions { grid-template-columns: 1fr; }
  .pmain { padding: 1.6rem 1.2rem 2rem; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .music-btn { padding: 0 .75rem; }
  .music-btn .eq { display: none; }
  .row-2, .ine-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: .7rem; }
  .gitem { margin-bottom: .7rem; }
  .gitem .gover { opacity: 1; padding: .7rem; }
  .gover b { font-size: .8rem; }
  .steps span { display: none; }
  .ptab { padding-right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
