/* =============================================
   Insena - Estilos principales
   ============================================= */

/* --- Section Header (compartido) --- */
.section-header {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

.servicios_section .section-header,
.marcas_section .section-header,
.trabajar_section .section-header,
.contacto_section .section-header {
  width: 100%;
  max-width: 1315px;
  margin-left: auto;
  margin-right: auto;
}

.section-number {
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.section-title {
  border: 1px solid var(--color-black);
  padding: 0 30px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-size: 20px;
  text-transform: uppercase;
  margin-left: 0;
}

/* --- Header / Navegación --- */
.insena_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 64px 40px 40px;
}

.insena_header .header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 240px;
  max-width: 1400px;
  margin: 0 auto;
}

.insena_header .logo-container {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.insena_header .logo-container img,
.insena_header .logo-container a {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.insena_header .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.insena_header .menu-nav {
  display: flex;
  align-items: center;
  gap: 46px;
  background: white;
  padding: 24px 35px 24px 25px;
  border-radius: 40px;
  height: 60px;
}

.insena_header .menu-nav ul {
  display: flex;
  align-items: center;
  gap: 46px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.insena_header .menu-nav ul li a {
  font-size: 18px;
  color: var(--color-black);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.insena_header .menu-nav ul li a:hover {
  opacity: 0.7;
}

.insena_header .header-brand {
  font-family: var(--font-graphik);
  font-size: 34px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 60px;
  width: 127px;
}

.header-brand-logo,
.header-brand-logo img {
  display: block;
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-brand-logo,
.footer-brand-logo img {
  display: block;
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

/* --- Hero Section --- */
.hero_section {
  position: relative;
  width: 100%;
  min-height: 870px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 100px 40px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1315px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 888px;
}

.hero-badge {
  border: 1px solid var(--color-white);
  padding: 0 30px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  width: fit-content;
}

.hero-badge span {
  font-size: 20px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-heading {
  font-family: var(--font-graphik-light);
  font-size: 60px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 70px;
  letter-spacing: -1.8px;
  margin: 0;
}

/* --- Diferencia Section --- */
.diferencia_section {
  background: var(--color-white);
  padding: 80px 43px 200px;
  position: relative;
}

.diferencia_section .section-header {
  max-width: 1315px;
  margin: 0 auto 48px;
}

.diferencia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1315px;
  margin: 0 auto;
}

.diferencia-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.diferencia-image {
  width: 312px;
  height: 358px;
  position: relative;
  overflow: hidden;
  background: #d9d9d9;
}

.diferencia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diferencia-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diferencia-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: -0.48px;
}

.diferencia-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.diferencia-list li {
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.48px;
}

/* --- Cifras Section --- */
.cifras_section {
  background: var(--color-blue);
  padding: 80px 48px 200px;
  position: relative;
  color: var(--color-white);
}

.cifras-header {
  max-width: 1315px;
  margin: 0 auto 48px;
}

.cifras-header .section-title {
  border-color: var(--color-white);
  color: var(--color-white);
}

.cifras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1315px;
  margin: 0 auto;
}

.cifra-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 10px;
  position: relative;
}

.cifra-line {
  width: 360px;
  height: 1px;
  background: var(--color-white);
  opacity: 0.3;
}

.cifra-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding-top: 9px;
}

.cifra-number {
  font-family: var(--font-graphik);
  font-size: 120px;
  font-weight: 300;
  line-height: 1.25;
  text-align: center;
  color: var(--color-white);
  letter-spacing: -3.6px;
  height: 139px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cifra-text {
  font-size: 24px;
  font-weight: 300;
  text-align: center;
  color: var(--color-white);
  line-height: normal;
  width: 360px;
}

.cifras-k-indicators {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.k-indicator {
  font-size: 120px;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: -3.6px;
  width: 360px;
  text-align: center;
}

/* --- Servicios Section --- */
.servicios_section {
  background: #EAEAEA;
  padding: 80px 42px 200px;
  position: relative;
}

.servicios-content {
  display: flex;
  gap: 73px;
  align-items: flex-start;
  width: 100%;
  max-width: 1315px;
  margin: 0 auto;
}

.servicios-left {
  flex: 1;
  min-width: 0;
}

.servicios-heading {
  font-size: 46px;
  font-weight: 300;
  line-height: 56px;
  letter-spacing: -0.92px;
  margin: 0 0 60px;
}

.servicios-accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-black);
  font-family: var(--font-graphik);
}

.accordion-trigger:hover {
  opacity: 0.7;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accordion-label {
  flex: 1;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.48px;
}

.accordion-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-v {
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-panel-inner {
  padding: 0 0 24px 52px;
}

.accordion-panel-inner p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-black);
  opacity: 0.7;
}

.servicios-map-container {
  display: flex;
  flex-direction: column;
  gap: 43px;
  max-width: 353px;
  flex-shrink: 0;
  padding-top: 30px;
}

.mapa-placeholder {
  width: 352.68px;
  height: 270.85px;
  background: #f0f0f0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mapa-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mapa-text h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.mapa-text p {
  font-size: 18px;
  line-height: 1.5;
}

/* --- Marcas Section --- */
.marcas_section {
  background: var(--color-white);
  padding: 80px 42px 200px;
  position: relative;
}

.marcas-content {
  display: flex;
  flex-direction: column;
  gap: 46px;
  margin-top: 0;
  width: 100%;
  max-width: 1315px;
  margin-left: auto;
  margin-right: auto;
}

.marcas-heading {
  font-size: 46px;
  font-weight: 300;
  line-height: 56px;
  letter-spacing: -0.92px;
  max-width: 1025px;
  margin: 0;
}

.marcas-line {
  width: 100%;
  height: 1px;
  background: var(--color-black);
  opacity: 0.2;
}

.logos-container {
  width: 100%;
  height: 98px;
  overflow: hidden;
  position: relative;
}

.logos-scroll {
  display: flex;
  gap: 90px;
  align-items: center;
  height: 100%;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  height: 100px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  max-height: 100%;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Trabajar Section --- */
.trabajar_section {
  background: var(--color-blue);
  padding: 80px 43px 200px;
  color: var(--color-white);
  position: relative;
}

.trabajar-header .section-number,
.trabajar-header .section-title {
  border-color: var(--color-white);
  color: var(--color-white);
}

.trabajar-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 0;
  width: 100%;
  max-width: 1315px;
  margin-left: auto;
  margin-right: auto;
}

.trabajar-form-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.trabajar-form-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trabajar-title {
  font-size: 46px;
  font-weight: 400;
  line-height: 3rem;
  letter-spacing: -0.92px;
  margin: 0;
}

.trabajar-form-header p {
  font-size: 24px;
  line-height: normal;
  letter-spacing: -0.72px;
}

.trabajar-form {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.trabajar-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.form-input {
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  padding: 16px 25px;
  border-radius: 44px;
  font-size: 24px;
  font-family: var(--font-graphik);
  height: 56px;
}

.form-input::placeholder {
  color: var(--color-white);
  opacity: 0.7;
}

.btn-enviar {
  background: var(--color-white);
  color: var(--color-blue);
  border: 1px solid var(--color-white);
  padding: 0 60px;
  border-radius: 40px;
  font-size: 24px;
  font-family: var(--font-graphik);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  width: fit-content;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.trabajar-form-actions .btn-enviar {
  margin: 0 0 0 auto;
}

.btn-enviar:hover {
  opacity: 0.9;
}

.cv-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 25px 0 9px;
  height: 56px;
  border: 1px solid var(--color-white);
  border-radius: 44px;
  width: fit-content;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cv-upload:hover {
  opacity: 0.7;
}

.upload-icon {
  width: 16px;
  height: 27px;
}

.cv-upload span {
  font-size: 24px;
  text-underline-offset: 16%;
}

/* --- Contacto Section --- */
.contacto_section {
  background: var(--color-black);
  padding: 80px 42px 200px;
  color: var(--color-white);
  position: relative;
}

.contacto-header .section-title {
  border-color: var(--color-white);
  color: var(--color-white);
}

.contacto-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 0;
  width: 100%;
  max-width: 1315px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-form-container {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.contacto-form-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 571px;
}

.contacto-title {
  font-size: 46px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.92px;
  margin: 0;
}

.contacto-form-header p {
  font-size: 24px;
  line-height: normal;
  letter-spacing: -0.72px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.contacto-input-full {
  width: 100%;
}

.contacto-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contacto-input-half {
  width: 100%;
}

.contacto-divider {
  width: 100%;
  height: 1px;
  background: var(--color-white);
}

.contacto-oficinas {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}

.contacto-oficinas-logo {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.contacto-oficinas-logo img,
.contacto-oficinas-logo a {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contacto-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 67px;
}

.contacto-location h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.48px;
  margin-bottom: 30px;
}

.location-content {
  display: flex;
  gap: 50px;
}

.location-address {
  font-size: 18px;
  line-height: 1.5;
}

.location-address p {
  margin-bottom: 8px;
}

.location-address strong {
  font-weight: 500;
}

.location-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  border: 0.748px solid var(--color-white);
  padding: 0 18.695px;
  height: 41.877px;
  border-radius: 32.904px;
  display: flex;
  align-items: center;
  gap: 11.965px;
  font-size: 18px;
  width: fit-content;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-item:hover {
  opacity: 0.7;
}

.contact-item svg {
  flex-shrink: 0;
}

/* --- Footer --- */
.insena_footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 0 42px 80px;
}

.insena_footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1315px;
  margin: 0 auto;
  padding-top: 50px;
}

.insena_footer .footer-brand {
  font-size: 25px;
  font-weight: 500;
}

.insena_footer .footer-links-nav ul {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.insena_footer .footer-links-nav ul li a {
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.insena_footer .footer-links-nav ul li a:hover {
  color: var(--color-white);
}

.wpcf7 input[type="file"] {
  display: none;
}

.wpcf7 input[type="file"]+label {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 4px;
}