/* =========================
   Design Tokens (Sinexa)
   ========================= */
:root{
  /* Colors */
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;

  --primary: #1F2A44;
  --primary-hover: #162035;

  --accent: #2EC4B6;
  --accent-hover: #22A79B;

  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Typography */
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1120px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Spacing (8pt system) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;

  /* Shadow */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* =========================
   Reset & Base
   ========================= */
*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a{
  color: inherit;
  text-decoration: none;
}

img{
  max-width: 100%;
  display: block;
}

/* =========================
   Layout helpers
   ========================= */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-2);
}

.section{
  padding: var(--s-6) 0;
}

.section--tight{
  padding: var(--s-5) 0;
}

.kicker{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
}

/* =========================
   Typography
   ========================= */
h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 var(--s-2);
  color: var(--text);
}

h1{
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
}

h2{
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

h3{
  font-size: 20px;
  font-weight: 700;
}

p{
  margin: 0 0 var(--s-2);
  color: var(--muted);
}

.lead{
  font-size: 18px;
}

.small{
  font-size: 14px;
  color: var(--muted);
}

/* =========================
   Buttons
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}

.btn:active{
  transform: translateY(1px);
}

.btn-primary{
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover{
  background: var(--primary-hover);
}

.btn-secondary{
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover{
  background: #ffffff70;
  border-color: #cbd5e1;
}

.btn-accent{
  background: var(--accent);
  color: var(--primary);
}

.btn-accent:hover{
  background: var(--accent-hover);
}

/* =========================
   Cards & Grid
   ========================= */
.grid{
  display: grid;
  gap: var(--s-3);
}

.grid-2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.grid-3{
  grid-template-columns: repeat(3, minmax(0,1fr));
}

@media (max-width: 900px){
  .grid-2,
  .grid-3{
    grid-template-columns: 1fr;
  }
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow);
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* =========================
   Header & Navigation
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,248,251,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: var(--s-2);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--primary);
}

.brand-mark{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover{
  background: #ffffff85;
  color: var(--primary);
}

.nav-links a.active{
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--primary);
}

.nav-cta{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   Mobile Navigation
   ========================= */
.mobile-panel{
  display: none; /* oculto por defecto */
}

.burger{
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  color: var(--primary);
}

@media (max-width: 900px){
  .nav-links,
  .nav-cta{
    display: none;
  }

  .burger{
    display: inline-flex;
  }

  .mobile-panel{
    padding: 0 0 14px 0;
  }

  .mobile-panel.open{
    display: block;
  }

  /* 👇 FIX: solo links del menú, NO botones */
  .mobile-panel a:not(.btn){
    display: block;
    padding: 12px;
    border-radius: 12px;
    color: var(--primary);
    font-weight: 800;
  }

  .mobile-panel a:not(.btn):hover{
    background: #fff;
  }

  /* Botones en menú móvil */
  .mobile-panel .btn{
    width: 100%;
    margin-top: 10px;
  }
}

/* =========================
   Hero
   ========================= */
.hero{
  padding: var(--s-6) 0;
}

.hero-wrap{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--s-5);
  align-items: center;
}

@media (max-width: 900px){
  .hero-wrap{
    grid-template-columns: 1fr;
  }
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--s-2);
}

/* =========================
   Hero title responsive
   ========================= */
.desktop-only{
  display: block;
}

.mobile-only{
  display: none;
}

@media (max-width: 768px){
  .desktop-only{
    display: none;
  }

  .mobile-only{
    display: block;
  }

  .hero h1{
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.25;
  }

  .hero .lead{
    font-size: 16px;
  }

  .hero-actions{
    margin-top: 16px;
  }
}

/* =========================
   Lists
   ========================= */
.ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.ul li{
  margin: 8px 0;
}

/* =========================
   Utilities (Sinexa)
   ========================= */
.stack{
  display: grid;
  gap: 12px;
}

.card-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.note{
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--r-lg);
  padding: 14px;
}

.pills{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.footer-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-meta{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =========================
   Footer
   ========================= */
.site-footer{
  border-top: 1px solid var(--border);
  padding: var(--s-5) 0;
}

.footer-top{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--s-4);
}

@media (max-width: 900px){
  .footer-top{
    grid-template-columns: 1fr;
  }
}

.footer-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--s-3);
}

.footer-links a{
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover{
  color: var(--primary);
}

/* =========================
   Forms (Sinexa)
   ========================= */
label{
  font-weight: 800;
  color: var(--text);
}

input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
}

input:focus, select:focus, textarea:focus{
  border-color: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .15);
}

/* =========================
   SINEXA — Modo atención
   ========================= */
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.attn-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(15, 23, 42, 0.55);
  place-items: center;
  padding: 16px;
}

.attn-overlay.open{
  display: grid;
}

.attn-panel{
  width: min(980px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  padding: 18px;
}

.attn-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.attn-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.attn-search{
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.attn-list{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.attn-item{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  background: #fff;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.attn-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.attn-item .name{
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.attn-item .meta{
  font-size: 13px;
  color: var(--muted);
}

.attn-price-card{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.attn-price{
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 950;
  color: var(--text);
  line-height: 1.05;
  margin-top: 10px;
}

.attn-sub{
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 820px){
  .attn-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   WhatsApp Floating Button
   ========================= */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  z-index: 999;
  transition: transform .15s ease, box-shadow .15s ease;
}

.whatsapp-float:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.whatsapp-float svg{
  width: 28px;
  height: 28px;
  fill: #fff;
}