/* ===== SPLY GOV-READY THEME (Zoho Sites) ===== */
.sply-site{
  --bg:#0b1220;
  --bg2:#0f1b33;
  --surface:#111b2f;
  --surface2:#0f172a;
  --card:#121d34;
  --alt:#0b1326;
  --text:#e8edf7;
  --muted:#aab6cf;
  --line:rgba(255,255,255,.10);
  --accent:#d6b15a;
  --accent2:#f2d27a;

  --white:#ffffff;
  --shadow:0 12px 30px rgba(0,0,0,.25);

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
}

.sply-site *{ box-sizing:border-box; }
.sply-site a{ color: inherit; text-decoration: none; }
.sply-site a:hover{ text-decoration: underline; }
.sply-container{ width:min(1140px, calc(100% - 40px)); margin:0 auto; }

.sply-muted{ color: var(--muted); }

/* Disabled links (cuando falten URLs) */
.sply-disabled{
  opacity: .55;
  pointer-events: none;
  text-decoration: none !important;
}

.sply-topbar{
  background: #111b2f;
  border-bottom: 1px solid var(--line);
}
.sply-topbar__inner{
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  font-size: 13px;
}
.sply-topbar__left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.sply-topbar__right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.sply-dot{ opacity:.6; }

.sply-topbar__text{ color: rgba(232,237,247,.82); }

.sply-toplink{
  color: rgba(232,237,247,.92);
  font-weight: 700;
}
.sply-toplink:hover{ text-decoration: underline; }

.sply-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(214,177,90,.45);
  color: var(--accent2);
  font-weight: 600;
  letter-spacing:.2px;
}

.sply-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: #0b1220;
  border-bottom: 1px solid var(--line);
}
.sply-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.sply-brand{ display:flex; gap:12px; align-items:center; }
.sply-brand__logo{ width:44px; height:44px; object-fit:contain; }
.sply-brand__name{ font-weight:800; letter-spacing:.3px; }
.sply-brand__tag{ font-size:12px; color: var(--muted); margin-top:2px; }

.sply-nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
  font-size: 14px;
  color: rgba(232,237,247,.92);
}
.sply-nav a{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.sply-nav a:hover{
  border-color: rgba(214,177,90,.35);
  text-decoration:none;
}

/* Header CTA una sola línea en desktop */
.sply-header__cta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;
}
.sply-header__cta .sply-btn{
  height:44px;
  padding:0 14px;
  line-height:44px;
}
.sply-header__cta .sply-btn--ghost{
  max-width: 260px;
  overflow:hidden;
  text-overflow: ellipsis;
}
@media (max-width: 980px){
  .sply-header__cta{ flex-wrap:wrap; }
  .sply-header__cta .sply-btn{ width:auto; line-height:normal; height:auto; padding:11px 14px; }
}

/* Menú en una sola línea (desktop) */
@media (min-width: 981px){
  .sply-nav{
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 14px;
    font-size: 13px;
  }
  .sply-nav a{ padding: 7px 8px; }
  .sply-brand__text{ max-width: 240px; }
}

/* Botones */
.sply-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  white-space:nowrap;
  box-shadow:none;
  text-decoration:none !important;
}
.sply-btn--primary{
  background: linear-gradient(180deg, rgba(214,177,90,.95), rgba(214,177,90,.80));
  color: #0b1220;
  border-color: rgba(214,177,90,.55);
}
.sply-btn--primary:hover{ filter: brightness(1.03); }
.sply-btn--ghost{ background: rgba(255,255,255,.06); }
.sply-btn--light{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}
.sply-btn--full{ width:100%; }

/* Hero */
.sply-hero{
  position:relative;
  background: radial-gradient(1200px 700px at 10% 10%, rgba(214,177,90,.20), transparent 55%),
              radial-gradient(900px 600px at 90% 20%, rgba(112,165,255,.18), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  border-bottom: 1px solid var(--line);
}
.sply-hero__bg{
  position:absolute; inset:0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity:.12;
  pointer-events:none;
}
.sply-hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.45fr .85fr;
  gap:28px;
  padding: 56px 0 44px;
  align-items:start;
}
.sply-hero h1{
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.sply-accent{ color: var(--accent2); }
.sply-lead{
  font-size: 16px;
  color: rgba(232,237,247,.88);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 62ch;
}
.sply-hero__actions{ display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 18px; }

.sply-hero__badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top: 16px;
}
.sply-badge{
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255,255,255,.05);
}
.sply-badge__kpi{ font-weight:900; font-size: 22px; color: var(--accent2); }
.sply-badge__label{ font-size: 12px; color: var(--muted); margin-top:2px; }

.sply-hero__card{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(15,23,42,.70);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sply-hero__cardTitle{
  padding: 14px 16px;
  font-weight: 900;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.sply-hero__cardBody{ padding: 14px 16px 16px; }
.sply-minirow{ display:flex; justify-content:space-between; gap:10px; padding: 8px 0; }
.sply-minirow__label{ color: var(--muted); font-size: 13px; }
.sply-minirow__value{ font-weight: 800; }
.sply-hr{ border:none; border-top:1px solid var(--line); margin: 12px 0; }
.sply-note{ font-size: 13px; color: rgba(232,237,247,.88); line-height: 1.5; }
.sply-hero__cardActions{ display:grid; gap:10px; margin-top: 12px; }

/* Sections */
.sply-section{
  background: linear-gradient(180deg, var(--bg2), var(--surface2));
  padding: 54px 0;
}
.sply-section--alt{
  background: linear-gradient(180deg, var(--surface2), var(--alt));
}
.sply-section__head{ margin-bottom: 22px; }
.sply-eyebrow{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(214,177,90,.95);
  margin-bottom: 8px;
}
.sply-section h2{
  margin:0 0 10px;
  font-size: clamp(24px, 2.2vw, 34px);
}
.sply-sub{
  margin:0;
  color: rgba(232,237,247,.85);
  line-height: 1.65;
  max-width: 82ch;
}

.sply-grid{ display:grid; gap:14px; }
.sply-grid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.sply-grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.sply-card{
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.sply-card--tight{ padding: 16px; }
.sply-card__icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(214,177,90,.14);
  border:1px solid rgba(214,177,90,.25);
  color: var(--accent2);
  font-weight: 900;
  margin-bottom: 10px;
}
.sply-card h3{ margin:0 0 8px; font-size: 18px; }
.sply-card p{ margin:0 0 10px; color: rgba(232,237,247,.86); line-height: 1.6; }

.sply-list{ margin: 0; padding-left: 18px; color: rgba(232,237,247,.86); }
.sply-list li{ margin: 6px 0; }

.sply-callout{
  margin-top: 18px;
  border:1px solid rgba(214,177,90,.20);
  background: radial-gradient(900px 260px at 10% 0%, rgba(214,177,90,.16), transparent 55%),
              rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 18px;
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.sply-callout__title{ margin:0 0 6px; }
.sply-callout__text{ margin:0; color: rgba(232,237,247,.86); line-height: 1.6; max-width: 82ch; }
.sply-callout__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.sply-snapshot{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top: 12px;
}
.sply-snapshot__item{
  border:1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.sply-snapshot__k{ font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sply-snapshot__v{ font-weight: 800; line-height: 1.35; }

.sply-twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top: 14px;
}
.sply-twoCol--wide{ grid-template-columns: 1.35fr .65fr; }

.sply-panel{
  border:1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  padding: 18px;
}
.sply-panel--soft{
  margin-top: 14px;
  background: rgba(255,255,255,.04);
}
.sply-panel--dark{
  background: rgba(15,23,42,.75);
  border-color: rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.sply-panel h3{ margin:0 0 10px; }

.sply-bullets{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top: 14px;
}
.sply-bullets__item{
  border:1px solid rgba(214,177,90,.20);
  background: rgba(214,177,90,.10);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 800;
  color: rgba(242,210,122,.95);
}

.sply-inlineCtas{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.sply-disclaimer{
  margin-top: 16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  color: rgba(232,237,247,.85);
  line-height: 1.55;
}

.sply-case{
  border:1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.sply-case__top{
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.sply-case__tag{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(214,177,90,.30);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.sply-case h3{ margin:0; }
.sply-case__body{ padding: 12px 14px 14px; }
.sply-case__row{ display:flex; gap:8px; margin: 8px 0; color: rgba(232,237,247,.86); }
.sply-case__row span{ color: var(--muted); min-width: 78px; }

.sply-contact__item{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sply-contact__item:last-child{ border-bottom:none; }
.sply-contact__k{ color: var(--muted); font-size: 13px; }
.sply-contact__v{ font-weight: 800; }

.sply-formPlaceholder{
  border:1px dashed rgba(255,255,255,.20);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.03);
  color: rgba(232,237,247,.86);
}

.sply-footer{
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.sply-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:12px;
}
.sply-footer__brand{ font-weight: 900; font-size: 16px; }
.sply-footer__h{ font-weight: 900; margin-bottom: 6px; }
.sply-footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding: 14px 0 6px;
  color: rgba(232,237,247,.78);
}

/* Responsive */
@media (max-width: 980px){
  .sply-hero__inner{ grid-template-columns: 1fr; }
  .sply-grid--4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sply-grid--3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sply-snapshot{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sply-twoCol, .sply-twoCol--wide{ grid-template-columns: 1fr; }
  .sply-bullets{ grid-template-columns: 1fr; }
  .sply-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .sply-topbar__inner{ flex-direction:column; align-items:flex-start; }
  .sply-header__inner{ flex-direction:column; align-items:flex-start; }
  .sply-nav{ justify-content:flex-start; }
  .sply-grid--4, .sply-grid--3{ grid-template-columns: 1fr; }
  .sply-snapshot{ grid-template-columns: 1fr; }
  .sply-contact__item{ grid-template-columns: 1fr; }
  .sply-footer__grid{ grid-template-columns: 1fr; }
}
/* === FIX: Títulos azules de Zoho (mejor contraste) === */
.sply-site h1,
.sply-site h2,
.sply-site h3,
.sply-site h4{
  color: rgba(232,237,247,.98) !important; /* blanco suave */
}

/* Mantener colores intencionales del theme */
.sply-site .sply-eyebrow{ 
  color: rgba(214,177,90,.95) !important; 
}
.sply-site .sply-accent{ 
  color: var(--accent2) !important; 
}
.sply-site .sply-pill{
  color: var(--accent2) !important;
}

/* Asegura que títulos dentro de cards/callouts NO hereden azul */
.sply-site .sply-card h3,
.sply-site .sply-case h3,
.sply-site .sply-callout__title,
.sply-site .sply-hero__cardTitle{
  color: rgba(232,237,247,.98) !important;
}

/* === FIX: Centrar íconos (“logos”) de cada tarjeta === */
.sply-site .sply-card__icon{
  margin: 0 auto 10px !important; /* centra el bloque */
}
/* === Center: icon + title in capability cards === */
.sply-site .sply-card{
  text-align: center; /* centra el título y el icono */
}

/* Mantiene el body (párrafo + bullets) alineado a la izquierda */
.sply-site .sply-card p,
.sply-site .sply-card .sply-list{
  text-align: left;
}
/* === Smart sticky header: hide on scroll down, show on scroll up === */
.sply-header{
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}

/* oculto (cuando bajas) */
.sply-header.is-hidden{
  transform: translateY(-110%);
}

/* sombra suave cuando ya empezaste a bajar */
.sply-header.is-scrolled{
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

/* === Scrollspy: link activo === */
.sply-nav a.is-active{
  border-color: rgba(214,177,90,.55) !important;
  background: rgba(214,177,90,.10);
}