
/* =========================================
   BOLTING SERVICES - ESTILOS GENERALES
========================================= */

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #5d5d5d;
  --gray-light: #bdbdbd;
  --red: #d71920;
  --red-light: #e46368;

  --font-title: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1320px;
  --btn-gradient: linear-gradient(115deg, #a50000 0%, #ff0015 45%, #ff5a35 100%);
  --btn-gradient-hover: linear-gradient(115deg, #080808 0%, #242424 65%, #000000 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.section-padding {
  padding: 110px 0;
}

.text-red {
  color: var(--red);
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* =========================================
   BOTONES
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .3s, color .3s,
              border-color .3s, transform .3s;
}

.btn span,
.header-cta span,
.text-link span {
  font-size: 19px;
  line-height: 1;
  transition: transform .3s;
}

.btn:hover span,
.header-cta:hover span,
.text-link:hover span {
  transform: translate(3px, -3px);
}



.btn-red {
  background: var(--btn-gradient);
  color: #fff;
  box-shadow: 0 5px 20px rgba(255, 0, 20, .30);
  transition: all .3s ease;
}

.btn-red:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transform: translateY(-3px);
}



.btn-outline {
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(115deg, #a50000 0%, #ff0015 45%, #ff5a35 100%) border-box;
  color: #111;
  transition: all .3s ease;
}

.btn-outline:hover {
  background:
    var(--btn-gradient-hover) padding-box,
    var(--btn-gradient-hover) border-box;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 0, 20, .35);
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #080808;
}

.header-container {
  width: min(92%, 1440px);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  width: 225px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: color .25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  border: 1px solid var(--gray-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: background .3s, border-color .3s;
}

.header-cta span {
  color: var(--red);
}

.header-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.header-cta:hover span {
  color: var(--white);
}



.site-header {
  background: linear-gradient(
    110deg,
    #080808 0%,
    #242424 65%,
    #521015 100%
  );
}



/* MENU MOBILE */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  height: calc(100svh - 90px);
  max-height: 650px;
  min-height: 480px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}


.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.90) 27%,
    rgba(255,255,255,.45) 45%,
    transparent 70%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  width: min(90%, var(--container));
  margin: 0 auto;
  padding: 35px 0;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(48px, 4vw, 64px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.8px;
  text-transform: uppercase;
  margin-bottom: 50px;
}


.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: var(--gray-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.eyebrow-line {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}




.hero-content > p {
  max-width: 390px;
  margin: 22px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #343434;
}

/* =========================================
   UNIDADES DE NEGOCIO
========================================= */



.business-units {
  background: linear-gradient(
    125deg,
    #0a0a0a 0%,
    #242424 45%,
    #521015 100%
  );
}


.business-units .section-heading,
.business-units .section-heading h2,
.business-units .section-heading p {
  color: #ffffff;
}


.section-heading {
  margin-bottom: 45px;
}

.heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.section-heading h2 {
  font-family: var(--font-title);
  font-size: clamp(40px, 4vw, 61px);
  font-weight: 800;
  line-height: .99;
  text-transform: uppercase;
}

.heading-description {
  max-width: 310px;
  padding-bottom: 5px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-dark);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.unit-card {
  position: relative;
  height: 410px;
  min-width: 0;
  overflow: hidden;
  background: #171717;
  clip-path: polygon(
    0 0,
    calc(100% - 25px) 0,
    100% 25px,
    100% 100%,
    25px 100%,
    0 calc(100% - 25px)
  );
  transition: transform .35s ease;
}

.unit-card:hover {
  transform: translateY(-8px);
}

.unit-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.unit-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.65) 40%,
    rgba(0,0,0,.08) 100%
  );
  pointer-events: none;
}

.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.unit-card:hover .unit-image img {
  transform: scale(1.06);
}

.unit-body {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 30px;
  transition: transform .35s ease;
}

.unit-body h3 {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.card-accent {
  width: 45px;
  height: 3px;
  margin: 16px 0;
  background: var(--red);
}

.unit-card:hover .unit-body {
  transform: translateY(-8px);
}

.units-action {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.units-action .btn {
  min-width: 220px;
}

.unit-body p {
  max-width: 330px;
  margin: 0;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: color .3s;
}

.text-link:hover {
  color: var(--black);
}

/* =========================================
   NOSOTROS / ESPECIALIDAD
========================================= */

.expertise {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.expertise-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 85px max(45px, calc((100vw - 1320px) / 2));
  padding-right: 35px;
  background: #080808;
}

.eyebrow-light {
  color: var(--gray-light);
}

.expertise h2 {
  font-family: var(--font-title);
  font-size: clamp(53px, 5vw, 77px);
  font-weight: 800;
  line-height: .94;
  text-transform: uppercase;
}

.expertise-content > p {
  max-width: 390px;
  margin: 28px 0 35px;
  color: #d5d5d5;
  font-size: 14px;
  line-height: 1.85;
}

.expertise-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.expertise-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 115px;
  background: #080808;
  clip-path: polygon(0 0, 25% 0, 100% 50%, 25% 100%, 0 100%);
}

.expertise-image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 6%;
  height: 100%;
  width: 1px;
  background: var(--red);
  transform: skewX(-25deg);
  opacity: .8;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   CONTACTO HOME
========================================= */

.home-contact {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 440px;
  overflow: hidden;
  background: #fff;
}

.contact-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 75px 40px 75px max(5vw, calc((100vw - 1320px) / 2));
}

.contact-left h2 {
  font-family: var(--font-title);
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 800;
  line-height: .97;
  text-transform: uppercase;
}

.contact-left > p {
  margin: 25px 0 30px;
  font-size: 14px;
  color: var(--gray-dark);
}

.contact-right {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #101010;
}

.contact-right img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.contact-right::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -5%;
  bottom: -5%;
  left: -90px;
  width: 145px;
  background: #fff;
  transform: skewX(-25deg);
  pointer-events: none;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 55px 0 22px;
  background: linear-gradient(115deg, #111 0%, #222 65%, #31090c 100%);
  color: #fff;
}



/* ESTRUCTURA PRINCIPAL */

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-bottom: 50px;
}

/* LOGO */

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 45px;
  border-right: 2px solid #d71920;
}


.footer-brand > a {
  display: block;
  width: 100%;
}

.footer-brand img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* COLUMNA DERECHA */

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
}

/* REDES SOCIALES */

.footer-social {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 45px 0 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  color: #fff;
  transition: transform 0.3s ease;
}

.footer-social img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Instagram y LinkedIn más grandes */

.footer-social a:nth-child(1) img,
.footer-social a:nth-child(2) img {
  width: 52px;
  height: 52px;
}

.footer-social a:hover img {
  transform: scale(1.15);
}

/* DATOS DE CONTACTO */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.footer-contact > a,
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  line-height: 1.7;
}

/* Teléfonos en una misma línea */

.footer-contact-row > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
}

.footer-contact-row > div a {
  white-space: nowrap;
}

/* ÍCONOS DE CONTACTO */

.footer-contact-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-contact img[src$="mail.png"] {
  width: 34px;
  height: 34px;
}

.footer-contact img[src$="telefono.png"] {
  width: 18px;
  height: 18px;
}

.footer-contact img[src$="ubicacion.png"] {
  width: 22px;
  height: 22px;
}

.footer-contact a {
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--red-light);
}

/* COPYRIGHT */

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  border-top: 1px solid #555;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  line-height: 1.6;
  color: #ccc;
}


/* REVELADO AL HACER SCROLL */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Aparición escalonada */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* =========================================
   ACCESIBILIDAD
========================================= */

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* BOTÓN FLOTANTE WHATSAPP */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0,0,0,.3);
  z-index: 9999;
  transition: transform .3s ease, box-shadow .3s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
}