/* =========================================================
   SCC LATAM – CSS Base (Jobshop)
   (Ajustado ligeramente para diferenciar del brand kit original)
========================================================= */

:root{
  /* Primarios */
  --scc-blue:#0E567E;     /* (ligero ajuste) */
  --scc-blue-2:#0B4465;   /* tono profundo */
  --scc-orange:#E39A4A;   /* (ligero ajuste) */
  --scc-mint:#EAF8F6;     /* fondo suave */
  --scc-teal:#8ABFCC;     /* (ligero ajuste) */
  --scc-yellow:#FFC25F;   /* (ligero ajuste) */

  /* UI */
  --ui-text:#12212f;
  --ui-muted:#5b6b7b;
  --ui-border:#e5edf6;
  --ui-soft:#f5f8fc;
  --ui-shadow:0 10px 24px rgba(0,0,0,.08);
  --radius:18px;
}
/* =============== HERO (index & solution pages) =============== */
.hero{
  padding:44px 0 28px;
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(254,183,39,.18), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(0,93,170,.10), rgba(0,93,170,0));
  border-bottom:1px solid var(--ui-border);
}
.heroCard{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:22px;
  box-shadow:var(--ui-shadow);
  padding:22px 18px;
}
/* index variant with background image overlay */
.hero.hero--image{
  background: url("Home.png") center/cover no-repeat;
  position:relative;
  padding:92px 0;
}
.hero.hero--image:before{
  content:""; position:absolute; inset:0;
  background:rgba(255,255,255,.62);
}
.hero.hero--image .wrap{position:relative; text-align:center}
.hero-panel{
  max-width:980px;
  margin:0 auto;
  padding:26px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.55);
  box-shadow:var(--ui-shadow);
  border:1px solid rgba(229,237,246,.75);
}

.breadcrumb{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
  font-size:12px; font-weight:900;
  color:var(--ui-muted);
}
.breadcrumb a{color:var(--bc-blue);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}

.kicker{
  margin-top:10px;
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:900;
  color:var(--bc-blue);
  background:rgba(0,93,170,.06);
  border:1px solid rgba(0,93,170,.16);
  padding:8px 12px;border-radius:999px;
}
.kicker .dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--bc-yellow);
}
.hero h1{
  margin:12px 0 8px;
  font-size:34px;
  font-weight:900;
  color:var(--bc-black);
}
.hero.hero--image h1{font-size:42px; margin:14px 0 10px}
.hero p{
  margin:0;
  color:var(--ui-muted);
  font-size:14px;
  max-width:98ch;
}
.hero.hero--image p{max-width:760px; margin:0 auto}
.heroActions,
.hero .actions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero .actions{justify-content:center}
.heroActions .btn{min-width:180px}
.hero .actions .btn{min-width:190px}

/* =========================================================
   Global + Typography (stack seguro sin dependencias)
========================================================= */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#ffffff;
  color:var(--ui-text);
  line-height:1.55;
}
img{max-width:100%;height:auto}
.wrap{max-width:1200px;margin:0 auto;padding:0 18px}

/* =========================================================
   Top bar
========================================================= */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--ui-border);
}
.topbar .wrap{
  padding:10px 18px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  color:var(--scc-blue);
  font-weight:800;
  font-size:12px;
  gap:10px;
}
.topbar a{color:var(--scc-blue);text-decoration:none}
.topbar a:hover{text-decoration:underline}

/* =========================================================
   NAV
========================================================= */
.navbar{
  background:#ffffff;
  border-bottom:1px solid var(--ui-border);
  position:sticky;top:0;z-index:100;
}
.nav-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex;align-items:center;gap:12px;
  color:var(--scc-blue);
  font-weight:900;
  min-width:240px;
}
.brand img{width:54px;height:54px;object-fit:contain}
.brand .name{line-height:1.1}
.brand .sub{font-size:11px;color:var(--ui-muted);font-weight:800;margin-top:2px}

.nav{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;
}
.nav a{
  text-decoration:none;
  font-weight:800;
  color:var(--ui-text);
  font-size:12px;
  padding:8px 10px;border-radius:12px;
}
.nav a:hover{color:var(--scc-blue);background:rgba(14,86,126,.06)}

/* =========================================================
   Buttons
========================================================= */
.btn{
  background:var(--scc-blue);
  color:#fff;
  padding:10px 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  box-shadow:0 10px 18px rgba(14,86,126,.18);
  transition:transform .12s ease, background .15s ease, box-shadow .15s ease;
  min-height:44px;
  white-space:nowrap;
  cursor:pointer;
}
.btn:hover{background:var(--scc-blue-2);transform:translateY(-1px)}
.btn.ghost{
  background:#fff;
  border:1px solid rgba(14,86,126,.22);
  color:var(--scc-blue);
  box-shadow:none;
}
.btn.ghost:hover{background:rgba(14,86,126,.05)}
.btn.orange{
  background:var(--scc-orange);
  color:#111827;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 18px rgba(227,154,74,.22);
}
.btn.orange:hover{filter:brightness(.98)}
.btn.yellow{
  background:var(--scc-yellow);
  color:#111827;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 18px rgba(255,194,95,.22);
}
.btn.yellow:hover{filter:brightness(.98)}

/* =========================================================
   HERO
========================================================= */
.hero{
  padding:44px 0 26px;
  background:
    radial-gradient(700px 260px at 18% 0%, rgba(138,191,204,.32), rgba(0,0,0,0)),
    linear-gradient(180deg, rgba(14,86,126,.10), rgba(14,86,126,0));
  border-bottom:1px solid var(--ui-border);
}
.heroCard{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:22px;
  box-shadow:var(--ui-shadow);
  padding:20px 18px;
}
.breadcrumb{
  display:flex;gap:8px;flex-wrap:wrap;align-items:center;
  font-size:12px;font-weight:800;
  color:var(--ui-muted);
}
.breadcrumb a{color:var(--scc-blue);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.kicker{
  margin-top:10px;
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:900;
  color:var(--scc-blue);
  background:rgba(14,86,126,.06);
  border:1px solid rgba(14,86,126,.16);
  padding:8px 12px;border-radius:999px;
}
.kicker .dot{width:8px;height:8px;border-radius:999px;background:var(--scc-orange)}
.hero h1{
  margin:12px 0 8px;
  font-size:32px;
  font-weight:950;
  color:#0b1621;
}
.hero p{
  margin:0;
  color:var(--ui-muted);
  font-size:14px;
  max-width:95ch;
}
.heroActions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.heroActions .btn{min-width:200px}

/* =========================================================
   Sections
========================================================= */
.section{padding:44px 0}
.sectionTitle{text-align:center;margin-bottom:20px}
.sectionTitle h2{
  margin:0 0 8px;
  font-size:26px;
  font-weight:950;
  color:#0b1621;
}
.sectionTitle p{margin:0;color:var(--ui-muted);font-size:13px}

/* =========================================================
   Capability cards
========================================================= */
.capGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  align-items:stretch;
}
.cap{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:18px;
  box-shadow:var(--ui-shadow);
  padding:14px;
  display:flex;
  flex-direction:column;
  min-height:240px;
}
.cap h3{
  margin:0 0 8px;
  font-size:15px;
  font-weight:950;
  color:var(--scc-blue);
}
.cap p{margin:0;color:var(--ui-muted);font-size:12px}
.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.pill{
  padding:7px 10px;border-radius:999px;
  background:rgba(14,86,126,.06);
  border:1px solid rgba(14,86,126,.16);
  color:var(--scc-blue);
  font-size:11px;
  font-weight:900;
}
.actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:12px;
}

/* =========================================================
   Import formats box
========================================================= */
.importBox{
  background:linear-gradient(180deg, rgba(234,248,246,.75), rgba(255,255,255,0));
  border:1px solid var(--ui-border);
  border-radius:18px;
  box-shadow:var(--ui-shadow);
  padding:16px;
}
.importGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}
.fmt{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:14px;
  padding:10px 10px;
  text-align:center;
  font-weight:900;
  color:var(--scc-blue);
  font-size:12px;
}
.fmt small{display:block;margin-top:4px;color:var(--ui-muted);font-weight:800;font-size:11px}

/* =========================================================
   Feature list
========================================================= */
.featureGrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.feature{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:18px;
  box-shadow:var(--ui-shadow);
  padding:14px;
  display:flex;
  flex-direction:column;
  min-height:240px;
}
.tagRow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.tag{
  padding:7px 10px;border-radius:999px;
  background:rgba(14,86,126,.06);
  border:1px solid rgba(14,86,126,.16);
  color:var(--scc-blue);
  font-size:11px;
  font-weight:900;
}
.feature h3{
  margin:0 0 8px;
  font-size:15px;
  font-weight:950;
  color:var(--scc-blue);
}
.feature p{margin:0;color:var(--ui-muted);font-size:12px}
.callout{
  margin-top:12px;
  border:1px solid rgba(255,194,95,.60);
  background:rgba(255,194,95,.22);
  padding:12px;
  border-radius:14px;
}
.callout .mini{margin:0 0 6px;font-weight:950;color:#111827;font-size:12px}
.callout .line{margin:0;color:#111827;font-size:12px}

/* =========================================================
   Panel + Accordion
========================================================= */
.panel{
  background:#fff;
  border:1px solid var(--ui-border);
  border-radius:18px;
  box-shadow:var(--ui-shadow);
  overflow:hidden;
}
.panelHead{
  padding:14px 16px;
  border-bottom:1px solid var(--ui-border);
  background:var(--ui-soft);
}
.panelHead h3{margin:0;color:#0b1621;font-size:16px;font-weight:950}
.panelBody{padding:16px}
details.block{
  border:1px solid var(--ui-border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  margin:12px 0;
}
details.block summary{
  list-style:none;
  cursor:pointer;
  padding:12px 14px;
  font-weight:950;
  color:var(--scc-blue);
  background:rgba(14,86,126,.06);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
details.block summary::-webkit-details-marker{display:none}
.blockContent{padding:12px 14px 14px}
.blockContent p{margin:0 0 10px;color:var(--ui-muted);font-size:13px}
.blockContent ul{margin:10px 0 0;padding-left:18px;color:var(--ui-muted);font-size:13px}
.blockContent li{margin:6px 0}

/* =========================================================
   Video cards (Vimeo)
========================================================= */
.videoGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:12px;
}
.vcard{
  border:1px solid var(--ui-border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 18px rgba(0,0,0,.06);
  background:#fff;
  display:flex;
  flex-direction:column;
}
.embed{position:relative;width:100%;padding-top:56.25%;background:#0b1220}
.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vmeta{padding:12px 14px 14px}
.vmeta h4{margin:0 0 6px;font-size:14px;font-weight:900;color:var(--ui-text)}
.vmeta p{margin:0;color:var(--ui-muted);font-size:12px}
.vmeta .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

/* =========================================================
   Footer
========================================================= */
footer{
  background:var(--ui-soft);
  padding:28px 0;
  text-align:center;
  font-size:12px;
  color:var(--ui-muted);
  border-top:1px solid var(--ui-border);
}

/* =========================================================
   Responsive
========================================================= */
@media(max-width:1100px){
  .capGrid{grid-template-columns:repeat(2,1fr)}
  .featureGrid{grid-template-columns:repeat(2,1fr)}
  .importGrid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .topbar .wrap{justify-content:center;flex-wrap:wrap}
  .brand .sub{display:none}
  .videoGrid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .capGrid{grid-template-columns:1fr}
  .featureGrid{grid-template-columns:1fr}
  .hero h1{font-size:26px}
  .heroActions .btn{min-width:100%}
}


/* =========================================================
   HEADER FIXES – match index header exactly
   (paste at END of scc-scclatam.css)
========================================================= */

/* 1) Logo un poco más grande */
.navbar .brand img{
  height:60px !important; /* sube/baja aquí si quieres: 58-64 */
  width:auto !important;
}

/* 2) Top line: alineada a la derecha + estilo distinto al topbar */
.navbar .nav-topline{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  padding:8px 0 !important;
  border-bottom:1px solid var(--ui-border) !important;
}

.navbar .phone{
  font-weight:900 !important;
  font-size:12px !important;
  color:var(--bc-blue) !important;
  text-decoration:none !important;
  white-space:nowrap !important;

  /* IMPORTANTE: que NO se vea como “Soporte y ventas” (gris) */
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
}
.navbar .phone:hover{ text-decoration:underline !important; }

/* 3) WhatsApp + email como “botón” (píldora azul suave) */
.topbar .topLink{
  display:inline-flex !important;
  align-items:center !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  background:rgba(11,92,171,.06) !important;
  border:1px solid rgba(11,92,171,.14) !important;
  color:var(--bc-blue) !important;
  text-decoration:none !important;
  font-weight:900 !important;
}
.topbar .topLink:hover{
  background:rgba(11,92,171,.10) !important;
  text-decoration:none !important;
}
.topbar .sep{ opacity:.7 !important; }

/* Asegura que “Soporte y ventas…” quede gris como en el original */
.topbar .topbarLeft{
  color:var(--ui-muted) !important;
  font-weight:900 !important;
  font-size:12px !important;
}

/* 4) Botones del header (Soporte, Cursos, Descargar Demo, Agendar demo)
   color #E28B3D y hover #F3AB12, texto constante */
.navbar .btn.yellow{
  background:#E28B3D !important;
  color:#111827 !important;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 10px 18px rgba(254,183,39,.22) !important;
  font-weight:900 !important;
}

.navbar .btn.yellow:hover{
  background:#F3AB12 !important;
  color:#111827 !important; /* texto NO cambia */
  transform:translateY(-1px) !important;
}

/* Por si tienes alguna regla que te cambia color al hover */
.navbar .btn.yellow:hover,
.navbar .btn.yellow:focus,
.navbar .btn.yellow:active{
  color:#111827 !important;
}

/* Ajuste fino del nav para que no se descuadre */
.navbar .nav-row{
  align-items:center !important;
  gap:16px !important;
  padding:12px 0 !important;
}
.navbar .nav{
  margin-left:auto !important;
  gap:6px !important;
}

.navbar .phone{
  color:#0E4A7A !important;   /* mismo azul del header */
  font-weight:900 !important;
  font-size:12px !important;
  text-decoration:none !important;
}

/* =========================================================
   NAV HAMBURGUESA – SIMPLE (NO rompe PC)
   (pegar al FINAL del CSS)
========================================================= */

/* Botón hamburguesa oculto en desktop */
.navbar .navToggle{
  display:none;
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  line-height:0;
}

/* 3 líneas del hamburguesa */
.navbar .navToggle span{
  display:block;
  width:24px;
  height:2px;
  margin:5px 0;
  background:#111827;
  border-radius:2px;
}

/* Mobile */
@media (max-width: 768px){

  /* Mostrar botón */
  .navbar .navToggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
  }

  /* Ocultar menú por defecto */
  .navbar .nav{
    display:none;
    position:absolute;
    top: calc(100% + 10px);
    left:0;
    right:0;

    background:#fff;
    border:1px solid var(--ui-border);
    border-radius:16px;
    box-shadow:var(--ui-shadow);
    padding:12px;
    z-index:99999;

    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  /* Necesario para que el menú absoluto se posicione sobre el header */
  .navbar .nav-row{
    position:relative;
  }

  /* Abrir menú */
  .navbar .nav.is-open{
    display:flex;
  }

  /* Todo al ancho */
  .navbar .nav a{ width:100%; }
  .navbar .nav .btn{ width:100%; justify-content:center; }
}

/* =========================================================
   DEMOCSS2 – Demo embed (DESACTIVADO temporalmente)
   Ya no se usa porque se reemplazó por formulario propio
========================================================= */

/*
.DEMOCSS2{
  padding: 44px 0 !important;
}
.DEMOCSS2 .DEMOCSS2__wrap{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
}
.DEMOCSS2 .DEMOCSS2__title{
  text-align: center !important;
}
.DEMOCSS2 .DEMOCSS2__card{
  background: #fff !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--ui-shadow) !important;
  overflow: hidden !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.DEMOCSS2 .DEMOCSS2__crop{
  width: 100% !important;
  height: 500px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
}
.DEMOCSS2 .DEMOCSS2__iframe{
  border: 0 !important;
  display: block !important;
  width: 1400px !important;
  height: 950px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) scale(1.08) !important;
  top: -110px !important;
  max-width: none !important;
}
@media (max-width: 768px){
  .DEMOCSS2 .DEMOCSS2__crop{
    height: 540px !important;
  }
  .DEMOCSS2 .DEMOCSS2__iframe{
    width: 1200px !important;
    height: 1050px !important;
    transform: translateX(-50%) scale(1.05) !important;
    top: -130px !important;
  }
}
*/

/* =========================================================
   DEMO FORM – Formulario propio (lead-submit-google.php)
   Reemplaza el iframe anterior
========================================================= */

#demo .panel{
  max-width: 900px;
  margin: 0 auto;
}

#demo .panelBody{
  padding: 24px;
}

/* Título interno del form */
#demo .demo-card h3{
  margin: 0 0 10px;
  font-weight: 950;
  font-size: 18px;
  color: var(--ui-text);
}

#demo .demo-card p{
  margin: 0 0 18px;
  color: var(--ui-muted);
  font-size: 13px;
}

/* Campos */
#demo .field{
  margin: 12px 0;
}

#demo label{
  display: block;
  font-weight: 900;
  font-size: 12px;
  color: var(--ui-text);
  margin-bottom: 6px;
}

/* Inputs */
#demo input,
#demo select,
#demo textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ui-border);
  background: #fff;
  font-size: 14px;
  color: var(--ui-text);
  transition: all .15s ease;
  outline: none;
}

#demo textarea{
  resize: vertical;
  min-height: 100px;
}

/* Focus */
#demo input:focus,
#demo select:focus,
#demo textarea:focus{
  border-color: rgba(14,86,126,.45);
  box-shadow: 0 0 0 3px rgba(14,86,126,.12);
}

/* Botones */
#demo form .btn{
  min-width: 160px;
}

@media(max-width: 600px){
  #demo form .btn{
    width: 100%;
  }
}

/* =========================================================
   DEMO FORM – FIX SPACING + FULL WIDTH (solo #demo)
========================================================= */

/* Card/padding del contenedor */
#demo .panel{
  max-width: 980px;
  margin: 0 auto;
}
#demo .panelBody{
  padding: 28px;
}

/* Título interno */
#demo .demo-card h3{
  margin: 0 0 10px !important;
  font-weight: 950;
  font-size: 22px;
  line-height: 1.15;
}
#demo .demo-card p{
  margin: 0 0 18px !important;
  color: var(--ui-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ✅ Cada campo en COLUMNA y con espacio */
#demo form .field{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 14px 0 !important;
}

/* Labels arriba */
#demo form .field label{
  display: block !important;
  margin: 0 !important;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  color: var(--ui-text);
}

/* Inputs full width */
#demo form .field input,
#demo form .field select,
#demo form .field textarea{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;

  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--ui-border) !important;
  background: #fff !important;
  color: var(--ui-text) !important;

  font-size: 14px !important;
  line-height: 1.35 !important;
  outline: none !important;
}

/* Textarea más cómodo */
#demo form .field textarea{
  min-height: 120px !important;
  resize: vertical;
}

/* Focus más visible */
#demo form .field input:focus,
#demo form .field select:focus,
#demo form .field textarea:focus{
  border-color: rgba(14,86,126,.50) !important;
  box-shadow: 0 0 0 3px rgba(14,86,126,.12) !important;
}

/* Botonera: separación y responsive */
#demo form [style*="display:flex"]{
  gap: 12px !important;
  margin-top: 18px !important;
}
#demo form button.btn,
#demo form a.btn{
  min-height: 46px;
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 700px){
  #demo .panelBody{ padding: 18px; }
  #demo form button.btn,
  #demo form a.btn{
    width: 100% !important;
  }
}
