/* Velador · velador.cl — dirección V2 Cobalto */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format("woff2"); }

:root {
  --cobalt: #1D4ED8;
  --cobalt-light: #2F5FEA;
  --ink: #0B1220;
  --muted: #5B6680;
  --line: #E5EAF5;
  --mist: #EEF2FB;
  --sky: #BFD0FF;
  --white: #FFFFFF;
  --radius: 24px;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--cobalt); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(11,18,32,.18); }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { box-shadow: 0 10px 24px rgba(29,78,216,.3); }

/* Encabezado */
.hero { background: radial-gradient(circle at 15% 0%, var(--cobalt-light) 0%, var(--cobalt) 55%); color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; color: #DCE5FF; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links .btn { padding: 11px 20px; font-size: 15px; }

.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 56px 0 96px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sky); }
h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; line-height: 1.03; letter-spacing: -0.045em; margin: 20px 0 24px; }
.lead { font-size: 20px; line-height: 1.55; color: #DCE5FF; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.media { border-radius: var(--radius); overflow: hidden; background: var(--cobalt); aspect-ratio: 4 / 3; box-shadow: 0 40px 80px rgba(11,18,32,.28); }
.media video { width: 100%; height: 100%; object-fit: cover; }

/* Funciona con */
.works { border-bottom: 1px solid var(--line); }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; padding-bottom: 28px; }
.works span:first-child { font-size: 14px; font-weight: 700; color: var(--muted); margin-right: 8px; }
.works span:not(:first-child) { font-size: 17px; font-weight: 700; color: #3A4560; }

/* Por qué */
section { scroll-margin-top: 24px; }
.why { padding: 112px 0; }
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
h2 { font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; margin-top: 14px; }
.eyebrow.blue { color: var(--cobalt); }
.why-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-list h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.why-list p { font-size: 17px; color: var(--muted); }

/* Funcionalidades */
.features { padding: 24px 0 120px; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; padding: 56px 0; }
.feature.flip .feature-text { order: 2; }
.feature-text p { font-size: 18px; color: var(--muted); margin-top: 18px; }
.feature-text ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 28px; font-size: 16px; font-weight: 500; }
.feature-text li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 99px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231D4ED8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Llamado final */
.cta { background: var(--mist); text-align: center; padding: 112px 0; }
.cta h2 { max-width: 820px; margin: 0 auto; }
.cta p { font-size: 18px; color: var(--muted); margin: 18px auto 32px; }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
footer .brand { font-size: 18px; color: var(--ink); }
footer .brand img { width: 24px; height: 24px; }

/* Responsive */
@media (max-width: 960px) {
  .wrap { padding: 0 22px; }
  .nav-links a:not(.btn) { display: none; }
  .hero-grid, .why-grid, .feature { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding: 24px 0 64px; }
  .feature.flip .feature-text { order: 0; }
  .why { padding: 72px 0; }
  .why-list > div { grid-template-columns: 1fr; gap: 6px; }
  .feature { padding: 40px 0; }
  .cta { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
