/* ============================================================
   Level Digital — Estilos principales
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --navy:       #1a2b5e;
  --navy-dark:  #162050;
  --teal:       #2ec4b6;
  --teal-light: #e8f8f7;
  --green:      #22c55e;
  --red:        #ef4444;
  --gray-bg:    #f0f2f5;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --white:      #ffffff;
  --border:     #e5e7eb;
  --font:       'Inter', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }

/* ── NAVBAR ── */
.navbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: fixed; width: 100%; top: 0; z-index: 1000;
}
.nav-logo { text-decoration: none; display: inline-flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-link { color: var(--muted) !important; font-size: .88rem; font-weight: 400; transition: color .2s; padding: 6px 12px !important; }
.nav-link:hover { color: var(--text) !important; }
.btn-hablemos { background: var(--navy); color: var(--white) !important; font-size: .88rem; font-weight: 600; padding: 10px 22px; border-radius: 10px; text-decoration: none; transition: opacity .2s; }
.btn-hablemos:hover { opacity: .88; }
.navbar-toggler { border: 1px solid var(--border); padding: 5px 9px; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,42,94,.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(130deg, #1b2d72 0%, #1e3c95 28%, #1a6b7a 70%, #0f9488 100%);
  display: flex; align-items: center;
  padding: 120px 0 0;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 130px; background: var(--white);
  border-radius: 55% 55% 0 0 / 70px 70px 0 0;
}
.hero-title { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.hero-sub   { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 36px; font-weight: 300; }

/* ── BUTTONS ── */
.btn-whatsapp { display: inline-flex; align-items: center; gap: 9px; background: var(--green); color: var(--white); font-weight: 600; font-size: .93rem; padding: 13px 28px; border-radius: 30px; text-decoration: none; transition: opacity .2s; }
.btn-whatsapp:hover { opacity: .88; color: var(--white); }
.btn-navy { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); font-weight: 600; font-size: .95rem; padding: 14px 34px; border-radius: 12px; text-decoration: none; border: none; cursor: pointer; transition: opacity .2s; }
.btn-navy:hover { opacity: .88; color: var(--white); }

/* ── SECTIONS ── */
.sec-light { background: var(--white); padding: 90px 0; }
.sec-gray  { background: var(--gray-bg); padding: 90px 0; }

/* ── PILL BADGE ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(46,196,182,.12); color: #0f766e;
  font-size: .82rem; font-weight: 500;
  padding: 6px 14px; border-radius: 30px; margin-bottom: 20px;
}

/* ── TYPOGRAPHY ── */
.sec-title  { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-sub    { font-size: .97rem; color: var(--muted); line-height: 1.75; }
.teal-text  { color: var(--teal); font-weight: 600; }

/* ── HIGHLIGHT BOX ── */
.hl-box { background: var(--gray-bg); border-radius: 14px; padding: 20px 26px; margin-top: 28px; display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.hl-box strong { color: var(--navy); }

/* ── PAIN CARDS ── */
.pain-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px; font-size: .95rem; font-weight: 500; height: 100%; }
.pain-icon  { flex-shrink: 0; width: 28px; height: 28px; border: 1.5px solid var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); margin-top: 2px; }

/* ── SOLUTION ICON ── */
.sol-icon { width: 64px; height: 64px; background: var(--teal-light); border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 22px; }

/* ── SKILL CARDS (Sobre mí) ── */
.skill-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: .97rem; font-weight: 500; }
.skill-ic   { width: 44px; height: 44px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.team-note  { background: rgba(46,196,182,.07); border: 1px dashed rgba(46,196,182,.4); border-radius: 14px; padding: 18px 22px; display: flex; gap: 12px; font-size: .92rem; margin-top: 12px; }

/* ── SERVICE CARDS ── */
.svc-card       { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px; height: 100%; transition: box-shadow .25s, transform .25s; }
.svc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); transform: translateY(-3px); }
.svc-ic         { width: 52px; height: 52px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 16px; }
.svc-card h4    { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.svc-card p     { font-size: .88rem; color: var(--muted); margin-bottom: 0; }
.svc-card ul    { padding-left: 18px; color: var(--muted); font-size: .87rem; margin-top: 8px; }
.svc-card ul li { margin-bottom: 3px; }
.res-box        { background: var(--gray-bg); border-radius: 10px; padding: 11px 16px; font-size: .84rem; color: var(--muted); margin-top: 16px; }
.res-box span   { color: var(--teal); font-weight: 600; }

/* ── PROCESS CARDS ── */
.proc-card  { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; height: 100%; }
.paso-num   { width: 34px; height: 34px; background: var(--navy); color: var(--white); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 700; }
.paso-ic    { color: var(--teal); margin-left: 10px; }
.proc-card h4 { font-size: .97rem; font-weight: 700; margin: 12px 0 8px; }
.proc-card p  { font-size: .86rem; color: var(--muted); }

/* ── TRAYECTORIA ── */
.tray-card    { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.tray-card h5 { font-size: .97rem; font-weight: 700; margin-bottom: 16px; }
.tray-item    { display: flex; align-items: center; gap: 12px; background: var(--gray-bg); border-radius: 10px; padding: 12px 16px; margin-bottom: 9px; font-size: .91rem; font-weight: 500; }
.tray-ic      { color: var(--navy); flex-shrink: 0; }
.tray-ic.teal { color: var(--teal); }

/* ── LEVEL DIGITAL BOX ── */
.ld-box        { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 34px; max-width: 880px; margin: 0 auto; }
.ld-logo-ic    { width: 50px; height: 50px; background: var(--navy); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.ld-box h4     { font-size: 1.25rem; font-weight: 700; }
.ld-box .ld-sub { font-size: .83rem; color: var(--muted); }
.ld-box p      { font-size: .95rem; color: var(--muted); line-height: 1.75; margin: 18px 0; }
.ld-feat       { display: flex; align-items: center; gap: 10px; background: var(--teal-light); border-radius: 10px; padding: 13px 16px; font-size: .88rem; font-weight: 500; }
.ld-feat .msi   { color: var(--teal); }

/* ── CONTACT ── */
.contact-card    { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 34px; }
.contact-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 22px; }
.fld {
  width: 100%; background: var(--gray-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 17px; font-size: .92rem;
  color: var(--text); font-family: var(--font); outline: none;
  transition: border-color .2s, box-shadow .2s; margin-bottom: 12px;
}
.fld:focus       { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,.15); }
textarea.fld     { resize: vertical; min-height: 120px; }
.btn-send {
  width: 100%; background: var(--navy); color: var(--white); border: none;
  border-radius: 12px; padding: 14px; font-size: .95rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: opacity .2s; font-family: var(--font);
}
.btn-send:hover  { opacity: .88; }

/* ── FOOTER ── */
footer   { background: var(--navy); color: rgba(255,255,255,.8); padding: 52px 0 0; }
.f-logo  { text-decoration: none; display: inline-block; }
.f-tag   { font-size: .86rem; color: rgba(255,255,255,.45); margin-top: 4px; }
.f-label { font-size: .78rem; color: rgba(255,255,255,.38); margin-top: 18px; }
.f-name  { font-size: .97rem; font-weight: 700; color: var(--white); margin-top: 2px; }
.f-role  { font-size: .8rem; color: rgba(255,255,255,.45); }
.f-icon  { width: 42px; height: 42px; background: rgba(255,255,255,.1); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); text-decoration: none; transition: background .2s; }
.f-icon:hover { background: rgba(255,255,255,.22); color: var(--white); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.38); text-align: center; }

/* ── SCROLL REVEAL ── */
.reveal         { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── MATERIAL SYMBOLS OUTLINED ── */
.msi {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 22px; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
}
.svc-ic .msi, .skill-ic .msi, .sol-icon .msi, .ld-logo-ic .msi { font-size: 26px; }
.pain-icon .msi  { font-size: 18px; }
.paso-ic        { font-size: 22px; }
.tray-ic        { font-size: 20px; }
.ld-feat .msi    { font-size: 20px; }
.pill .msi       { font-size: 16px; }
.f-icon .msi     { font-size: 20px; }
.btn-navy .msi, .btn-whatsapp .msi, .btn-send .msi { font-size: 20px; }
