*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 102, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
  color: #111111;
  font-family: 'Ethnocentric', 'Orbitron', 'Eurostile Extended', 'Bank Gothic', sans-serif;
  overflow-x: hidden;
}

main > .bg-background,
.bg-background,
.bg-surface,
.light-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 102, 0, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fff8f2 100%) !important;
  color: #111111;
}

.bg-surface-container,
.bg-surface-container-lowest {
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.08), rgba(255, 255, 255, 0.96) 42%),
    #ffffff !important;
  border-color: rgba(255, 102, 0, 0.24) !important;
  box-shadow: 0 18px 54px rgba(31, 20, 12, 0.1);
}

.text-on-surface {
  color: #111111 !important;
}

.text-secondary {
  color: #3d3029 !important;
}

body h1,
body h2,
body h3,
body h4,
body p:not(.form-status),
body label,
.light-section h2,
.light-section h3,
.light-section h4,
.light-section p:not(.form-status),
.light-section span:not(.material-symbols-outlined),
.light-section label {
  color: #111111 !important;
}

.light-section .text-secondary {
  color: #3d3029 !important;
}

.light-section .bg-surface-container {
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.08), rgba(255, 255, 255, 0.94) 42%),
    #ffffff !important;
  border-color: rgba(255, 102, 0, 0.28) !important;
  box-shadow: 0 18px 54px rgba(31, 20, 12, 0.12);
}

.light-section input,
.light-section select,
.light-section textarea {
  background: #ffffff !important;
  border-color: rgba(17, 17, 17, 0.16) !important;
  color: #111111 !important;
}

.light-section input::placeholder,
.light-section textarea::placeholder {
  color: #75665c;
}

.dark-section {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 102, 0, 0.28), transparent 28%),
    radial-gradient(circle at 10% 34%, rgba(255, 181, 150, 0.12), transparent 24%),
    linear-gradient(180deg, #12100f 0%, #050505 100%) !important;
  color: #ffffff;
}

.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p,
.dark-section li,
.dark-section span:not(.material-symbols-outlined) {
  color: #fff7f2 !important;
}

.dark-section .text-secondary {
  color: #f0d9cc !important;
}

.dark-section .bg-surface-container {
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.16), rgba(255, 255, 255, 0.055) 45%, rgba(0, 0, 0, 0.32)),
    #1d1714 !important;
  border-color: rgba(255, 132, 42, 0.42) !important;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.36), 0 0 34px rgba(255, 102, 0, 0.12);
}

.dark-section .bg-primary-container\/10 {
  background-color: rgba(255, 102, 0, 0.18) !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  grid-column: span 3;
}

.service-card-wide {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .service-card,
  .service-card-wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .service-card,
  .service-card-wide {
    grid-column: span 12;
  }
}

#inicio {
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 102, 0, 0.16), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fff7f0 100%);
}

#inicio h1 {
  color: #111111;
  text-shadow: none;
}

.kinetic-border {
  border: 1px solid rgba(255, 102, 0, 0.34);
}

.kinetic-border:hover {
  border-color: rgba(255, 102, 0, 0.78);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #FF6600, #ffb596);
  box-shadow: 0 0 18px rgba(255, 102, 0, 0.55);
}

nav {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 240, 0.92) 42%, rgba(255, 233, 219, 0.9) 100%) !important;
  border-color: rgba(255, 102, 0, 0.18) !important;
  transition: height 220ms ease, background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  box-shadow: 0 14px 40px rgba(31, 20, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  overflow: hidden;
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 102, 0, 0.16), transparent 20%),
    radial-gradient(circle at 86% 10%, rgba(255, 181, 150, 0.22), transparent 24%);
  opacity: 0.95;
}

nav::after {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.34), transparent);
}

nav.is-scrolled {
  height: 68px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 236, 0.95) 45%, rgba(255, 228, 209, 0.92) 100%) !important;
  border-color: rgba(255, 102, 0, 0.24);
  box-shadow: 0 18px 44px rgba(31, 20, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.6vw, 28px);
  min-width: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.nav-link {
  position: relative;
  color: #352117;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #FF6600, #ff9d61);
  transition: transform 200ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #111111;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.22);
  color: #4c2400 !important;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: all 0.22s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 236, 0.92));
  box-shadow: 0 10px 24px rgba(255, 102, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.portal-btn:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 238, 225, 0.96));
  border-color: rgba(255, 102, 0, 0.42);
  box-shadow: 0 14px 28px rgba(31, 20, 12, 0.12), 0 0 0 4px rgba(255, 102, 0, 0.08);
  transform: translateY(-1px);
}

nav .text-on-surface {
  color: #111111 !important;
}

.security-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 12px);
  min-width: 0;
  width: fit-content;
  max-height: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #111111;
  text-decoration: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.security-brand:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.security-brand-logo {
  width: 48px;
  height: 44px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(255, 102, 0, 0.14));
  flex: 0 0 auto;
}

.security-brand-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.security-brand-name {
  color: #111111 !important;
  display: block;
  max-width: min(48vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 1.12rem !important;
  line-height: 1.08 !important;
}

@media (max-width: 1023px) {
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 640px) {
  nav {
    height: 72px !important;
  }

  nav.is-scrolled {
    height: 64px !important;
  }

  .nav-inner {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding-left: 16px;
    padding-right: 12px;
  }

  .security-brand-logo {
    width: 40px;
    height: 38px;
    border-radius: 10px;
  }

  .security-brand {
    flex: 0 1 auto;
    overflow: hidden;
  }

  .security-brand-name {
    max-width: calc(100vw - 178px);
    white-space: nowrap;
    font-size: clamp(0.76rem, 3.45vw, 0.96rem) !important;
    line-height: 1.08 !important;
  }

  .portal-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 0.64rem;
  }

  .portal-btn svg {
    width: 12px;
    height: 12px;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease, border-color 250ms ease, background-color 250ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  animation: hero-copy-in 850ms ease both;
}

.hero-visual {
  animation: hero-visual-in 950ms ease 140ms both;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-visual img {
  display: block;
  height: auto;
}

.lift-on-scroll {
  transition: opacity 700ms ease, transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.lift-on-scroll:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(31, 20, 12, 0.12), 0 0 38px rgba(255, 102, 0, 0.16);
}

main img {
  filter: brightness(1.16) contrast(1.08) saturate(1.12);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.46), transparent 48%, rgba(255, 181, 150, 0.22));
  filter: blur(26px);
  opacity: 0.78;
}

.hero-visual img {
  box-shadow: 0 30px 90px rgba(31, 20, 12, 0.18), 0 0 0 1px rgba(255, 144, 69, 0.34), 0 0 42px rgba(255, 102, 0, 0.16);
}

a.bg-primary-container,
button.bg-primary-container {
  box-shadow: 0 18px 42px rgba(255, 102, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  text-decoration: none;
}

.service-card,
.service-card-wide,
#contacto .bg-surface-container,
.contact-footer-card {
  border-color: rgba(255, 144, 69, 0.34) !important;
}

.contact-footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(255, 144, 69, 0.28);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(31, 20, 12, 0.06);
}

.contact-footer-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-footer-card-header {
  display: grid;
  gap: 6px;
  text-align: center;
}

.contact-footer-card-title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
  color: #111111;
}

.contact-footer-card-copy {
  max-width: 54ch;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6b5246;
}

.contact-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  width: min(100%, 440px);
}

.contact-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
}

.contact-footer-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF6600;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.16);
}

.contact-footer-meta {
  min-width: 0;
}

.contact-footer-label {
  display: block;
  margin-bottom: 4px;
  color: #8a6959;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-footer-value {
  color: #111111;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 102, 0, 0.06);
  border: 1px solid rgba(255, 102, 0, 0.15);
  border-radius: 999px;
  color: #FF6600 !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.maps-link:hover {
  background: rgba(255, 102, 0, 0.12);
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-1px);
}

.contact-map {
  align-self: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 102, 0, 0.18);
  border-radius: 16px;
  background: #f4eee9;
  box-shadow: 0 12px 32px rgba(31, 20, 12, 0.08);
}

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

.service-card:hover,
.service-card-wide:hover {
  border-color: rgba(255, 102, 0, 0.82) !important;
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.14), rgba(255, 255, 255, 0.98) 46%),
    #ffffff !important;
  box-shadow: 0 22px 58px rgba(255, 102, 0, 0.16);
}

.dark-section .service-card:hover,
.dark-section .service-card-wide:hover {
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.28), rgba(255, 255, 255, 0.08) 44%, rgba(0, 0, 0, 0.28)),
    #241a15 !important;
  border-color: rgba(255, 102, 0, 0.84) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 42px rgba(255, 102, 0, 0.2);
}

.light-section .service-card:hover,
.light-section .service-card-wide:hover,
.light-section .group:hover {
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.14), rgba(255, 255, 255, 0.98) 46%),
    #ffffff !important;
  box-shadow: 0 22px 58px rgba(255, 102, 0, 0.16);
}

.service-card .material-symbols-outlined,
.service-card-wide .material-symbols-outlined {
  text-shadow: 0 0 22px rgba(255, 102, 0, 0.45);
}

.services-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(255, 144, 69, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 102, 0, 0.08), rgba(255, 255, 255, 0.96) 42%),
    #ffffff;
  box-shadow: 0 24px 70px rgba(31, 20, 12, 0.12);
}

.services-track {
  display: flex;
  transition: transform 520ms cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.service-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px) clamp(56px, 7vw, 82px);
}

.service-slide-image {
  min-height: clamp(240px, 34vw, 360px);
  overflow: hidden;
  border-radius: 0.875rem;
  background: #0f0f0f;
  border: 1px solid rgba(255, 102, 0, 0.24);
  box-shadow: 0 22px 58px rgba(31, 20, 12, 0.12);
}

.service-slide-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.service-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-slide-kicker {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.24);
  color: #FF6600 !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-slide-copy p {
  max-width: 520px;
}

.service-quote-btn {
  width: fit-content;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 102, 0, 0.7);
  border-radius: 12px;
  background: #FF6600;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.22);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.service-quote-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 34px rgba(255, 102, 0, 0.32);
}

.carousel-controls {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 102, 0, 0.16);
  pointer-events: auto;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.carousel-dot.is-active {
  width: 30px;
  background: #FF6600;
}

.carousel-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 102, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 200ms ease, border-color 200ms ease, color 200ms ease;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 102, 0, 0.72);
  color: #FF6600;
}

.guardias-carousel-controls {
  display: none;
}

@media (max-width: 900px) {
  .service-slide {
    grid-template-columns: 1fr;
    padding: 18px 56px 74px;
  }

  .service-slide-image {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  #inicio {
    padding-top: 34px;
    padding-bottom: 42px;
    min-height: auto;
  }

  #inicio > .max-w-7xl {
    gap: 28px;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }

  .hero-visual::before {
    inset: 0;
    opacity: 0.35;
  }

  .hero-visual img {
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(31, 20, 12, 0.12);
  }

  .hero-copy {
    width: 100%;
    gap: 14px;
    padding-inline: 6px;
  }

  .hero-copy .inline-flex {
    padding: 6px 10px;
  }

  .hero-copy p {
    width: 100%;
    max-width: 27ch;
    margin-inline: auto;
    font-size: 0.82rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero-copy a {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.72rem;
  }

  .hero-copy .flex.flex-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 4px;
  }

  .hero-copy .flex.flex-wrap a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #servicios {
    padding-top: 46px;
    padding-bottom: 44px;
  }

  #servicios .mb-xl {
    margin-bottom: 24px;
  }

  #servicios h2,
  #guardias h2 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  #servicios p,
  #guardias p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .services-carousel {
    width: 100%;
    border-radius: 12px;
  }

  .service-slide-copy {
    gap: 10px;
    padding-inline: 34px;
  }

  .service-slide-copy h3 {
    font-size: 1.1rem;
    line-height: 1.22;
  }

  .service-quote-btn {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.7rem;
  }

  .service-slide-kicker {
    padding: 6px 10px;
    font-size: 0.64rem;
  }

  .service-slide {
    padding: 10px 8px 56px;
  }

  .service-slide-image {
    min-height: 210px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(31, 20, 12, 0.1);
  }

  .service-slide-image img {
    object-fit: contain;
  }

  .carousel-arrows {
    padding: 0 6px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .carousel-dots {
    bottom: 10px;
    padding: 6px;
  }

  #guardias {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  #guardias .max-w-7xl > .grid {
    gap: 16px;
  }

  #guardias .flex.flex-col.gap-md {
    gap: 10px;
  }

  #guardias .font-body-lg {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  #guardias .flex.flex-wrap.gap-sm {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  #guardias .flex.flex-wrap.gap-sm span {
    flex: 0 0 auto;
    padding: 6px 9px;
    font-size: 0.56rem;
  }

  #guardias a.bg-primary-container {
    width: 100%;
    min-height: 38px;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.66rem;
  }

  .guardias-card-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 1px 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .guardias-card-row::-webkit-scrollbar {
    display: none;
  }

  .guardias-card-row > div {
    flex: 0 0 100%;
    min-height: 190px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 18px;
    border-radius: 14px;
  }

  .guardias-card-row .material-symbols-outlined {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .guardias-card-row h3 {
    font-size: 0.96rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .guardias-card-row p {
    font-size: 0.72rem !important;
    line-height: 1.55 !important;
  }

  .guardias-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
  }

  .guardias-carousel-dots {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .guardias-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: width 200ms ease, background-color 200ms ease;
  }

  .guardias-carousel-dot.is-active {
    width: 24px;
    background: #FF6600;
  }

  .guardias-carousel-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid rgba(255, 132, 42, 0.5);
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.12);
    color: #fff7f2;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  #contacto {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  #contacto .gap-xl {
    gap: 18px;
  }

  #contacto h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  #contacto .font-body-lg {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  #contacto .mb-lg {
    margin-bottom: 16px;
  }

  #contacto .space-y-lg > :not([hidden]) ~ :not([hidden]) {
    margin-top: 12px;
  }

  #contacto .w-12.h-12 {
    width: 36px;
    height: 36px;
  }

  #contacto .flex.items-center.gap-md {
    gap: 10px;
  }

  #contacto .text-label-sm {
    font-size: 0.58rem;
    line-height: 1.2;
  }

  #contacto .font-bold.text-lg {
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  #contacto .maps-link {
    width: 100%;
    min-height: 42px;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  #contacto .maps-pin {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  #contacto .p-xl {
    padding: 16px;
  }

  #contacto input,
  #contacto select,
  #contacto textarea {
    padding: 10px;
    font-size: 0.78rem;
  }

  #contacto button[type="submit"] {
    padding: 11px 14px;
    font-size: 0.74rem;
  }

  .contact-footer-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .contact-footer-content {
    gap: 12px;
  }

  .contact-footer-card-header {
    gap: 8px;
  }

  .contact-footer-card-title {
    font-size: 0.9rem;
  }

  .contact-footer-card-copy {
    font-size: 0.72rem;
  }

  .contact-footer-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-footer-item {
    padding: 8px 0;
  }

  .contact-footer-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .contact-footer-label {
    font-size: 0.58rem;
  }

  .contact-footer-value {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .contact-map {
    width: 100%;
    border-radius: 12px;
  }
}

#site-footer {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-top: 1px solid rgba(255, 102, 0, 0.3) !important;
}

#site-footer *,
#site-footer p,
#site-footer span,
#site-footer a {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#site-footer a:hover {
  text-decoration: underline;
  color: #FF6600 !important;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 102, 0, 0.32);
  border-radius: 0.5rem;
  background: rgba(255, 102, 0, 0.08);
  color: #FF6600;
  font-weight: 800;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.maps-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 102, 0, 0.72);
  background: rgba(255, 102, 0, 0.16);
}

.maps-pin {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: conic-gradient(from 45deg, #4285F4, #34A853, #FBBC05, #EA4335, #4285F4);
  color: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(255, 102, 0, 0.22);
}

.whatsapp-logo {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: currentColor;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
