*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #160AF0;
  --cvi-blue: #0E2976;
  --cvi-steel: #4db8d4;
  --cyan: #22d3ee;
  --dark: #020617;
  --dark2: #0f172a;
  --dark3: #1e293b;
  --white: #ffffff;
  --gray: #94a3b8;
  --gray2: #64748b;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--dark); color: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--dark2); border-bottom: 1px solid #1e293b; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.nav-logo img { height: 2.25rem; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; color: white; cursor: pointer; }
.nav-mobile { display: none; background: var(--dark2); border-top: 1px solid #1e293b; padding: 1rem 0; }
.nav-mobile a { display: block; padding: 0.65rem 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.nav-mobile a:hover { color: white; }
section { padding: 6rem 0; }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cyan); }
.section-title { margin-top: 1rem; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.02em; }
.section-desc { margin-top: 1rem; color: var(--gray); max-width: 40rem; line-height: 1.7; font-size: 1.05rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--cyan); color: #020617; padding: 1rem 2rem; border-radius: 0.75rem; font-weight: 700; font-size: 0.95rem; transition: all 0.3s ease; border: none; cursor: pointer; text-decoration: none; }
.btn-primary:hover { background: #67e8f9; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(34, 211, 238, 0.25); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: white; padding: 1rem 2rem; border-radius: 0.75rem; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; cursor: pointer; text-decoration: none; }
.btn-secondary:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.12); color: var(--cyan); transform: translateY(-2px); }
footer { background: var(--dark2); border-top: 1px solid #1e293b; padding: 3.5rem 0; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.5fr 1fr 1fr; }
.footer-brand p:first-child { font-size: 1.15rem; font-weight: 700; color: white; }
.footer-brand p { margin-top: 0.5rem; font-size: 0.875rem; color: #64748b; line-height: 1.6; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #64748b; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.875rem; color: #64748b; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cyan); }
.footer-col p { font-size: 0.875rem; color: #64748b; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { font-size: 0.75rem; color: #475569; transition: color 0.2s; }
.footer-social a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid #1e293b; padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.875rem; color: #475569; }
/* HERO SECTION */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 5rem; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2, 6, 23, 0.55); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(34, 211, 238, 0.15); border: 1px solid rgba(34, 211, 238, 0.4); border-radius: 9999px; padding: 0.625rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.75rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: white; }
.hero p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.95); max-width: 50rem; margin: 0 auto 2rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 767px) { .nav-links { display: none; } .nav-toggle { display: block; } .footer-grid { grid-template-columns: 1fr; } }

/* ANIMATIONS */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(34,211,238,0.3); } 50% { box-shadow: 0 0 40px rgba(34,211,238,0.6); } }

/* HERO ANIMATIONS */
.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero h1 { animation: slideInLeft 0.8s ease-out 0.2s both; }
.hero p { animation: slideInLeft 0.8s ease-out 0.4s both; }
.hero-btns { animation: slideInLeft 0.8s ease-out 0.6s both; }

/* CARD HOVER ANIMATIONS */
a[href*="productos/cvi"] { animation: fadeInUp 0.6s ease-out; }
a[href*="productos/cvi"]:hover { border-color: rgba(34,211,238,0.5); box-shadow: 0 10px 30px rgba(34,211,238,0.1); }
a[href*="productos/cvi"]:hover h3 { color: var(--cyan); }
a[href*="productos/cvi"]:hover > div > div:first-child { opacity: 1; }
a[href*="productos/cvi"]:hover div[style*="inline-flex"][style*="margin-top: 1.5rem"] { opacity: 1; transform: translateX(0); }

/* BUTTON ANIMATIONS */
.btn-primary { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(34, 211, 238, 0.3); }
.btn-secondary { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(34, 211, 238, 0.15); }

/* EYEBROW ANIMATION */
.eyebrow-dot { animation: pulse 2s infinite; }

/* FADE IN ON SCROLL */
.fade-in { animation: fadeInUp 0.6s ease-out; }
