:root {
  --accent: #00a8a8;
  --accent-dark: #008b8b;
  --ink: #152642;
  --ink-soft: #566985;
  --line: #d9e7ef;
  --paper: #f3f9fc;
  --surface: #ffffff;
  --radius-lg: 1.2rem;
  --radius-md: 0.85rem;
  --shadow: 0 16px 40px rgba(17, 40, 66, 0.1);
  --anim-speed-multiplier: 1;
  --anim-reveal-duration: 0.6s;
  --anim-reveal-distance: 20px;
  --anim-hover-lift: -5px;
  --anim-float-distance: -12px;
}

body[data-anim-intensity="slow"] { --anim-speed-multiplier: 1.35; --anim-reveal-duration: 0.85s; --anim-reveal-distance: 14px; --anim-hover-lift: -3px; --anim-float-distance: -8px; }
body[data-anim-intensity="medium"] { --anim-speed-multiplier: 1; --anim-reveal-duration: 0.6s; --anim-reveal-distance: 20px; --anim-hover-lift: -5px; --anim-float-distance: -12px; }
body[data-anim-intensity="high"] { --anim-speed-multiplier: 0.78; --anim-reveal-duration: 0.42s; --anim-reveal-distance: 28px; --anim-hover-lift: -8px; --anim-float-distance: -18px; }

html, body { overflow-x: hidden; }
body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #f7fcff 0%, #eef6fa 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 12% 14%, rgba(0,168,168,.12), transparent 36%), radial-gradient(circle at 86% 18%, rgba(31,90,137,.11), transparent 38%);
}

h1,h2,h3,h4,h5,h6,.display-font { color: var(--ink); font-family: "Urbanist", "Segoe UI", sans-serif; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.section-space { padding: 5.2rem 0; }
.page-shell > section:not(.page-hero):not(.section-space):not(.diag-band) { padding: 4.2rem 0; }
.page-shell > section + section { margin-top: .2rem; }

.page-hero {
  position: relative;
  padding: 7rem 0 4.3rem;
  color: #fff;
  background: linear-gradient(135deg, #143463 0%, #1f5a89 58%, #00a8a8 100%);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.24), transparent 70%);
  right: -140px;
  top: -140px;
}
.page-hero .display-5, .page-hero .display-4 { animation: riseHero calc(.7s * var(--anim-speed-multiplier)) ease both; }

.eyebrow { display: inline-flex; gap: .5rem; text-transform: uppercase; letter-spacing: .17em; font-size: .74rem; font-weight: 800; color: #0f6f87; }
.eyebrow.light { color: #caf6ff; }

.site-topline { background: #0e274c; color: #cfe7ff; font-size: .83rem; }
.site-topline a { color: #fff; }
.main-nav { position: sticky; top: 0; z-index: 1040; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.main-nav.scrolled { box-shadow: 0 10px 30px rgba(15,47,77,.12); }

.breadcrumb-ribbon { background: linear-gradient(90deg, #edf8ff 0%, #f3fcff 52%, #f8feff 100%); border-bottom: 1px solid var(--line); }
.smart-breadcrumb { display: inline-flex; align-items: center; gap: .25rem; margin: 0; padding: .65rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(16,55,88,.08); }
.smart-breadcrumb li { list-style: none; font-size: .85rem; }
.smart-breadcrumb li + li::before { content: ">"; margin: 0 .5rem; color: #8aa8be; }
.smart-breadcrumb a { color: #1f5a89; font-weight: 700; }
.smart-breadcrumb .active { color: var(--accent); font-weight: 800; }

.brand-wordmark { font-weight: 900; font-family: "Urbanist", sans-serif; color: var(--ink); letter-spacing: -0.03em; }
.brand-wordmark span { color: var(--accent); }

.hero-home { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-home .carousel-item, .hero-home .carousel-item img { min-height: 78vh; }
.hero-home .carousel-item img { width: 100%; object-fit: cover; }
.hero-home::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(112deg, rgba(10,30,58,.92) 18%, rgba(15,67,102,.48) 62%, rgba(0,168,168,.35) 100%); }
.hero-home .hero-content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }

.hero-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.kpi-box { border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius-md); padding: .95rem 1rem; background: rgba(255,255,255,.1); }

.card-theme,.feature-tile,.info-tile,.blog-tile,.job-tile,.media-tile,.download-tile,.product-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
  overflow: hidden;
}
.feature-tile:hover,.info-tile:hover,.blog-tile:hover,.job-tile:hover,.media-tile:hover,.download-tile:hover,.product-tile:hover {
  transform: translateY(var(--anim-hover-lift));
  box-shadow: 0 22px 52px rgba(15,49,76,.16);
}
.card-theme::after,.feature-tile::after,.info-tile::after,.blog-tile::after,.job-tile::after,.media-tile::after,.download-tile::after,.product-tile::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle, rgba(0,168,168,.2), transparent 68%);
  opacity: 0;
  transition: opacity .25s ease;
}
.card-theme:hover::after,.feature-tile:hover::after,.info-tile:hover::after,.blog-tile:hover::after,.job-tile:hover::after,.media-tile:hover::after,.download-tile:hover::after,.product-tile:hover::after { opacity: 1; }

.btn-primary { background: var(--accent); border-color: var(--accent); border-radius: 40px; font-weight: 700; }
.btn-primary:hover,.btn-primary:focus { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline-primary { border-color: var(--accent); color: var(--accent); border-radius: 40px; font-weight: 700; }
.btn-outline-primary:hover { background: var(--accent); border-color: var(--accent); }
.text-primary,.text-accent { color: var(--accent) !important; }
.bg-primary { background: var(--accent) !important; }

.diag-band { background: #0f2744; color: #dbeeff; position: relative; }
.diag-band::before { content: ""; position: absolute; inset: auto 0 100% 0; height: 60px; background: linear-gradient(to right bottom, transparent 49%, #0f2744 50%); }
.diag-band h2,.diag-band h3,.diag-band h4,.diag-band h5,.diag-band h6 { color: #fff; }

.site-footer { background: #0b1f37; color: #d2e4f7; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer a { color: #f0fbff; }
.site-footer a:hover { color: #95ffff; }

.search-results .result-item { border-bottom: 1px solid var(--line); padding: .75rem 0; }

.contact-float { position: fixed; right: 18px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 1080; }
.contact-float .item { width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.contact-float .call { background: #2574d5; }
.contact-float .whatsapp { background: #25d366; }
.contact-float .message { background: var(--accent); }

.innovation-motion { position: relative; overflow: hidden; background: linear-gradient(130deg, #11315c 0%, #1a4f7a 60%, #0ea5b7 100%); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.08); }
.innovation-motion::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.08) 45%, transparent 100%); animation: beamMove calc(7.5s * var(--anim-speed-multiplier)) linear infinite; }
.innovation-content { position: relative; z-index: 2; }
.motion-layer { position: absolute; inset: 0; pointer-events: none; }
.molecule-rotor { position: absolute; width: 230px; height: 230px; right: 8%; top: 14%; border: 2px dashed rgba(200,246,255,.6); border-radius: 50%; transform: rotate(0deg); }
.molecule-rotor::before,.molecule-rotor::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #9ef6ff; box-shadow: 0 0 12px rgba(158,246,255,.65); }
.molecule-rotor::before { top: 18px; left: 20px; }
.molecule-rotor::after { bottom: 22px; right: 18px; }
.molecule-core { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.capsule-flyin { position: absolute; width: 96px; height: 36px; border-radius: 60px; background: linear-gradient(90deg, #f9fbff 0 50%, #0ea5b7 50%); border: 2px solid rgba(255,255,255,.36); animation: capsuleFlyIn calc(4.8s * var(--anim-speed-multiplier)) ease-in-out infinite; }
.capsule-a { left: -30px; top: 18%; }
.capsule-b { left: 10%; bottom: -8px; transform: rotate(25deg); animation-delay: 1.2s; }
.virus-orb { position: absolute; width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(255,255,255,.36); background: rgba(255,255,255,.08); transition: transform .25s ease; animation: floatVirus calc(6s * var(--anim-speed-multiplier)) ease-in-out infinite; }
.virus-orb::before,.virus-orb::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(158,246,255,.8); }
.virus-orb::after { inset: 28px; border-color: rgba(255,255,255,.7); }
.virus-a { top: 20%; left: 18%; }
.virus-b { right: 16%; bottom: 20%; animation-delay: 1.5s; }

.reveal-block { opacity: 0; transform: translateY(var(--anim-reveal-distance)); transition: transform var(--anim-reveal-duration) ease, opacity var(--anim-reveal-duration) ease; }
.reveal-block.visible { opacity: 1; transform: translateY(0); }

@keyframes capsuleFlyIn {
  0% { transform: translateX(-120px) rotate(-16deg); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translateX(210px) rotate(6deg); opacity: 1; }
  100% { transform: translateX(460px) rotate(18deg); opacity: 0; }
}
@keyframes floatVirus { 0%,100% { transform: translateY(0); } 50% { transform: translateY(var(--anim-float-distance)); } }
@keyframes riseHero { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes beamMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

@media (max-width: 991px) {
  .section-space { padding: 4rem 0; }
  .page-shell > section:not(.page-hero):not(.section-space):not(.diag-band) { padding: 3.5rem 0; }
  .hero-home,.hero-home .carousel-item,.hero-home .carousel-item img { min-height: 68vh; }
  .hero-kpis { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-hero { padding: 6.3rem 0 3rem; }
  .contact-float { right: 12px; bottom: 12px; }
  .smart-breadcrumb { display: flex; flex-wrap: wrap; gap: .15rem; border-radius: 14px; }
}
