/* Base css start */

/* google fonts cdn */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  color: #696969;
  background-color: #101010;
}
ol,
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style-type: none;
}

a,
button {
  transition: all 0.3s;
}
a {
  text-decoration: none;
  color: inherit;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  padding-inline: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #e3e3e3;
}
h2 {
  font-size: 42px;
  line-height: 1;
}
h5 {
  font-size: 18px;
  line-height: 1.56;
}
h6 {
  font-size: 15px;
  line-height: 1.5;
}

/* --- ESTILOS DE BOTONES (Animación Slide Up Pro) --- */

/* 1. Configuración Base del Botón */
.theme-btn {
  position: relative;          /* Necesario para los efectos internos */
  z-index: 1;                  /* Texto encima del relleno */
  overflow: hidden;            /* Oculta el color antes de subir */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 38px;
  font-size: 14px;
  padding-inline: 24px;
  border-radius: 20px;
  gap: 8px;
  background-color: transparent; /* El color lo manejan las capas internas */
  border: 1px solid transparent; 
  transition: all 0.3s ease;
  
  /* Color por defecto (Para 'Escríbenos') */
  color: #f4d300; 
}

.theme-btn img {
  width: 12px;
  position: relative; 
  z-index: 2; /* Iconos siempre arriba */
}

/* 2. Capa Base (Fondo estático) */
.theme-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2; 
  background-color: #212121; /* Fondo oscuro por defecto */
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* 3. Capa Hover (El color que sube) */
.theme-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1; 
  background-color: #333333; /* Gris oscuro para el hover de 'Escríbenos' */
  border-radius: 20px;
  
  /* Animación */
  transform: scaleY(0);       /* Invisible al inicio */
  transform-origin: bottom;   /* Sube desde abajo */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Efecto suave */
}

/* Acción Hover General */
.theme-btn:hover::after {
  transform: scaleY(1); /* Sube al 100% */
}
.theme-btn:hover {
  transform: scale(1.05); /* Pequeño aumento de tamaño */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  color: #f4d300; /* Mantiene texto amarillo en 'Escríbenos' */
}

/* --- Variantes: Cristal (Contáctanos + Iniciar Sesión) --- */
.theme-btn--gray, 
.header__btn {
  color: #e3e3e3 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Fondo Cristal Base (Sobrescribe ::before) */
.theme-btn--gray::before,
.header__btn::before {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Relleno Amarillo al Hover (Sobrescribe ::after) */
.theme-btn--gray::after,
.header__btn::after {
  background-color: #f4d300; 
}

/* Texto Negro al Hover y BORDE TRANSPARENTE */
.theme-btn--gray:hover,
.header__btn:hover {
  color: #000000 !important;
  border-color: transparent !important; /* Elimina la línea de contorno */
}

.section__header {
  margin-bottom: 110px;
}

.page-shape {
  max-width: 1920px;
  width: 100%;
}
/* Base css end */

/* header section start */

.header {
  padding-block: 65px 20px;
}
.header__logo-img {
  width: 162px;
}
.header__actions {
  gap: 60px;
}
.lang-select {
  font-size: 15px;
  color: #727272;
}
.lang-select__btn.active {
  color: #f4d300;
  font-weight: 500;
}
/* header section end */

/* hero section start */

.hero {
  padding-block: 170px 90px;
  border-bottom: 1px solid #707070;
}
.hero__title {
  font-size: 70px;
  line-height: 0.92;
  color: #e2e2e2;
  max-width: 630px;
  margin-bottom: 135px;
}
.theme-btn__wrap {
  gap: 36px;
}
.hero__btns {
  margin-bottom: 100px;
}
.section__para {
  font-size: 18px;
  line-height: 1.39;
}
.section__para--sm {
  font-size: 14px;
}
.hero .section__para--sm {
  color: #505050;
}
.hero__bottom {
  margin-top: 90px;
}
.scroll-down-btn img {
  width: 22px;
  transition: all 0.3s;
}
.hero__desc {
  max-width: 575px;
  margin-top: 10px;
}
.scroll-down-btn:hover img {
  filter: brightness(1000%);
}
/* hero section end */

/* features section start */
.features {
  padding-block: 135px;
}
.features__header {
  margin-bottom: 140px;
}
.features__header .section__para {
  max-width: 390px;
}
.features__items {
  margin-bottom: 120px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 36px;
}
.features__icon {
  width: fit-content;
  height: 48px;
  margin-bottom: 68px;
}
.features__icon img {
  max-height: 100%;
}
.features__title {
  margin-bottom: 28px;
}
.features__items .divider {
  width: 1px;
  background-color: #707070;
}
.features__item {
  padding-block: 56px 48px;
}
/* features section end */

/* industry section start */
.industry {
  padding-block: 115px;
}
.industry__thumb {
  aspect-ratio: 516 / 775;
  margin-bottom: 40px;
}
.industry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-btn--prev {
  left: -100px;
  z-index: 2;
}
.slider-btn img {
  width: 12px;
}
.slider-btn--next {
  right: 0;
  z-index: 2;
}
.industry__slider-container {
  margin-right: -82px;
}
.industry__slider-container::after {
  content: "";
  width: 455px;
  height: 611px;
  background: linear-gradient(-90deg, rgba(16, 16, 16, 1) 0%, rgba(16, 16, 16, 0.75) 33%, rgba(16, 16, 16, 0.5) 66%, rgba(16, 16, 16, 0) 100%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 1;
}
/* industry section end */

/* brands section start */
.brands__slider-container {
  margin-right: -82px;
}
.brands__logo {
  width: auto;
}
.brands {
  padding-top: 50px;
}
/* brands section end */

/* method section start */
.method {
  padding-block: 180px 225px;
}
.method__cards .row {
  --bs-gutter-x: 60px;
  --bs-gutter-y: 32px;
}
.method__arrow-icon {
  width: 22px;
}
.method__card-header {
  margin-bottom: 56px;
}
.method__title {
  margin-bottom: 18px;
}
.method__desc {
  padding-right: 22px;
}
.method__cards {
  margin-bottom: 120px;
}
/* method section end */

/* contact section start */
.contact {
  padding-block: 230px;
  border-top: 1px solid #707070;
}
.contact .row {
  --bs-gutter-x: 100px;
}
.contact__content {
  padding-top: 32px;
}
.form__input-label {
  color: #8e8e8e;
  margin-bottom: 7px;
  display: block;
}

/* --- ESTILOS DE INPUTS CORREGIDOS --- */

/* Input / Select / Textarea Base */
.form__input-field {
  width: 100%;
  height: 39px;
  background-color: transparent !important; /* Fuerza transparencia */
  border: 1px solid #707070;
  color: #e3e3e3 !important; /* Texto claro */
  padding-inline: 16px;
  appearance: none; /* Elimina estilos nativos */
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
}

/* Textarea específico */
.form__input-field--textarea {
  min-height: 122px;
  resize: none;
  padding: 16px;
}

/* Select (Dropdown) personalizado */
select.form__input-field {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3e3e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* Opciones del select (Dropdown abierto) */
select.form__input-field option {
  background-color: #101010; /* Fondo negro */
  color: #e3e3e3; /* Texto claro */
  padding: 10px;
}

/* Focus State */
.form__input-field:focus {
  outline: none;
  border-color: #f4d300;
  box-shadow: 0 0 0 4px rgba(244, 211, 0, 0.1);
}

/* Corrección de Autocompletado (Fondo Blanco) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #e3e3e3 !important;
    -webkit-box-shadow: 0 0 0px 1000px #101010 inset !important; /* Parche oscuro */
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #e3e3e3;
}

/* Validación Visual del JS */
.form__input-field:invalid {
  box-shadow: none;
}

.form__input-list {
  gap: 30px;
}
.form__input-wrap {
  gap: 20px;
}
.form__btn {
  font-size: 15px;
  letter-spacing: 0.03em;
  margin-top: 36px;
}
/* contact section end */
