:root {
  --site-navy: #071b32;
  --site-ink: #0d2238;
  --site-soft: #f3f7fb;
  --site-line: rgba(18, 54, 86, 0.12);
  --site-blue: #1167d8;
  --site-cyan: #78e3d0;
  --site-hero-radius: 0 0 48px 48px;
  --site-card-radius: 22px;
  --site-card-shadow: 0 18px 48px rgba(7, 38, 70, .09);
  --page-accent: #1769d2;
  --page-accent-soft: #eaf2ff;
}

html,
body.site-page {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body.site-page {
  min-height: 100%;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y pinch-zoom;
}

html::-webkit-scrollbar {
  display: block !important;
  width: 10px;
}

html::-webkit-scrollbar-track { background: #eef3f7; }
html::-webkit-scrollbar-thumb { background: #9aaabd; border: 2px solid #eef3f7; border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: #6f8298; }

body.site-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(40, 112, 210, 0.08), transparent 30rem),
    var(--site-soft) !important;
  color: var(--site-ink);
}

.page-home { --page-accent: #1167d8; --page-accent-soft: #e8f1ff; }
.page-soluciones { --page-accent: #1769d2; --page-accent-soft: #e8f1ff; }
.page-kondomino { --page-accent: #13835f; --page-accent-soft: #e6f7f0; }
.page-metodologia { --page-accent: #1167d8; --page-accent-soft: #e8f1ff; }
.page-contacto { --page-accent: #13835f; --page-accent-soft: #e6f7f0; }

.site-page #navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-color: rgba(15, 45, 75, 0.1) !important;
  box-shadow: 0 8px 30px rgba(0, 30, 60, 0.07) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.site-page #navbar a[aria-current="page"] {
  color: var(--page-accent) !important;
}

.site-page #navbar .btn-glow {
  background: var(--site-navy) !important;
  box-shadow: 0 10px 24px rgba(7, 27, 50, 0.18) !important;
}

.site-page main {
  background: transparent !important;
}

.site-page main .rounded-xl,
.site-page main .rounded-2xl,
.site-page main .rounded-\[32px\] {
  border-color: var(--site-line);
}

.site-page main .shadow-sm,
.site-page main .shadow-md {
  box-shadow: 0 14px 38px rgba(7, 38, 70, 0.08) !important;
}

.site-page:not(.page-home) main > div > section:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--site-hero-radius);
}

.site-page:not(.page-home) main > div > section:first-child h1 {
  letter-spacing: -.045em;
  line-height: 1.04;
}

.site-page:not(.page-home) main > div > section:not(:first-child) h2 {
  color: var(--site-ink);
  letter-spacing: -.035em;
}

.site-page:not(.page-home) main > div > section:not(:first-child) .shadow-sm,
.site-page:not(.page-home) main > div > section:not(:first-child) .shadow-md {
  border: 1px solid var(--site-line);
  border-radius: var(--site-card-radius) !important;
  box-shadow: var(--site-card-shadow) !important;
}

.site-page:not(.page-home) main > div > section:first-child::before,
.site-page:not(.page-home) main > div > section:first-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.site-page:not(.page-home) main > div > section:first-child::before {
  width: 330px;
  height: 330px;
  top: -190px;
  right: 4%;
  background: var(--page-accent-soft);
  opacity: 0.75;
}

.site-page:not(.page-home) main > div > section:first-child::after {
  width: 160px;
  height: 160px;
  left: -70px;
  bottom: -80px;
  border: 26px solid color-mix(in srgb, var(--page-accent) 14%, transparent);
}

body.site-page.page-soluciones main > div > section:first-child {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr);
  gap: 54px;
  align-items: center;
  min-height: 640px;
  padding: 64px max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background:
    radial-gradient(circle at 88% 9%, rgba(17,103,216,.1), transparent 24rem),
    radial-gradient(circle at 5% 94%, rgba(19,131,95,.08), transparent 22rem),
    #f5f8fc !important;
  border-radius: 0 0 48px 48px;
}

body.site-page.page-soluciones main > div > section:first-child::before,
body.site-page.page-soluciones main > div > section:first-child::after {
  display: none !important;
}

.solutions-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.solutions-hero-content > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #1769d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.solutions-hero-content > span::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #13835f;
}

.solutions-hero-content h1 {
  max-width: 610px;
  margin: 0;
  color: #071b32;
  font-size: clamp(43px, 4.7vw, 64px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.solutions-hero-content p {
  max-width: 510px;
  margin: 22px 0 0;
  color: #526171 !important;
  font-size: 18px;
  line-height: 1.65;
}

.solutions-hero-content a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 12px 0;
  color: #071b32;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(7,27,50,.28);
}

.solutions-hero-content a:hover {
  color: #1769d2 !important;
  border-color: #1769d2;
}

.solutions-hero-visual {
  position: relative;
  min-width: 0;
}

.solutions-hero-visual::before {
  content: "";
  position: absolute;
  inset: -16px 28px 22px -18px;
  border: 1px solid rgba(23,105,210,.16);
  border-radius: 36px;
  transform: rotate(-2deg);
}

.solutions-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  box-shadow: 0 30px 76px rgba(7,38,70,.18);
}

.solutions-hero-visual > span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  max-width: 285px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(7,27,50,.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(12px);
}

.page-soluciones main > div > section:nth-of-type(2) {
  background:
    radial-gradient(circle at 8% 4%, rgba(23, 105, 210, 0.11), transparent 25rem),
    #f3f7fb !important;
}

.page-soluciones main > div > section:nth-of-type(2) .grid > div {
  border: 1px solid rgba(19, 69, 112, 0.1);
  border-radius: 22px !important;
  box-shadow: 0 18px 44px rgba(7, 38, 70, 0.07) !important;
}

.page-soluciones main > div > section:nth-of-type(2) .grid > div:hover {
  border-color: rgba(23, 105, 210, 0.28);
}

.solutions-map-section {
  padding-top: 88px !important;
  padding-bottom: 96px !important;
  overflow: hidden;
}

.solutions-map-heading {
  max-width: 790px;
  margin: 0 auto 48px;
  text-align: center;
}

.solutions-map-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #1769d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.solutions-map-heading h2 {
  margin: 0 0 14px;
  color: #071b32;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.solutions-map-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #526171;
  font-size: 17px;
  line-height: 1.65;
}

.services-map-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-areas:
    "node1 node2 node3"
    "node4 hub node5"
    "node6 node7 node8";
  gap: 22px 32px !important;
  max-width: 1180px;
  margin: 0 auto;
  isolation: isolate;
}

.services-map-grid::before,
.services-map-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.services-map-grid::before {
  inset: 13% 9%;
  border: 1px dashed rgba(23, 105, 210, .24);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(-3deg);
}

.services-map-grid::after {
  inset: 28% 22%;
  border: 1px solid rgba(19, 131, 95, .18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,105,210,.07) 0, rgba(23,105,210,0) 69%);
}

.service-map-node {
  --node-color: #1769d2;
  position: relative;
  z-index: 1;
  min-height: 214px;
  padding: 22px !important;
  border-top: 4px solid var(--node-color) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 14px 40px rgba(7,38,70,.08) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

.service-map-node:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 54px rgba(7,38,70,.14) !important;
}

.service-map-node::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--node-color);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--node-color) 11%, white);
}

.service-map-node > div[class*="w-12"] {
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 16px !important;
  background: color-mix(in srgb, var(--node-color) 12%, white) !important;
  color: var(--node-color) !important;
}

.service-map-node h3 {
  margin-bottom: 8px !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
}

.service-map-node p {
  margin-bottom: 0 !important;
  font-size: 14px !important;
  line-height: 1.52 !important;
}

.service-map-node > .flex.items-center:last-child { display: none !important; }
.service-map-node-1 { grid-area: node1; --node-color: #1769d2; }
.service-map-node-2 { grid-area: node2; --node-color: #087ca8; }
.service-map-node-3 { grid-area: node3; --node-color: #6656c8; }
.service-map-node-4 { grid-area: node4; --node-color: #d87531; }
.service-map-node-5 { grid-area: node5; --node-color: #13835f; }
.service-map-node-6 { grid-area: node6; --node-color: #bf3e78; }
.service-map-node-7 { grid-area: node7; --node-color: #88702c; }
.service-map-node-8 { grid-area: node8; --node-color: #215f9d; }

.service-map-hub {
  grid-area: hub;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 214px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 75% 20%, rgba(39,173,154,.28), transparent 45%),
    linear-gradient(145deg, #071b32, #0b3854) !important;
  color: white;
  text-align: center;
  box-shadow: 0 26px 68px rgba(7,27,50,.25) !important;
  transform: scale(1.08);
}

.service-map-hub img {
  width: min(275px, 94%);
  height: auto;
  margin: 12px 0 14px;
  filter: brightness(0) invert(1);
}

.service-map-hub-label {
  color: #70dec2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.service-map-hub strong {
  max-width: 230px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.5;
}

.solutions-editorial {
  width: 100%;
  padding: 96px 24px 108px;
  background:
    radial-gradient(circle at 4% 8%, rgba(17,103,216,.1), transparent 30rem),
    #f3f7fb !important;
}

.solutions-editorial-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.solutions-editorial-heading {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 18px 72px;
  align-items: start;
  margin-bottom: 68px;
}

.solutions-editorial-heading > span {
  padding-top: 10px;
  color: #1769d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.solutions-editorial-heading h2 {
  margin: 0;
  color: #071b32;
  font-size: clamp(39px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.solutions-editorial-heading p {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  color: #526171;
  font-size: 17px;
  line-height: 1.7;
}

.solutions-editorial-layout {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: 72px;
  border-top: 1px solid rgba(13,34,56,.16);
}

.solutions-editorial-lead {
  padding: 34px 26px 0 0;
}

.solutions-editorial-lead > span {
  display: block;
  margin-bottom: 22px;
  color: #13835f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.solutions-editorial-lead > strong {
  display: block;
  color: #071b32;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.solutions-editorial-lead > p {
  max-width: 340px;
  margin: 22px 0 42px;
  color: #526171;
  line-height: 1.7;
}

.solutions-editorial-lead img {
  width: min(280px, 85%);
  height: auto;
}

.solutions-editorial-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.solutions-editorial-list li {
  border-bottom: 1px solid rgba(13,34,56,.16);
}

.solutions-editorial-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: center;
  min-height: 132px;
  padding: 24px 4px;
  color: inherit;
  text-decoration: none;
  transition: padding .28s ease, color .28s ease;
}

.solutions-editorial-list a:hover {
  padding-left: 16px;
  color: #1769d2 !important;
}

.solutions-editorial-list a > span {
  align-self: start;
  padding-top: 4px;
  color: #8b98a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.solutions-editorial-list small {
  display: block;
  margin-bottom: 5px;
  color: #13835f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.solutions-editorial-list h3 {
  margin: 0 0 7px;
  color: #071b32;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.solutions-editorial-list p {
  margin: 0;
  color: #607080;
  font-size: 14px;
  line-height: 1.55;
}

.solutions-editorial-list b {
  color: #1769d2;
  font-size: 20px;
  font-weight: 500;
  text-align: right;
}

.solutions-editorial-product h3,
.solutions-editorial-product b { color: #13835f; }

.marketing-strategy-section {
  width: 100%;
  padding: 104px 24px 112px;
  color: #f5f9ff;
  background:
    radial-gradient(circle at 7% 12%, rgba(31,130,197,.26), transparent 31rem),
    radial-gradient(circle at 92% 84%, rgba(28,151,112,.2), transparent 29rem),
    linear-gradient(135deg, #061a30 0%, #0a2c43 56%, #0b3c45 100%) !important;
}

.marketing-strategy-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.marketing-strategy-heading {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 18px 72px;
  align-items: start;
  margin-bottom: 72px;
}

.marketing-strategy-heading > span {
  padding-top: 10px;
  color: #78e3d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

body.site-page.page-soluciones .marketing-strategy-heading h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1.01;
  letter-spacing: -.05em;
}

.marketing-strategy-heading p {
  grid-column: 2;
  max-width: 760px;
  margin: 0;
  color: rgba(240,248,255,.76);
  font-size: 17px;
  line-height: 1.72;
}

.marketing-strategy-layout {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: 72px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.marketing-strategy-lead {
  padding: 36px 24px 0 0;
}

.marketing-strategy-lead > span {
  display: block;
  margin-bottom: 20px;
  color: #8fd8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.marketing-strategy-lead > strong {
  display: block;
  color: #fff;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.marketing-strategy-lead > p {
  max-width: 360px;
  margin: 22px 0 30px;
  color: rgba(240,248,255,.7);
  line-height: 1.72;
}

.marketing-strategy-lead > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  color: #062338 !important;
  background: #78e3d0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  transition: transform .25s ease, background .25s ease;
}

.marketing-strategy-lead > a:hover {
  color: #062338 !important;
  background: #a0efe1;
  transform: translateY(-2px);
}

.marketing-strategy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing-strategy-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 25px 4px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.marketing-strategy-steps li > span {
  padding-top: 5px;
  color: #78e3d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.marketing-strategy-steps h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.marketing-strategy-steps p {
  max-width: 700px;
  margin: 0;
  color: rgba(240,248,255,.69);
  font-size: 14px;
  line-height: 1.58;
}

/* Preserve legibility on every dark call-to-action section. */
.site-page main section.bg-primary h2,
.site-page main section.bg-primary h3 {
  color: #fff !important;
}

.site-page main section.bg-primary p {
  color: rgba(245,249,255,.78) !important;
}

.page-kondomino main > div > section:first-child {
  max-width: none !important;
  min-height: 640px;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background:
    radial-gradient(circle at 78% 12%, rgba(48, 192, 151, .28), transparent 32rem),
    radial-gradient(circle at 15% 76%, rgba(17, 103, 216, .24), transparent 28rem),
    linear-gradient(135deg, #061a32 0%, #092d45 58%, #0a453d 100%) !important;
  border-radius: 0 0 48px 48px;
}

.page-kondomino main > div > section:first-child > .inline-flex {
  width: min(500px, 88vw);
  height: 122px;
  padding: 18px 28px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 24px !important;
  background: url('/assets/kondominio-logo-wide.png') center / contain no-repeat !important;
  background-color: rgba(255,255,255,.94) !important;
  background-origin: content-box !important;
  box-shadow: 0 22px 60px rgba(0,14,35,.24) !important;
  animation: kondomino-logo-in .85s cubic-bezier(.16,1,.3,1) both, kondomino-logo-float 4s 1s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
}

.page-kondomino main > div > section:first-child > .inline-flex > * {
  display: none !important;
}

.kondomino-priority {
  margin: -18px 0 28px;
  padding: 9px 15px;
  border: 1px solid rgba(112,222,194,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #78e3d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.page-kondomino main > div > section:first-child h1 {
  color: #fff !important;
}

.page-kondomino main > div > section:first-child h1 span {
  color: #78e3d0 !important;
}

.page-kondomino main > div > section:first-child > p {
  color: rgba(255,255,255,.76) !important;
}

.page-kondomino main > div > section:first-child > .flex.gap-4 a:first-child {
  background: #1167d8 !important;
  color: #fff !important;
}

.page-kondomino main > div > section:first-child > .flex.gap-4 a:last-child {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.16);
}

.page-kondomino main > div > section:first-child > div:last-child {
  border-radius: 28px !important;
  border: 1px solid rgba(19, 131, 95, 0.22);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 34px 90px rgba(5, 61, 46, 0.18) !important;
  transform: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-kondomino main > div > section:first-child > div:last-child img {
  content: url('/assets/page-kondomino-hero-v1.jpg');
  border-radius: 22px !important;
}

.page-kondomino #funciones .grid > div {
  border: 1px solid rgba(19, 131, 95, 0.12);
  border-radius: 22px !important;
}

.page-kondomino #funciones {
  background: var(--site-soft) !important;
}

.page-metodologia main > div > section:first-child {
  max-width: none !important;
  min-height: 640px;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background:
    radial-gradient(circle at 84% 12%, rgba(79, 129, 231, .28), transparent 30rem),
    radial-gradient(circle at 14% 80%, rgba(38, 169, 148, .18), transparent 25rem),
    linear-gradient(135deg, #061a32 0%, #0a2947 58%, #103a55 100%) !important;
}

.page-metodologia main > div > section:first-child h1 { color: #fff !important; }
.page-metodologia main > div > section:first-child h1 span { color: #9ebcff !important; }
.page-metodologia main > div > section:first-child p { color: rgba(255,255,255,.76) !important; }
.page-metodologia main > div > section:first-child > div:first-child > span { color: var(--site-cyan) !important; }
.page-metodologia main > div > section:first-child .reveal-stagger span:first-child { color: #fff !important; }
.page-metodologia main > div > section:first-child .reveal-stagger span:last-child { color: rgba(255,255,255,.62) !important; }
.page-metodologia main > div > section:first-child .reveal-stagger > div[class*="w-px"] { background: rgba(255,255,255,.22) !important; }

.page-metodologia main > div > section:first-child > div:last-child img {
  content: url('/assets/page-metodologia-hero-v1.jpg');
  aspect-ratio: 5 / 4;
  object-fit: cover !important;
  object-position: center;
  border: 9px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 34px 88px rgba(0, 10, 28, .42) !important;
}

.page-metodologia main > div > section:nth-of-type(2) .grid > div {
  border-radius: 22px !important;
  border: 1px solid rgba(102, 86, 200, 0.12);
}

body.site-page.page-metodologia .method-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: 42px;
  align-items: center;
  width: 100%;
  max-width: none !important;
  min-height: 640px;
  padding: 70px max(24px, calc((100vw - 1280px) / 2 + 24px)) 54px !important;
  background:
    radial-gradient(circle at 82% 22%, rgba(17,103,216,.11), transparent 25rem),
    radial-gradient(circle at 10% 90%, rgba(19,131,95,.1), transparent 22rem),
    #f5f8fc !important;
  border-radius: var(--site-hero-radius);
}

body.site-page.page-metodologia .method-editorial-hero::before,
body.site-page.page-metodologia .method-editorial-hero::after {
  display: none !important;
}

.method-editorial-copy { position: relative; z-index: 2; }

.method-editorial-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #1769d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.method-editorial-copy > span::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #13835f;
}

body.site-page.page-metodologia .method-editorial-copy h1 {
  max-width: 610px;
  margin: 0;
  color: #071b32 !important;
  font-size: clamp(46px, 5.2vw, 70px);
  line-height: 1.01;
  letter-spacing: -.055em;
}

body.site-page.page-metodologia .method-editorial-copy p {
  max-width: 570px;
  margin: 24px 0 0;
  color: #526171 !important;
  font-size: 18px;
  line-height: 1.68;
}

.method-editorial-copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(7,27,50,.28);
  color: #071b32;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.method-editorial-copy a:hover { color: #1769d2 !important; border-color: #1769d2; }

.method-editorial-visual {
  position: relative;
  align-self: stretch;
  min-height: 510px;
}

.method-editorial-shape {
  position: absolute;
  inset: 8% 2% 7% 7%;
  border-radius: 48% 52% 44% 56% / 58% 42% 58% 42%;
  background:
    radial-gradient(circle at 72% 24%, rgba(120,227,208,.48), transparent 34%),
    linear-gradient(145deg, #dce9fb 0%, #eef5fc 72%);
  transform: rotate(-3deg);
}

body.site-page.page-metodologia .method-editorial-visual img {
  content: normal !important;
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 46px;
  width: min(590px, 94%);
  max-width: none;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 26px 28px rgba(7,38,70,.15));
  box-shadow: none !important;
  transform: none !important;
}

.method-process-line {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #496073;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.method-process-line i {
  width: 24px;
  height: 1px;
  background: rgba(23,105,210,.35);
}

.method-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 28px;
  padding: 14px 21px;
  border-radius: 999px;
  background: var(--site-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(17,103,216,.28);
}

.method-hero-cta:hover { color: #fff !important; transform: translateY(-2px); }

@keyframes kondomino-logo-in {
  from { opacity: 0; transform: translateY(20px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes kondomino-logo-float {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 10px 14px rgba(19,131,95,.08)); }
  50% { transform: translateY(-8px) scale(1.018); filter: drop-shadow(0 18px 24px rgba(19,131,95,.18)); }
}

.page-contacto main > div > section:first-child {
  max-width: none !important;
  min-height: 700px;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background:
    linear-gradient(90deg, rgba(2,18,43,.96) 0%, rgba(4,35,65,.9) 46%, rgba(6,42,69,.78) 100%),
    url('/assets/page-contacto-hero-v1.jpg') left center / cover no-repeat !important;
}

.page-contacto main > div > section:first-child > .grid {
  align-items: center;
}

.page-contacto main > div > section:first-child .lg\:col-span-5 h1 { color: #fff !important; }
.page-contacto main > div > section:first-child .lg\:col-span-5 h1 span { color: var(--site-cyan) !important; }
.page-contacto main > div > section:first-child .lg\:col-span-5 > div:first-child > span { color: var(--site-cyan) !important; }
.page-contacto main > div > section:first-child .lg\:col-span-5 p { color: rgba(255,255,255,.74) !important; }

.page-contacto main > div > section:first-child .lg\:col-span-5 > div:last-child > div:first-child,
.page-contacto main > div > section:first-child .lg\:col-span-5 > div:last-child > .grid > a {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.09) !important;
  color: #fff !important;
  backdrop-filter: blur(12px);
}

.page-contacto main > div > section:first-child .lg\:col-span-5 h3,
.page-contacto main > div > section:first-child .lg\:col-span-5 a span {
  color: #fff !important;
}

.page-contacto #contactForm {
  padding: 4px;
}

.page-contacto #contactForm input,
.page-contacto #contactForm select,
.page-contacto #contactForm textarea {
  border: 1px solid rgba(16, 51, 80, 0.1);
}

.page-contacto main > div > section:first-child .lg\:col-span-7 > div {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px !important;
  box-shadow: 0 34px 90px rgba(0, 10, 28, .36) !important;
}

body.site-page[class*="page-"] main > div > section.inner-hero {
  --hero-accent: #78e3d0;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: none !important;
  height: clamp(650px, calc(100vh - 80px), 790px);
  min-height: 650px;
  margin: 0;
  padding: 72px max(24px, calc((100vw - 1280px) / 2 + 24px)) 68px !important;
  overflow: hidden;
  border-radius: var(--site-hero-radius);
  background: #071b32 !important;
}

body.site-page[class*="page-"] main > div > section.inner-hero::before,
body.site-page[class*="page-"] main > div > section.inner-hero::after {
  display: none !important;
}

.inner-hero-media {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,18,42,.98) 0%, rgba(4,31,62,.91) 31%, rgba(4,31,62,.48) 58%, rgba(3,18,42,.08) 82%),
    linear-gradient(0deg, rgba(3,18,42,.56) 0%, transparent 46%);
}

.inner-hero-solutions { --hero-accent: #7bdcf5; }
.inner-hero-kondomino { --hero-accent: #78e3b5; }
.inner-hero-method { --hero-accent: #b9b5ff; }
.inner-hero-contact { --hero-accent: #ffd096; }

.inner-hero-kondomino .inner-hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,27,31,.98) 0%, rgba(4,53,51,.9) 33%, rgba(5,63,58,.43) 59%, rgba(2,27,31,.08) 82%),
    linear-gradient(0deg, rgba(2,27,31,.6) 0%, transparent 44%);
}

.inner-hero-method .inner-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,19,48,.98) 0%, rgba(28,39,88,.88) 34%, rgba(32,44,100,.4) 61%, rgba(8,19,48,.06) 84%),
    linear-gradient(0deg, rgba(8,19,48,.58) 0%, transparent 44%);
}

.inner-hero-contact .inner-hero-overlay {
  background:
    linear-gradient(90deg, rgba(13,29,49,.98) 0%, rgba(31,48,65,.88) 35%, rgba(74,55,43,.36) 63%, rgba(13,29,49,.05) 84%),
    linear-gradient(0deg, rgba(13,29,49,.58) 0%, transparent 44%);
}

.inner-hero-copy {
  position: relative;
  z-index: 2;
  width: min(690px, 56vw);
}

.inner-hero-product-logo {
  display: flex;
  align-items: center;
  width: min(560px, 92%);
  min-height: 116px;
  margin-bottom: 28px;
  padding: 19px 30px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 26px 70px rgba(0,15,30,.28);
  animation: inner-product-logo-in .8s cubic-bezier(.16,1,.3,1) both, inner-product-logo-float 4.2s .9s ease-in-out infinite;
  transform-origin: center;
}

.inner-hero-product-logo img {
  content: normal !important;
  display: block;
  width: 100%;
  height: 78px;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.site-page.page-kondomino main > div > section.inner-hero > .inner-hero-copy {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@keyframes inner-product-logo-in {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes inner-product-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

body.site-page .inner-hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.site-page .inner-hero-copy p {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82) !important;
  font-size: 18px;
  line-height: 1.62;
}

.inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.inner-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.inner-hero-actions a:hover { transform: translateY(-2px); }
.inner-hero-primary { background: #1167d8; color: #fff !important; box-shadow: 0 14px 32px rgba(0,32,82,.28); }
.inner-hero-kondomino .inner-hero-primary { background: #13835f; }
.inner-hero-contact .inner-hero-primary { background: #d77c31; }
.inner-hero-secondary { border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.1); color: #fff !important; backdrop-filter: blur(12px); }

.page-contacto .contact-panel-section {
  width: 100%;
  max-width: none !important;
  min-height: auto;
  margin: 0;
  padding: 96px max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background: #f3f7fb !important;
  border-radius: 0 !important;
}

.page-contacto .contact-panel-section > .grid { align-items: center; }
.page-contacto .contact-panel-section .lg\:col-span-5 h1 { color: #071b32 !important; }
.page-contacto .contact-panel-section .lg\:col-span-5 h1 span { color: #1769d2 !important; }
.page-contacto .contact-panel-section .lg\:col-span-5 p { color: #526171 !important; }
.page-contacto .contact-panel-section .lg\:col-span-5 > div:last-child > div:first-child,
.page-contacto .contact-panel-section .lg\:col-span-5 > div:last-child > .grid > a { background: #fff !important; border: 1px solid var(--site-line); }
.page-contacto .contact-panel-section .lg\:col-span-5 h3,
.page-contacto .contact-panel-section .lg\:col-span-5 a span { color: #0d2238 !important; }
.page-contacto .contact-panel-section .lg\:col-span-7 > div { border: 1px solid var(--site-line); border-radius: 28px !important; box-shadow: 0 28px 78px rgba(7,38,70,.14) !important; }

.site-page main a[href^="/contacto"]:not(#navbar a) {
  border-radius: 999px !important;
}

.site-page footer {
  position: relative;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: #f4f9ff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 132, 161, 0.35), transparent 27rem),
    radial-gradient(circle at 88% 100%, rgba(35, 104, 175, 0.24), transparent 24rem),
    linear-gradient(135deg, #071b2d 0%, #0a2b3d 55%, #0d3548 100%) !important;
}

.site-page footer > div {
  padding-top: 34px !important;
  padding-bottom: 20px !important;
}

.site-page footer > div > div:first-child {
  gap: 28px !important;
  margin-bottom: 24px !important;
}

.site-page footer img[alt="logo"],
.site-page footer img[alt="Soluciones Numerikas"] {
  content: url('/assets/logo-soluciones-numerikas.png');
  height: 34px !important;
  width: auto !important;
  filter: brightness(0) invert(1);
}

.site-page footer .font-headline-sm {
  font-size: 19px !important;
  line-height: 1.3 !important;
}

.site-page footer p,
.site-page footer a {
  line-height: 1.5;
}

.site-page footer a {
  color: rgba(244, 249, 255, 0.72) !important;
}

.site-page footer a:hover {
  color: #ffffff !important;
}

.site-page footer a:has(img) {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-page footer a:has(img):hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-page footer > div > div:last-child {
  padding-top: 16px !important;
  gap: 12px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 1023px) {
  body.site-page.page-soluciones main > div > section:first-child {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding: 76px 40px 60px !important;
    background:
      radial-gradient(circle at 88% 9%, rgba(17,103,216,.1), transparent 24rem),
      #f5f8fc !important;
  }

  .solutions-hero-content { width: min(720px, 100%); }
  .solutions-hero-visual img { height: 390px; }

  .services-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "hub hub"
      "node1 node2"
      "node3 node4"
      "node5 node6"
      "node7 node8";
  }

  .services-map-grid::before,
  .services-map-grid::after { display: none; }

  .service-map-hub { min-height: 180px; }
  .service-map-hub { transform: none; }

  .solutions-editorial-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .solutions-editorial-heading p { grid-column: 1; }
  .solutions-editorial-layout { grid-template-columns: 1fr; gap: 34px; }
  .solutions-editorial-lead { padding-right: 0; }
  .solutions-editorial-lead > p { max-width: 680px; margin-bottom: 28px; }
  .solutions-editorial-lead img { width: 230px; }

  .marketing-strategy-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .marketing-strategy-heading p { grid-column: 1; }
  .marketing-strategy-layout { grid-template-columns: 1fr; gap: 34px; }
  .marketing-strategy-lead { padding-right: 0; }
  .marketing-strategy-lead > p { max-width: 700px; }

  body.site-page.page-metodologia .method-editorial-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 76px !important;
  }
  .method-editorial-copy { max-width: 720px; }
  .method-editorial-visual { min-height: 470px; }
  body.site-page.page-metodologia .method-editorial-visual img { right: 50%; transform: translateX(50%) !important; }

  .page-kondomino main > div > section:first-child,
  .page-metodologia main > div > section:first-child,
  .page-contacto main > div > section:first-child {
    min-height: auto;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  body.site-page[class*="page-"] main > div > section.inner-hero {
    height: 700px;
    min-height: 700px;
    padding: 64px 40px !important;
  }
  .inner-hero-copy { width: min(700px, 72vw); }
}

@media (max-width: 767px) {
  .site-page:not(.page-home) main > div > section:first-child,
  .page-soluciones main > div > section:first-child {
    border-radius: 0 0 30px 30px;
  }

  body.site-page.page-soluciones main > div > section:first-child {
    min-height: auto;
    padding: 62px 20px 36px !important;
    align-items: center;
    background:
      radial-gradient(circle at 88% 9%, rgba(17,103,216,.1), transparent 20rem),
      #f5f8fc !important;
  }
  .solutions-hero-content { width: 100%; }
  .solutions-hero-content h1 { font-size: clamp(38px, 11vw, 52px); }
  .solutions-hero-content p { font-size: 16px; }
  .solutions-hero-visual img { height: 300px; border-radius: 24px; }
  .solutions-hero-visual::before { inset: -10px 16px 14px -10px; border-radius: 27px; }
  .solutions-hero-visual > span { right: 12px; bottom: 12px; max-width: 230px; font-size: 9px; }
  .solutions-map-section { padding: 64px 18px 72px !important; }
  .solutions-map-heading { margin-bottom: 32px; }
  .solutions-map-heading h2 { font-size: 36px; }
  .solutions-map-heading p { font-size: 16px; }
  .services-map-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "hub"
      "node1"
      "node2"
      "node3"
      "node4"
      "node5"
      "node6"
      "node7"
      "node8";
    gap: 16px !important;
  }
  .service-map-node { min-height: 0; }

  .solutions-editorial { padding: 64px 20px 76px; }
  .solutions-editorial-heading { margin-bottom: 44px; }
  .solutions-editorial-heading h2 { font-size: 38px; }
  .solutions-editorial-heading p { font-size: 16px; }
  .solutions-editorial-layout { border-top: 0; }
  .solutions-editorial-lead { padding-top: 0; }
  .solutions-editorial-lead > strong { font-size: 32px; }
  .solutions-editorial-list { border-top: 1px solid rgba(13,34,56,.16); }
  .solutions-editorial-list a { grid-template-columns: 34px minmax(0,1fr) 22px; gap: 10px; min-height: 122px; }
  .solutions-editorial-list p { font-size: 13px; }

  .marketing-strategy-section { padding: 68px 20px 78px; }
  .marketing-strategy-heading { margin-bottom: 46px; }
  body.site-page.page-soluciones .marketing-strategy-heading h2 { font-size: 39px; }
  .marketing-strategy-heading p { font-size: 16px; }
  .marketing-strategy-layout { border-top: 0; }
  .marketing-strategy-lead { padding-top: 0; }
  .marketing-strategy-lead > strong { font-size: 31px; }
  .marketing-strategy-steps { border-top: 1px solid rgba(255,255,255,.16); }
  .marketing-strategy-steps li { grid-template-columns: 35px minmax(0,1fr); gap: 10px; padding: 22px 2px; }

  body.site-page.page-metodologia .method-editorial-hero {
    padding: 66px 22px 38px !important;
  }
  body.site-page.page-metodologia .method-editorial-copy h1 { font-size: clamp(39px, 12vw, 52px); }
  body.site-page.page-metodologia .method-editorial-copy p { font-size: 16px; }
  .method-editorial-visual { min-height: 380px; }
  body.site-page.page-metodologia .method-editorial-visual img { bottom: 42px; width: min(500px, 112%); }
  .method-process-line { left: 0; right: 0; justify-content: center; gap: 6px; font-size: 8px; }
  .method-process-line i { width: 10px; }

  .page-kondomino main > div > section:first-child > .inline-flex {
    width: min(390px, 92vw);
    height: 92px;
    padding: 14px 22px !important;
  }

  .kondomino-priority { margin-top: -12px; text-align: center; }

  .page-metodologia main > div > section:first-child .reveal-stagger { flex-wrap: wrap; }
  .page-metodologia .method-extra:first-of-type { display: none; }

  .page-contacto main > div > section:first-child {
    background:
      linear-gradient(180deg, rgba(2,18,43,.96) 0%, rgba(4,35,65,.9) 100%),
      url('/assets/page-contacto-hero-v1.jpg') center / cover no-repeat !important;
  }

  body.site-page[class*="page-"] main > div > section.inner-hero {
    height: 690px;
    min-height: 690px;
    padding: 44px 20px !important;
    align-items: flex-end;
    border-radius: 0 0 30px 30px;
  }

  .inner-hero-media { object-position: 66% center; }
  .inner-hero-overlay,
  .inner-hero-kondomino .inner-hero-overlay,
  .inner-hero-method .inner-hero-overlay,
  .inner-hero-contact .inner-hero-overlay {
    background: linear-gradient(180deg, rgba(3,18,42,.08) 0%, rgba(3,18,42,.42) 38%, rgba(3,18,42,.97) 72%, #03122a 100%);
  }

  .inner-hero-kondomino .inner-hero-overlay {
    background: linear-gradient(180deg, rgba(2,27,31,.08) 0%, rgba(2,27,31,.42) 38%, rgba(2,27,31,.97) 72%, #021b1f 100%);
  }

  .inner-hero-copy { width: 100%; }
  body.site-page .inner-hero-copy h1 { font-size: clamp(39px, 11.5vw, 54px); }
  body.site-page .inner-hero-copy p { font-size: 16px; line-height: 1.55; }
  .inner-hero-actions { margin-top: 24px; }
  .inner-hero-actions a { width: 100%; min-height: 50px; }
  .inner-hero-product-logo { width: min(360px, 94%); min-height: 88px; margin-bottom: 22px; padding: 13px 20px; border-radius: 22px; }
  .inner-hero-product-logo img { height: 58px; }

  .page-contacto .contact-panel-section { padding: 68px 20px !important; }

  .site-page footer > div {
    padding-top: 28px !important;
    padding-bottom: 18px !important;
  }

  .site-page footer > div > div:first-child {
    gap: 22px !important;
    margin-bottom: 22px !important;
  }

  .site-page footer > div > div:last-child {
    align-items: flex-start !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-page *,
  .site-page *::before,
  .site-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
