:root {
  --bg: #060a13;
  --ink: #101827;
  --text: #1e293b;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.24);
  --white: #ffffff;
  --soft: #f6f8fb;
  --panel: rgba(255, 255, 255, 0.08);
  --purple: #7c5cff;
  --violet: #9d6cff;
  --blue: #2563eb;
  --cyan: #16c7f3;
  --dark-blue: #081a33;
  --accent: #e84b35;
  --radius: 8px;
  --shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
  --max: 1180px;
  --whatsapp: "52XXXXXXXXXX";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(7, 13, 27, 0.9);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 122px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.32));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.84;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: #dce7ff;
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 8, 22, 0.96) 0%, rgba(3, 8, 22, 0.82) 34%, rgba(3, 8, 22, 0.38) 62%, rgba(3, 8, 22, 0.12) 100%),
    radial-gradient(circle at 75% 24%, rgba(124, 92, 255, 0.18), transparent 30%),
    url("../assets/images/hero-ccbh-background.jpg"),
    linear-gradient(135deg, #050814 0%, #081a33 46%, #120c2d 100%);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center right, center;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  content: "";
  background: linear-gradient(transparent, var(--soft));
}

.hero-orbit {
  display: none;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(124, 92, 255, 0.24);
  border-radius: inherit;
}

.hero-orbit::before {
  inset: 12%;
}

.hero-orbit::after {
  inset: 27%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: center;
  padding: 128px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9ec5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 13px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), #a833ff);
  box-shadow: 0 14px 32px rgba(232, 75, 53, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.tertiary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-visual {
  display: none;
}

.core-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 78vw);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
}

.core-card span {
  color: #9ec5ff;
  font-weight: 900;
}

.core-card strong {
  display: block;
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.08;
}

.core-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 900;
  animation: float-y 5.5s ease-in-out infinite;
}

.chip-1 { top: 5%; left: 8%; }
.chip-2 { top: 6%; right: 5%; animation-delay: 0.7s; }
.chip-3 { top: 32%; left: -34px; animation-delay: 1.1s; }
.chip-4 { top: 62%; right: 0; animation-delay: 0.3s; }
.chip-5 { bottom: 4%; left: 14%; animation-delay: 1.5s; }
.chip-6 { bottom: 7%; right: 18%; animation-delay: 0.9s; }
.chip-7 { top: 20%; right: 26%; animation-delay: 1.9s; }
.chip-8 { bottom: 26%; left: 7%; animation-delay: 1.3s; }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.division-grid,
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.division-card,
.benefit-card,
.need-card,
.timeline-step,
.about-panel,
.stats-panel,
.contact-form {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.division-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 0 28px 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.division-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan));
}

.division-card:hover {
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
  transform: translateY(-7px);
}

.division-media {
  height: 170px;
  margin: 0 -28px 24px;
  overflow: hidden;
  background: var(--dark-blue);
}

.division-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.division-card:hover .division-media img {
  transform: scale(1.045);
}

.division-card span {
  display: block;
  color: var(--purple);
  font-weight: 900;
}

.division-card p,
.benefit-card p,
.timeline-step p,
.about-panel p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.division-card a {
  position: absolute;
  left: 28px;
  bottom: 30px;
  color: var(--blue);
  font-weight: 900;
}

.ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(360px, 0.46fr);
  gap: 46px;
  align-items: center;
}

.ecosystem-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.ecosystem-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #07142c, #111a45 52%, #070b18);
  box-shadow: var(--shadow);
}

.ecosystem-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  pointer-events: none;
}

.ecosystem-visual img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  align-items: stretch;
}

.benefits-lead {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 560px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(22, 199, 243, 0.22), transparent 26%),
    radial-gradient(circle at 90% 16%, rgba(124, 92, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #07142c, #151044);
  box-shadow: var(--shadow);
}

.benefits-lead h2 {
  color: var(--white);
}

.benefits-lead p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.benefit-proof {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.benefit-proof span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

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

.benefit-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit-card strong {
  display: block;
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
}

.benefit-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 13px;
  font-weight: 900;
}

.benefit-card::after {
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.16), transparent 66%);
}

.benefit-card:hover {
  border-color: rgba(124, 92, 255, 0.38);
  box-shadow: 0 30px 82px rgba(15, 23, 42, 0.2);
  transform: translateY(-5px);
}

.industries {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: linear-gradient(135deg, #070d1b, #10194a 58%, #1b0f37);
}

.industries h2 {
  color: var(--white);
}

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

.industry-grid span {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  font-weight: 900;
}

.industry-grid.light span {
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.need-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 0 22px 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.need-card:hover {
  border-color: rgba(124, 92, 255, 0.46);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.18);
  transform: translateY(-5px);
}

.need-card img {
  display: block;
  width: calc(100% + 44px);
  height: auto;
  aspect-ratio: 16 / 7;
  margin: 0 -22px 22px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: linear-gradient(135deg, #f8fbff, #eef3fb);
  transition: transform 260ms ease;
}

.need-card:hover img {
  transform: scale(1.045);
}

.need-card strong,
.need-card span {
  display: block;
}

.need-card strong {
  min-height: 52px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.need-card span {
  color: var(--blue);
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.timeline-step {
  min-height: 260px;
  padding: 22px;
}

.timeline-step span {
  color: var(--purple);
  font-weight: 900;
}

.timeline-step h3 {
  font-size: 19px;
}

.wide-cta {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 22px auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(22, 199, 243, 0.24), transparent 28%),
    linear-gradient(135deg, #0b1831, #251351);
  box-shadow: var(--shadow);
}

.wide-cta h2 {
  margin: 0;
  color: var(--white);
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(330px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.about-panel,
.stats-panel {
  padding: 32px;
}

.stats-panel {
  display: grid;
  gap: 14px;
}

.stats-panel article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.stats-panel strong {
  color: var(--blue);
  font-size: 48px;
}

.stats-panel span {
  color: var(--muted);
  font-weight: 900;
}

.contact-copy {
  padding-right: 24px;
}

.contact-data {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) 1fr minmax(200px, 0.22fr);
  gap: 28px;
  padding: 42px clamp(20px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.75);
  background: #050814;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-meta {
  margin: 0;
  line-height: 1.6;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
  font-weight: 800;
}

.page-main {
  padding-top: 96px;
  background:
    radial-gradient(circle at 80% 12%, rgba(124, 92, 255, 0.14), transparent 32%),
    var(--soft);
}

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 34px;
}

.page-hero h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
