/* Prueba visual aislada: lenguaje Hostinger aplicado solo a la home. */
:root {
  --bg: #fff;
  --bg-w: #fff;
  --bg-c: #f4f3ef;
  --txt: #1d1e20;
  --muted: #56585e;
  --dark: #1d1e20;
  --dark-2: #090909;
  --blue: #5f79ee;
  --blue-h: #4f69e4;
  --sec: 7.5rem;
  --sec-sm: 6.5rem;
  --rl: 12px;
}

body { font-family: "Open Sans", "Euclid Circular A", Arial, sans-serif; }
.container { width: min(1018px, calc(100% - 48px)); }

/* Cabecera más liviana y editorial */
.hdr { background: rgba(255,255,255,.97); border-bottom: 0; backdrop-filter: blur(14px); }
.hdr-in { height: 110px; }
.logo-img, .logo-footer .logo-img { height: 68px !important; }
.nav { padding-right: 0; gap: 8px; }
.nav-link { font-family: "Euclid Circular A", sans-serif; font-size: 14px; font-weight: 400; padding: 8px 10px; border-radius: 0; }
.nav-link.active { color: var(--dark); font-weight: 400; border-bottom: 1px solid var(--dark); }

/* Hero de referencia: aire, jerarquía y proporción */
.hero { min-height: 810px; padding: 190px 0 68px; align-items: flex-start; }
.hero-grid { grid-template-columns: 46% 54%; gap: 46px; align-items: center; padding-top: 0; }
.hero-tag { margin-bottom: 24px; }
.hero-tag .tag { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-h1 { max-width: 480px; margin: 0 0 25px; font-size: clamp(3.2rem, 4.45vw, 3.65rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.hero-h1 em { color: var(--blue); }
.hero-sub { max-width: 475px; margin-bottom: 30px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.hero-ctas { gap: 22px; margin-bottom: 50px; }
.hero-ctas .btn { min-height: 49px; padding: 0 29px; border-radius: 999px; font-size: 13px; box-shadow: none; }
.hero-ctas .btn-p { background: #050505; border-color: #050505; }
.hero-ctas .btn-blue-solid { background: var(--blue); border-color: var(--blue); }
.hero-stats { width: 100%; gap: 47px; padding-top: 0; border: 0; }
.hstat-n { font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.hstat-l { margin-top: 7px; color: #777980; font-size: 11px; font-weight: 400; line-height: 1.35; }
.hero-visual { max-height: none; overflow: visible; transform: translateY(12px); }
.hero-gif { width: 112%; max-width: 112%; max-height: 520px; }

/* Ritmo general */
.clients-sec { padding: 48px 0 66px; border: 0; background: #fff !important; }
.clients-label { margin-bottom: 38px; color: var(--dark); font-size: 22px; font-weight: 600; letter-spacing: -.025em; text-transform: none; }
.carousel-track { gap: 58px; }
.client-logo img, html body .carousel-track .client-logo img { height: 50px !important; opacity: .72 !important; }

.value-sec { padding: 112px 0; background: #f4f3ef; }
.value-grid { gap: 8rem; }
.eyebrow .tag { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sec-h2 { font-size: clamp(2.25rem, 3.1vw, 2.75rem); line-height: 1.13; letter-spacing: -.03em; font-weight: 600; }
.sec-desc { color: var(--muted); font-size: 14px; line-height: 1.72; }
.pill { background: #fff; border-color: transparent; box-shadow: 0 8px 26px rgba(29,30,32,.04); font-weight: 500; }
.vcard { border: 0; border-radius: 7px; box-shadow: 0 12px 38px rgba(29,30,32,.055); }
.vcard-ico { color: var(--blue); background: #f0f2ff; }

.casos-sec { padding: 112px 0; }
.sec-header-split, .sec-header-2col { margin-bottom: 56px; }
.casos-grid { gap: 22px; }
.caso-card { border: 0; border-radius: 9px; box-shadow: 0 10px 36px rgba(29,30,32,.07); }
.caso-title { font-weight: 600; line-height: 1.35; }

.svc-sec { padding: 112px 0; background: #f4f3ef; }
.svc-grid { gap: 18px; }
.svc-card { border: 0; border-radius: 8px; background: #fff; box-shadow: 0 9px 30px rgba(29,30,32,.045); }
.svc-name { font-weight: 600; }

.nosotros-sec { padding: 120px 0; background: #060606; }
.nosotros-h2 { font-size: clamp(2.2rem, 3.25vw, 2.9rem); line-height: 1.14; font-weight: 600; }
.nosotros-desc { font-size: 14px; line-height: 1.75; }
.nosotros-visual { border-radius: 10px; overflow: hidden; }

.certs-sec { padding: 72px 0 !important; }
.cta-sec { padding: 124px 0; background: #050505; }
.cta-h { font-size: clamp(2.5rem, 4.3vw, 3.8rem); line-height: 1.08; font-weight: 600; }
.cta-sub { font-size: 14px; line-height: 1.7; }
.btn-cta-blue { border-radius: 999px; }
.footer { padding-top: 78px; background: #fff; }

@media (max-width: 900px) {
  .container { width: min(100% - 38px, 680px); }
  .hdr-in { height: 80px; }
  .logo-img { height: 52px !important; }
  .hero { padding: 128px 0 72px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; transform: none; }
  .hero-gif { width: 100%; max-width: 100%; max-height: 330px; }
  .hero-h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .hero-stats { flex-wrap: wrap; gap: 26px; }
  .value-grid { gap: 5rem; }
}

@media (max-width: 768px) {
  :root { --sec: 5rem; --sec-sm: 4.5rem; }
  #m-loader, #m-hero { display: none !important; }
  body > *:not(script):not(style) { visibility: visible !important; display: initial; }
  header.hdr { display: block !important; }
  main, footer.footer { display: block !important; }
  section.hero, .clients-sec, .value-sec, .certs-sec { display: block !important; }
  .hero { padding: 112px 0 60px !important; }
  .hero-grid { display: grid !important; grid-template-columns: 1fr !important; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; min-height: 0 !important; }
  .hero-ctas { gap: 10px; margin-bottom: 38px; }
  .hero-ctas .btn { padding: 0 20px; }
  .clients-label { font-size: 19px; }
  .value-sec, .casos-sec, .svc-sec, .nosotros-sec, .cta-sec { padding-top: 80px; padding-bottom: 80px; }
}
