:root {
  --catalog-bg: #f5f5f7;
  --catalog-card: #ffffff;
  --catalog-text: #050505;
  --catalog-muted: #666666;
  --catalog-line: #e4e4e7;
  --catalog-red: #d71920;
}

.catalog-header {
  background: rgba(255, 255, 255, .92);
  color: var(--catalog-text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.catalog-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(320px, .55fr) minmax(560px, 1fr);
  gap: clamp(34px, 4.8vw, 82px);
  align-items: center;
  padding: calc(var(--header-height) + 72px) clamp(22px, 5vw, 86px) 96px;
  background:
    radial-gradient(circle at 84% 16%, rgba(215, 25, 32, .12), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}

.catalog-hero h1,
.configurator-heading h2,
.process-heading h2,
.ecosystem-copy h2 {
  margin: 0;
  color: var(--catalog-text);
  font-size: clamp(3rem, 7vw, 7.6rem);
  font-weight: 560;
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

.catalog-hero p:not(.section-label),
.configurator-heading p:not(.section-label) {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--catalog-muted);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-benefits span {
  position: relative;
  padding-top: 34px;
  color: #1f2937;
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.25;
}

.hero-benefits span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.hero-benefits span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--catalog-red);
  mask: var(--benefit-icon) center / contain no-repeat;
  -webkit-mask: var(--benefit-icon) center / contain no-repeat;
}

.benefit-design { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3Cpath d='M9 16h6'/%3E%3C/svg%3E"); }
.benefit-tech { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 2.8 7.8 7 10 4.2-2.2 7-5.5 7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
.benefit-control { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 17h16'/%3E%3Ccircle cx='8' cy='7' r='2'/%3E%3Ccircle cx='16' cy='17' r='2'/%3E%3C/svg%3E"); }
.benefit-support { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0'/%3E%3Cpath d='M4 13v3a2 2 0 0 0 2 2h2v-7H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M20 13v3a2 2 0 0 1-2 2h-2v-7h2a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

.catalog-button-dark {
  background: #050505;
  color: #fff;
}

.catalog-button-dark:hover {
  background: #202020;
}

.smart-home-visual {
  min-width: 0;
  perspective: 1400px;
}

.smart-home-card {
  position: relative;
  min-height: clamp(620px, 52vw, 790px);
  padding: clamp(12px, 1.4vw, 18px);
  overflow: visible;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(245,245,247,.66)),
    #fff;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .12);
}

.smart-home-scene {
  --parallax-x: 0px;
  --parallax-y: 0px;
  --core-x: 0px;
  --core-y: 0px;
  position: relative;
  min-height: inherit;
  overflow: hidden;
  border-radius: 28px;
  background: #f7f7f8;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

.hero-reference-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease-out;
}

.hero-reference-actions {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.hero-hotspot {
  position: absolute;
  display: block;
  border-radius: 999px;
  outline: 0;
  cursor: pointer;
  transition: box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-hotspot:hover,
.hero-hotspot:focus-visible {
  background: rgba(215, 25, 32, .08);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, .16), 0 16px 34px rgba(215, 25, 32, .18);
  transform: translateY(-2px);
}

.hotspot-wifi { left: 7%; top: 11%; width: 19%; height: 7%; }
.hotspot-audio { right: 13%; top: 10%; width: 22%; height: 7%; }
.hotspot-camera { left: 2%; top: 31%; width: 19%; height: 7%; }
.hotspot-light { left: 2%; top: 48%; width: 17%; height: 7%; }
.hotspot-climate { left: 2%; bottom: 21%; width: 20%; height: 7%; }
.hotspot-curtains { left: 6%; bottom: 6%; width: 24%; height: 7%; }
.hotspot-core { left: 30%; top: 34%; width: 25%; height: 27%; border-radius: 50%; }
.hotspot-cinema { right: 3%; top: 32%; width: 21%; height: 7%; }
.hotspot-security { right: 3%; top: 51%; width: 19%; height: 7%; }
.hotspot-control { right: 15%; bottom: 22%; width: 23%; height: 7%; }
.hotspot-irrigation { right: 25%; bottom: 6%; width: 20%; height: 7%; }

.blueprint-panel,
.smart-home-scene > img,
.smart-home-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blueprint-panel {
  z-index: 1;
  width: 54%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.75) 72%, transparent),
    repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 1px, transparent 1px 34px);
}

.blueprint-panel svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(5, 5, 5, .2);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: .82;
}

.smart-home-scene > img {
  z-index: 0;
  object-fit: cover;
  object-position: 66% center;
  animation: houseTransform 12s ease-in-out infinite alternate;
  transition: transform 180ms ease-out;
}

.smart-home-scene > .hero-reference-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  animation: none;
  transform: translate(var(--parallax-x), var(--parallax-y)) scale(1.01);
}

.smart-home-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 210, 130, .3), transparent 18%),
    linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.72) 42%, rgba(255,255,255,.06) 48%, rgba(0,0,0,.05) 100%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.25));
  pointer-events: none;
}

.build-sweep {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  filter: blur(.5px);
  opacity: .75;
  animation: buildSweep 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-core {
  position: absolute;
  left: 51%;
  top: 50%;
  z-index: 6;
  width: clamp(168px, 15vw, 230px);
  min-height: clamp(168px, 15vw, 230px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  background: rgba(5, 5, 5, .62);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transform: translate(calc(-50% + var(--core-x)), calc(-50% + var(--core-y)));
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .08), 0 0 44px rgba(255, 185, 95, .45), 0 26px 70px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  animation: coreGlow 5s ease-in-out infinite;
}

.home-core:hover {
  border-color: rgba(215, 25, 32, .9);
  background: rgba(5, 5, 5, .68);
  transform: translate(calc(-50% + var(--core-x)), calc(-50% + var(--core-y))) scale(1.03);
}

.home-core svg {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-core strong,
.home-core small {
  position: relative;
  z-index: 1;
}

.home-core strong {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.05;
}

.home-core small {
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  max-width: 150px;
}

.home-connection-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.home-connection-lines span {
  position: absolute;
  left: 51%;
  top: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), rgba(215,25,32,.55), transparent);
  transform-origin: center;
  animation: linePulse 3.8s ease-in-out infinite;
}

.home-connection-lines span:nth-child(1) { transform: translate(-50%, -50%) rotate(7deg); }
.home-connection-lines span:nth-child(2) { transform: translate(-50%, -50%) rotate(-23deg); animation-delay: .2s; }
.home-connection-lines span:nth-child(3) { transform: translate(-50%, -50%) rotate(36deg); animation-delay: .4s; }
.home-connection-lines span:nth-child(4) { transform: translate(-50%, -50%) rotate(-49deg); animation-delay: .6s; }
.home-connection-lines span:nth-child(5) { transform: translate(-50%, -50%) rotate(78deg); animation-delay: .8s; }
.home-connection-lines span:nth-child(6) { transform: translate(-50%, -50%) rotate(-78deg); animation-delay: 1s; }

.home-systems {
  position: absolute;
  inset: clamp(18px, 2.2vw, 30px);
  z-index: 7;
  margin: 0;
  padding: 0;
}

.home-system {
  position: absolute;
  min-width: 184px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,.82);
  color: #050505;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  animation: floatSystem 5.5s ease-in-out infinite;
}

.home-system:hover {
  transform: translateY(-3px);
  border-color: rgba(215,25,32,.9);
  background: var(--catalog-red);
  color: #fff;
  box-shadow: 0 26px 62px rgba(215,25,32,.22);
}

.home-system svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  padding: 9px;
  background: rgba(215,25,32,.08);
  color: var(--catalog-red);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background 180ms ease, color 180ms ease;
}

.home-system:hover svg {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.home-system span {
  display: grid;
  gap: 2px;
}

.home-system strong {
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.05;
}

.home-system small {
  color: var(--catalog-muted);
  font-size: .66rem;
  font-weight: 760;
  transition: color 180ms ease;
}

.home-system:hover small {
  color: rgba(255,255,255,.82);
}

.home-system::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--catalog-red);
  box-shadow: 0 0 0 6px rgba(215,25,32,.13);
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.home-system:hover::before {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.16);
}

.system-wifi { left: 5%; top: 8%; }
.system-audio { right: 9%; top: 9%; animation-delay: .25s; }
.system-light { left: 3%; top: 33%; animation-delay: .5s; }
.system-camera { left: 5%; top: 55%; animation-delay: .75s; }
.system-climate { left: 7%; bottom: 6%; animation-delay: 1s; }
.system-security { right: 4%; top: 30%; animation-delay: 1.25s; }
.system-cinema { right: 3%; top: 48%; animation-delay: 1.5s; }
.system-irrigation { right: 10%; bottom: 6%; animation-delay: 1.75s; }
.system-control { right: 4%; bottom: 23%; animation-delay: 2s; }
.system-lock { left: 30%; bottom: 7%; animation-delay: 2.25s; }
.system-energy { left: 28%; top: 12%; animation-delay: 2.5s; }
.system-starlink { right: 31%; top: 3%; animation-delay: 2.75s; }

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 22px rgba(255,210,120,.9);
  animation: particlePulse 3.6s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 39%; top: 26%; }
.hero-particles span:nth-child(2) { left: 50%; top: 54%; animation-delay: .4s; }
.hero-particles span:nth-child(3) { left: 63%; top: 33%; animation-delay: .8s; }
.hero-particles span:nth-child(4) { left: 72%; top: 66%; animation-delay: 1.2s; }
.hero-particles span:nth-child(5) { left: 43%; top: 78%; animation-delay: 1.6s; }

@keyframes buildSweep {
  0%, 38% { left: 38%; opacity: .64; }
  62%, 100% { left: 55%; opacity: .36; }
}

@keyframes houseTransform {
  0%, 35% { filter: saturate(.84) brightness(1.02); transform: scale(1.035) translate(calc(-1% + var(--parallax-x)), var(--parallax-y)); }
  70%, 100% { filter: saturate(1.06) brightness(1.02); transform: scale(1.055) translate(calc(2% + var(--parallax-x)), var(--parallax-y)); }
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 0 34px rgba(255,185,95,.34), 0 26px 70px rgba(0,0,0,.35); }
  50% { box-shadow: 0 0 0 22px rgba(255,255,255,.1), 0 0 58px rgba(255,185,95,.52), 0 26px 70px rgba(0,0,0,.35); }
}

@keyframes linePulse {
  0%, 100% { opacity: .42; filter: blur(0); }
  50% { opacity: .95; filter: drop-shadow(0 0 10px rgba(255,220,150,.72)); }
}

@keyframes floatSystem {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}

@keyframes particlePulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .smart-home-scene > img,
  .build-sweep,
  .home-core,
  .home-connection-lines span,
  .home-system,
  .hero-particles span {
    animation: none;
  }
}

.line-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 16px;
  background: #fff;
  color: #050505;
}

.line-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: var(--catalog-red);
  mask: var(--service-icon) center / contain no-repeat;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
}

.hero-mini-card .line-icon {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.wifi-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 9.5a11 11 0 0 1 15 0'/%3E%3Cpath d='M7.8 12.8a6.5 6.5 0 0 1 8.4 0'/%3E%3Cpath d='M11 16.5a1.5 1.5 0 0 1 2 0'/%3E%3Cpath d='M12 19h.01'/%3E%3C/svg%3E"); }
.audio-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9h3l5-4v14l-5-4H6z'/%3E%3Cpath d='M17 9a5 5 0 0 1 0 6'/%3E%3Cpath d='M20 7a9 9 0 0 1 0 10'/%3E%3C/svg%3E"); }
.security-icon,
.camera-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h11v8H4z'/%3E%3Cpath d='m15 10 5-3v10l-5-3'/%3E%3Cpath d='M8 12h.01'/%3E%3C/svg%3E"); }
.home-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3Cpath d='M9.5 20v-5h5v5'/%3E%3C/svg%3E"); }
.climate-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h12v6H6z'/%3E%3Cpath d='M8 16c1 1 2 1 3 0'/%3E%3Cpath d='M13 16c1 1 2 1 3 0'/%3E%3Cpath d='M18 8h.01'/%3E%3C/svg%3E"); }
.cinema-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v10H4z'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M9 11l5 3V8z'/%3E%3C/svg%3E"); }
.satellite-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 18c4-8 10-11 17-12'/%3E%3Cpath d='M3 14c3-4 7-6 12-7'/%3E%3Cpath d='M8 19h8'/%3E%3C/svg%3E"); }
.cable-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h16'/%3E%3Ccircle cx='8' cy='7' r='1'/%3E%3Ccircle cx='8' cy='12' r='1'/%3E%3Ccircle cx='8' cy='17' r='1'/%3E%3C/svg%3E"); }
.light-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M8 14a6 6 0 1 1 8 0c-.8.7-1 1.5-1 2H9c0-.5-.2-1.3-1-2z'/%3E%3C/svg%3E"); }
.curtain-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16'/%3E%3Cpath d='M6 5v14'/%3E%3Cpath d='M18 5v14'/%3E%3Cpath d='M6 19h12'/%3E%3Cpath d='M10 8v8'/%3E%3Cpath d='M14 8v8'/%3E%3C/svg%3E"); }
.lock-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11h10v9H7z'/%3E%3Cpath d='M9 11V8a3 3 0 0 1 6 0v3'/%3E%3Cpath d='M12 15v2'/%3E%3C/svg%3E"); }
.sensor-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v2'/%3E%3Cpath d='M12 19v2'/%3E%3Cpath d='M3 12h2'/%3E%3Cpath d='M19 12h2'/%3E%3Cpath d='m5 5 1.5 1.5'/%3E%3Cpath d='m17.5 17.5 1.5 1.5'/%3E%3Cpath d='m19 5-1.5 1.5'/%3E%3Cpath d='m6.5 17.5-1.5 1.5'/%3E%3C/svg%3E"); }
.irrigation-icon { --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.2 6 11a6 6 0 0 1-12 0c0-4.8 6-11 6-11z'/%3E%3Cpath d='M9 15c1.5 1 4.5 1 6 0'/%3E%3C/svg%3E"); }

.configurator-section,
.process-section,
.ecosystem-strip-section {
  padding: clamp(76px, 9vw, 132px) clamp(22px, 5vw, 86px);
}

.configurator-section {
  background: #fff;
}

.configurator-heading {
  max-width: 1060px;
  margin-bottom: 52px;
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .34fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#audio { order: 1; }
#cableado { order: 2; }
#seguridad { order: 3; }
#cerraduras { order: 4; }
#cine-en-casa { order: 5; }
#climatizacion { order: 6; }
#cortinas { order: 7; }
#automatizacion { order: 8; }
#control-de-iluminacion { order: 9; }
#riego { order: 10; }
#sensores { order: 11; }
#starlink { order: 12; }
#internet { order: 13; }

.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--catalog-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, .42);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .09);
}

.service-card h3 {
  margin: 22px 0 12px;
  color: var(--catalog-text);
  font-size: clamp(1.32rem, 2vw, 1.9rem);
  font-weight: 680;
  line-height: 1.08;
}

.service-card p {
  margin: 0;
  color: var(--catalog-muted);
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: #222;
  font-size: .92rem;
}

.service-card li::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--catalog-red);
  font-weight: 900;
}

.service-card button {
  width: 100%;
  margin-top: auto;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 13px 18px;
  background: #fff;
  color: #050505;
  font-weight: 820;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.service-card button:hover,
.service-card button.is-added {
  border-color: var(--catalog-red);
  background: var(--catalog-red);
  color: #fff;
}

.project-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 24px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  padding: 26px;
  background: #050505;
  color: #fff;
  box-shadow: 0 30px 76px rgba(0, 0, 0, .14);
}

.summary-label {
  margin: 0 0 10px;
  color: var(--catalog-red);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-summary h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.project-summary ul {
  display: grid;
  gap: 9px;
  max-height: 380px;
  overflow: auto;
  margin: 0;
  padding-left: 18px;
  color: #ddd;
  line-height: 1.45;
}

.summary-whatsapp {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--catalog-red);
  color: #fff;
  font-size: .86rem;
  font-weight: 850;
  text-align: center;
}

.process-section {
  background: var(--catalog-bg);
}

.process-heading,
.ecosystem-copy {
  max-width: 1020px;
  margin-bottom: 44px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--catalog-line);
}

.process-card {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
}

.process-card span {
  color: var(--catalog-red);
  font-size: .78rem;
  font-weight: 900;
}

.process-card h3 {
  margin: 42px 0 12px;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  line-height: 1;
}

.process-card p {
  max-width: 260px;
  margin: 0;
  color: var(--catalog-muted);
  line-height: 1.55;
}

.ecosystem-strip-section {
  background: #fff;
}

.ecosystem-copy h2 {
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);
}

.ecosystem-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ecosystem-logo-slot {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid var(--catalog-line);
  border-radius: 24px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ecosystem-logo-slot:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, .32);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .08);
}

.ecosystem-logo-slot img {
  width: 100%;
  max-width: 170px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.ecosystem-logo-slot .ecosystem-logo-large {
  max-width: 220px;
  height: 94px;
  transform: scale(1.08);
}

.ecosystem-logo-slot .ecosystem-logo-xl {
  max-width: 245px;
  height: 112px;
  transform: scale(1.16);
}

.ecosystem-wordmark {
  color: #050505;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 820;
  letter-spacing: .02em;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  border-radius: 999px;
  padding: 14px 18px;
  background: #25d366;
  color: #fff;
  font-size: .84rem;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

@media (max-width: 1180px) {
  .catalog-hero,
  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .smart-home-card {
    max-width: 980px;
    margin: 0 auto;
  }

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

  .project-summary {
    position: static;
  }

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

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .catalog-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 48px) 18px 64px;
  }

  .catalog-hero h1,
  .configurator-heading h2,
  .process-heading h2,
  .ecosystem-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .catalog-actions,
  .catalog-actions .button {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-home-card {
    min-height: auto;
    border-radius: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-grid,
  .process-grid,
  .ecosystem-logo-grid {
    grid-template-columns: 1fr;
  }

  .smart-home-scene {
    min-height: auto;
    padding-top: 430px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .blueprint-panel {
    width: 58%;
  }

  .blueprint-panel,
  .smart-home-scene > img,
  .smart-home-overlay {
    height: 430px;
    bottom: auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.14);
  }

  .build-sweep,
  .home-connection-lines,
  .hero-particles {
    display: none;
  }

  .home-core {
    top: 215px;
    width: 142px;
    min-height: 142px;
  }

  .home-systems {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .home-system {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
    padding: 11px 12px;
    border-color: var(--catalog-line);
    background: #fff;
    animation: none;
    box-shadow: 0 14px 30px rgba(0,0,0,.06);
  }

  .home-system svg {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    padding: 8px;
  }

  .home-system strong {
    font-size: .72rem;
  }

  .home-system small {
    display: block;
  }

  .home-system::before {
    display: none;
  }

  .configurator-section,
  .process-section,
  .ecosystem-strip-section {
    padding: 68px 18px;
  }

  .service-card {
    min-height: 0;
    border-radius: 20px;
  }

  .project-summary {
    position: static;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin-top: 22px;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
  }

  .project-summary h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .project-summary ul {
    max-height: 120px;
    font-size: .84rem;
  }

  .summary-whatsapp {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: .86rem;
    line-height: 1.2;
  }

  .whatsapp-float {
    display: none;
  }
}
