:root {
  --primary:       #06111e;
  --primary-mid:   #0b1c2d;
  --accent:        #1e4a7b;
  --accent-2:      #2c6fad;
  --gold:          #c8a96e;
  --gold-light:    #e8c98a;
  --gold-dim:      rgba(200,169,110,0.12);
  --white:         #fff;
  --gray:          #6c757d;
  --gray-mid:      #9aa3b2;
  --text-dark:     #0d1117;
  --tr:            0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Montserrat',sans-serif; color:var(--text-dark); overflow-x:hidden; line-height:1.6; background:#fff; }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--primary); }
::-webkit-scrollbar-thumb { background:linear-gradient(var(--gold),var(--accent)); border-radius:3px; }
.header {
  position:fixed; top:0; left:0; width:100%; height:74px;
  display:flex; justify-content:space-between; align-items:center;
  padding:0 50px; z-index:9999;
}
.header::before {
  content:''; position:absolute; inset:0;
  background:rgba(6,17,30,0.97); backdrop-filter:blur(16px) saturate(200%);
  box-shadow:0 4px 30px rgba(0,0,0,0.3);
  border-bottom:1px solid rgba(255,255,255,0.05); z-index:1;
}
.header > * { position:relative; z-index:2; }
.logo img { height:45px; display:block; filter:drop-shadow(0 4px 14px rgba(0,0,0,.4)); transition:transform var(--tr); }
.logo:hover img { transform:scale(1.04); }
.header nav > ul { list-style:none; display:flex; gap:28px; align-items:center; }
.header nav ul li a {
  position:relative; color:rgba(255,255,255,0.85); text-decoration:none;
  font-weight:500; font-size:14.5px; padding:8px 4px; transition:color var(--tr);
}
.header nav ul li a::after {
  content:''; position:absolute; left:0; bottom:-4px; width:0; height:2px;
  background:linear-gradient(90deg,var(--gold),var(--accent)); transition:width .3s; border-radius:2px;
}
.header nav ul li a:hover { color:#fff; }
.header nav ul li a:hover::after, .header nav ul li a.active-link::after { width:100%; }
.submenu { position:relative; }
.dropdown {
  position:absolute; top:62px; left:-20px; width:310px; background:#fff;
  list-style:none; opacity:0; visibility:hidden; transform:translateY(14px);
  transition:all 0.32s cubic-bezier(.22,1,.36,1); padding:10px 8px 0;
  border-radius:18px; overflow:hidden;
  box-shadow:0 24px 70px rgba(6,17,30,0.2),0 0 0 1px rgba(200,169,110,0.12); z-index:10000;
}
.dropdown::before { content:''; display:block; height:3px; background:linear-gradient(90deg,var(--gold),var(--accent),var(--gold)); margin-bottom:8px; }
.dropdown li a { display:flex !important; align-items:center; gap:14px; padding:11px 20px; text-decoration:none; color:var(--primary) !important; text-shadow:none !important; font-weight:500; font-size:13.5px; transition:background 0.22s,padding-left 0.22s; border-radius:10px; margin:0 2px; }
.dropdown li a::after { display:none !important; }
.dropdown li a:hover { background:rgba(200,169,110,0.07); padding-left:26px; }
.dd-icon { width:36px; height:36px; min-width:36px; border-radius:10px; background:linear-gradient(135deg,rgba(200,169,110,0.12),rgba(30,74,123,0.07)); border:1px solid rgba(200,169,110,0.2); display:flex; align-items:center; justify-content:center; color:var(--accent); transition:all 0.22s; flex-shrink:0; }
.dropdown li a:hover .dd-icon { background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-color:transparent; color:var(--primary); }
.dd-text { display:flex; flex-direction:column; gap:2px; }
.dd-text strong { font-size:13.5px; font-weight:700; color:var(--primary); line-height:1.2; }
.dd-text em { font-size:11px; font-style:normal; color:var(--gray-mid); font-weight:500; }
.dd-footer { margin-top:8px; border-top:1px solid rgba(200,169,110,0.12); padding:4px 8px 6px; }
.dd-all { display:flex !important; align-items:center; justify-content:space-between !important; padding:12px 20px !important; font-size:12px !important; font-weight:700 !important; letter-spacing:0.5px; text-transform:uppercase; color:var(--gold) !important; background:rgba(200,169,110,0.04); border-radius:10px !important; }
.dd-all:hover { background:rgba(200,169,110,0.1) !important; }
.dd-all svg { transition:transform 0.22s; }
.dd-all:hover svg { transform:translateX(4px); }
.submenu:hover .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.btn-nav { border:2px solid rgba(255,255,255,0.65); padding:10px 24px; border-radius:8px; font-weight:700; font-size:13.5px; background:transparent; color:#fff !important; text-decoration:none; display:inline-block; transition:all var(--tr); }
.btn-nav:hover { background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-color:var(--gold); color:var(--primary) !important; transform:translateY(-2px); }
.btn-nav::after { display:none !important; }
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.hamburger span { display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:all .3s; }
.mobile-nav { position:fixed; top:0; left:0; width:100%; background:rgba(6,17,30,0.98); backdrop-filter:blur(20px); z-index:9998; padding:80px 0 20px; transform:translateY(-110%); transition:transform .35s cubic-bezier(.22,1,.36,1); border-bottom:1px solid rgba(200,169,110,0.15); }
.mobile-nav.open { transform:translateY(0); }
.mobile-nav ul { list-style:none; }
.mobile-nav ul li a { display:block; padding:14px 32px; color:rgba(255,255,255,0.85); text-decoration:none; font-size:15px; font-weight:600; border-bottom:1px solid rgba(255,255,255,0.04); transition:color .2s,padding-left .2s; }
.mobile-nav ul li a:hover { color:var(--gold); padding-left:40px; }
.mobile-nav ul li a.mobile-cta { background:linear-gradient(135deg,var(--gold),var(--gold-light)); color:var(--primary) !important; font-weight:800; margin:16px 24px 8px; border-radius:10px; text-align:center; border-bottom:none; }
.nosotros-hero {
  min-height: 100vh;
  background:
    linear-gradient(125deg, rgba(4,12,22,0.96) 0%, rgba(6,17,30,0.88) 45%, rgba(30,74,123,0.5) 80%, transparent 100%),
    url('../images/nosotros.png') center -20% / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(80px,8%) 90px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.nosotros-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,74,123,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,74,123,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}
.hero-ghost-text {
  position: absolute;
  right: -3%;
  bottom: -5%;
  font-family: 'Playfair Display', serif;
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  font-style: italic;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -4px;
}
.hero-vert-line {
  position: absolute;
  left: max(55px,5.5%);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 10%, rgba(200,169,110,0.4) 40%, rgba(200,169,110,0.15) 75%, transparent 100%);
  z-index: 1;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
}
.hero-breadcrumb {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.7s ease both;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb span { color: rgba(200,169,110,0.8); }
.hero-breadcrumb::before {
  content: '';
  width: 30px; height: 1px;
  background: rgba(200,169,110,0.5);
}
.nosotros-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.55);
  margin-bottom: 26px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.nosotros-hero h1 em {
  font-style: italic;
  color: #fff;
  text-shadow: 0 0 60px rgba(91,155,213,0.5), 0 0 120px rgba(200,169,110,0.2);
}
.hero-lead {
  font-size: clamp(1rem,1.8vw,1.12rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-stats-row {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  width: fit-content;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hs-item {
  padding: 20px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.hs-item:last-child { border-right: none; }
.hs-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}
.hs-lbl {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-scroll-cue {
  position: relative;
  bottom: -70px;
  right: max(80px,8%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp 0.7s 0.5s ease both;
  padding-left: 19%;
}
.scroll-bar {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(200,169,110,0.5));
  animation: scrollDrop 2.2s ease infinite;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ticker-band {
  background: var(--primary);
  border-top: 1px solid rgba(200,169,110,.1);
  border-bottom: 1px solid rgba(200,169,110,.1);
  padding: 13px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(200,169,110,.6); }
.ticker-dot { color: var(--gold) !important; font-size: 7px !important; opacity: .4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.historia-section {
  padding: 120px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.historia-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.historia-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.historia-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,4vw,3.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.historia-title em { font-style: italic; color: var(--accent); }
.historia-intro {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 72px;
}
.timeline {
  position: relative;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--accent), rgba(30,74,123,0.1));
}
.tl-item {
  position: relative;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-item.visible { opacity: 1; transform: translateX(0); }
.tl-dot {
  position: absolute;
  left: -51px;
  top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(200,169,110,0.12);
  transition: all var(--tr);
}
.tl-item:hover .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(200,169,110,0.15);
}
.tl-year {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.tl-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.2;
}
.tl-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 520px;
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.historia-right {
  position: sticky;
  top: 110px;
}
.historia-img-stack {
  position: relative;
  height: 500px;
}
.himg-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6,17,30,0.18);
}
.himg-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.himg-main:hover img { transform: scale(1.04); }
.himg-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(6,17,30,0.22);
  border: 4px solid #fff;
}
.himg-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.himg-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(6,17,30,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  z-index: 10;
}
.himg-badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.himg-badge-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.mvv-section {
  padding: 120px 0;
  background: linear-gradient(160deg, #f0f4fa 0%, #e8eef8 100%);
  position: relative;
  overflow: hidden;
}
.mvv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.mvv-header {
  text-align: center;
  margin-bottom: 72px;
}
.mvv-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,4vw,3.2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 14px;
}
.mvv-header h2 em { font-style: italic; color: var(--gold); }
.mvv-header p { font-size: 1rem; color: var(--gray); line-height: 1.7; }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: #fff;
  border-radius: 22px;
  padding: 44px 36px;
  border: 1px solid rgba(200,169,110,0.12);
  box-shadow: 0 8px 32px rgba(6,17,30,0.07);
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  opacity: 0;
  transform: translateY(28px);
}
.mvv-card.visible { opacity: 1; transform: translateY(0); }
.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(6,17,30,0.14);
  border-color: rgba(200,169,110,0.3);
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200,169,110,0.12), rgba(30,74,123,0.08));
  border: 1px solid rgba(200,169,110,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  font-size: 24px;
  transition: all var(--tr);
}
.mvv-card:hover .mvv-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}
.mvv-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.mvv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.15;
}
.mvv-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.78;
}
.valores-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.valores-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
}
.val-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}
.equipo-section {
  padding: 120px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.equipo-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,74,123,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,74,123,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.equipo-section::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,74,123,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.equipo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}
.equipo-header {
  text-align: center;
  margin-bottom: 72px;
}
.equipo-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,4vw,3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.equipo-header h2 em { font-style: italic; color: var(--gold-light); }
.equipo-header p { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.equipo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--tr);
  opacity: 0;
  transform: translateY(28px);
}
.equipo-card.visible { opacity: 1; transform: translateY(0); }
.equipo-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,169,110,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.equipo-img {
  height: 240px;
  background: linear-gradient(135deg, #0d2137 0%, #1e4a7b 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipo-img-placeholder {
  font-size: 56px;
  color: rgba(255,255,255,0.15);
}
.equipo-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(6,17,30,0.6), transparent);
}
.equipo-body {
  padding: 28px 28px 32px;
}
.equipo-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.equipo-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.equipo-body p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.certs-visual-section {
  padding: 120px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.certs-visual-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.certs-2col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.certs-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}
.certs-left h2 em { font-style: italic; color: var(--gold); }
.certs-left p {
  font-size: 0.97rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 44px;
}
.cert-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cert-card {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(200,169,110,0.15);
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
  opacity: 0;
  transform: scale(0.95);
}
.cert-card.visible { opacity: 1; transform: scale(1); }
.cert-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(6,17,30,0.3);
  border-color: rgba(200,169,110,0.35);
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}
.cert-badge-big {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.cert-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.cert-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.cert-card-check {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 800;
}
.certs-stats-row {
  display: flex;
  gap: 0;
  margin-top: 36px;
  background: linear-gradient(135deg, var(--primary), #0d2137);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,0.12);
}
.cs-item {
  flex: 1;
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.cs-item:last-child { border-right: none; }
.cs-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}
.cs-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.cta-nosotros {
  padding: 120px 0;
  background: linear-gradient(125deg, var(--primary-mid) 0%, var(--primary) 60%, #081626 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-nosotros::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(30,74,123,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-nosotros-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 40px;
}
.cta-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.25);
  background: rgba(200,169,110,0.07);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.cta-nosotros h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.cta-nosotros h2 em { font-style: italic; color: var(--gold-light); }
.cta-nosotros p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 44px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: all var(--tr);
  box-shadow: 0 8px 28px rgba(30,74,123,0.5);
}
.btn-cta-primary:hover { transform: translateY(-3px); filter: brightness(1.15); box-shadow: 0 14px 40px rgba(30,74,123,0.65); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: all var(--tr);
}
.btn-cta-outline:hover { border-color: rgba(200,169,110,0.6); color: var(--gold-light); background: rgba(200,169,110,0.07); transform: translateY(-2px); }
.footer { background:#020609; position:relative; overflow:hidden; }
.footer::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(30,74,123,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(30,74,123,.04) 1px,transparent 1px); background-size:56px 56px; pointer-events:none; }
.footer::after { content:''; position:absolute; top:-200px; left:-200px; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle,rgba(30,74,123,.12) 0%,transparent 70%); pointer-events:none; }
.footer-top-bar { border-bottom:1px solid rgba(200,169,110,.1); background:rgba(255,255,255,.022); position:relative; z-index:1; }
.footer-top-inner { max-width:1200px; margin:0 auto; padding:16px 44px; display:flex; align-items:center; gap:0; flex-wrap:wrap; }
.ftb-item { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:500; color:rgba(255,255,255,.5); padding:0 28px; }
.ftb-item svg { color:var(--gold); flex-shrink:0; }
.ftb-item:first-child { padding-left:0; }
.ftb-divider { width:1px; height:20px; background:rgba(255,255,255,.08); flex-shrink:0; }
.ftb-badge { margin-left:auto; padding-right:0; color:rgba(200,169,110,.8); font-weight:700; letter-spacing:.5px; font-size:11px; text-transform:uppercase; }
.ftb-dot { width:7px; height:7px; border-radius:50%; background:#25d366; box-shadow:0 0 0 3px rgba(37,211,102,.15); animation:ftbPulse 2s ease infinite; flex-shrink:0; }
@keyframes ftbPulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.4);}50%{box-shadow:0 0 0 7px rgba(37,211,102,0);} }
.footer-body { max-width:1200px; margin:0 auto; padding:72px 44px 60px; position:relative; z-index:1; }
.footer-main-grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1.3fr; gap:52px; align-items:start; }
.footer-brand-logo img { height:54px; display:block; margin-bottom:20px; filter:brightness(1.1); }
.footer-brand-desc { font-size:.84rem; color:rgba(255,255,255,.38); line-height:1.75; margin-bottom:22px; max-width:280px; }
.footer-certs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:26px; }
.fcert { font-size:9.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:5px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); color:rgba(255,255,255,.4); }
.fcert-alt { background:rgba(200,169,110,.07); border-color:rgba(200,169,110,.2); color:rgba(200,169,110,.6); }
.footer-socials { display:flex; gap:10px; }
.fsocial { width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:all .25s; color:rgba(255,255,255,.45); text-decoration:none; }
.fsocial svg { width:15px; height:15px; fill:currentColor; }
.fsocial:hover { background:rgba(200,169,110,.12); border-color:rgba(200,169,110,.3); color:var(--gold); transform:translateY(-2px); }
.fsocial-wa:hover { background:rgba(37,211,102,.1); border-color:rgba(37,211,102,.3); color:#25d366; }
.footer-col-title { font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:2.5px; color:rgba(255,255,255,.85); margin-bottom:22px; display:flex; align-items:center; gap:10px; }
.fct-bar { display:block; width:18px; height:2px; background:linear-gradient(90deg,var(--gold),var(--accent)); border-radius:2px; flex-shrink:0; }
.footer-links { list-style:none; padding:0; }
.footer-links li { margin-bottom:12px; }
.footer-links li a { display:flex; align-items:center; gap:8px; font-size:.84rem; color:rgba(255,255,255,.38); text-decoration:none; font-weight:500; transition:color .2s, gap .2s; }
.footer-links li a svg { color:rgba(200,169,110,.35); flex-shrink:0; transition:color .2s, transform .2s; }
.footer-links li a:hover { color:rgba(255,255,255,.85); gap:12px; }
.footer-links li a:hover svg { color:var(--gold); transform:translateX(2px); }
.footer-cta-text { font-size:.84rem; color:rgba(255,255,255,.38); line-height:1.65; margin-bottom:20px; }
.footer-cta-btn { display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:9px; background:linear-gradient(135deg,var(--gold),var(--gold-light)); color:var(--primary); font-weight:700; font-size:13px; text-decoration:none; transition:all .25s; box-shadow:0 6px 20px rgba(200,169,110,.25); margin-bottom:12px; width:100%; justify-content:center; }
.footer-cta-btn:hover { filter:brightness(1.08); transform:translateY(-2px); }
.footer-phone-link { display:flex; align-items:center; gap:8px; justify-content:center; font-size:13.5px; font-weight:700; color:rgba(255,255,255,.55); text-decoration:none; padding:10px; border-radius:9px; border:1px solid rgba(255,255,255,.07); transition:all .25s; margin-bottom:22px; }
.footer-phone-link svg { color:var(--gold); }
.footer-phone-link:hover { color:#fff; border-color:rgba(200,169,110,.25); background:rgba(255,255,255,.04); }
.footer-reclamaciones a { display:block; transition:opacity .2s; }
.footer-reclamaciones a:hover { opacity:.75; }
.footer-reclamaciones img { height:58px; width:auto; display:block; }
.footer-divider-line { max-width:1200px; margin:0 auto; height:1px; background:linear-gradient(90deg,transparent,rgba(200,169,110,.15) 20%,rgba(200,169,110,.25) 50%,rgba(200,169,110,.15) 80%,transparent); position:relative; z-index:1; }
.footer-bottom { position:relative; z-index:1; padding:22px 44px; }
.footer-bottom-inner { max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.footer-bottom p { font-size:.76rem; color:rgba(255,255,255,.18); }
.footer-bottom strong { color:rgba(255,255,255,.3); font-weight:700; }
.footer-ruc { color:rgba(255,255,255,.12) !important; }
.whatsapp-float { position:fixed; bottom:30px; right:30px; z-index:9998; width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#25d366,#128c7e); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 24px rgba(37,211,102,.4); text-decoration:none; transition:all var(--tr); }
.whatsapp-float:hover { transform:scale(1.1) translateY(-3px); }
@media (max-width:1024px) {
  .historia-grid, .certs-2col { grid-template-columns:1fr; gap:60px; }
  .historia-right { position:static; }
  .himg-stack { height:360px; }
  .mvv-grid { grid-template-columns:1fr 1fr; }
  .equipo-grid { grid-template-columns:1fr 1fr; }
  .footer-main-grid { grid-template-columns:1.5fr 1fr 1fr; gap:40px; }
  .footer-col-cta { grid-column:1/-1; }
}
@media (max-width:768px) {
  .header { padding:0 24px; height:64px; }
  .header nav { display:none; }
  .historia-inner, .mvv-inner, .equipo-inner, .certs-visual-inner { padding:0 28px; }
  .nosotros-hero { padding:0 32px 70px; }
  .hero-stats-row { flex-wrap:wrap; }
  .mvv-grid, .equipo-grid, .cert-cards-grid { grid-template-columns:1fr; }
  .certs-stats-row { flex-wrap:wrap; }
  .footer-body { padding:52px 28px 44px; }
  .footer-main-grid { grid-template-columns:1fr 1fr; gap:36px; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { padding:20px 28px; }
  .footer-bottom-inner { flex-direction:column; text-align:center; }
}
@media (max-width:480px) {
  .hero-stats-row { display:grid; grid-template-columns:1fr 1fr; }
  .hs-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.08); }
  .footer-main-grid { grid-template-columns:1fr; gap:32px; }
  .footer-top-inner { flex-direction:column; align-items:flex-start; gap:10px; }
  .ftb-divider { display:none; }
  .ftb-item { padding:0; }
  .footer-bottom { padding:18px 20px; }
}




.mvv-header h2,
.certs-left h2,
.cta-nosotros h2 {
  position: relative;
}
.mvv-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 3px;
  margin: 18px auto 0;
}
.certs-left h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 3px;
  margin: 16px 0 0;
}


.mvv-card {
  padding: 48px 38px 44px;
}
.mvv-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200,169,110,0.1), rgba(30,74,123,0.08));
  border: 1.5px solid rgba(200,169,110,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}
.mvv-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.38s ease;
  border-radius: inherit;
}
.mvv-icon-wrap svg {
  position: relative;
  z-index: 1;
  color: var(--gold);
  transition: color 0.38s ease, transform 0.38s ease;
}
.mvv-card:hover .mvv-icon-wrap::after { opacity: 1; }
.mvv-card:hover .mvv-icon-wrap svg { color: var(--primary); transform: scale(1.1) rotate(-4deg); }


.mvv-bg-num {
  position: absolute;
  bottom: -16px;
  right: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  font-weight: 800;
  color: rgba(30,74,123,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s ease, transform 0.35s ease;
  user-select: none;
}
.mvv-card:hover .mvv-bg-num {
  color: rgba(200,169,110,0.06);
  transform: scale(1.04) translateY(-4px);
}


.cert-cards-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cert-card {
  padding: 36px 30px 44px;
  min-height: 200px;
  cursor: default;
}


.cert-card .cert-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  border-radius: 18px;
  z-index: 0;
}
.cert-card .cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,17,30,0.88) 0%,
    rgba(6,17,30,0.7) 50%,
    rgba(30,74,123,0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  border-radius: 18px;
  z-index: 1;
}
.cert-card:hover .cert-bg-img { opacity: 1; }
.cert-card:hover .cert-overlay { opacity: 1; }


.cert-card > *:not(.cert-bg-img):not(.cert-overlay) {
  position: relative;
  z-index: 2;
}


.cert-badge-big {
  font-size: 11px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-card:hover .cert-badge-big {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200,169,110,0.35);
}

.cert-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 7px;
  transition: color 0.3s ease;
}
.cert-card:hover h4 { color: var(--gold-light); }

.cert-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}
.cert-card:hover p { color: rgba(255,255,255,0.7); }


.cert-card-check-new {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200,169,110,0.1);
  border: 1.5px solid rgba(200,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gold);
  font-weight: 800;
  z-index: 2;
  transition: all 0.35s ease;
}
.cert-card:hover .cert-card-check-new {
  background: rgba(200,169,110,0.2);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(200,169,110,0.3);
}


.cert-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1.5px solid rgba(200,169,110,0);
  transition: border-color 0.4s ease;
  pointer-events: none;
  z-index: 3;
}
.cert-card:hover::after { border-color: rgba(200,169,110,0.4); }


.certs-stats-row {
  margin-top: 40px;
}
.cs-num {
  font-size: 2.2rem;
  transition: color 0.3s ease;
}
.cs-item:hover .cs-num { color: var(--gold); }
.cs-item {
  transition: background 0.3s ease;
  cursor: default;
}
.cs-item:hover { background: rgba(255,255,255,0.04); }


.mvv-card {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.38s ease,
              border-color 0.38s ease;
}
.mvv-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.cert-card {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.38s ease,
              border-color 0.38s ease;
}
.cert-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
