* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HERO BRUTAL */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 25%, rgba(226,27,35,.28), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.81), transparent 20%),
    linear-gradient(135deg, #070707 0%, #141414 45%, #e21b23 160%);
  padding: 18px 5% 34px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.65)),
    url("./img/fondo1.png");
  background-size: cover;
  background-position: center;
  opacity: .72;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -160px;
  background: rgba(226,27,35,.35);
  border-radius: 50%;
  filter: blur(35px);
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.12);
  }
}

.navbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.86);
  padding: 12px 22px;
  border-radius: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.logo img {
  width: 245px;
  height: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  font-size: 16px;
  color: #111111;
  font-weight: bold;
  transition: .3s;
}

.nav-links a:hover {
  color: #e21b23;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: calc(100vh - 130px);
  padding: 80px 8%;
  border-radius: 36px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeUp .9s ease both;
}

.hero-badge span {
  width: 10px;
  height: 10px;
  background: #e21b23;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(226,27,35,.9);
}

.tag {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-size: 18px;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: .98;
  margin-bottom: 28px;
  color: #ffffff;
  max-width: 1180px;
  letter-spacing: -3px;
  text-shadow: 0 22px 50px rgba(0,0,0,.45);
  animation: fadeUp 1s ease .15s both;
}

.hero-text {
  font-size: clamp(20px, 2vw, 30px);
  color: #f1f1f1;
  margin-bottom: 38px;
  max-width: 860px;
  animation: fadeUp 1s ease .3s both;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
  animation: fadeUp 1s ease .45s both;
}

.btn-primary {
  display: inline-block;
  background: #e21b23;
  color: white;
  padding: 18px 34px;
  border-radius: 45px;
  font-weight: bold;
  font-size: 18px;
  transition: .3s;
  box-shadow: 0 18px 35px rgba(226,27,35,.30);
}

.btn-primary:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-4px);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: white;
  padding: 18px 34px;
  border-radius: 45px;
  font-weight: bold;
  font-size: 18px;
  transition: .3s;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  color: #111111;
  transform: translateY(-4px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(760px, 100%);
  animation: fadeUp 1s ease .6s both;
}

.hero-proof div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.hero-proof strong {
  display: block;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-proof p {
  color: #eeeeee;
  font-size: 14px;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-indicator span {
  width: 9px;
  height: 9px;
  background: #e21b23;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.7);
    opacity: 1;
  }
}

/* GENERAL */
.section {
  padding: 90px 8%;
  background: #ffffff;
  color: #111111;
}

.container {
  max-width: 1280px;
  margin: auto;
}

h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #111111;
}

.section p {
  font-size: 18px;
  color: #444444;
}

/* QUIÉNES SOMOS */
#nosotros {
  background:
    linear-gradient(rgba(10,10,10,0.82), rgba(10,10,10,0.82)),
    url("./img/oficina1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  padding: 60px 6%;
}

#nosotros .tag {
  color: #ff2a2a;
  text-align: center;
  margin-bottom: 12px;
  font-size: 14px;
}

#nosotros h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 28px;
  font-size: 38px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-box {
  background: rgba(25,25,25,0.82);
  backdrop-filter: blur(5px);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.about-box:hover {
  transform: translateY(-6px);
  border-color: #e21b23;
}

.about-box h3 {
  font-size: 18px;
  color: #ff2a2a;
  margin-bottom: 10px;
}

.about-box p {
  color: #f1f1f1;
  font-size: 14px;
}

/* SERVICIOS */
.cards {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #ffffff;
  padding: 35px;
  border-radius: 22px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: .3s;
  cursor: pointer;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #e21b23;
}

.card h3 {
  color: #e21b23;
  font-size: 22px;
}

.service-front {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.service-icon {
  width: 85px;
  height: auto;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .35s ease;
}

.service-card.active .service-detail {
  max-height: 900px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

/* MÉTODO */
#metodo {
  background: #111111;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 100px 6% 120px;
}

#metodo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(226,27,35,.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(226,27,35,.10), transparent 28%);
}

#metodo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 55px;
  background: #e21b23;
}

#metodo .container {
  position: relative;
  z-index: 2;
}

#metodo .tag {
  color: #ff3b30;
  text-align: center;
  font-size: 15px;
}

#metodo h2 {
  color: #ffffff;
  text-align: center;
  font-size: 58px;
  margin-bottom: 65px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}

.steps div {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 35px 28px;
  text-align: center;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #e21b23;
  color: white;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 22px;
}

.steps h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.steps p {
  color: #d8d8d8;
  font-size: 18px;
}

/* STATS */
.stats {
  background: #e21b23;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stats h2,
.stats p {
  color: white;
}

/* CLIENTES */
.clientes {
  background: #ffffff;
  padding: 90px 8%;
}

.clientes .tag {
  color: #111111;
  font-size: 14px;
}

.clientes h2 {
  font-size: 56px;
  max-width: 950px;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.client-logo {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 26px;
  padding: 30px;
  width: calc(33.333% - 20px);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s ease;
  box-shadow: 0 12px 35px rgba(0,0,0,.04);
}

.client-logo:hover {
  transform: translateY(-8px);
  border-color: #e21b23;
  box-shadow: 0 20px 45px rgba(226,27,35,.12);
}

.client-logo img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

/* CONTACTO */
.contacto-premium {
  background:
    radial-gradient(circle at top left, rgba(226,27,35,.55), transparent 35%),
    linear-gradient(135deg, #090909 0%, #181818 45%, #e21b23 140%);
  padding: 120px 8%;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contacto-premium::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: rgba(226,27,35,.35);
  border-radius: 50%;
  filter: blur(20px);
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-left .tag {
  color: #ffffff;
}

.contact-left h2 {
  color: #ffffff;
  font-size: 60px;
  line-height: 1.05;
  margin-bottom: 25px;
}

.contact-left p {
  color: #f2f2f2;
  font-size: 21px;
  margin-bottom: 35px;
}

.contact-right {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 6px solid #ffffff;
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  transition: .3s;
}

.contact-card:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,.18);
}

.contact-card h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-card p {
  color: #ffffff;
  font-size: 17px;
}

/* FOOTER */
footer {
  background: #111111;
  color: #aaaaaa;
  text-align: center;
  padding: 25px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .about-grid,
  .cards,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-logo {
    width: calc(50% - 16px);
  }

  h1 {
    font-size: 58px;
  }

  #metodo h2,
  .contact-left h2 {
    font-size: 42px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .logo img {
    width: 185px;
  }

  .navbar {
    border-radius: 20px;
    padding: 10px 16px;
  }

  .hero {
    padding: 14px 4% 24px;
  }

  .hero-content {
    min-height: calc(100vh - 110px);
    padding: 50px 22px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .scroll-indicator {
    display: none;
  }

  .about-grid,
  .cards,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    width: 100%;
  }

  .service-front {
    flex-direction: column;
    text-align: center;
  }

  .contacto-premium {
    padding: 80px 6%;
  }

  .contact-left h2 {
    font-size: 36px;
  }
}