:root {
  --ink: #102331;
  --muted: #5b6973;
  --paper: #f5f7f8;
  --white: #fff;
  --blue: #2158d5;
  --cyan: #22c4cd;
  --lime: #b9dd32;
  --orange: #ff7747;
  --border: rgba(16, 35, 49, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  padding: 0 clamp(22px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;

  background-image: url('/images/isotipo_circle_black.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border-radius: 50%;
}

.logo-mark {
  background-image: url('/images/isotipo_circle_black.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
}

.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.main-nav a { position: relative; padding: 29px 0 25px; text-decoration: none; font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 3px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.disabled { color: #8a969d; cursor: default; }
.main-nav a.disabled::after { display: none; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: clamp(70px, 10vw, 135px) clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, black, transparent 82%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(12px); }
.hero-glow-one { width: 480px; height: 480px; right: -120px; top: -180px; background: rgba(33,88,213,.42); }
.hero-glow-two { width: 360px; height: 360px; right: 27%; bottom: -230px; background: rgba(34,196,205,.20); }
.eyebrow { margin: 0 0 24px; color: var(--lime); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
h1 { max-width: 800px; margin: 0; font-size: clamp(3.1rem, 6.8vw, 7.6rem); line-height: .91; letter-spacing: -.07em; }
h1 span { color: var(--cyan); }
.hero-copy { max-width: 690px; margin: 32px 0 0; color: #c4ced3; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.75; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 6px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--orange); color: white; box-shadow: 0 12px 35px rgba(255,119,71,.22); }
.button-primary:hover { background: #ff8a62; }
.coming-soon { color: #9db0bb; font-size: .84rem; }

.hero-visual { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.core { width: 170px; height: 170px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--ink); background: var(--lime); box-shadow: 0 0 80px rgba(185,221,50,.22); }
.core strong { font-size: 1.7rem; letter-spacing: -.04em; }
.core small { font-weight: 800; letter-spacing: .18em; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.orbit-one { inset: 12%; }
.orbit-two { inset: 1%; border-style: dashed; animation: rotate 35s linear infinite; }
.digital-card { position: absolute; min-width: 145px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(20,48,65,.82); backdrop-filter: blur(8px); box-shadow: 0 15px 35px rgba(0,0,0,.2); font-weight: 700; }
.digital-card span { margin-right: 8px; color: var(--cyan); font-size: .75rem; }
.card-one { top: 9%; right: 7%; }
.card-two { left: 1%; top: 50%; }
.card-three { right: 6%; bottom: 11%; }
@keyframes rotate { to { transform: rotate(360deg); } }

.principles { padding: 48px clamp(24px, 7vw, 112px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dce1e4; }
.principles article { padding: 35px; background: white; }
.principles article > span { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.principles h2 { margin: 12px 0 8px; font-size: 1.05rem; }
.principles p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.kanippy-hero-badge {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 5vw, 56px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 480px;
  padding: 18px 24px 18px 20px;
  background: var(--white);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.5);
}
.kanippy-hero-badge:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(0,0,0,.44); }
.kanippy-hero-badge-tag {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--orange);
  color: white;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255,119,71,.45);
}
.kanippy-hero-badge-tag::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid var(--orange);
  opacity: .6;
  animation: badge-ping 1.8s ease-out infinite;
}
.kanippy-hero-badge-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 208px; }
.kanippy-hero-badge-logo img { height: 68px; width: auto; object-fit: contain; }
.kanippy-hero-badge-slogan { width: 100%; text-align: center; font-size: .64rem; font-weight: 700; color: var(--muted); line-height: 1.3; letter-spacing: .01em; }
.kanippy-hero-badge-copy { display: flex; flex-direction: column; gap: 8px; }
.kanippy-hero-badge-copy strong { font-size: 1rem; line-height: 1.25; letter-spacing: -.01em; }
.kanippy-hero-badge-cta { display: inline-flex; align-items: center; gap: 5px; font-size: .98rem; font-weight: 800; color: var(--orange); }
@keyframes badge-ping { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

.whatsapp { position: fixed; z-index: 30; right: 22px; bottom: 25px; min-height: 54px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border-radius: 30px; background: #25d366; color: #092e18; box-shadow: 0 12px 30px rgba(0,0,0,.22); text-decoration: none; font-weight: 800; }
.whatsapp > span:first-child { width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; }

.kanippy-float { position: fixed; z-index: 30; left: 22px; bottom: 25px; min-height: 54px; padding: 0 20px; display: flex; align-items: center; border-radius: 30px; background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.18); border: 1px solid var(--border); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.kanippy-float:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.kanippy-float img { height: 26px; width: auto; display: block; }

.expertise { padding: 80px clamp(24px, 7vw, 112px) 96px; background: var(--ink); color: white; }
.expertise-header { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.expertise-header .eyebrow { margin-bottom: 18px; }
.expertise-header h2 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.15; }
.expertise-header p { margin: 0; color: #c4ced3; font-size: 1.05rem; line-height: 1.7; }

.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.expertise-card { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.13); text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.expertise-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.075); border-color: var(--accent, var(--cyan)); }
.expertise-card .tag { display: inline-block; margin-bottom: 16px; color: var(--accent, var(--cyan)); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.expertise-card h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.02em; }
.expertise-card .tagline { margin: 0 0 14px; font-weight: 700; font-size: .98rem; color: white; }
.expertise-card .desc { margin: 0 0 20px; color: #b9c3ca; font-size: .87rem; line-height: 1.65; flex: 1; }
.expertise-card .link { font-size: .82rem; font-weight: 800; color: var(--accent, var(--cyan)); }

@media (max-width: 980px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .kanippy-float img { height: 22px; }
  .kanippy-float { padding: 0 14px; }
}
.site-footer { min-height: 100px; padding: 30px clamp(24px, 7vw, 112px); display: flex; align-items: center; background: #0b1a24; color: #95a6af; font-size: .82rem; }

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 10px 24px 20px; flex-direction: column; align-items: stretch; gap: 0; background: white; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(16,35,49,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 0; }
  .main-nav a::after { bottom: 9px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-visual { width: min(100%, 390px); }
  .principles { grid-template-columns: 1fr; }
  .kanippy-hero-badge { position: static; margin: 0 0 30px; max-width: 100%; }
  .kanippy-hero-badge-tag { top: -10px; }
}
@media (max-width: 520px) {
  .brand span:last-child { font-size: .9rem; }
  .hero { gap: 45px; }
  .hero-visual { transform: scale(.88); margin: -25px 0; }
  .whatsapp { width: 54px; padding: 0; justify-content: center; }
  .whatsapp-label { display: none; }
  .kanippy-hero-badge { flex-direction: column; text-align: center; }
  .kanippy-hero-badge-logo { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .orbit-two { animation: none; } }

.internal-page {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 182px);
  margin: 0 auto;
  padding: 60px 0 80px;
}

.internal-page img {
  max-width: 100%;
  height: auto;
}

