/* ═══════════════════════════════════════════════════════════
   AUXIO — Shared Styles
   Sistema de diseño común para todas las páginas
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --ink:    #0A0F1E;
  --blue:   #0056FF;
  --blue2:  #003FCC;
  --sky:    #E8F0FF;
  --sky2:   #F0F5FF;
  --muted:  #6B7A99;
  --border: #E2E8F0;
  --white:  #FFFFFF;
  --green:  #059669;
  --shadow: 0 4px 24px rgba(0,86,255,.12);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -.5px; }
em { font-style: italic; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #4D9BFF);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,86,255,.3);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-name { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 300; color: var(--ink); letter-spacing: .5px; }
.logo-name span { color: var(--blue); font-weight: 700; font-size: 26px; letter-spacing: 0; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 22px; border-radius: 8px;
  font-weight: 600 !important; font-size: 14px !important;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,86,255,.25);
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--ink);
  padding: 13px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 500; background: #fff;
  transition: all .2s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--blue);
  padding: 14px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* ── SECTIONS ── */
.section { padding: 88px 60px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(28px,3.2vw,44px); font-weight: 600; line-height: 1.15; letter-spacing: -.3px; margin-bottom: 14px; }
.section-title em { color: var(--blue); font-style: italic; font-weight: 300; }
.section-desc { font-size: 16px; color: var(--muted); font-weight: 300; line-height: 1.85; max-width: 560px; }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: all .25s;
}
.card:hover { box-shadow: 0 12px 36px rgba(0,86,255,.1); border-color: rgba(0,86,255,.2); }

/* ── BADGES & TAGS ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
}
.badge-blue { background: var(--sky); color: var(--blue); }
.badge-green { background: rgba(5,150,105,.1); color: var(--green); }
.badge-outline { border: 1.5px solid var(--border); color: var(--muted); }

.tag {
  display: inline-block;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.tag-blue { background: var(--sky); color: var(--blue); }
.tag-green { background: rgba(5,150,105,.08); color: var(--green); }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(255,255,255,.5); }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 52px 60px 36px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-desc { font-size: 13px; line-height: 1.7; margin: 10px 0 14px; }
.eu-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,86,255,.12); border: 1px solid rgba(0,86,255,.25); border-radius: 100px; padding: 4px 12px; font-size: 11px; color: #4D9BFF; }
.footer-col h4 { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 18px 60px; display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── MOBILE MENU ── */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none; position: fixed; top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: #fff; z-index: 300;
  padding: 80px 28px 28px;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
  transition: right .3s ease;
  flex-direction: column; gap: 0;
}
.mobile-drawer.open { right: 0; display: flex; }
.mobile-drawer a {
  display: block; padding: 14px 0;
  font-size: 16px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-drawer a.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 13px 20px; border-radius: 8px;
  text-align: center; margin-top: 16px; border: none;
  font-weight: 700;
}

.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 250;
}
.overlay.open { display: block; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink);
  padding: 20px 60px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.15);
}
.cookie-banner.show { display: flex; }
.cookie-text { flex: 1; }
.cookie-text p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.cookie-text a { color: #7BAAFF; text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer; transition: all .2s;
  border: none;
}
.cookie-accept { background: var(--blue); color: #fff; }
.cookie-accept:hover { background: var(--blue2); }
.cookie-decline { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); }
.cookie-decline:hover { background: rgba(255,255,255,.15); }

/* ── FLOATING WHATSAPP CTA ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ── SELECTION ── */
::selection { background: var(--blue); color: #fff; }
::-moz-selection { background: var(--blue); color: #fff; }

/* ── ANIMATIONS ── */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1); }
.fade.in { opacity: 1; transform: none; }

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: .3; }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}

/* ── UTILITIES ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }

/* ── RESPONSIVE ── */
@media(max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 720px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .section { padding: 64px 20px; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 20px 28px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; }
  .cookie-banner { padding: 16px 20px; flex-direction: column; text-align: center; gap: 16px; }
  .cookie-btns { width: 100%; justify-content: center; }
  .sp { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
