/* =============================================================================
   Exceleris Group LLC — Sitio corporativo
   Paleta derivada del logotipo: teal profundo + dorado.
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens -- */
:root{
  /* Marca */
  --teal-950:#032b2a;
  --teal-900:#04403e;
  --teal-800:#065654;
  --teal-700:#0a6b69;   /* color del wordmark */
  --teal-600:#0d817e;
  --teal-500:#119a96;
  --teal-100:#e0f0ef;
  --teal-50:#f2f9f8;

  --gold-700:#8f6730;
  --gold-600:#a87b3c;
  --gold-500:#c9945a;   /* dorado principal */
  --gold-400:#dcae76;
  --gold-300:#efce9e;

  /* Neutros */
  --ink:#0e1f1e;
  --ink-soft:#334746;
  --muted:#5d716f;
  --line:#e3ebea;
  --line-strong:#cfdcdb;
  --bg:#ffffff;
  --bg-alt:#f5f9f8;

  /* Sistema */
  --radius:14px;
  --radius-lg:22px;
  --shadow-sm:0 1px 2px rgba(3,43,42,.06), 0 2px 8px rgba(3,43,42,.05);
  --shadow-md:0 6px 24px rgba(3,43,42,.09);
  --shadow-lg:0 24px 60px rgba(3,43,42,.16);
  --maxw:1180px;
  --header-h:76px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ----------------------------------------------------------------- Base -- */
*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 12px);
}

body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.65;
  color:var(--ink-soft);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; height:auto; display:block; }

h1,h2,h3,h4{
  margin:0;
  color:var(--ink);
  line-height:1.18;
  letter-spacing:-.02em;
  font-weight:700;
}

p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }

a{ color:var(--teal-700); text-decoration:none; }
a:hover{ color:var(--teal-600); }

:focus-visible{
  outline:3px solid var(--gold-500);
  outline-offset:3px;
  border-radius:4px;
}

.container{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:24px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--teal-900); color:#fff;
  padding:12px 20px; border-radius:0 0 10px 0; font-weight:600;
}
.skip-link:focus{ left:0; color:#fff; }

/* -------------------------------------------------------------- Botones -- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:10px;
  font-size:15px; font-weight:600; letter-spacing:.01em;
  cursor:pointer; white-space:nowrap;
  transition:transform .15s ease, box-shadow .2s ease, background-color .2s ease,
             border-color .2s ease, color .2s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }

.btn-primary{
  background:linear-gradient(135deg,var(--gold-400),var(--gold-500));
  color:var(--teal-950);
  box-shadow:0 2px 10px rgba(201,148,90,.32);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--gold-300),var(--gold-400));
  color:var(--teal-950);
  box-shadow:0 8px 22px rgba(201,148,90,.38);
}

.btn-outline{
  background:transparent;
  color:var(--teal-700);
  border-color:var(--line-strong);
}
.btn-outline:hover{
  color:var(--teal-800);
  border-color:var(--teal-600);
  background:var(--teal-50);
}

.btn-ghost{
  background:rgba(255,255,255,.06);
  color:#fff;
  border-color:rgba(255,255,255,.34);
  backdrop-filter:blur(4px);
}
.btn-ghost:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.7);
  color:#fff;
}

.btn-sm{ padding:9px 16px; font-size:14px; }
.btn-lg{ padding:15px 30px; font-size:16px; }

.link-arrow{
  display:inline-flex; align-items:center; gap:7px;
  font-weight:600; font-size:15px;
  color:var(--teal-700);
  margin-top:auto; padding-top:16px;
}
.link-arrow::after{
  content:"→"; transition:transform .18s ease;
}
.link-arrow:hover::after{ transform:translateX(4px); }

/* --------------------------------------------------------------- Header -- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow:var(--shadow-sm); }

.header-inner{
  height:var(--header-h);
  display:flex; align-items:center; gap:28px;
}

.logo{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.logo-mark{ width:40px; height:40px; object-fit:contain; }
.logo-text{
  font-size:17px; font-weight:800; letter-spacing:-.01em;
  color:var(--teal-700); line-height:1.15; max-width:14ch;
}
.logo-text .accent{ color:var(--gold-600); }

.nav{ display:flex; gap:6px; margin-left:auto; }
.nav a{
  padding:9px 14px; border-radius:8px;
  font-size:15px; font-weight:600;
  color:var(--ink-soft);
}
.nav a:hover{ color:var(--teal-700); background:var(--teal-50); }
.nav a.is-active{ color:var(--teal-700); }

.header-actions{ display:flex; align-items:center; gap:14px; }

.lang-switch{ display:flex; align-items:center; gap:6px; }
.lang-switch button{
  background:none; border:0; cursor:pointer; padding:4px 2px;
  font:inherit; font-size:13px; font-weight:700; letter-spacing:.06em;
  color:var(--muted);
}
.lang-switch button[aria-pressed="true"]{
  color:var(--teal-700);
  border-bottom:2px solid var(--gold-500);
}
.lang-switch button:hover{ color:var(--teal-700); }
.lang-sep{ width:1px; height:14px; background:var(--line-strong); }

.nav-toggle{
  display:none;
  width:42px; height:42px; padding:10px;
  background:none; border:1px solid var(--line-strong); border-radius:9px;
  cursor:pointer;
}
.nav-toggle span{
  display:block; height:2px; background:var(--teal-800); border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span{ margin-top:5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------- Hero -- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(17,154,150,.35), transparent 60%),
    linear-gradient(160deg, var(--teal-900) 0%, var(--teal-950) 62%, #021d1c 100%);
  color:#fff;
  padding:96px 0 88px;
}
.hero::after{
  content:""; position:absolute; inset:auto 0 0 0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(220,174,118,.55),transparent);
}
.hero-glow{
  position:absolute; right:-140px; top:-120px;
  width:560px; height:560px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,148,90,.26), transparent 65%);
  pointer-events:none;
}
.hero-watermark{
  position:absolute; right:-60px; bottom:-90px;
  width:520px; opacity:.07; pointer-events:none;
  filter:grayscale(.2);
}
.hero-inner{ position:relative; max-width:820px; }

.eyebrow{
  font-size:13px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-400);
  margin-bottom:18px;
}
.section-head .eyebrow,
.cta .eyebrow{ margin-bottom:14px; }
.section .eyebrow{ color:var(--gold-600); }

.hero-title{
  color:#fff;
  font-size:clamp(2.15rem, 5vw, 3.5rem);
  letter-spacing:-.03em;
  margin-bottom:22px;
}
.hero-sub{
  font-size:clamp(1.05rem,2vw,1.22rem);
  color:rgba(233,244,243,.84);
  max-width:66ch;
  margin-bottom:34px;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; }

.hero-badges{
  display:flex; flex-wrap:wrap; gap:10px 26px;
  margin-top:52px; padding-top:26px;
  border-top:1px solid rgba(255,255,255,.14);
}
.hero-badges li{
  display:flex; align-items:center; gap:9px;
  font-size:14.5px; color:rgba(226,240,239,.8);
}
.hero-badges li::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:var(--gold-400); flex-shrink:0;
}

/* Página 404 (sin estilos en línea: la CSP del .htaccess bloquea style-src inline) */
.hero-404{ min-height:72vh; display:flex; align-items:center; }

/* ------------------------------------------------------------- Secciones -- */
.section{ padding:92px 0; }
.section-alt{ background:var(--bg-alt); border-block:1px solid var(--line); }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-title{ font-size:clamp(1.85rem,3.4vw,2.5rem); margin-bottom:16px; }
.section-sub{ font-size:1.06rem; color:var(--muted); }

.grid{ display:grid; gap:22px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.mt-lg{ margin-top:22px; }

/* --------------------------------------------------------------- Tarjeta -- */
.card{
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  transition:transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform:translateY(-3px);
  border-color:var(--teal-100);
  box-shadow:var(--shadow-md);
}
.card-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:11px;
  background:var(--teal-50); color:var(--teal-700);
  border:1px solid var(--teal-100);
  margin-bottom:18px;
}
.card-title{ font-size:1.14rem; margin-bottom:10px; }
.card-text{ font-size:15.5px; color:var(--muted); }
.card-svc:hover .card-icon{ background:var(--teal-700); color:#fff; border-color:var(--teal-700); }

/* -------------------------------------------------- Producto destacado --- */
.product-card{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-md);
}
.product-main{ padding:44px; }

.product-head{ display:flex; gap:16px; align-items:flex-start; margin-bottom:20px; }
.product-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:13px; flex-shrink:0;
  background:linear-gradient(140deg,var(--teal-700),var(--teal-900));
  color:var(--gold-300);
}
.product-eyebrow{
  font-size:11.5px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gold-600); margin-bottom:4px;
}
.product-name{ font-size:1.7rem; letter-spacing:-.02em; color:var(--teal-800); }
.product-tag{ font-size:15px; color:var(--muted); margin-top:2px; }

/* Tagline de CredPro */
.product-slogan{
  position:relative;
  margin:0 0 20px;
  padding-left:16px;
  border-left:3px solid var(--gold-500);
  font-size:1.12rem;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--teal-800);
}

.product-desc{ margin-bottom:24px; }

.feature-list{ display:grid; gap:11px; margin-bottom:30px; }
.feature-list li{
  position:relative; padding-left:30px;
  font-size:15.5px; color:var(--ink-soft);
}
.feature-list li::before{
  content:""; position:absolute; left:0; top:.36em;
  width:18px; height:18px; border-radius:50%;
  background:var(--teal-50);
  border:1px solid var(--teal-100);
}
.feature-list li::after{
  content:""; position:absolute; left:5.5px; top:.62em;
  width:7px; height:3.5px;
  border-left:2px solid var(--teal-600);
  border-bottom:2px solid var(--teal-600);
  transform:rotate(-45deg);
}
.product-cta{ display:flex; flex-wrap:wrap; gap:12px; }

/* Panel lateral con maqueta abstracta */
.product-side{
  background:
    radial-gradient(520px 320px at 80% 0%, rgba(17,154,150,.28), transparent 62%),
    linear-gradient(150deg,var(--teal-900),var(--teal-950));
  padding:44px 40px;
  display:flex; align-items:center;
}
.mock{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  padding:16px;
  backdrop-filter:blur(3px);
  box-shadow:0 20px 50px rgba(0,0,0,.3);
}
.mock-bar{ display:flex; align-items:center; gap:6px; margin-bottom:16px; }
.mock-bar span{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.24); }
.mock-bar em{
  flex:1; height:8px; margin-left:10px; border-radius:4px;
  background:rgba(220,174,118,.4);
}
.mock-row{
  display:flex; align-items:center; gap:10px;
  padding:10px 4px;
  border-top:1px solid rgba(255,255,255,.08);
}
.mock-row b{ flex:1; height:8px; border-radius:4px; background:rgba(255,255,255,.22); }
.mock-row u{ width:34px; height:8px; border-radius:4px; background:rgba(255,255,255,.12); }
.mock-row:nth-child(3) b{ width:70%; flex:none; }
.mock-row:nth-child(5) b{ width:82%; flex:none; }
.dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.dot.ok{ background:#3fbf9a; }
.dot.warn{ background:var(--gold-400); }
.dot.idle{ background:rgba(255,255,255,.28); }
.mock-foot{ display:flex; gap:8px; margin-top:16px; }
.mock-foot span{ height:26px; border-radius:7px; }
.mock-foot span:first-child{ width:96px; background:rgba(220,174,118,.55); }
.mock-foot span:last-child{ width:76px; background:rgba(255,255,255,.12); }

/* --------------------------------------------------------------- Pasos --- */
.steps{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  counter-reset:step;
}
.step{ position:relative; padding-top:30px; }
.step::before{
  content:""; position:absolute; top:8px; left:0; right:0;
  height:2px; background:var(--line);
}
.step:first-child::before{ left:0; border-radius:2px 0 0 2px; }
.step::after{
  content:""; position:absolute; top:4px; left:0;
  width:10px; height:10px; border-radius:50%;
  background:var(--gold-500);
  box-shadow:0 0 0 4px rgba(201,148,90,.18);
}
.step-num{
  display:block; font-size:13px; font-weight:800;
  letter-spacing:.14em; color:var(--gold-600); margin-bottom:8px;
}
.step-title{ font-size:1.15rem; margin-bottom:9px; }
.step-text{ font-size:15px; color:var(--muted); }

/* ----------------------------------------------------------------- CTA --- */
.cta{
  position:relative; overflow:hidden;
  background:
    radial-gradient(760px 420px at 88% 10%, rgba(201,148,90,.2), transparent 60%),
    linear-gradient(150deg,var(--teal-800),var(--teal-950));
  color:#fff;
  padding:84px 0;
}
.cta-inner{
  display:grid; grid-template-columns:1.3fr .7fr; gap:56px; align-items:center;
}
.cta-title{ color:#fff; font-size:clamp(1.7rem,3.2vw,2.3rem); margin-bottom:14px; }
.cta-text{ color:rgba(230,243,242,.84); max-width:56ch; margin-bottom:30px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:14px; }

.cta-details{ display:grid; gap:20px; }
.cta-details li{
  padding-left:18px;
  border-left:2px solid rgba(220,174,118,.55);
}
.cta-label{
  display:block; font-size:12px; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
  color:var(--gold-300); margin-bottom:3px;
}
.cta-details a,
.cta-details span[data-contact-location]{
  color:#fff; font-size:16px; font-weight:600; word-break:break-word;
}
.cta-details a:hover{ color:var(--gold-300); }

/* -------------------------------------------------------------- Footer --- */
.site-footer{
  background:var(--teal-950);
  color:rgba(214,232,231,.72);
  padding:64px 0 0;
  font-size:15px;
}
.footer-inner{
  display:grid; grid-template-columns:1.1fr 1.6fr; gap:48px;
  padding-bottom:44px;
}
.logo-footer .logo-text{ color:#fff; }
.logo-footer .logo-text .accent{ color:var(--gold-400); }
.footer-tagline{
  margin-top:14px; max-width:34ch;
  color:rgba(214,232,231,.62);
  font-style:italic;
}
.footer-nav{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.footer-nav h4{
  color:#fff; font-size:13px; letter-spacing:.12em;
  text-transform:uppercase; margin-bottom:14px;
}
.footer-nav a{
  display:block; padding:5px 0;
  color:rgba(214,232,231,.72);
}
.footer-nav a:hover{ color:var(--gold-300); }

.footer-bottom{
  display:flex; flex-wrap:wrap; gap:10px 24px;
  justify-content:space-between; align-items:center;
  padding-block:22px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:14px;
  color:rgba(214,232,231,.55);
}
.footer-legal{ display:flex; gap:12px; align-items:center; }
.footer-legal a{ color:rgba(214,232,231,.7); }
.footer-legal a:hover{ color:var(--gold-300); }

/* ---------------------------------------------------- Páginas legales --- */
.page-head{
  background:linear-gradient(150deg,var(--teal-900),var(--teal-950));
  color:#fff; padding:64px 0 56px;
}
.page-head h1{ color:#fff; font-size:clamp(1.9rem,4vw,2.6rem); }
.page-head p{ color:rgba(230,243,242,.75); margin-top:12px; }
.prose{ max-width:760px; padding:64px 0 84px; }
.prose h2{ font-size:1.35rem; margin:38px 0 12px; }
.prose h2:first-child{ margin-top:0; }
.prose p, .prose li{ color:var(--ink-soft); font-size:16px; }
.prose p + p{ margin-top:12px; }
.prose ul{ list-style:disc; padding-left:22px; margin-top:10px; display:grid; gap:7px; }
.prose a{ text-decoration:underline; }
.note{
  margin-top:28px; padding:16px 18px;
  background:var(--teal-50); border:1px solid var(--teal-100);
  border-radius:10px; font-size:15px; color:var(--ink-soft);
}

/* ----------------------------------------------------------- Responsive -- */
@media (max-width:1024px){
  .product-card{ grid-template-columns:1fr; }
  .product-side{ padding:32px 28px 40px; }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); row-gap:34px; }
  .cta-inner{ grid-template-columns:1fr; gap:38px; }
  .hero-watermark{ width:420px; opacity:.05; }
}

@media (max-width:860px){
  .nav{
    position:absolute; top:var(--header-h); left:0; right:0;
    display:none; flex-direction:column; gap:2px;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-md);
    padding:14px 24px 20px;
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding:12px 10px; font-size:16px; }
  .nav-toggle{ display:block; }
  .hide-sm{ display:none; }
  .header-inner{ gap:14px; }
  .footer-inner{ grid-template-columns:1fr; gap:36px; }
}

@media (max-width:640px){
  body{ font-size:16px; }
  .hero{ padding:64px 0 60px; }
  .section{ padding:64px 0; }
  .product-main{ padding:30px 24px; }
  .grid-2,.grid-3,.steps{ grid-template-columns:1fr; }
  .footer-nav{ grid-template-columns:1fr 1fr; gap:24px; }
  .btn{ width:100%; }
  .hero-cta,.product-cta,.cta-actions{ flex-direction:column; align-items:stretch; }
  .logo-text{ font-size:15px; max-width:11ch; }
  .footer-bottom{ justify-content:flex-start; }
  .steps .step::before{ display:none; }
  .step{ padding-top:0; padding-left:22px; }
  .step::after{ top:8px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }
  .btn:hover,.card:hover{ transform:none; }
}

@media print{
  .site-header,.hero-cta,.cta,.nav-toggle,.lang-switch{ display:none !important; }
  body{ color:#000; }
}
