﻿/* =========================================
   HIBERUS DESIGN SYSTEM
   Basado en hiberus.com
   Sistema completo para generacion de landing pages
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,700&display=swap');

:root {
  color-scheme: light;
  --primary-color: #19255a;
  --primary-dark: #132262;
  --primary-color-100: #f7f8fd;
  --primary-color-200: #d5d8e8;
  --primary-color-300: #abb2cf;
  --primary-color-400: #3b477a;
  --primary-color-500: #19255a;
  --secondary-color: #5b53ff;
  --secondary-color-blue: #0135f4;
  --third-color: #00cde2;
  --third-color-light: #cdfaff;
  --third-color-extralight: #f4ffff;
  --orange: #e69925;
  --red: #be003f;
  --red-dark: #8a002e;
  --blue: #2d2e6e;
  --blue-dark: #1e1f4a;
  --black: #111;
  --white: #fff;
  --sunglow: #ffd23f;
  --text-title: #111;
  --text-base: #2d2d2d;
  --text-color: #2d2d2d;
  --text-gray: #737373;
  --gray-50: #d9d9d9;
  --gray-100: #f3f3f3;
  --gray-200: #dcdcdc;
  --gray-300: #969696;
  --gray-400: #737373;
  --gray-500: #505050;
  --gray-600: #2d2d2d;
  --gray-700: #111;
  --bs-success: #297f6b;
  --bs-info: #0dcaf0;
  --bs-warning: #ab5c12;
  --bs-danger: #d51526;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --gradient-opacity: 0.9;
  --gradient-100: linear-gradient(90deg,#f02a77 0.41%,#f0aa08 100%);
  --gradient-200: linear-gradient(90deg,#07ead4 0.41%,#3c36ef 100%);
  --gradient-300: linear-gradient(90deg,#5162ec 0.41%,#b422e4 100%);
  --gradient-400: linear-gradient(90deg,#122e51 0.41%,#23c6df 100%);
  --gradient-500: linear-gradient(90deg,#000 0%,#19255a 100%);
  --gradient-500-opacity: linear-gradient(279.02deg,rgba(0,53,244,var(--gradient-opacity)) 0.6%,rgba(25,37,90,var(--gradient-opacity)) 100%);
  --gradient-color-200: linear-gradient(90deg,rgba(25,37,89,0.9) 0%,rgba(1,53,244,0.9) 100%);
  --gradient-primary: linear-gradient(278.12deg,#0637e5 0.41%,#19255a 100%);
  --spacing-3xs: 4px; --spacing-2xs: 8px; --spacing-xs: 12px;
  --spacing-sm: 16px; --spacing-md: 24px; --spacing-lg: 32px;
  --spacing-2lg: 36px; --spacing-xl: 40px; --spacing-2xl: 48px;
  --spacing-3xl: 64px; --spacing-4xl: 72px; --spacing-5xl: 96px;
  --spacing-6xl: 112px; --spacing-7xl: 128px; --spacing-8xl: 160px;
  --font-montserrat: 'Montserrat',arial,verdana,sans-serif;
  --font-family-titles: var(--font-montserrat);
  --font-family-base: 'Lato','Open Sans','Helvetica Neue',arial,sans-serif;
  --font-size-xxs: 0.702rem; --font-size-xs: 0.79rem; --font-size-s: 0.889rem;
  --font-size-base: 1rem; --font-size-xl: 2.25rem;
  --font-size-h1: 2.027rem; --font-size-h2: 1.802rem; --font-size-h3: 1.602rem;
  --font-size-h4: 1.424rem; --font-size-h5: 1.266rem; --font-size-h6: 1.125rem;
  --line-height: 1.5; --line-height-heading: 1.3;
  --text-size-large: var(--font-size-base);
  --text-size-base: var(--font-size-base);
  --text-size-small: var(--font-size-s);
  --text-size-xsmall: var(--font-size-xs);
  --h1-size-mobile: 2.25rem; --h1-lh-mobile: 1.11;
  --h2-size-mobile: 1.75rem; --h2-lh-mobile: 1.14;
  --h3-size-mobile: 1.5rem; --h3-lh-mobile: 1.125;
  --h1-size-desktop: 3.375rem; --h1-lh-desktop: 1.16;
  --h2-size-desktop: 2rem; --h2-lh-desktop: 1.125;
  --h3-size-desktop: 1.5rem; --h3-lh-desktop: 1.33;
  --base-trans: 0.25s ease-in-out;
  --md-trans: 0.5s ease-in-out;
  --lg-trans: 1s ease-in-out;
  --shadow-z3: 0 0.875rem 1.875rem rgb(0,0,0,0.1);
  --shadow-card: rgba(0,0,0,0.1) 0 4px 12px;
  --shadow-hover: 0 4px 20px rgba(25,37,90,0.10);
  --container: 1231px;
  --icon-size: 24px;
  --radius-pill: 200px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px;
  --index-xs: 1; --index-sm: 2; --index-md: 3; --index-xl: 9;

  /* Backward-compatible aliases */
  --color-primary-500: var(--primary-color);
  --color-primary-400: var(--primary-color-400);
  --color-primary-300: var(--primary-color-300);
  --color-primary-200: var(--primary-color-200);
  --color-primary-100: var(--primary-color-100);
  --color-primary-000: var(--white);
  --color-secondary-500: var(--secondary-color);
  --color-secondary-500-blue: var(--secondary-color-blue);
  --color-neutral-700: var(--gray-700);
  --color-neutral-600: var(--gray-600);
  --color-neutral-500: var(--gray-500);
  --color-neutral-400: var(--gray-400);
  --color-neutral-300: var(--gray-300);
  --color-neutral-200: var(--gray-200);
  --color-neutral-100: var(--gray-100);
  --color-typography-titles: var(--text-title);
  --color-typography-base: var(--text-base);
  --color-typography-base-2: var(--text-gray);
  --color-typography-links: var(--primary-color);
  --color-typography-fondos-oscuros: var(--white);
  --color-estado-error: var(--bs-danger);
  --color-estado-alert: var(--bs-warning);
  --color-estado-correct: var(--bs-success);
  --color-third: var(--third-color);

  /* Glassmorphism */
  --glass-bg: rgba(255,255,255,0.15);
  --glass-blur: 12px;
  --glass-border: rgba(255,255,255,0.2);
  --glass-bg-dark: rgba(0,0,0,0.2);
  --glass-border-dark: rgba(255,255,255,0.1);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* === RESET & GLOBAL === */
*,*::before,*::after { box-sizing: border-box; }
body { font-family: var(--font-family-base); color: var(--text-base); font-size: var(--font-size-base); line-height: var(--line-height); margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-montserrat); color: var(--text-title); font-weight: 700; margin-top: 0; margin-bottom: var(--spacing-md); }
h1 { font-size: var(--h1-size-mobile); line-height: var(--h1-lh-mobile); }
h2 { font-size: var(--h2-size-mobile); line-height: var(--h2-lh-mobile); }
h3 { font-size: var(--h3-size-mobile); line-height: var(--h3-lh-mobile); }
@media (min-width: 1024px) { h1 { font-size: var(--h1-size-desktop); line-height: var(--h1-lh-desktop); } h2 { font-size: var(--h2-size-desktop); line-height: var(--h2-lh-desktop); } h3 { font-size: var(--h3-size-desktop); line-height: var(--h3-lh-desktop); } }
p { margin-top: 0; margin-bottom: var(--spacing-sm); }
img { max-width: 100%; height: auto; }
a { color: var(--primary-color); text-decoration: none; transition: var(--base-trans); }
a:hover { color: var(--secondary-color-blue); text-decoration: underline; }

/* === TEXT UTILITIES === */
.text-small { font-size: var(--font-size-s); }
.text-xsmall { font-size: var(--font-size-xs); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.lead { font-size: var(--font-size-base); line-height: 1.6875; }
.lead-lg { font-size: 1.125rem; line-height: 1.625rem; }
.mt-sm { margin-top: var(--spacing-sm); } .mt-md { margin-top: var(--spacing-md); } .mt-lg { margin-top: var(--spacing-lg); } .mt-xl { margin-top: var(--spacing-xl); }
.mb-sm { margin-bottom: var(--spacing-sm); } .mb-md { margin-bottom: var(--spacing-md); } .mb-lg { margin-bottom: var(--spacing-lg); }
.py-2xl { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); }
.py-3xl { padding-top: var(--spacing-3xl); padding-bottom: var(--spacing-3xl); }
.py-4xl { padding-top: var(--spacing-4xl); padding-bottom: var(--spacing-4xl); }
.my-3xl { margin-top: var(--spacing-3xl); margin-bottom: var(--spacing-3xl); }
.my-4xl { margin-top: var(--spacing-4xl); margin-bottom: var(--spacing-4xl); }

/* === LAYOUT === */
.container, .container-custom { max-width: var(--container); margin: 0 auto; padding: 0 var(--spacing-md); width: 100%; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--spacing-md); }
.row { display: flex; flex-wrap: wrap; gap: var(--spacing-md); }
.col-12 { flex: 0 0 100%; }
@media (min-width: 768px) { .col-md-4 { flex: 0 0 calc(33.333% - var(--spacing-md)); } .col-md-6 { flex: 0 0 calc(50% - var(--spacing-md)); } .col-md-8 { flex: 0 0 calc(66.666% - var(--spacing-md)); } }
.grid { display: grid; gap: var(--spacing-md); }
.grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } .grid-auto { grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); } }
.two-cols { display: grid; grid-template-columns: 1fr; gap: var(--spacing-3xl); align-items: center; }
@media (min-width: 768px) { .two-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .two-cols { grid-template-columns: 2fr 1fr; } }
.two-cols-reverse { display: grid; grid-template-columns: 1fr; gap: var(--spacing-3xl); align-items: center; }
@media (min-width: 768px) { .two-cols-reverse { grid-template-columns: 1fr 1fr; } .two-cols-reverse > :first-child { order: 2; } }

/* === SECTIONS === */
main > section { padding: var(--spacing-3xl) var(--spacing-md); position: relative; z-index: 2; }
.section-light { background: var(--primary-color-100); }
.section-white { background: var(--white); }
.section-dark, .bg-primary-color { background-color: var(--primary-color); color: var(--white); }
.bg-secondary-color-blue { background-color: var(--secondary-color-blue); color: var(--white); }
.bg-primary-color-gradient { background: var(--gradient-primary); color: var(--white); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-400 { background-color: var(--gray-400); color: var(--white); }
.bg-third-color-light { background-color: var(--third-color-light); }
.bg-third-color-extralight { background-color: var(--third-color-extralight); }
.section-dark h1,.section-dark h2,.section-dark h3,.bg-primary-color h1,.bg-primary-color h2,.bg-primary-color h3,.bg-secondary-color-blue h1,.bg-secondary-color-blue h2,.bg-secondary-color-blue h3,.bg-primary-color-gradient h1,.bg-primary-color-gradient h2,.bg-primary-color-gradient h3 { color: var(--white); }
.section-dark p,.bg-primary-color p,.bg-secondary-color-blue p,.bg-primary-color-gradient p { color: rgba(255,255,255,0.85); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--spacing-2xl); }
.section-header .lead { font-size: var(--font-size-base); color: var(--text-gray); margin-top: var(--spacing-xs); }

/* === BUTTONS === */
.btn, .c-button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border-radius: var(--radius-pill); font-size: var(--font-size-base); line-height: 1.5rem; font-family: var(--font-family-base); font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: var(--base-trans); gap: var(--spacing-xs); }
.btn-primary, .c-button.btn-primary { border: 1px solid var(--secondary-color); background-color: var(--secondary-color); color: var(--white); }
.btn-primary:hover,.btn-primary:focus,.c-button.btn-primary:hover,.c-button.btn-primary:focus { border: 1px solid var(--black); background-color: var(--black); color: var(--white); text-decoration: none; }
.btn-secondary, .c-button.btn-secondary { border: 1px solid var(--secondary-color); background-color: var(--white); color: var(--secondary-color); }
.btn-secondary:hover,.btn-secondary:focus,.c-button.btn-secondary:hover,.c-button.btn-secondary:focus { border: 1px solid var(--black); background-color: var(--white); color: var(--black); text-decoration: none; }
.btn-white, .c-button.btn-transparent { outline: 1px solid var(--white); outline-offset: 2px; border: 1px solid transparent; background-color: transparent; color: var(--white); }
.btn-white:hover,.btn-white:focus,.c-button.btn-transparent:hover,.c-button.btn-transparent:focus { box-shadow: 0 0 0 2px var(--white); text-decoration: none; }
.section-light .btn-white, .section-white .btn-white { border: 1px solid var(--secondary-color); background-color: var(--white); color: var(--secondary-color); outline: none; }
.btn-simple, .c-button.btn-simple { display: inline-flex; align-items: center; color: var(--primary-color); font-size: var(--font-size-s); font-weight: 600; text-decoration: none; transition: var(--base-trans); }
.btn-simple::after, .c-button.btn-simple::after { content: '\2192'; margin-left: var(--spacing-xs); font-size: 1.5rem; color: var(--secondary-color); transition: var(--base-trans); }
.btn-simple:hover::after, .c-button.btn-simple:hover::after { transform: translateX(10px); }
.section-dark .btn-simple, .bg-primary-color .btn-simple, .bg-secondary-color-blue .btn-simple, .bg-primary-color-gradient .btn-simple { color: var(--white); }
.section-dark .btn-simple::after, .bg-primary-color .btn-simple::after, .bg-secondary-color-blue .btn-simple::after, .bg-primary-color-gradient .btn-simple::after { color: var(--white); }
.btn-lg { padding: var(--spacing-sm) var(--spacing-xl); font-size: 1.125rem; }
.btn-sm { padding: var(--spacing-2xs) var(--spacing-sm); font-size: var(--font-size-s); }
.btn-block { width: 100%; }

/* === FORMS === */
.form-group { margin-bottom: var(--spacing-md); }
.form-label { display: block; font-family: var(--font-montserrat); font-weight: 500; font-size: var(--font-size-s); margin-bottom: var(--spacing-2xs); color: var(--text-title); }
.form-control { display: block; width: 100%; padding: var(--spacing-sm) var(--spacing-md); border: 1px solid var(--primary-color-400); border-radius: var(--radius-pill); font-family: var(--font-family-base); font-size: var(--font-size-base); color: var(--text-base); background-color: var(--white); box-sizing: border-box; transition: var(--base-trans); }
.form-control::placeholder { color: var(--gray-400); font-size: var(--font-size-s); }
.form-control:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(91,83,255,0.15); }
textarea.form-control { min-height: 100px; resize: vertical; border-radius: var(--radius-lg); }
select.form-control { height: 3.5em; padding: 0 var(--spacing-md); }
.form-check { display: flex; align-items: flex-start; gap: var(--spacing-xs); margin-bottom: var(--spacing-sm); }
.form-check input { margin-top: 3px; }
.form-check label { font-size: var(--font-size-s); color: var(--text-gray); }
.form-message { margin-top: var(--spacing-md); font-size: var(--font-size-s); }
.form-message.success { color: var(--bs-success); }
.form-message.error { color: var(--bs-danger); }
.input-group { display: flex; position: relative; width: 100%; max-width: 400px; }
.input-text { width: 100%; background-color: transparent; border: 1px solid var(--primary-color-300); border-radius: var(--radius-pill); padding: var(--spacing-sm) var(--spacing-md); color: var(--white); font-family: var(--font-family-base); }
.input-text::placeholder { color: var(--primary-color-300); }
.input-group .btn { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 var(--spacing-md); }
.drupal-form { max-width: 560px; margin: 0 auto; }

/* === CARDS === */
.card { background: var(--white); border: 1px solid var(--primary-color-200); border-radius: var(--radius-sm); padding: var(--spacing-lg); transition: box-shadow var(--base-trans); }
.card:hover { box-shadow: var(--shadow-hover); }
.card-icon { font-size: 36px; color: var(--secondary-color); margin-bottom: var(--spacing-sm); display: block; }
.card-title { font-size: var(--font-size-h5); font-family: var(--font-montserrat); margin-bottom: var(--spacing-2xs); }
.card-text { font-size: var(--font-size-s); color: var(--text-gray); margin: 0; }

/* Card Background (Hiberus pattern) */
.c-card-background { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; box-shadow: var(--shadow-card); border-radius: var(--radius-sm); }
.c-card-background__image { position: relative; flex-shrink: 0; overflow: hidden; max-height: 75%; }
.c-card-background__image img { display: block; object-fit: cover; width: 100%; height: 100%; }
.c-card-background__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 30%,rgba(0,0,0,0.65) 100%); pointer-events: none; }
.c-card-background__logo { position: absolute; bottom: 0; left: var(--spacing-md); z-index: var(--index-xs); border-radius: var(--radius-sm); background: transparent !important; }
.c-card-background__logo img { display: block; object-fit: contain; width: 100%; height: auto; max-height: 56px; }
.c-card-background__body { display: flex; flex: 1; flex-direction: column; gap: var(--spacing-xs); justify-content: space-between; padding: var(--spacing-md) var(--spacing-2xl) var(--spacing-md) var(--spacing-md); background-color: var(--secondary-color-blue); position: relative; }
.c-card-background__body::after { content: ''; position: absolute; inset: 0; left: -20px; width: calc(100% + 60px); background: linear-gradient(to top,rgb(1,53,244) 0%,var(--primary-color) 49%,transparent 100%); filter: blur(20px); pointer-events: none; }
.c-card-background__text { z-index: 1; margin: 0; color: var(--white); font-family: var(--font-montserrat); font-weight: 700; font-size: 1.25rem; line-height: 1.4; text-align: left; }
@media (min-width: 768px) { .c-card-background__text { font-size: 1.125rem; } }
@media (min-width: 1200px) { .c-card-background__text { font-size: 1.25rem; } }
.c-card-background__text::after { content: ''; display: block; width: 40px; height: 2px; margin-top: var(--spacing-md); background-color: var(--third-color); }
.c-card-background__link { z-index: 1; display: inline-flex; gap: var(--spacing-2xs); align-items: center; width: fit-content; padding-bottom: 2px; color: var(--white); font-weight: 600; font-size: var(--font-size-s); text-decoration: none; }
.c-card-background__link::after { content: '\2192'; font-size: 1.375rem; color: var(--white); transition: var(--base-trans); }
.c-card-background__link:hover::after { transform: translateX(6px); }

/* === HIGHLIGHTED === */
.c-highlighted { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.c-highlighted.bg-primary-color { background-color: var(--primary-color); --text-title: var(--white); color: var(--white); }
.c-highlighted.bg-secondary-color-blue { background-color: var(--secondary-color-blue); --text-title: var(--white); color: var(--white); }
.c-highlighted.bg-primary-color-gradient { background: var(--gradient-primary); --text-title: var(--white); color: var(--white); }
.c-highlighted.bg-primary-color-100 { background-color: var(--primary-color-100); color: var(--text-base); }
.c-highlighted.bg-gray-400 { background-color: var(--gray-400); color: var(--white); }
.c-highlighted.bg-third-color-light { background-color: var(--third-color-light); color: var(--text-base); }
.c-highlighted__wrapper--background { height: 100%; background-position: center; background-size: cover !important; aspect-ratio: 1; background-blend-mode: multiply; }
@media (min-width: 576px) { .c-highlighted__wrapper--background { aspect-ratio: 4/3; } }
@media (min-width: 1200px) { .c-highlighted__wrapper--background { aspect-ratio: 319/156; } }
.c-highlighted__content { padding: var(--spacing-sm) var(--spacing-xs) !important; }
@media (min-width: 1200px) { .c-highlighted__content { padding: var(--spacing-md) !important; } }
.c-highlighted__image img { width: 100%; }
.c-highlighted .c-text__title, .c-highlighted .card-title { position: relative; margin-bottom: 0; font-size: 1.375rem; line-height: 1.6875rem; font-family: var(--font-montserrat); font-weight: 600; }
@media (min-width: 992px) { .c-highlighted .c-text__title { font-size: 1.5rem; } }
.c-highlighted .c-text__title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 44px; height: 2px; background-color: var(--secondary-color-blue); transition: var(--md-trans); }

/* === TAGS === */
.c-tags ul, .c-tags .field__items { display: flex; flex-wrap: wrap; gap: var(--spacing-2xs); list-style: none; padding: 0; margin: 0; }
.c-tags li, .c-tags .field__item { padding: var(--spacing-2xs) var(--spacing-xs) !important; border: 1px solid var(--secondary-color); color: var(--secondary-color); list-style: none; font-size: var(--font-size-s); font-family: var(--font-family-base); font-weight: 700; border-radius: var(--radius-pill); }

/* === C-TEXT COMPONENT === */
.c-text { --_spacing-responsive: var(--spacing-sm); --_spacing-desktop: var(--spacing-md); }
.c-text__grid { display: flex; flex-wrap: wrap; gap: var(--_spacing-responsive); }
.c-text__grid > * { flex: 0 1 100%; }
@media (min-width: 992px) { .c-text__grid { gap: var(--_spacing-desktop); } }
.c-text__title { order: 3; margin-bottom: 0; text-wrap: pretty; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-text__title p { margin-bottom: 0; color: var(--text-title); font-size: 1.75rem; line-height: 2.25rem; font-family: var(--font-montserrat); font-weight: 700; }
@media (min-width: 992px) { .c-text__title p { font-size: 2rem; } }
.c-text__body { flex: 0 1 100%; order: 4; font-size: var(--font-size-base); line-height: 1.5rem; }
.c-text__extra { order: 5; }
.c-text__tags { flex: 0 1 100%; order: 1; }
.c-text .c-icon { order: 2; }
.c-text .c-icon img, .c-text .c-icon svg { height: var(--icon-size, 48px); }
.c-text--header .c-text__grid { flex-wrap: wrap; gap: var(--spacing-md); justify-content: space-between; align-items: flex-start; }
.c-text--header .c-text__grid--left { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); }
.c-text--header .c-text__grid--right { flex: 0 1 auto; }

/* === BANNER KPIs === */
.c-banner-kpis { position: relative; overflow: hidden; }
.c-banner-kpis__media { position: absolute; inset: 0; z-index: 0; }
.c-banner-kpis__media img { width: 100%; height: 100%; object-fit: cover; }
.c-banner-kpis__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,23,56,0.95) 0%, rgba(25,37,90,0.90) 60%, rgba(91,83,255,0.20) 100%); }
.c-banner-kpis__content { position: relative; z-index: 1; padding: var(--spacing-4xl) var(--spacing-md); color: var(--white); }
.c-banner-kpis__intro { max-width: var(--container); margin: 0 auto; }
.c-banner-kpis__title { color: var(--white); font-size: var(--h2-size-mobile); line-height: var(--h2-lh-mobile); margin-bottom: var(--spacing-sm); }
@media (min-width: 1024px) { .c-banner-kpis__title { font-size: var(--h2-size-desktop); } }
.c-banner-kpis__text { font-size: var(--font-size-base); color: rgba(255,255,255,0.85); margin-bottom: var(--spacing-md); }
.c-banner-kpis__achievements { display: flex; flex-wrap: wrap; gap: var(--spacing-lg); margin-top: var(--spacing-2xl); }
.c-achievement { flex: 1 1 200px; }
.c-achievement__title { font-family: var(--font-montserrat); font-size: var(--font-size-s); font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: var(--spacing-2xs); }
.c-achievement__number { font-family: var(--font-montserrat); font-size: var(--h1-size-mobile); font-weight: 700; color: var(--white); line-height: 1; }
@media (min-width: 1024px) { .c-achievement__number { font-size: var(--h1-size-desktop); } }
.c-achievement__text { font-size: var(--font-size-s); color: rgba(255,255,255,0.7); margin-top: var(--spacing-2xs); }

/* === HERO === */
.hero-banner { background-color: var(--primary-color); color: var(--white); padding: var(--spacing-4xl) var(--spacing-md); position: relative; overflow: hidden; }
.hero-banner h1, .hero-banner h2 { color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-3xl); max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 2fr 1fr; align-items: center; } }
.hero-stats { display: flex; flex-direction: column; gap: var(--spacing-xl); border-left: 1px solid rgba(255,255,255,0.2); padding-left: var(--spacing-lg); }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-montserrat); font-size: var(--h3-size-desktop); font-weight: 700; }
.stat-label { font-size: var(--font-size-xs); opacity: 0.8; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,23,56,0.95) 0%, rgba(25,37,90,0.90) 60%, rgba(91,83,255,0.20) 100%); }
.hero-banner .hero-grid { position: relative; z-index: 1; }
.hero-banner p { color: rgba(255,255,255,0.85); }

/* === CTA BANNER === */
.cta-banner { background: var(--primary-color); color: var(--white); border-radius: var(--radius-sm); padding: var(--spacing-2xl) var(--spacing-xl); text-align: center; position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); }

/* === LINK ICON === */
.link-icon { display: inline-flex; align-items: center; gap: var(--spacing-2xs); font-weight: 500; }
.link-icon .material-symbols-outlined { font-size: 1.25em; transition: transform var(--base-trans); }
.link-icon:hover .material-symbols-outlined { transform: translateX(4px); }

/* === SLIDER === */
.slider-controls { display: flex; align-items: center; gap: var(--spacing-xs); margin-top: var(--spacing-xl); }
.slider-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--white); background: transparent; cursor: pointer; transition: var(--base-trans); }
.slider-dot.active { background: var(--white); }
.slider-line { width: 24px; height: 2px; background: var(--white); }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--primary-color-200); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-md) 0; background: none; border: none; font-family: var(--font-montserrat); font-weight: 700; font-size: var(--font-size-base); color: var(--text-title); cursor: pointer; text-align: left; }
.faq-answer { padding: 0 0 var(--spacing-md); color: var(--text-gray); display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

/* === TESTIMONIALS === */
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--secondary-color); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-montserrat); font-weight: 700; margin-bottom: var(--spacing-sm); }

/* === LOGO STRIP === */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--spacing-lg); }
.logo-strip img { height: 40px; width: auto; opacity: 0.6; filter: grayscale(1); transition: var(--base-trans); }
.logo-strip img:hover { opacity: 1; filter: none; }

/* === NAVBAR === */
.navbar { background: var(--primary-color); position: sticky; top: 0; z-index: 100; }
.navbar-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: var(--spacing-sm) var(--spacing-md); }
.navbar-brand { font-family: var(--font-montserrat); font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: var(--spacing-xs); }
.navbar-brand svg { height: 32px; width: auto; fill: var(--white); }
.navbar-brand img { height: 32px; width: auto; }
.navbar-nav { display: flex; list-style: none; gap: var(--spacing-md); margin: 0; padding: 0; }
.navbar-nav a { color: var(--white); opacity: 0.8; text-decoration: none; font-size: var(--font-size-s); font-weight: 700; transition: var(--base-trans); position: relative; }
.navbar-nav a:hover { opacity: 1; }
.navbar-nav a::before { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--secondary-color); transition: var(--base-trans); }
.navbar-nav a:hover::before { width: 100%; }
.navbar-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-color); padding: var(--spacing-md); gap: var(--spacing-sm); }
  .navbar-toggle { display: block; }
}

/* === FOOTER === */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
  text-align: center;
}
.footer h2, .footer h3, .footer h4 { color: var(--white); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}
.footer-logo { margin-bottom: var(--spacing-xs); }
.footer-logo svg { height: 28px; width: auto; fill: var(--white); }
.footer-brand {
  font-family: var(--font-montserrat);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-2xs);
}
.footer-tagline {
  font-size: var(--font-size-s);
  opacity: 0.7;
  margin-bottom: var(--spacing-md);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-xs);
}
.footer-legal-links a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
}
.footer-legal-links a:hover {
  text-decoration: underline;
  opacity: 1;
}
.footer-copyright {
  font-size: var(--font-size-xs);
  opacity: 0.6;
}

/* === BACK TO TOP === */
.back-to-top { position: fixed; bottom: var(--spacing-lg); right: var(--spacing-lg); width: 48px; height: 48px; border-radius: 50%; background: var(--primary-color); color: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--base-trans); z-index: 90; box-shadow: var(--shadow-z3); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary-color); }
.grecaptcha-badge { bottom: 90px !important; }

/* === SKIP LINK === */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: var(--white); padding: var(--spacing-xs) var(--spacing-md); z-index: 200; text-decoration: none; transition: var(--base-trans); }
.skip-link:focus { top: 0; }

/* =========================================
   FASE 2 — GLASSMORPHISM 2.0 + MODERN CSS
   ========================================= */

/* === 2.1 GLASSMORPHISM === */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
.glass-dark {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  color: var(--white);
}
@supports not (backdrop-filter: blur(1px)) {
  .glass-panel { background: rgba(255,255,255,0.85); }
  .glass-dark { background: rgba(0,0,0,0.75); }
}

/* === 2.2 PREFERS-REDUCED-MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-fade-in, .reveal-slide-up, .reveal-slide-left, .reveal-slide-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === 2.3 SCROLL ANIMATIONS / INTERSECTION OBSERVER === */
.reveal { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-fade-in { opacity: 0; transition: opacity 0.6s ease; }
.reveal-slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-slide-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-slide-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }

.reveal.visible, .reveal-fade-in.visible,
.reveal-slide-up.visible, .reveal-slide-left.visible, .reveal-slide-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* JS inline para IntersectionObserver — se incluye en el footer del landing */
/* <script> */
/* (function() { */
/*   const observer = new IntersectionObserver((entries) => { */
/*     entries.forEach(entry => { */
/*       if (entry.isIntersecting) { */
/*         entry.target.classList.add('visible'); */
/*         observer.unobserve(entry.target); */
/*       } */
/*     }); */
/*   }, { threshold: 0.15, rootMargin: '0px 0px -50px 0px' }); */
/*   document.querySelectorAll('[data-reveal]').forEach(el => observer.observe(el)); */
/* })(); */
/* </script> */

/* === 2.4 FOCUS-VISIBLE === */
:focus-visible {
  outline: 2px solid var(--third-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}

/* === 2.5 DARK MODE (DESACTIVADO) ===
   Las landings de hiberus siempre usan el esquema de color light.
   color-scheme: light en :root previene que el navegador aplique dark mode.
*/

/* === 2.6 SKELETON SCREENS === */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton, .skeleton-text {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
  color: transparent !important;
  user-select: none;
}
.skeleton { height: 200px; width: 100%; }
.skeleton-text { height: 1em; width: 80%; margin-bottom: var(--spacing-xs); }
.skeleton-text:last-child { width: 60%; }
.skeleton-circle { width: 56px; height: 56px; border-radius: 50%; }
.skeleton-btn { height: 48px; width: 160px; border-radius: var(--radius-pill); }

/* Section pending — placeholder visual */
.section-pending {
  display: none;
}

/* === 3. FORMULARIO CORPORATIVO HIBERUS === */
.hiberus-lead-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  justify-content: space-between;
}
.hiberus-lead-form .form-required-description {
  flex: 0 1 100%;
  margin: 0 0 var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--gray-400);
}
.hiberus-lead-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  width: 100%;
}
.hiberus-lead-form .form-row .form-group {
  flex: 0 1 100%;
}
@media (min-width: 768px) {
  .hibernus-lead-form .form-row .form-group,
  .hiberus-lead-form .form-row .form-group {
    flex: 0 1 calc(50% - var(--spacing-xs) / 2);
    max-width: calc(50% - var(--spacing-xs) / 2);
  }
}
.hiberus-lead-form .form-group {
  flex: 0 1 100%;
  margin-bottom: var(--spacing-xs);
}
.hiberus-lead-form .form-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--black, #111);
}
.hiberus-lead-form .form-required {
  color: var(--primary-color, #19255A);
}

.hiberus-lead-form .form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--primary-color-400, #3b477a);
  border-radius: 200px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-base, #2d2d2d);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.hiberus-lead-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color, #19255A);
  box-shadow: 0 0 0 3px rgba(25, 37, 90, 0.12);
}
.hiberus-lead-form .form-control::placeholder {
  color: var(--gray-400, #737373);
  font-size: 0.875rem;
}
.hiberus-lead-form .form-select {
  height: 3.5em;
  padding: 0 1rem;
  border-radius: 50px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233b477a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.hiberus-lead-form .form-textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 120px;
}
.hiberus-lead-form .form-error-message {
  color: #dc3545;
  font-size: 0.875rem;
  display: block;
  margin-top: 4px;
}
.hiberus-lead-form .form-control.error {
  border-color: #dc3545;
}

/* Checkboxes */
.hiberus-lead-form .form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 6px;
}
.hiberus-lead-form .form-check-input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--text-title, #111);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  accent-color: var(--secondary-color, #5B53FF);
}
.hiberus-lead-form .form-check-input:checked {
  background-color: var(--secondary-color, #5B53FF);
  border-color: var(--secondary-color, #5B53FF);
}
.hiberus-lead-form .form-check-label {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-base, #2d2d2d);
}
.hiberus-lead-form .form-legal-link {
  color: var(--text-base, #2d2d2d);
  text-decoration: underline;
  font-weight: 700;
}
.hiberus-lead-form .form-legal-link:hover {
  text-decoration: none;
}
.hiberus-lead-form .form-required-check .form-check-label {
  width: 90%;
}

/* Botón submit */
.hiberus-lead-form .btn-block {
  margin-top: var(--spacing-xs);
  width: 100%;
}

/* Mensaje de estado */
.hiberus-lead-form .form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm, 8px);
  margin-top: var(--spacing-xs);
  font-size: 0.9375rem;
}
.hiberus-lead-form .form-message.show {
  display: block;
}
.hiberus-lead-form .form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.hiberus-lead-form .form-message.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}
.hiberus-lead-form .form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* intlTelInput — override para formulario Hiberus */
.hiberus-lead-form .form-group-phone .iti {
  display: block;
}
.hiberus-lead-form .form-group-phone .iti input {
  padding-left: 52px;
  border-radius: 200px;
}
.hiberus-lead-form .form-group-phone .iti__flag-container {
  left: 0;
  right: auto;
}
.hiberus-lead-form .form-group-phone .iti__selected-flag {
  padding: 0 8px;
  height: 100%;
}
.hiberus-lead-form .form-group-phone .iti__selected-flag:hover {
  background-color: rgba(0,0,0,0.03);
  border-radius: 200px 0 0 200px;
}
.hiberus-lead-form .form-group-phone .iti__country-list {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200, #dcdcdc);
}
.hiberus-lead-form .form-group-phone .iti__country.iti__highlight {
  background-color: var(--primary-color-100, #f7f8fd);
}
.hiberus-lead-form .form-group-phone .iti__dial-code {
  color: var(--gray-400, #737373);
}
.hiberus-lead-form .form-group-phone .iti--invalid input {
  border-color: #dc3545;
}

/* Honeypot */
.hiberus-lead-form .form-honeypot {
  position: absolute;
  left: -9999px;
}

/* === Footer links === */
.footer-brand-link {
  text-decoration: none;
}
.footer-heading {
  color: var(--primary-color-300, #abb2cf);
  margin-bottom: var(--spacing-sm, 16px);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.footer-links a {
  color: var(--gray-400, #737373);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white, #fff);
}

/* === PHASE 4: RESPONSIVE IMPROVEMENTS === */

/* Mobile header: CTA button (hidden on desktop) */
.navbar-cta-mobile {
  display: none;
}
@media (max-width: 768px) {
  /* Hide hamburger toggle and nav dropdown */
  .navbar-toggle { display: none !important; }
  .navbar-nav    { display: none !important; }
  /* Show CTA button */
  .navbar-cta-mobile {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: var(--secondary-color);
    color: var(--white) !important;
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.5rem 1.125rem;
    border-radius: 9999px;
    white-space: nowrap;
    line-height: 1.3;
  }
  .navbar-cta-mobile:hover {
    background: var(--primary-color-700, #0d1738);
    color: var(--white) !important;
  }
}

/* Mobile hero: stat-items inside .hero-stats go side-by-side */
@media (max-width: 1023px) {
  .hero-banner .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
    padding-top: var(--spacing-md);
    gap: var(--spacing-md);
  }
  .hero-banner .hero-stats .stat-item {
    flex: 1 1 calc(50% - var(--spacing-md));
  }
  /* Glass panel second column: logo full-width, stats 2-per-row */
  .hero-banner .glass-panel {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  .hero-banner .glass-panel > img {
    width: 100%;
    text-align: center;
    flex: 0 0 100%;
  }
  .hero-banner .glass-panel .stat-item {
    flex: 1 1 calc(50% - 0.5rem) !important;
    text-align: center !important;
    min-width: 110px;
  }
  /* Hero grid second child: avoid being too tall on mobile */
  .hero-grid > div:nth-child(2) {
    margin-top: 0;
  }
  /* Inline stats row (d-flex items-center) in hero: wrap */
  .hero-banner .d-flex.gap-md.items-center {
    flex-wrap: wrap;
    gap: var(--spacing-sm) !important;
  }
  .hero-banner .d-flex.gap-md.items-center .stat-item {
    flex: 1 1 calc(50% - var(--spacing-sm));
    min-width: 100px;
  }
}
