/* Supplied artwork keeps its proportions and original brand colors. */
.service-scope { margin: 24px 0 0; padding: 0 0 14px; border: 0; background: transparent; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.service-scope::after { content: ""; display: block; width: 20px; height: 2px; margin-top: 14px; background: var(--orange); border-radius: 3px; }
.service-scope strong { color: var(--text); }
.storage-recommendation { border: 1px solid #725020; border-radius: 5px; padding: 20px; margin: 24px 0; background: #29231b; }
.storage-recommendation > strong { color: var(--orange); font-size: 1rem; }
.storage-recommendation > p { font-size: .9375rem; margin: 12px 0; line-height: 1.65; }
.storage-recommendation > small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.65; margin-top: 12px; }
.standard-features { font-size: .875rem; color: var(--text); line-height: 1.6; margin: 20px 0 8px; }

.conditional-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.conditional-group small { display: block; font-size: .8125rem; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.contact-form label.choice { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; line-height: 1.5; cursor: pointer; margin: 0; padding: 12px 0; }
.contact-form .choice input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; padding: 0; accent-color: var(--orange); }
.feature-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cost-notice { padding: 18px; margin: 18px 0; border: 1px solid #97601e; border-left: 3px solid var(--orange); border-radius: 5px; background: #332719; }
.cost-notice strong { color: var(--orange); font-size: .9375rem; line-height: 1.5; }
.cost-notice p { font-size: .875rem; line-height: 1.65; margin: 8px 0 0; color: var(--text); }
.contact-form button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
@media(max-width: 480px) { .feature-choices { grid-template-columns: 1fr; } }
.contact-form [hidden] { display: none !important; }
.contact-form > .progress-hint { margin: 18px 0 0; font-size: .8125rem; color: var(--muted); }
.contact-form #sector-fields:has(> [hidden]) { grid-template-columns: 1fr; }
.contact-form .installation-fields { margin-bottom: 0; }
.optional-details { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-control); }
.optional-details summary { cursor: pointer; color: var(--text); font-size: .875rem; line-height: 1.5; min-height: 44px; padding: 11px 0; }
.optional-details summary span { color: var(--muted); }
.installation-fields { min-width: 0; margin: 28px 0 24px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--border-control); }
.installation-fields legend { padding: 0 12px 0 0; color: var(--orange); font-size: .9375rem; font-weight: 600; }
.installation-fields > p, .installation-fields > small { color: var(--muted); font-size: .8125rem; line-height: 1.65; }
.installation-fields > small { display: block; margin-top: 12px; }
.check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--orange);
  line-height: 1;
  vertical-align: middle;
}
.check-circle svg { display: block; width: 100%; height: 100%; }
.benefits article > .check-circle { display: flex; }

.solution-icon-frame {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
}
.solution-icon-frame .solution-vector { display: block; width: 88px; height: 88px; object-fit: contain; }
.services, .work { background: var(--surface-section); }
#soluciones { background: var(--surface-section); }
.services .service-grid { gap: 0; background: var(--surface-card); border-radius: 7px; overflow: hidden; }
.services .service-card + .service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}
@media (min-width: 401px) and (max-width: 1100px) {
  .services .service-card:nth-child(3)::before { display: none; }
  .services .service-card:nth-child(n/**/+3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
  }
}
@media (max-width: 400px) {
  .services .service-card + .service-card::before {
    top: 0;
    bottom: auto;
    left: 28px;
    right: 28px;
    width: auto;
    height: 1px;
  }
}
#soluciones .solutions-grid { gap: 0; background: var(--surface-card); border-radius: 7px; overflow: hidden; }
#soluciones .solution-card + .solution-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}
@media (max-width: 760px) {
  #soluciones .solution-card + .solution-card::before {
    top: 0;
    bottom: auto;
    left: 28px;
    right: 28px;
    width: auto;
    height: 1px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .solution-card { padding: 23px; }
  .solution-card h3 { font-size: 1.35rem; }
  .solution-card .eyebrow { min-height: 30px; }
}
@media (max-width: 760px) {
  .solution-card { padding: 28px; }
}
.service-card .service-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  margin-bottom: 28px;
  color: var(--orange);
}
.service-icon svg, .service-icon img { display: block; width: 36px; height: 36px; object-fit: contain; }
.service-icon .camera-site-icon { width: 50px; height: 50px; }
.brand-logo { display: block; width: 100%; height: auto; }

.whatsapp-icon { flex-shrink: 0; fill: currentColor; stroke: none; }


.contact-icon { display: block; flex-shrink: 0; }

@media (max-width: 760px) {
  .equipment { padding: 14px 0; }
}




/* WhatsApp fills its viewBox; outlined symbols have natural internal margins. */


.floating-contact .whatsapp-icon { width: 24px; height: 24px; padding: 2px; }







@media (max-width: 400px) {
  .brand { width: 180px; }
}
.contact-form .form-help {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.65;
}
.contact-form .form-help:empty { display: none; }

.faq-grid > div:first-child {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 48px;
  align-items: center;
  margin-bottom: 28px;
}
.faq-grid > div:first-child .eyebrow { grid-column: 1 / -1; }
.faq-grid > div:first-child h2 { margin-bottom: 0; }
.faq-grid > div:first-child > p:last-child { margin: 0; max-width: 400px; }
.faq .questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  align-items: start;
}
.faq .questions details { border-top: 1px solid var(--border-subtle); border-bottom: 0; }
.faq .questions summary { gap: 16px; padding: 18px 0; min-height: 88px; }
.faq .questions summary span { flex-shrink: 0; }
.faq .questions details p { margin-top: 0; padding-right: 0; }

footer .footer-layout {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2.5fr);
  gap: 42px;
  align-items: center;
  padding: 25px 0;
}
.footer-brand-block .brand { width: 100%; max-width: 240px; }
.footer-contact-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.1fr 1fr; gap: 18px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-contact-icon { display: flex; flex: 0 0 24px; width: 24px; height: 24px; color: var(--orange); }
.footer-contact-icon svg { display: block; width: 24px; height: 24px; }
.footer-contact-icon .whatsapp-icon { padding: 2px; }
.footer-contact-copy { display: flex; align-items: center; min-width: 0; }
.footer-contact-copy > span { font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.footer-contact-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 11px; padding-top: 13px; border-top: 1px solid var(--border-subtle); color: var(--dim); font-size: .6875rem; }
.footer-contact-meta > span + span::before { content: "•"; margin-right: 18px; }
@media (max-width: 1100px) {
  .faq .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 760px) {
  /* v186 | Mobile touch targets: expand the clickable area without changing visual sizing. */
  .header nav a { min-height: 44px; display: flex; align-items: center; }
  .text-link,
  .footer-contact-item[href],
  .footer-contact-meta a { position: relative; }
  .text-link::before,
  .footer-contact-item[href]::before,
  .footer-contact-meta a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 16px);
    height: 44px;
    transform: translate(-50%, -50%);
  }
  .faq-grid > div:first-child { grid-template-columns: 1fr; gap: 18px; }
  .faq-grid > div:first-child .eyebrow { margin-bottom: 0; }
  footer .footer-layout { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 22px; }
  .footer-contact-meta { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .faq .questions { grid-template-columns: 1fr; }
  .faq .questions summary { min-height: 0; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-contact-meta { flex-direction: column; gap: 8px; }
  .footer-contact-meta > span + span::before { content: none; }
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: var(--border-strong);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--border-accent);
}


/* Secondary Home action: inherit the existing button dimensions and typography. */
.hero-reference .hero-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; gap: 36px; padding-top: 48px; padding-bottom: 42px; }
.hero-reference .hero-copy { display: flex; flex-direction: column; min-height: 100%; }
.hero-reference .hero-copy-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.hero-reference h1 { font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.12; margin-bottom: 24px; }
.hero-reference .lead { margin-bottom: 0; }
.hero-reference .actions { flex-wrap: nowrap; gap: 12px; margin-top: auto; padding-top: 0; }
.hero-reference .actions .button { padding-left: 18px; padding-right: 18px; gap: 16px; text-align: center; }
.hero-reference .hero-visual { padding-top: 0; }

.hero-reference .equipment { isolation: isolate; aspect-ratio: 1.5; }
.home-icon { display: flex; flex: 0 0 28px; color: var(--orange); }
.home-icon svg, .home-icon img { width: 28px; height: 28px; object-fit: contain; }
.home-lower { border-top: 0; padding: 28px 0 30px; }
.home-service-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center; }
.home-service-row > div { display: flex; gap: 15px; align-items: center; min-height: 54px; }
.home-service-row > div + div { border-left: 1px solid var(--border); padding-left: 24px; }

@media (max-width: 1100px) {
  .home-service-row { gap: 16px; }
  .home-service-row > div + div { padding-left: 16px; }
}
@media (max-width: 1236px) {
  .hero-reference .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 40px; padding-bottom: 30px; }
  .hero-reference .hero-copy { min-height: auto; }
  .hero-reference .hero-copy-main { display: block; }
  .hero-reference .hero-visual { width: 100%; max-width: 580px; margin-inline: auto; }
  .hero-reference .actions { flex-wrap: wrap; margin-top: 30px; padding-top: 0; }
  .hero-reference .actions .button { flex: 1 1 210px; }
}
@media (max-width: 760px) {
  .home-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-service-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
.hero .hero-services-button { background: transparent; color: var(--orange); border: 1px solid var(--border-accent); }
.hero .hero-services-button:hover { background: #ff8a0010; }

/* Swapped Home groups: three services by the cameras, four benefits below. */
.home-service-row > div > span:not(.home-icon) { font-size: .875rem; line-height: 1.5; }

/* Larger icons exclusively for the four Home benefits. */
.home-service-row .home-icon { flex: 0 0 44px; }
.home-service-row .home-icon svg, .home-service-row .home-icon img { width: 44px; height: 44px; object-fit: contain; }
.home-service-row .home-icon:has(.camera-site-icon) { flex-basis: 56px; }
.home-service-row .home-icon .camera-site-icon { width: 56px; height: 56px; }

/* Home service text and orange separators. */
.hero-reference .home-benefits {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  justify-content: center;
  column-gap: 52px;
  row-gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: 0 -22px 36px -18px rgba(0,0,0,.68), 0 -10px 20px -12px rgba(0,0,0,.46), 0 22px 38px -18px rgba(0,0,0,.82), 0 10px 20px -12px rgba(0,0,0,.58);
}
.hero-reference .home-benefits > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .75rem;
  line-height: 1.45;
}
.hero-reference .home-benefits strong {
  display: block;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: normal;
  white-space: nowrap;
}
.hero-reference .home-benefits > div + div::before {
  content: "•";
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--orange);
  font-size: 1rem;
  line-height: 1;
}
@media (min-width: 761px) and (max-width: 1100px), (max-width: 520px) {
  .hero-reference .home-benefits { grid-template-columns: repeat(3, max-content); column-gap: 16px; min-height: 44px; padding: 0 8px; }
  .hero-reference .home-benefits > div { min-height: 44px; padding-left: 0; padding-right: 0; }
  .hero-reference .home-benefits > div + div::before { left: -8px; }
}
@media (max-width: 520px) {
  .hero-reference .home-benefits strong { font-size: clamp(.70rem, 3.2vw, .82rem); line-height: 1.35; }
}
@media (max-width: 400px) {
  .home-service-row { grid-template-columns: 1fr; }
  .home-service-row > div + div { padding: 14px 0 0; border-left: 0; border-top: 0; }
  .hero-reference .home-benefits { padding-inline: 0; }
  .hero-reference .home-benefits > div { flex-direction: column; }
}


/* v155 | Soluciones: bloque de marcas integrado con tarjetas superiores */
.brands-line {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 45px;
  padding: 32px 34px;
  border-radius: 7px;
  text-align: left;
  background: var(--surface-card);
}

.brands-line-copy {
  min-width: 0;
}

.brands-line-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.15vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.brands-line .brands-description {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.65;
}

.brands-line > .manufacturer-logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  justify-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 88px;
  margin: 0;
  padding-left: clamp(26px, 3vw, 38px);
  border-left: 1px solid #3a3a3a;
}

.manufacturer-logo {
  display: block;
  object-fit: contain;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.manufacturer-logo.dahua {
  max-width: 160px;
}

.manufacturer-logo.imou {
  width: 100%;
  max-width: 128px;
  justify-self: center;
}

.manufacturer-logo.hikvision {
  max-width: 264px;
}

@media (max-width: 980px) {
  .brands-line {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brands-line > .manufacturer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-left: 0;
    border-left: 0;
  }

  .brands-line .brands-description {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .brands-line {
    margin-top: 30px;
    padding: 26px 24px;
  }

  .brands-line > .manufacturer-logos {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    min-height: 0;
  }

  .manufacturer-logo.hikvision {
    max-width: 228px;
  }
}

@media (max-width: 400px) {
  .brands-line-title {
    font-size: 1.4rem;
  }

  .manufacturer-logo.dahua {
    max-width: 132px;
  }

  .manufacturer-logo.imou {
    max-width: 118px;
  }

  .manufacturer-logo.hikvision {
    max-width: 188px;
  }
}

/* v179 | Motion system: subtle entrance animations for approved key sections. */
.motion-enabled .motion-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .68s cubic-bezier(.22, .61, .36, 1),
    transform .68s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.motion-enabled .motion-item.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.motion-enabled .motion-hero-visual {
  transform: translateY(12px) scale(.97);
  transition-duration: .82s;
}
.motion-enabled .motion-hero-benefit-text {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity .54s cubic-bezier(.22, .61, .36, 1),
    transform .54s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.motion-enabled .motion-hero-benefit-text.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.motion-enabled .motion-card {
  transform: translateY(18px);
}
.motion-enabled .motion-solution {
  transform: translateY(16px);
}
.motion-enabled .motion-solution .solution-icon-frame {
  opacity: .72;
  transform: scale(.92);
  transition:
    opacity .62s cubic-bezier(.22, .61, .36, 1),
    transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--motion-delay, 0ms) + 70ms);
}
.motion-enabled .motion-solution.is-visible .solution-icon-frame {
  opacity: 1;
  transform: none;
}
.motion-enabled .motion-benefit {
  transform: translateY(14px);
}
.motion-enabled .motion-brand-copy {
  transform: translateY(12px);
}
.motion-enabled .motion-brand-logo {
  transform: translateY(10px) scale(.96);
}
@media (prefers-reduced-motion: reduce) {
  .motion-enabled .motion-item,
  .motion-enabled .motion-hero-benefit-text,
  .motion-enabled .motion-solution .solution-icon-frame {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

