:root {
  --text-regular: 18px;
  --text-big: 80px;
  --text-medium:60px;
  --button-font-size: 16px;
  --color1: #FF621D;/*ORANGE*/
  --color1b: #EF4900;/*ORANGE DARKER*/
  --color2: #000000;/*BLACK*/
  --color3: #FFFFFF;/*WHITE*/
  --color4: #00D8FF;/*CYAN*/
  --color5: #00B4D5;/*MID CYAN*/
  --color6: #004D5C;/*DARK CYAN*/
  --gradient1: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  --gradient2: linear-gradient(0deg, #EF4900 0%, #FF621D 100%);
  --gradient3: linear-gradient(0deg, #00B4D5 0%, #004D5C 100%);
  --font-family: 'lexend-deca';
  --rounded: 20px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}
body {
  font-size: var(--text-regular);
  font-weight: lighter;
  background: #FFFFFF;
  font-weight: 300;
  font-style: normal;
}
.container-wrapper {
  width: 100%;
  height: auto;
  position: relative;
}
.container {
  width: 95%;
  max-width: 1800px;
  margin: auto;
}
.container-medium {
  margin: auto;
  width: 60%;
  position: relative;
}
.container-small {
  margin: auto;
  width: 40%;
  position: relative;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.col-1 {
  grid-column: span 1;
}
.col-2 {
  grid-column: span 2;
}
.col-3 {
  grid-column: span 3;
}
.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
.col-7 {
  grid-column: span 7;
}
.col-8 {
  grid-column: span 8;
}
.col-9 {
  grid-column: span 9;
}
.col-10 {
  grid-column: span 10;
}
.col-11 {
  grid-column: span 11;
}
.col-12 {
  grid-column: span 12;
}
.flex-grid {
  display: flex;
  flex-wrap: wrap;
}
.flex-vertical-center {
  align-items: center;
}
.flex-grid .col-3 {
  width: 25%;
}
.flex-grid .col-6 {
  width: 50%;
}
.p-0 {
  padding: 0;
}
.ptb-0 {
  padding: 0 0;
}
.plr-0 {
  padding: 0 0;
}
.p-40 {
  padding: 40px;
}
.ptb-40 {
  padding: 40px 0;
}
.plr-40 {
  padding: 0 40px;
}
.p-80 {
  padding: 80px;
}
.ptb-80 {
  padding: 80px 0;
}
.plr-80 {
  padding: 0 80px;
}
.rounded {
  border-radius: var(--rounded);
}

/*HEADER + STICKY*/

.header {
  position:sticky;
  top:0;
  z-index:1000;
  background:transparent;
  transition: background .35s ease, color .35s ease;
}
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
}
.header.scrolled, .header:hover{
  background:white;
}
.header:hover svg{
  fill:black !important;
}
.header.scrolled svg{
  fill:black;
}
.header:not(.scrolled) svg{
  fill:white;
}
.header:hover .menu-toggle, .header:hover .button-clear, .header.scrolled .button-clear{
  color:#000000 !important;
}
.header:not(.scrolled) .menu-toggle, .header:not(.scrolled) .button-clear{
  color:white;
}
.logo svg {
  height: 40px;
  transition: color .3s ease, fill .3s ease;
}
.menu-container {
  width: 90%;
  max-width: 1800px;
  margin: auto;
}
.menu-toggle {
  justify-self: center;
  display: flex;
  gap: 8px;
  align-items: center;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 100px;
  transition: color .3s ease, fill .3s ease;
}
.menu-toggle:hover {
  background-color: rgba(0,0,0,0.1);
  color: #FFFFFF !important;
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: 15px;
}
.header-actions .button i {
  display: none;
}

/*BUTTONS*/

a {
  text-decoration: none;
}
.button {
  display: inline-block;
  background-color: var(--color2);
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: var(--button-font-size);
  border-radius: 100px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}
.button-full {
  width: 100%;
}
.button:hover {
  background-color: var(--color1);
}
.button-orange {
  background-color: var(--color1);
}
.button-orange:hover {
  background-color: var(--color1b);
}
.button-clear {
  background-color: transparent;
  text-transform: none;
}
.button-clear:hover {
  background-color: transparent;
  text-decoration: underline;
}

/*MENU*/

.mega-menu {
  height:0;
  overflow:hidden;
  background: #F8F8F8;
  transition:height .45s ease;
  max-height:calc(100vh - 70px);
}
.mega-menu.open{
  overflow-y:auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 40px;
  transition: opacity .35s ease, transform .35s ease;
}
.menu-image img {
  width: 100%;
  border-radius: 6px;
  transition: 0.3s ease;
}
.menu-col h3 {
  font-size: 18px;
}
.menu-col a {
  display: block;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
  transition: 0.2s ease;
}
.menu-col a:hover {
  color: black;
  font-weight: 600;
}
.social-media-menu {
  margin: 20px 0;
}
.social-media-menu li {
  display: inline-block;
  margin-right: 5px;
}
.social-media-menu li a {
  color: #FFFFFF;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  border-radius: 50%;
  transform: translateY(0px);
  transition: 0.3s ease;
}
.social-media-menu li a img {
  width: 60%;
  height: auto;
}
.social-media-menu li a:hover {
  background-color: var(--color1);
  color: #FFFFFF;
  text-decoration: none;
  padding-left: 0;
  transform: translateY(-5px);
}

/*===========================
INPUTS
===========================*/

input:focus {
  outline: 0 var(--color1);
}
input[type=text], input[type=email] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 100px;
}
.input-icon-button {
  background-color: #FFFFFF;
  display: flex;
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 100px;
}
.input-icon-button input {
  border: none;
  padding: 5px 10px;
  margin: 0;
  border-radius: 100px;
}
.input-icon-button .button {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  margin-left: 5px;
}

/*===========================
TEXT
===========================*/

p {
  font-size: var(--text-regular);
  padding: 0 0 20px 0;
  line-height: 1.5em;
}
h1, h2, h3, h4, h5 {
  font-weight: 200;
  margin: 0;
  padding: 20px 0;
}
.title-xl {
  font-size: var(--text-big);
}
.title-m {
  font-size: var(--text-medium);
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}
.text-bold {
  font-weight: 500;
}

/*===========================
SECTIONS
===========================*/

.overlay {
  background-color: rgba(0,77,92,0.7);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.overlay + [class*="container"] {
  position: relative;
  z-index: 1;
}
.section {
  width: 100%;
  position: relative;
}

/*HERO*/

.hero {
  color: #FFFFFF;
  width: 100%;
  height: 100vh;
  margin-top: -70px;
  overflow: hidden;
}
.hero .container {
  width: 100%;
  max-width: none;
}
#videoBG {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}
.hero .grid {
  height: 100%;
  align-items: end;
}
.hero-articles {
  text-align: center;
  margin-bottom: 10%;
}
.hero-title {
  color: rgba(255,255,255,1);
  font-size: 100px;
  font-weight: bold;
  text-transform: uppercase;
  text-transform: uppercase;
}
.hero-articles p {
  font-size: 25px;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/*APP*/

.about-app {
  background: var(--gradient1);
  padding: 40px 40px 0 40px;
  margin-top: 80px;
  overflow: hidden;
}
.about-app .grid {
  justify-content: space-between;
}
.info-box {
  background-color: rgba(255,255,255,0.5);
  padding: 30px;
  backdrop-filter: blur(5px);
  border-radius: var(--rounded);
  margin: 0 0 40px 0;
}
.app-banner {
  width: 100%;
  align-self: flex-end;
}
.app-banner img {
  width: 100%;
  height: auto;
  margin-left: -15%;
  vertical-align: bottom;
}

/*DATA APP*/

.blured-box {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: black;
  color: white;
  width: 100%;
  height: 350px;
  border-radius: var(--rounded);
  overflow: hidden;
  position: relative;
}
.blured-box-overlay {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  z-index: 0;
}
.blured-box-content {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.chart-title {
  width: 80%;
  align-self: flex-start;
}
.chart-title h3 {
  font-size: 50px;
  padding: 0;
}
.chat-score {
  width: 20%;
}
.chat-score h4 {
  font-size: 50px;
  padding: 0;
  text-align: right;
}
.chat-score p {
  font-size: 20px;
  padding: 0;
  text-align: right;
}
.chart-sample {
  width: 100%;
  align-self: flex-end;
}
.chart-bar {
  display: flex;
  width: 100%;
}
.chart-bar-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.data-chart-1 .chart-bar-line:nth-child(1) {
  width: 60%;
}
.data-chart-1 .chart-bar-line:nth-child(2) {
  width: 20%;
}
.data-chart-1 .chart-bar-line:nth-child(3) {
  width: 20%;
}
.data-chart-2 .chart-bar-line:nth-child(1) {
  width: 25%;
}
.data-chart-2 .chart-bar-line:nth-child(2) {
  width: 30%;
}
.data-chart-2 .chart-bar-line:nth-child(3) {
  width: 45%;
}
.data-chart-3 .chart-bar-line:nth-child(1) {
  width: 20%;
}
.data-chart-3 .chart-bar-line:nth-child(2) {
  width: 20%;
}
.data-chart-3 .chart-bar-line:nth-child(3) {
  width: 30%;
}
.data-chart-3 .chart-bar-line:nth-child(4) {
  width: 30%;
}
.bar {
  background-color: rgba(255,255,255,0.2);
  width: 100%;
  height: 20px;
  margin-bottom: 10px;
}
.bar.active {
  background-color: rgba(255,255,255,1);
}
.bar-selector {

}
.bar-rounded {
  border-radius: 100px;
}
.bar-rounded-start {
  border-radius: 100px 0 0 100px;
}
.bar-rounded-end {
  border-radius: 0 100px 100px 0;
}
.flex-align-left {
  justify-content: flex-end;
}

/*DOWNLOAD APP*/

.download-app {
  color: #FFFFFF;
  overflow: hidden;
}
.download-app-bg-animation {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.download-app-bg-1, .download-app-bg-2 {
  background: url('../img/arrows.webp') no-repeat center center;
  background-size: 80% auto;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  animation: 10s download-app-bg-animation infinite linear;
}
.download-app-bg-2 {
  animation-delay: 5s;
}
@keyframes download-app-bg-animation {
  0% {transform: translateY(-100%); opacity: 0;}
  50% {transform: translateY(0%); opacity: 1;}
  100% {transform: translateY(100%); opacity: 0;}
}
.download-buttons {
  width: 100%;
  margin-top: 40px;
}
.download-buttons a {
  display: inline-block;
  height: 70px;
  margin: 20px;
  transform: translateY(0px);
  transition: 0.2s ease;
}
.download-buttons a:hover {
  transform: translateY(-10px);
}
.download-buttons a img {
  width: auto;
  height: 100%;
}

/*FAQS*/

.faq-container {
  width: 70%;
  margin: 0 auto;
  background: white;
  border-radius: var(--rounded);
  overflow: hidden;
}
.faq-header {
  background: var(--gradient2);
  color: white;
  padding: 60px 40px;
  text-align: center;
}
.faq-header h2 {
  margin-bottom: 10px;
}
.faq-header p {
  margin-bottom: 30px;
}
/* Buscador destacado */
.search-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.search-box {
  position: relative;
  background: white;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.search-box .icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color2);
  font-size: 24px;
}
.search-box input {
  width: 100%;
  padding: 25px 80px 25px 60px;
  margin: 0;
  border: none;
  border-radius: 50px;
  font-size: 1.2em;
  transition: all 0.3s;
  background: white;
}
.search-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-box .button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
/* Contenido que aparece después de la búsqueda */
.content-after-search {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.content-after-search.visible {
  display: block;
  opacity: 1;
}
/* Resultados de búsqueda */
.results-info {
  padding: 30px 30px 10px;
  color: #6c757d;
  font-size: 0.95em;
}
.results-info span {
  font-weight: bold;
}
/* Acordeón de FAQ */
.faq-list {
  padding: 10px 30px 20px;
}
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  background: white;
}
.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.faq-question {
  padding: 20px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #2d3748;
  transition: background 0.3s;
}
.faq-question:hover {
  background: #f8f9fa;
}
.faq-question i {
  transition: transform 0.3s;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  padding: 0 20px;
  background: #f8f9fa;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  color: #4a5568;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px;
}
.highlight {
  background-color: #fff3cd;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 10px;
}
/* Sección de contacto */
.contact-section {
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #dee2e6;
}
.contact-section h3 {
  color: #2d3748;
  margin-bottom: 10px;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-section h3 i {
  color: var(--color1);
}
.contact-section p {
  color: #6c757d;
  margin-bottom: 20px;
}
.contact-form {
  display: grid;
  gap: 20px;
}
.form-group {
  display: grid;
  gap: 8px;
}
.form-group label {
  font-weight: 600;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-group label i {
  color: var(--color1);
}
.form-group input, .form-group textarea {
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
/* Mensaje de no resultados */
.no-results {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}
.no-results i {
  font-size: 64px;
  color: #667eea;
  margin-bottom: 20px;
}
.no-results h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #2d3748;
}
.no-results p {
  font-size: 1.1em;
  margin-bottom: 15px;
}
/* Loading */
.loading {
  text-align: center;
  padding: 40px;
}
.loading i {
  animation: girar 2s infinite linear;
  color: var(--color1);
  font-size: 48px;
}
@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Notificaciones */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease-out;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.notification.success {
  background: #28a745;
}
.notification.error {
  background: #dc3545;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/*COMMUNITY*/

.community {
  background: url('../img/hh-community-2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
  padding: 200px 0;
}


/*===========================
SLIDERS
===========================*/

/*SWPER*/

.swiper-button-next, .swiper-button-prev {
  color: rgba(0,0,0,0.2) !important;
  transition: 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  color: var(--color1) !important;
}
.providers-slider {
  width: 90%;
}

/*LOGOS SLIDER*/

.carrusel-wrapper {
  position: relative;
  width: 100%;
  padding: 40px 0;
}
.carrusel-wrapper::before, .carrusel-wrapper::after {
  display: none;
}
.carrusel-pista {
  overflow: hidden;
  cursor: grab;
  width: 100%;
}
.carrusel-pista:active {
  cursor: grabbing;
}
.logo-track {
  display: flex;
  align-items: center;
  width: fit-content;
  will-change: transform;
  transition: transform 0.08s ease-out; /* pequeño suavizado */
}
.logo-item {
  flex: 0 0 auto;
  width: 160px;
  margin: 0 100px;
  padding: 1.2rem 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s;  /* transición suave para opacidad */
  opacity: 0.7;  /* base */
}
.logo-item:hover {
  transform: scale(1.2);
  opacity: 1 !important;
}
.logo-item img {
  max-width: 100px;
  height: auto;
  max-height: 60px;
  display: block;
}

/*PROVIDERS SLIDER*/

.box-picture {
  width: 100%;
  height: auto;
  border-radius: var(--rounded);
  overflow: hidden;
}
.box-picture img {
  width: 100%;
  height: auto;
}
.swiper.providers-slider {
  padding: 40px 0;
}
.providers-slider .swiper-slide p {
  padding: 0;
  font-style: italic;
}
.providers-slider .swiper-slide h3 {
  padding: 20px 0;
  font-weight: bold;
  font-size: 30px;
}

/*TABS*/

.tabs{
  width:100%;
}

/* NAV */

.tabs-nav{
  background-color: rgba(0,0,0,0.1);
  display:grid;
  grid-template-columns: auto auto auto auto;
  padding: 10px 20px;
  gap:30px;
  border-radius: 100px;
  overflow: hidden;
}

.tab-btn{
  background: #FFFFFF;
  border:none;
  padding:10px 30px;
  cursor:pointer;
  position:relative;
  border-radius: 100px;
  text-transform: uppercase;
}

.tab-btn.active{
  background: var(--color1);
  color:#FFFFFF;
}

/* CONTENT */

.tabs-content{
  position:relative;
}

/* panel base */

.tab-panel {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding: 40px 0;
  opacity:0;
  pointer-events:none;
  transition:opacity 1s ease;
}
.tab-panel .grid {
  gap:60px;
  align-items: center;
}

/* panel activo */

.tab-panel.active{
  position:relative;
  opacity:1;
  pointer-events:auto;
}

/*===========================
COLORS
===========================*/

.bg-gradient-gray {
  background: var(--gradient1);
}
.bg-gradient-orange {
  background: var(--gradient2);
}
.text-orange {
  color: var(--color1);
}

/*===========================
FOOTER
===========================*/

footer h4 {
  color: var(--color1);
  font-weight: bold;
  text-transform: uppercase;
}
footer ul, footer li {
  list-style-type: none;
  padding: 5px 0;
}
footer li a {
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  padding-left: 0;
  font-weight: normal;
  transition: 0.3s ease;
}
footer li a:hover {
  color: rgba(0,0,0,1);
  text-decoration: underline;
}
.footer-logo {
  width: 80%;
  height: auto;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
