:root {
  --bg-dark: #0d0d0d;
  --bg-soft: rgba(10, 12, 12, 0.2);
  --text-light: #f5f6f7;
  --text-soft: rgba(255, 255, 255, 0.7);
  --primary: #aa001f;
  --primary-dark: #7e0018;
  --secondary: #0dcaf0;
  --navy: rgba(0, 0, 0, 0.48);
  --focus: #ffd54a;
  --red-soft: #d72e4c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font: 20px Montserrat, sans-serif;
  line-height: 1.8;
  color: var(--text-light);
  background: url(../images/fondo.png) center/cover fixed no-repeat var(--bg-dark);
}

a {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  font-size: 16px;
  margin-bottom: 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  z-index: 99999;
  border-radius: 8px;
  text-decoration: none;
}

main {
  display: block;
}

.margin {
  margin-bottom: 45px;
}

.bg-1,
.bg-2,
.bg-3,
.bg-4 {
  color: #fff;
}

.bg-1 {
  background-color: var(--bg-soft);
}

.bg-2,
.bg-3,
.bg-4 {
  background-color: var(--bg-dark);
}

.container-fluid {
  padding-top: 70px;
  padding-bottom: 70px;
}

.navbar {
  position: fixed;
  width: 100%;
  background-color: var(--navy);
  padding: 15px 20px;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  font-size: 12px;
  letter-spacing: 5px;
  z-index: 9999;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.navbar-brand img {
  width: 150px;
  max-width: 100%;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav>li>a {
  color: #aa001f !important;
  font-style: italic;
  font-weight: bold;
  font-size: medium;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 1rem;
}

.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding-top: 120px;
}

.hero-logo {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.48);
  border-radius: 18px;
  padding: 12px;
}

.txtWhiteFondo {
  padding-top: 50px !important;
  color: #aa001f;
  text-shadow: -1px 0 1px #fc4a4acc;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.txtWhiteFondo2 {
  padding-top: 10px !important;
  color: #aa001f;
  text-shadow: -1px 0 1px #fc4a4acc;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-style: italic;
}

.section-title {
  color: var(--primary);
  text-shadow: -1px 0 1px rgba(252, 74, 74, 0.8);
}

.whsp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whsp:hover {
  background-color: var(--primary-dark);
}

.contenedor-servicios {
  text-align: center;
  margin: 20px 0;
}

.lista-alineada-centrada {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-alineada-centrada li {
  color: #fff;
  font-size: 1.15rem;
  line-height: 2.2;
  position: relative;
  padding-left: 25px;
}

.lista-alineada-centrada li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.container-custom-width {
  max-width: 800px;
}

.style-subtitulo {
  font-size: 1.25rem;
}

.style-descripcion {
  font-size: 1.1rem;
}

.ubicacion-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
}

.ubicacion-map {
  width: 100%;
  min-height: 340px;
  height: 340px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
}

.ubicacion-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#contacto .text-left {
  text-align: left;
}

#contacto h3,
#contacto .margin {
  color: var(--primary);
}

.transition-btn {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.transition-btn:hover {
  transform: scale(1.03);
}

.style-bajada-servicios {
  max-width: 700px;
  font-size: 1.15rem;
}

.card-servicio-custom {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(37, 37, 37, 0.99);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-servicio-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.card-servicio-custom .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.imgprod {
  align-self: center;
}

.btn-red,
.btn-outline-light,
.btn-success,
.btn-wsp {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  display: block;
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 1.1rem;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-red:hover,
.btn-outline-light:hover,
.btn-success:hover,
.btn-wsp:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-wsp {
  color: #fff !important;
}

.card-text.text-secondary {
  color: rgba(255, 255, 255, 0.86) !important;
}

.reel-section {
  background: radial-gradient(circle at top, rgba(170, 0, 31, 0.18), rgba(13, 13, 13, 0.8));
}

.reel-carousel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-carousel .carousel-item img {
  height: 440px;
  object-fit: cover;
}

.video-frame {
  width: min(100%, 540px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  background: #000;
}

.review-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 16px 25px rgba(0, 0, 0, 0.12);
}

.review-card p {
  margin: 16px 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.review-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stars {
  color: #f7c948;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
}

.rating-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(170, 0, 31, 0.14);
  border: 1px solid rgba(170, 0, 31, 0.4);
  color: #fff;
}

.rating-box strong {
  color: var(--primary);
  font-size: 1.3rem;
}

.widget-google-reviews {
  max-width: 1000px;
  margin: 0 auto;
}

.widget-google-reviews .commonninja_component {
  width: 100%;
}

.widget-google-reviews .commonninja_component > * {
  max-width: 100%;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  .navbar {
    padding: 12px 15px;
  }

  .navbar-collapse {
    padding-top: 10px;
  }

  .nav-actions {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
  }

  .txtWhiteFondo {
    padding-top: 30px !important;
  }

  .whsp {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
}