/* =========================
   RESET
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.5;
}

/* =========================
   CONTENEDOR
   ========================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 20px;
}

.logo img {
  height: 60px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.65;
}

/* =========================
   BOTÓN HAMBURGUESA
   ========================= */

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  backdrop-filter: blur(6px);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #111111;
  margin: 6px 0;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   HERO HOME
   ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/hero.png");
  /* acá cambiamos el fondo del hero del home */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
}

.hero-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero-description {
  font-size: 20px;
  font-weight: 500;
  max-width: 650px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   HERO INTERNO
   ========================= */

.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* fondo por página */

.page-hero--sistemas {
  background-image: url("../img/servicios-hero.png");
}

.page-hero--diagnostico {
  background-image: url("../img/hero-nosotros.png");
}

.page-hero--mantenimiento {
  background-image: url("../img/guantes.png");
}

.page-hero--seguridad {
  background-image: url("../img/camara_2.png");
}

.page-hero--contacto {
  background-image: url("../img/hero-contacto.png");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
  padding-top: 80px;
}

.page-hero-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero h1 {
  font-size: 58px;
  line-height: 1.06;
  margin-bottom: 20px;
  font-weight: 800;
}

.page-hero-description {
  font-size: 19px;
  font-weight: 500;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
   BOTONES
   ========================= */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #111111;
}

.btn-outline-dark {
  background: transparent;
  color: #111111;
  border: 2px solid rgba(17, 17, 17, 0.18);
}

.btn-outline-dark:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* =========================
   TITULOS
   ========================= */

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff5a1f;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 19px;
  font-weight: 500;
  color: #5c5c5f;
}

/* =========================
   CLIENTES CARRUSEL
   ========================= */

.clientes {
  padding: 100px 0;
  background: #f7f7f8;
  overflow: hidden;
}

.clientes-carousel {
  width: 100%;
  overflow: hidden;
}

.clientes-track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: scrollClientes 35s linear infinite;
}

.clientes-track:hover {
  animation-play-state: paused;
}

.cliente-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 28px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.cliente-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.cliente-card img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@keyframes scrollClientes {
  from {
    transform: translateX(0);
  }

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

/* =========================
   PAGINA INTERNA - INTRO
   ========================= */

.page-intro {
  padding: 110px 0;
  background: linear-gradient(180deg, #f7f7f8 0%, #eeeeef 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.service-panel-accent {
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a1f 0%, #ff7f50 100%);
  margin-bottom: 18px;
}

.service-panel h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111111;
}

.service-panel p {
  font-size: 16px;
  font-weight: 500;
  color: #606067;
  line-height: 1.7;
}

.service-panel a {
  color: #111111;
  text-decoration: none;
}

.service-panel a:hover {
  text-decoration: underline;
}

/* =========================
   CONTACTO FORMULARIO
   ========================= */

.contact-form-card {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.contact-form {
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 16px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #111111;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8a8a90;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.08);
}

.form-group-full {
  width: 100%;
  margin-bottom: 24px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-start;
}

/* =========================
   BLOQUE UBICACIÓN CONTACTO
   ========================= */

.contact-location-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.contact-location-list p {
  font-size: 16px;
  font-weight: 500;
  color: #5f5f65;
  line-height: 1.7;
}

.contact-location-list a {
  color: #111111;
  text-decoration: none;
}

.contact-location-list a:hover {
  text-decoration: underline;
}

.contact-map-large {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-map-large iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   BLOQUE DESTACADO
   ========================= */

.feature-strip {
  padding: 110px 0;
  background: #ffffff;
}

.feature-strip-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.feature-copy h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 16px;
  color: #111111;
}

.feature-copy p:last-child,
.feature-copy p {
  font-size: 18px;
  font-weight: 500;
  color: #5f5f65;
  line-height: 1.75;
}

.feature-metrics {
  display: grid;
  gap: 18px;
}

.feature-metric {
  background: #f7f7f8;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 22px 24px;
}

.feature-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.feature-metric span {
  font-size: 15px;
  font-weight: 500;
  color: #5f5f65;
}

/* =========================
   PROCESO
   ========================= */

.process-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #f6f6f7 0%, #efeff1 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 90, 31, 0.08);
  color: #ff5a1f;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111111;
}

.process-card p {
  font-size: 15px;
  font-weight: 500;
  color: #616168;
  line-height: 1.65;
}

/* =========================
   CTA FINAL
   ========================= */

.cta-section {
  padding: 100px 0;
  background: #ffffff;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #f7f7f8 0%, #efeff1 100%);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 24px;
  padding: 46px 34px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.cta-box h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #111111;
}

.cta-box p {
  max-width: 700px;
  margin: 0 auto 28px auto;
  font-size: 18px;
  font-weight: 500;
  color: #616168;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.footer {
  padding: 28px 0 10px 0;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: #666666;
  line-height: 1.4;
  margin: 0;
}

.footer-contact {
  min-width: 420px;
}

.footer-contact h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111111;
}

.footer-contact-layout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 220px;
}

.footer-contact li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #555555;
}

.footer-contact a {
  text-decoration: none;
  color: #555555;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #111111;
}

.footer-map {
  width: 180px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #777777;
  margin: 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .page-hero h1 {
    font-size: 50px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-contact {
    min-width: 100%;
  }

  .footer-contact-layout {
    flex-direction: column;
  }

  .footer-contact ul {
    max-width: 100%;
  }

  .footer-map {
    width: 100%;
    max-width: 320px;
    height: 150px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(17, 17, 17, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    font-size: 14px;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-description {
    font-size: 18px;
  }

  .page-hero {
    min-height: 60vh;
  }

  .page-hero-content {
    padding-top: 70px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero-description {
    font-size: 17px;
  }

  .clientes-track {
    gap: 16px;
    animation: scrollClientes 25s linear infinite;
  }

  .cliente-card {
    min-width: 140px;
    padding: 16px 20px;
  }

  .cliente-card img {
    max-height: 38px;
  }

  .page-intro,
  .feature-strip,
  .process-section,
  .cta-section {
    padding: 90px 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-box h2 {
    font-size: 34px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 24px 0 10px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 18px;
  }

  .footer-brand img {
    height: 38px;
  }

  .contact-form-card {
    padding: 28px 22px;
  }

  .contact-map-large {
    height: 260px;
  }
}

@media (max-width: 480px) {

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero-description,
  .page-hero-description,
  .section-subtitle,
  .cta-box p,
  .contact-location-list p {
    font-size: 16px;
  }

  .btn,
  .btn-outline-dark {
    width: 100%;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* =========================
   NUEVA PÁGINA NOSOTROS
   ========================= */

.page-hero--nosotros {
  background-image: url("../img/hero-nosotros.png");
}