/* ================== Variables ================== */
:root {
  --facicu-red: #d6343a;
  --facicu-black: #121212;
  --facicu-white: #ffffff;
  --facicu-cream: #f7efe7;
  --facicu-blue: #1a6fb3;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --border: rgba(0,0,0,.08);
  --ring: rgba(26,111,179,.25);
}

/* ================== Base ================== */
* { box-sizing: border-box }
html, body {
  margin: 0; padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--facicu-black);
  background:
    radial-gradient(1200px 700px at 10% -10%, #fff 0%, #fef7f2 40%, #fff 70%),
    linear-gradient(135deg, var(--facicu-cream), #fff);
  accent-color: var(--facicu-red);
  scroll-behavior: smooth;
}
a { color: var(--facicu-blue); text-decoration: none; transition: opacity .25s ease }
a:hover { opacity: .9 }
img { max-width: 100%; display: block }
.container { max-width: 1200px; margin: 0 auto; padding: clamp(16px, 3vw, 28px) }
section { margin: 56px 0 }
h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 16px; text-align: center }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px }
.card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden }
.max-70ch { max-width: 70ch }
.mt-10 { margin-top: 10px }
.text-blue { color: var(--facicu-blue) }
.muted { opacity: .7 }

/* ================== Header ================== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  transition: box-shadow .3s ease, background .3s ease;
}
header.scrolled{ box-shadow: 0 8px 24px rgba(0,0,0,.08); background: rgba(255,255,255,.9) }
header .container { max-width: 1040px; padding: 12px 20px }
.nav { display: flex; align-items: center; gap: 22px; justify-content: space-between }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit }
.brand img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.06)) }
.brand-name { display: inline-flex; flex-direction: column; align-items: stretch; width: 122px; line-height: 1.05; text-align: justify }
.brand-name span { display: block }
.brand-top { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; opacity: .78 }
.brand-strong { font-size: 22px; font-weight: 800; letter-spacing: .4px }
.nav a { font-weight: 600; padding: 10px 12px; border-radius: 12px; transition: background .25s ease, transform .2s ease }
.nav a:hover{ background:#f5f7fb }

/* ================== Botones (unificados) ================== */
.cta, .pill, .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, filter .2s ease;
  cursor: pointer;
  text-align: center;
  min-width: 160px;
  line-height: 1;
  transform: translateZ(0);
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

/* Botón primario */
.cta, .btn {
  background: linear-gradient(180deg, var(--facicu-red), #b82328);
  color: #fff;
  box-shadow: 0 12px 30px rgba(214,52,58,.28);
  border: 0;
}
.cta:hover, .btn:hover {
  background: linear-gradient(180deg, #c1252a, var(--facicu-red));
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(214,52,58,.35);
}
.cta:active, .btn:active{ transform: translateY(0) scale(.99); filter: saturate(.96) }

/* Botón secundario */
.pill {
  background: #fff;
  color: var(--facicu-red);
  border: 2px solid var(--facicu-red);
  box-shadow: 0 8px 22px rgba(214,52,58,.08);
}
.pill:hover {
  background: var(--facicu-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(214,52,58,.22);
}
.pill:active{ transform: translateY(0) }

/* ================== Hero ================== */
.hero {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.2);
  background: radial-gradient(90% 120% at 80% 10%, #fff 0%, var(--facicu-cream) 35%, #fff 100%);
  box-shadow: var(--shadow); margin-top: 18px; isolation: isolate;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,5vw,56px); padding: clamp(28px,4vw,56px); align-items: center }
.hero h1 { font-size: clamp(32px,4vw,48px); margin: .2em 0; line-height: 1.06 }
.hero-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap }
.lead { font-size: clamp(16px,2.2vw,19px); line-height: 1.6; opacity: .9; max-width: 62ch }
.hero-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; z-index: 2; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s }
.hero-card:hover{ transform: translateY(-4px) rotateX(1deg) rotateY(-1deg); box-shadow: 0 24px 60px rgba(0,0,0,.18) }
.hero-list { margin: 10px 0 0 }
.hero-note { opacity: .8; font-size: 14px; margin-top: 8px }
.accent-red { color: var(--facicu-red) }
.keys { position: absolute; z-index: 0; right: -60px; bottom: -50px; width: min(42vw,640px); opacity: .08; transform: rotate(-12deg); pointer-events: none; will-change: transform }

/* ================== Misión ================== */
.mission .mission-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px,4vw,40px); align-items: start }
.lead-compact { font-size: 17px; line-height: 1.6; margin: 6px 0 12px; max-width: 68ch }
.mission .check { margin: 10px 0 0; padding-left: 18px }
.mission .check li { margin: 6px 0 }
.mission-right { padding-left: clamp(16px,2vw,22px); border-left: 1px solid #eee }
.mission-right .bullets { margin: 10px 0 0; padding-left: 18px }
.small { font-size: 14px }
.mission-quote { margin-top: clamp(18px,3vw,28px) }

/* ================== Objetivos ================== */
.objectives { padding: clamp(20px,3vw,28px) }
.obj-header { margin-bottom: 8px }
.obj-sub { margin: 6px 0 4px; color: #555; font-size: .95rem }
.obj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px }
.obj-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 6px 18px rgba(0,0,0,.04) }
.obj-list { list-style: none; margin: 0; padding: 0 }
.obj-list li { position: relative; padding-left: 28px; margin: 10px 0; line-height: 1.55; transition: transform .25s ease }
.obj-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em; width: 20px; height: 20px;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 800;
  color: #fff; background: var(--facicu-red); border-radius: 999px; box-shadow: 0 2px 6px rgba(214,52,58,.25);
}
.obj-list li:hover{ transform: translateX(2px) }
.obj-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px }

/* ================== Artistas ================== */
.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 980px) { .band-grid { grid-template-columns: 1fr } }

.band-card {
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  perspective: 1000px; transform-style: preserve-3d; transition: transform .4s ease, box-shadow .4s ease;
}
.band-card:hover{ transform: translateY(-4px) }
.band-head { position: relative; background: #f6f6f6 }
.band-media,
.band-slide {
  width: 100%;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}
.band-media img,
.band-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.band-card:hover .band-media img{ transform: scale(1.06) }

.band-body {
  padding: 18px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.band-title {
  margin: 0 0 8px;
  font-weight: 800;
  color: #6a2b12;
  font-size: 1.3rem;
}
.band-desc {
  margin: 0;
  color: #333;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* === Estilo especial biografía Oxivoz === */
.bio-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 20px auto;
}
.bio-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.bio-body { text-align: justify }
.bio-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--facicu-red);
  margin-bottom: 14px;
}
.bio-body p {
  margin-bottom: 16px;
  line-height: 1.65;
  font-size: 1.05rem;
  color: #333;
}
.bio-quote {
  margin-top: 20px;
  padding: 14px 18px;
  font-style: italic;
  color: var(--facicu-blue);
  border-left: 4px solid var(--facicu-red);
  background: var(--facicu-cream);
  border-radius: 8px;
}
/* Responsive: en móviles foto arriba */
@media (max-width: 980px) {
  .bio-card { grid-column: 1 / -1; grid-template-columns: 1fr; text-align: center }
  .bio-body { text-align: left }
  .bio-media { max-width: 240px; margin: 0 auto }
}

/* ================== Arte & Inspiración ================== */
.art-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
  will-change: transform;
}
.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.16);
}
.art-media {
  width: 100%;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fafafa;
}
.art-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.art-card:hover .art-media img{ transform: scale(1.08) }
.art-body {
  padding: 16px 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  color: #333;
}
.art-body .art-text {
  font-style: italic;
  color: var(--facicu-blue);
  margin-bottom: 10px;
}

/* ================== Comentarios ================== */
.comments-section h2 { text-align:left; margin-bottom: 8px }
.comments-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.comments-intro {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  color: #333;
}
.comments-intro strong { color: #b22222 }
.comments-slider { position: relative; margin-top: 10px }
.c-viewport{
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  scrollbar-width: none;
}
.c-viewport::-webkit-scrollbar{ display:none }
.c-track{
  display: flex; gap: 16px;
  padding: 8px 6px 16px;
  will-change: transform;
}
.c-card{
  flex: 0 0 auto;
  min-width: clamp(280px, 48%, 560px);
  max-width: 680px;
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 18px 18px 16px 44px;
  box-shadow: var(--shadow);
  line-height: 1.5;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.c-card p{ margin: 0; font-size: 1rem }
.c-card span{
  display: block; margin-top: 8px;
  font-size: 0.86rem; color: #666;
}
.c-card::before{
  content: "“";
  position: absolute; left: 14px; top: 8px;
  font-size: 28px; font-weight: 900; line-height: 1;
  color: var(--facicu-blue); opacity: .35;
}
.c-card:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.12) }
.c-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer;
  background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.12);
  font-size: 22px; font-weight: 800; line-height: 1; z-index: 10;
  transition: transform .15s ease, background .25s ease;
}
.c-prev{ left: -10px }
.c-next{ right: -10px }
.c-nav:hover{ transform: translateY(-50%) scale(1.06) }
.c-nav:active{ transform: translateY(-50%) scale(.98) }
@media (max-width: 980px){
  .c-prev{ left: -4px } .c-next{ right: -4px }
  .c-card{ min-width: clamp(260px, 85%, 520px) }
}

/* ================== Testimonios (si se usa) ================== */
.badge{
  display:inline-block;
  background:var(--facicu-blue);
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
}

/* ================== Video (card + slider horizontal) ================== */
.videos-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px auto;
  max-width: 1000px;
}
.video-intro { font-size: 15px; line-height: 1.6; margin-bottom: 18px; color: #333 }
.video-intro a { color: #0a58a0 }
.quote-block {
  background: var(--facicu-cream);
  padding: 16px;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 15px;
  color: #444;
}
.slider-wrapper { position: relative; display: flex; align-items: center }
.videos-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
  scrollbar-width: none;
  will-change: transform;
}
.videos-slider::-webkit-scrollbar { display: none }
.video-card {
  flex: 0 0 320px;
  border-radius: 12px;
  overflow: hidden;
  border:1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: #fafafa;
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.14) }
.video-card iframe { width: 100%; height: 200px; display: block }
.slider-btn {
  background: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.3s, transform .15s ease;
  z-index: 2;
}
.slider-btn:hover { background: #eee; transform: scale(1.06) }
.prev { margin-right: 8px }
.next { margin-left: 8px }
.resources { margin-top: 16px; font-size: 14px; text-align: center }
.resources a { color: #0a58a0; text-decoration: none }
.resources a:hover { text-decoration: underline }

/* ================== Contacto ================== */
form.contact-form { display: grid; gap: 12px }
.contact-form label {
  font-weight: 600;
  margin-top: 8px;
  display: block;
  color: #333;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font: inherit;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .04s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--facicu-blue);
  outline: none;
  box-shadow: 0 0 0 6px var(--ring);
}
.contact-form input:active,
.contact-form select:active,
.contact-form textarea:active { transform: translateY(1px) }
.contact-form textarea { min-height: 120px; resize: vertical }

/* Checkbox */
.checkbox-row { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 10px }
.checkbox-row input { transform: scale(1.2) }

/* Sociales */
.socials { display: flex; flex-direction: column; gap: 10px; margin: 15px 0 }
.socials a {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; color: #333; text-decoration: none;
  transition: transform .2s ease, color .2s ease;
}
.socials a:hover { transform: translateX(2px); color:#0a58a0 }
.socials a i { font-size: 20px; color: var(--facicu-blue); transition: transform 0.2s }
.socials a:hover i { transform: scale(1.2) }
.contact-details p { margin: 6px 0 }

/* ================== Footer ================== */
footer { margin-top: 64px; padding: 32px 0; border-top: 1px solid #eee; background: #fff }
.footer-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between }
.footer-brand { display: flex; align-items: center; gap: 10px }
.footer-brand img { width: 32px; height: 32px; object-fit: contain }

/* ================== Animaciones ================== */
/* Reveal básico */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
[data-reveal].visible { opacity: 1; transform: none }

/* Variantes reveal */
.reveal-up{ transform: translateY(24px); opacity:0 }
.reveal-left{ transform: translateX(24px); opacity:0 }
.reveal-right{ transform: translateX(-24px); opacity:0 }
.reveal-zoom{ transform: scale(.96); opacity:0 }
.visible.reveal-up, .visible.reveal-left, .visible.reveal-right, .visible.reveal-zoom{ transform:none; opacity:1 }

/* Stagger para listas/grids */
.stagger > *{
  opacity:0; transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.stagger.visible > *{ opacity:1; transform:none }
.stagger.visible > *:nth-child(1){ transition-delay:.06s }
.stagger.visible > *:nth-child(2){ transition-delay:.12s }
.stagger.visible > *:nth-child(3){ transition-delay:.18s }
.stagger.visible > *:nth-child(4){ transition-delay:.24s }
.stagger.visible > *:nth-child(5){ transition-delay:.30s }
.stagger.visible > *:nth-child(6){ transition-delay:.36s }

/* Sutilezas */
@keyframes floatY{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
.pulse { animation: floatY 7s ease-in-out infinite }
.keys { animation: floatY 12s ease-in-out infinite }

/* ================== Responsive ================== */
@media (max-width:980px) {
  header { padding: 6px 0 }
  header .container { max-width: 100%; padding: 10px 16px }
  .hero-grid { grid-template-columns: 1fr; gap: 28px }
  .grid-3 { grid-template-columns: 1fr 1fr }
  .grid-2 { grid-template-columns: 1fr }
  .brand img { width: 56px; height: 56px }
  .brand-strong { font-size: 20px }
  .brand-name { width: 116px }
  .keys { opacity: .06 }
  .mission .mission-grid { grid-template-columns: 1fr; gap: 18px }
  .mission-right { border-left: 0; border-top: 1px solid #eee; padding-left: 0; padding-top: 14px; margin-top: 10px }
  .obj-grid { grid-template-columns: 1fr }
}
@media (max-width:680px) {
  .grid-3 { grid-template-columns: 1fr }
}

/* ================== Accesibilidad / Motion Safety ================== */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important }
  [data-reveal], .stagger > *{ opacity:1 !important; transform:none !important }
}
