/* ═══════════════════════════════════════════════════════════════
   javiermaidana.com — Shared Stylesheet
   Brand Kit: Blue #4482E9 · Grey #8C8C8C
   Fonts: Montserrat ExtraBold (headings) · Inter SemiBold (body)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --blue:         #4482E9;
  --blue-dark:    #2D6DD4;
  --blue-bg:      #EEF4FD;
  --grey:         #8C8C8C;
  --bg:           #F3F4F6;
  --white:        #FFFFFF;
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-light:   #6B7280;
  --border:       #E5E7EB;
  --font-head:    'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w:        1200px;
  --radius:       8px;
  --radius-lg:    16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text-mid); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--text-dark); line-height: 1; }
.nav-logo-text span { color: var(--blue); }
.nav-logo-sub { font-family: var(--font-body); font-size: 0.5rem; font-weight: 600; letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--text-light); text-decoration: none; padding: 8px 16px; border-radius: var(--radius); transition: all 0.15s ease; }
.nav-link:hover { color: var(--blue); background: var(--blue-bg); }
.nav-link.active { color: var(--blue); font-weight: 600; }
.nav-cta { font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; background: var(--blue); color: var(--white); text-decoration: none; padding: 9px 20px; border-radius: var(--radius); margin-left: 4px; transition: all 0.15s ease; }
.nav-cta:hover { background: var(--blue-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; padding: 13px 28px; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all 0.18s ease; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(68,130,233,0.28); }
.btn-secondary { background: var(--white); color: var(--text-dark); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.banner { background: var(--blue); padding: 28px 24px; text-align: center; }
.banner p { color: var(--white); font-family: var(--font-body); font-size: clamp(0.95rem, 1.8vw, 1.15rem); font-weight: 500; max-width: 700px; margin: 0 auto; line-height: 1.5; }
.connect { background: var(--white); padding: 64px 60px; }
.connect-heading { text-align: center; font-family: var(--font-head); font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--text-dark); margin-bottom: 48px; }
.connect-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 48px; }
.social-icons { display: flex; gap: 14px; align-items: center; }
.social-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.18s ease, opacity 0.18s ease; }
.social-icon:hover { transform: translateY(-3px); opacity: 0.85; }
.social-icon svg { width: 22px; height: 22px; fill: white; }
.si-linkedin  { background: #0A66C2; }
.si-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.si-email     { background: var(--blue); }
.si-whatsapp  { background: #25D366; }
.connect-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.connect-links a { color: var(--text-light); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.18s ease; display: inline-flex; align-items: center; gap: 6px; }
.connect-links a:hover { color: var(--blue); }
.connect-links a.with-arrow::after { content:'→'; transition: margin 0.18s; }
.connect-links a.with-arrow:hover::after { margin-left: 4px; }
.tbx-logo-link { text-decoration: none; display: block; }
.page-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; }
.page-footer p { font-size: 0.8rem; color: var(--text-light); }
.page-footer a { color: var(--blue); text-decoration: none; }
@media (max-width: 900px) { .nav-inner { padding: 0 24px; } .connect { padding: 48px 32px; } .connect-grid { grid-template-columns: 1fr; justify-items: center; gap: 32px; } .connect-links { align-items: center; } }
@media (max-width: 640px) { .nav-inner { padding: 0 16px; } .nav-links { display: none; } .connect { padding: 40px 20px; } .social-icons { gap: 10px; } .social-icon { width: 44px; height: 44px; } }
