/* ════════════════════════════════════════
   QUALYTHOME — styles.css
   Paleta: #DC8E47 (gold) · #2596be (blue) · #fff · #111
════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --gold:        #DC8E47;
  --gold-dark:   #b8712e;
  --gold-light:  #f0b978;
  --blue:        #2596be;
  --blue-dark:   #1a7294;
  --blue-light:  #4fb8d8;
  --dark:        #111111;
  --dark-2:      #1a1a1a;
  --dark-3:      #222222;
  --mid:         #555555;
  --light:       #f8f8f6;
  --white:       #ffffff;
  --line:        rgba(255,255,255,0.1);
  --line-dark:   rgba(0,0,0,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Barlow', sans-serif; font-size: 16px; color: var(--dark); background: var(--white); overflow-x: hidden; }

img { max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'Barlow Condensed', sans-serif; }

/* ════════════════════════════════════════
   TOP BAR
════════════════════════════════════════ */
.top-bar {
  background: var(--dark);
  padding: .5rem 0;
  font-size: .8rem;
}
.top-bar-link {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.top-bar-link:hover { color: var(--gold); }
.top-bar-social {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  font-size: .75rem;
  transition: all .2s;
}
.top-bar-social:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.qh-navbar {
  background: var(--white);
  padding: .9rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all .3s ease;
}
.qh-navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
}
.qh-brand {
  text-decoration: none;
  line-height: 1;
}
.brand-q { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--dark); letter-spacing: -.01em; }
.brand-h { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--gold); letter-spacing: -.01em; }
.brand-tag { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-family: 'Barlow', sans-serif; font-weight: 500; margin-top: .1rem; }

.qh-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--dark) !important;
  padding: .5rem .8rem !important;
  position: relative;
  transition: color .2s;
}
.qh-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .8rem; right: .8rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.qh-link:hover::after,
.qh-link.active::after { transform: scaleX(1); }
.qh-link:hover { color: var(--gold) !important; }
.qh-link.active { color: var(--gold) !important; }

.btn-nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: .5rem 1.2rem !important;
}
.btn-nav-cta::after { display: none; }
.btn-nav-cta:hover { background: var(--gold-dark) !important; color: #fff !important; }

.qh-dropdown {
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  padding: .5rem 0;
  min-width: 220px;
}
.qh-dropdown .dropdown-item {
  font-size: .88rem;
  padding: .6rem 1.2rem;
  color: var(--dark);
  transition: all .15s;
}
.qh-dropdown .dropdown-item:hover { background: var(--light); color: var(--gold); padding-left: 1.6rem; }

/* Hamburger custom */
.qh-toggler {
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: .35rem .5rem;
  background: transparent;
}
.qh-toggler span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  margin: 4px 0;
  transition: all .3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: linear-gradient(135deg, rgba(220,142,71,.12) 0%, rgba(37,150,190,.08) 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-shape-2 {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,142,71,.3), transparent);
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 32px; height: 2px; background: var(--gold); }

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: .95;
  margin-bottom: 1.5rem;
}
.hero-title-accent { color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat { text-align: center; }
.stat-n { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; }
.stat-l { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); display: block; margin-top: .2rem; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* Hero images */
.hero-img-wrapper { position: relative; height: 520px; }
.hero-img-card { border-radius: 12px; overflow: hidden; position: absolute; }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img-main { width: 85%; height: 85%; top: 0; right: 0; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.hero-img-accent { width: 50%; height: 45%; bottom: 0; left: 0; border: 3px solid var(--dark); box-shadow: 0 12px 32px rgba(0,0,0,.3); z-index: 2; }
.hero-badge-float {
  position: absolute;
  top: 15%;
  left: -5%;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .05em;
  box-shadow: 0 8px 24px rgba(220,142,71,.4);
  z-index: 3;
  animation: floatBadge 3s ease-in-out infinite;
}
.hero-badge-float i { font-size: 1.1rem; margin-bottom: .2rem; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-cue span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.7)} 50%{opacity:1;transform:scaleY(1)} }

/* ════════════════════════════════════════
   MARQUEE BAND
════════════════════════════════════════ */
.marquee-band {
  background: var(--gold);
  padding: .85rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}
.mx-dot { color: rgba(255,255,255,.5); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════ */
.section-pad { padding: 6rem 0; }

.section-eyebrow {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.section-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: currentColor; }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}
.text-accent { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-light-muted { color: rgba(255,255,255,.65); }

/* ════════════════════════════════════════
   FEATURE CARDS (SISTEMA)
════════════════════════════════════════ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card--accent::before { background: var(--gold); }
.feature-card--accent .feature-icon-wrap { background: rgba(220,142,71,.1); color: var(--gold); }
.feature-card--accent .feature-link { color: var(--gold); }
.feature-card--accent .feature-link:hover { color: var(--gold-dark); }

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(37,150,190,.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}
.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .8rem;
}
.feature-text { font-size: .9rem; color: var(--mid); line-height: 1.75; margin-bottom: 1.2rem; }
.feature-link { color: var(--blue); font-weight: 600; font-size: .88rem; text-decoration: none; transition: color .2s; }
.feature-link:hover { color: var(--blue-dark); }

/* ════════════════════════════════════════
   DARK SECTION (VENTAJAS)
════════════════════════════════════════ */
.bg-dark-section { background: var(--dark-2); padding: 6rem 0; }

.adv-list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.adv-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
}
.adv-item i { color: var(--gold); font-size: 1rem; margin-top: .15rem; flex-shrink: 0; }
.adv-item strong { color: var(--white); }

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
}
.ventaja-tile {
  background: var(--dark-3);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.ventaja-tile:hover { background: var(--dark); transform: scale(1.03); z-index: 2; }
.ventaja-tile i { font-size: 1.8rem; color: var(--blue); }
.ventaja-tile span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.7); line-height: 1.4; }
.ventaja-tile--gold i { color: var(--gold); }
.ventaja-tile--blue i { color: var(--blue-light); }

/* ════════════════════════════════════════
   AWARD CARDS
════════════════════════════════════════ */
.award-card {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line-dark);
  transition: all .3s;
  height: 100%;
}
.award-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.award-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(37,150,190,.12);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.award-card--gold .award-icon { background: rgba(220,142,71,.12); color: var(--gold); }
.award-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.award-card p { font-size: .85rem; color: var(--mid); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════
   LAB CTA SECTION
════════════════════════════════════════ */
.lab-cta-section {
  position: relative;
  padding: 6rem 0;
  background: var(--dark);
  overflow: hidden;
}
.lab-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,150,190,.12) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 10% 50%, rgba(220,142,71,.08) 0%, transparent 60%);
  pointer-events: none;
}
.lab-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.lab-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
}
.lab-list li i { color: var(--blue); font-size: .9rem; }
.lab-img-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }

/* ════════════════════════════════════════
   PROJECTS GRID
════════════════════════════════════════ */
.project-thumb {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark-3);
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s;
  display: block;
  filter: brightness(.9);
}
.project-thumb:hover img { transform: scale(1.08); filter: brightness(.7); }
.project-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity .3s;
  background: rgba(220,142,71,.3);
}
.project-thumb:hover .project-thumb-overlay { opacity: 1; }
.project-thumb--cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  cursor: default;
}
.project-thumb-cta-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 1rem;
  text-align: center;
}

/* ════════════════════════════════════════
   PROCESO
════════════════════════════════════════ */
.proceso-section {
  background: var(--dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.proceso-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
}
.proceso-row { border: 1px solid rgba(255,255,255,.06); }
.proceso-step {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255,255,255,.06);
  text-align: center;
  position: relative;
  transition: background .3s;
}
.proceso-step:last-child { border-right: none; }
.proceso-step:hover { background: rgba(220,142,71,.05); }
.proceso-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(220,142,71,.12);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.proceso-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.proceso-step h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.proceso-step p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════ */
.cta-final-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-final-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,.04);
  transform: rotate(-15deg);
  pointer-events: none;
}
.cta-final-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-final-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-qh-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all .25s ease;
  cursor: pointer;
}
.btn-qh-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,142,71,.35); }

.btn-qh-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.3);
  transition: all .25s ease;
}
.btn-qh-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-qh-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.4);
  transition: all .25s ease;
}
.btn-qh-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.btn-qh-blue {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: all .25s ease;
}
.btn-qh-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); }

/* ════════════════════════════════════════
   PAGE HERO (subpages)
════════════════════════════════════════ */
.page-hero {
  background: var(--dark);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
}
.page-hero-eyebrow {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.page-hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--gold); }
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: .95;
  margin-bottom: 1rem;
}
.page-hero-title span { color: var(--gold); }
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 500px;
  line-height: 1.75;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(37,150,190,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ════════════════════════════════════════
   CONTENT SECTION (detail pages)
════════════════════════════════════════ */
.content-section { padding: 5rem 0; }
.bg-light-section { background: var(--light); }

.bullet-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.7;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: all .25s;
}
.bullet-list li:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,.08); border-left-color: var(--blue); }
.bullet-list li i { color: var(--gold); font-size: .9rem; margin-top: .25rem; flex-shrink: 0; }

.detail-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  position: relative;
}
.detail-img-wrap img { width: 100%; display: block; }
.detail-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  right: 10px; bottom: 10px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  z-index: -1;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  letter-spacing: .04em;
  transition: gap .2s, color .2s;
}
.back-btn:hover { color: var(--blue-dark); gap: .8rem; }

/* ════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════ */
.gallery-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--light);
  border: 1px solid var(--line-dark);
  color: var(--mid);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark-3);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
}

/* ════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════ */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 40px rgba(0,0,0,.08);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: .7rem 1rem;
  font-size: .92rem;
  color: var(--dark);
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(220,142,71,.12);
  outline: none;
}
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }

.contact-info-card {
  background: var(--dark);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(220,142,71,.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); display: block; margin-bottom: .2rem; }
.contact-info-val { font-size: .95rem; color: var(--white); font-weight: 500; }
.contact-info-val a { color: var(--white); text-decoration: none; }
.contact-info-val a:hover { color: var(--gold); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.qh-footer { background: var(--dark); color: rgba(255,255,255,.6); }
.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: .2rem; margin-bottom: 1rem; }
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-decoration: none;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.footer-heading { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .88rem; transition: color .2s; display: flex; align-items: center; gap: .4rem; }
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-links a:hover { color: var(--gold); }

.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .9rem; font-size: .88rem; }
.footer-contact-list i { color: var(--gold); margin-top: .2rem; width: 14px; text-align: center; }
.footer-contact-list a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact-list a:hover { color: var(--gold); }
.footer-company { font-size: .78rem; color: rgba(255,255,255,.3); font-style: italic; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  margin-top: 1rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-designed { font-size: .72rem; color: rgba(255,255,255,.25); }

/* ════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .75s ease, transform .75s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .75s ease, transform .75s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════
   QUIENES SOMOS
════════════════════════════════════════ */
.mision-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: transform .3s;
  height: 100%;
}
.mision-card:hover { transform: translateY(-5px); }
.mision-card.vision { border-top-color: var(--blue); }
.mision-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; }
.mision-card p { font-size: .93rem; color: var(--mid); line-height: 1.8; }

.valor-card {
  background: var(--light);
  border-radius: 10px;
  padding: 1.8rem;
  border-left: 3px solid transparent;
  transition: all .3s;
  height: 100%;
}
.valor-card:hover { border-left-color: var(--gold); background: var(--white); transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.valor-card h5 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5rem; }
.valor-card p { font-size: .85rem; color: var(--mid); line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 992px) {
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-img-wrapper { height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }
  .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
  .hero-stats { gap: 1.2rem; }
  .stat-n { font-size: 2rem; }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-step { padding: 2rem 1.2rem; }
  .hero-img-wrapper { height: 280px; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar .d-flex.justify-content-between { flex-direction: column; align-items: flex-start !important; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .detail-img-wrap::before { display: none; }
}

/* ── ALERTAS FORMULARIO ── */
.alert-qh {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 8px;
  font-size: .92rem;
  line-height: 1.6;
}
.alert-qh i { font-size: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.alert-qh strong { display: block; margin-bottom: .2rem; }

.alert-qh--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.alert-qh--success i { color: #16a34a; }

.alert-qh--error {
  background: #fff8f0;
  border: 1px solid rgba(220,142,71,.4);
  color: #92400e;
}
.alert-qh--error i { color: var(--gold); }







/* ════════════════════════════════════════
   LEGAL DOC PAGES
   terminos · politica_privacidad · disclaimer
════════════════════════════════════════ */

.legal-doc-section {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.legal-doc-section:last-of-type { border-bottom: none; }

.legal-doc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: .45rem;
  flex-shrink: 0;
}

.legal-doc-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.legal-doc-p {
  font-size: .93rem;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: .9rem;
}
.legal-doc-p:last-child { margin-bottom: 0; }

.legal-doc-strong {
  font-weight: 700;
  color: var(--dark);
}

.legal-doc-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(220,142,71,.35);
  transition: color .2s, text-decoration-color .2s;
}
.legal-doc-link:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
}

/* ── Lista ── */
.legal-doc-list {
  list-style: none;
  padding: 0;
  margin: .9rem 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  overflow: hidden;
}
.legal-doc-list li {
  background: var(--light);
  padding: .9rem 1.3rem;
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: background .2s, padding-left .2s;
}
.legal-doc-list li:hover {
  background: #fff;
  padding-left: 1.6rem;
}
.legal-doc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .58rem;
  transition: transform .2s;
}
.legal-doc-list li:hover::before {
  transform: scale(1.4);
}
.legal-doc-list li strong { color: var(--dark); font-weight: 600; }

/* ── Bloque nota/importante ── */
.legal-doc-note {
  background: #fff8f0;
  border: 1px solid rgba(220,142,71,.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
}
.legal-doc-note-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
}

/* Lista dentro de nota */
.legal-doc-list--note {
  border: none;
  border-radius: 0;
  margin: 0;
  gap: 0;
}
.legal-doc-list--note li {
  background: transparent;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(220,142,71,.1);
}
.legal-doc-list--note li:last-child { border-bottom: none; }
.legal-doc-list--note li:hover { background: transparent; padding-left: 0; }
.legal-doc-list--note li::before { background: var(--gold-dark); }
.legal-doc-list--note li:hover::before { transform: none; }

/* ── Navegación entre páginas legales ── */
.legal-doc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.legal-doc-nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.legal-doc-nav-links a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s, gap .2s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.legal-doc-nav-links a:hover { color: var(--blue-dark); gap: .5rem; }

/* ── Responsive ── */
@media (max-width: 576px) {
  .legal-doc-section {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .legal-doc-num { padding-top: 0; }
  .legal-doc-nav { flex-direction: column; align-items: flex-start; }
}




/* ════════════════════════════════════════
   VIDEO SECTION
════════════════════════════════════════ */
.video-section {
  padding: 6rem 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
}

/* Highlights */
.video-highlights {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.2rem;
}
.video-highlight-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .92rem;
  color: var(--mid);
}
.video-highlight-item i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Wrapper del video */
.video-wrapper {
  position: relative;
}

/* Video nativo */
.video-player {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
  background: var(--dark);
}

/* YouTube iframe */
.video-iframe-wrap {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}
.video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Badge flotante */
.video-deco-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 8px 24px rgba(220,142,71,.35);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}
.video-deco-badge i { font-size: 1.4rem; }

/* Responsive */
@media (max-width: 768px) {
  .video-deco-badge { display: none; }
}