:root {
  --black: #050505;
  --charcoal: #171717;
  --white: #ffffff;
  --soft: #f4f4f4;
  --line: #d8d8d8;
  --muted: #646464;
  --red: #d71920;
  --orange: #f05a28;
  --header-height: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(255,255,255,.96);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  backdrop-filter: blur(18px);
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled,
.site-header.is-open { background: rgba(255,255,255,.94); color: var(--black); box-shadow: 0 1px 0 rgba(0,0,0,.1); backdrop-filter: blur(18px); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; overflow: hidden; border-radius: 4px; background: var(--white); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { font-size: 1.45rem; font-weight: 850; line-height: 1; }
.brand small { font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
.brand-lockup { display: block; min-width: 380px; }
.brand-domotica { display: block; width: 400px; height: 74px; overflow: hidden; }
.brand-domotica img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: .88rem; font-weight: 600; }
.site-nav a, .header-cta { transition: opacity 180ms ease; }
.site-nav a:hover, .header-cta:hover { opacity: .58; }
.header-cta { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: .86rem; font-weight: 700; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; }
.menu-button span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center start; overflow: hidden; color: var(--white); }
.hero-image, .hero-overlay { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-image { object-position: 58% center; transform: scale(1.015); animation: hero-settle 1.6s cubic-bezier(.2,.65,.3,1) forwards; }
.hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.18) 48%, rgba(0,0,0,.03) 74%); }
.hero-content { position: relative; z-index: 2; width: min(680px, calc(100% - 40px)); margin-left: clamp(20px, 6vw, 96px); padding-top: var(--header-height); text-align: left; }
.section-label { margin: 0 0 14px; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero-domain { margin: 0 0 16px; color: #ff6a3d; font-size: clamp(.9rem, 1.4vw, 1.1rem); font-weight: 850; letter-spacing: .08em; }
.hero h1 { margin: 0; max-width: 14ch; font-size: clamp(2.6rem, 4.7vw, 4.9rem); font-weight: 600; line-height: 1; letter-spacing: 0; text-wrap: balance; }
.hero-subtitle { max-width: 580px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.5vw, 1.2rem); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 32px; }
.button { min-width: 188px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; padding: 0 22px; font-size: .86rem; font-weight: 700; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: #b91218; }
.button-glass { border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.18); color: var(--white); backdrop-filter: blur(10px); }
.button-outline { border-color: #777; color: var(--white); }
.scroll-cue { position: absolute; z-index: 2; bottom: 22px; left: 50%; width: 30px; height: 34px; transform: translateX(-50%); }
.scroll-cue span { display: block; width: 1px; height: 26px; margin: auto; background: rgba(255,255,255,.75); animation: cue 1.7s ease-in-out infinite; }

.section { padding: clamp(86px, 11vw, 160px) clamp(20px, 6vw, 96px); }
.control-experience { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.28fr); gap: clamp(36px, 5vw, 82px); align-items: center; padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 96px); background: linear-gradient(180deg, #f7f7f8, #fff); border-bottom: 1px solid #e7e7ea; overflow: hidden; }
.control-copy h2 { max-width: 10ch; margin: 0; font-size: clamp(2.7rem, 5.5vw, 6rem); font-weight: 540; line-height: .98; text-wrap: balance; }
.control-copy p:last-child { max-width: 530px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; }
.control-visual { width: min(100%, 920px); margin-left: auto; }
.control-visual img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 28px 60px rgba(0,0,0,.16)); }
.device-frame { position: relative; width: min(100%, 720px); margin-left: auto; border: 14px solid #0d0d0f; border-radius: 38px; padding: 18px; background: #0a0b0d; box-shadow: 0 38px 90px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-2deg); }
.device-camera { position: absolute; top: 12px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #2b2d31; transform: translateX(-50%); }
.device-screen { min-height: 410px; border-radius: 24px; padding: clamp(18px, 3vw, 32px); background: radial-gradient(circle at 20% 10%, rgba(215,25,32,.22), transparent 32%), linear-gradient(145deg, #14171d, #050505); color: var(--white); overflow: hidden; }
.device-status { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; color: rgba(255,255,255,.68); font-size: .86rem; }
.device-status strong { color: var(--white); font-size: clamp(2rem, 4.2vw, 4rem); font-weight: 520; line-height: 1; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.app-grid div { min-height: 118px; display: grid; align-content: space-between; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.app-grid span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: .9rem; font-weight: 800; }
.app-grid strong { font-size: .82rem; font-weight: 720; line-height: 1.15; }
.manifesto { min-height: 66vh; display: grid; align-content: center; justify-items: center; text-align: center; }
.manifesto h2, .solutions h2, .projects h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5.7vw, 5.8rem); font-weight: 550; line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.manifesto h2 { max-width: 18ch; }
.manifesto-copy { max-width: 680px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }

.solutions { background: var(--soft); }
.solutions-heading { max-width: 820px; margin-bottom: clamp(42px, 6vw, 76px); }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.solution-card { position: relative; min-height: clamp(440px, 48vw, 650px); overflow: hidden; border-radius: 4px; background: var(--black); color: var(--white); }
.solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 30%, rgba(0,0,0,.86)); }
.solution-card > img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.solution-card:hover > img { transform: scale(1.025); }
.solution-card > div { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(26px, 4vw, 52px); }
.solution-card span { color: #ff7550; font-size: .72rem; font-weight: 750; }
.solution-card h3 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3.2vw, 3.25rem); font-weight: 560; line-height: 1; }
.solution-card p { max-width: 480px; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(.95rem, 1.3vw, 1.08rem); }
.solution-card a { display: inline-block; margin-top: 20px; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; font-size: .8rem; font-weight: 700; }

.projects { background: var(--white); }
.projects-intro { max-width: 880px; margin-bottom: 70px; }
.projects-intro p:last-child { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.portfolio-note { min-height: 190px; display: grid; grid-template-columns: .45fr 1fr; gap: 32px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.portfolio-note span { color: var(--red); font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.portfolio-note p { max-width: 620px; margin: 0; font-size: clamp(1.15rem, 2.5vw, 2rem); line-height: 1.2; }
.featured-project { display: grid; gap: clamp(28px, 5vw, 64px); }
.featured-project-media { display: grid; grid-template-columns: minmax(0, 1.46fr) minmax(260px, .54fr); gap: 14px; }
.featured-project img { width: 100%; display: block; object-fit: cover; background: var(--soft); }
.project-main-image { height: clamp(560px, 58vw, 820px); border-radius: 4px; }
.project-image-grid { display: grid; gap: 14px; }
.project-image-grid img { height: 100%; min-height: 0; border-radius: 4px; }
.featured-project-copy { display: grid; grid-template-columns: minmax(0, .84fr) minmax(320px, 1fr); gap: clamp(26px, 5vw, 72px); align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(34px, 5vw, 70px) 0; }
.featured-project-copy > div:first-child > span { color: var(--red); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.featured-project-copy h3 { max-width: 620px; margin: 16px 0 20px; color: var(--black); font-size: clamp(2.4rem, 5vw, 5.25rem); font-weight: 540; line-height: .98; }
.featured-project-copy p { max-width: 610px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6; }
.project-scope { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; }
.project-scope span { border: 1px solid var(--line); border-radius: 999px; padding: 11px 14px; background: var(--white); color: var(--black); font-size: .78rem; font-weight: 720; }

.brands-intro { min-height: 58vh; display: grid; align-content: center; justify-items: center; background: var(--white); text-align: center; }
.brands-intro h2, .products-heading h2, .about-copy h2 { max-width: 900px; margin: 0; font-size: clamp(2.5rem, 5.5vw, 5.6rem); font-weight: 540; line-height: 1; text-wrap: balance; }
.brand-category { min-height: 720px; display: grid; grid-template-columns: minmax(360px, 42%) 1fr; border-top: 1px solid var(--line); background: var(--white); }
.category-reverse { grid-template-columns: 1fr minmax(360px, 42%); }
.category-reverse .category-image { order: 2; }
.category-image { position: relative; min-height: 720px; overflow: hidden; background: var(--black); }
.category-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 42%, rgba(0,0,0,.82)); }
.category-image > img { width: 100%; height: 100%; object-fit: cover; }
.category-image > div { position: absolute; z-index: 2; left: clamp(28px, 5vw, 68px); right: 28px; bottom: 52px; color: var(--white); }
.category-image span { color: #ff655d; font-size: .72rem; font-weight: 800; }
.category-image h2 { max-width: 520px; margin: 14px 0 0; font-size: clamp(2.15rem, 4vw, 4.2rem); font-weight: 520; line-height: 1; }
.category-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 220px)); align-content: center; justify-content: center; gap: clamp(22px, 3vw, 38px); padding: clamp(54px, 7vw, 100px); background: var(--soft); }
.logo-slot { width: 220px; height: 108px; display: grid; place-items: center; overflow: visible; border-radius: 2px; background: transparent; }
.logo-slot img { width: 170px; height: 70px; padding: 0; object-fit: contain; filter: grayscale(1) saturate(0) contrast(1.22); mix-blend-mode: multiply; opacity: .86; transform: none; }
.category-logos-lighting .logo-slot img,
.category-logos-audio .logo-slot img,
.category-logos-security .logo-slot img { filter: none; mix-blend-mode: normal; opacity: 1; }
.category-logos-lighting .logo-slot img { width: 190px; height: 66px; }
.category-logos-audio .logo-slot img { width: 188px; height: 66px; }
.category-logos-security .logo-slot img { width: 186px; height: 64px; }
.category-logos-network .logo-slot img { width: 190px; height: 66px; filter: none; mix-blend-mode: normal; opacity: 1; }
.category-logos-audio { grid-template-columns: repeat(auto-fit, minmax(220px, 220px)); gap: clamp(22px, 3vw, 38px); }

.ecosystem-showcase { background: var(--white); padding-top: clamp(42px, 5vw, 78px); padding-bottom: clamp(42px, 5vw, 78px); }
.ecosystem-reference-image { display: block; width: min(100%, 1690px); height: auto; margin: 0 auto; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; box-shadow: 0 22px 80px rgba(0,0,0,.08); }

.products { background: var(--white); }
.products-heading { max-width: 900px; margin-bottom: 64px; }
.products-heading > p:last-child { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.product-item { min-width: 0; background: var(--white); }
.product-item > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-item > div { min-height: 245px; padding: 28px; }
.product-item span { color: var(--red); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.product-item h3 { margin: 14px 0 12px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 590; line-height: 1.12; }
.product-item p { min-height: 42px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.product-item a { display: inline-block; margin-top: 24px; border-bottom: 1px solid var(--black); padding-bottom: 4px; font-size: .75rem; font-weight: 750; }

.about { background: var(--soft); }
.about-layout { max-width: 1180px; margin: 0 auto; display: grid; gap: clamp(44px, 6vw, 76px); }
.about-copy h2 { max-width: 930px; }
.about-story { max-width: 860px; display: grid; gap: 18px; margin-top: 30px; }
.about-story p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.62; }
.about-callout { display: grid; grid-template-columns: .62fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: start; border-top: 1px solid #cfcfcf; border-bottom: 1px solid #cfcfcf; padding: clamp(30px, 5vw, 58px) 0; }
.about-callout p { margin: 0; font-size: clamp(1.9rem, 4vw, 4rem); font-weight: 540; line-height: 1; text-wrap: balance; }
.about-callout span { display: block; max-width: 640px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.62; }
.about-callout strong { display: block; margin-top: 22px; font-size: 1.1rem; }
.about-solutions { position: relative; padding-top: clamp(12px, 2vw, 22px); }
.about-solutions-image { display: block; width: min(100%, 1536px); height: auto; margin: 0 auto; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; box-shadow: 0 22px 80px rgba(0,0,0,.08); }
.about-solutions-cta { position: absolute; left: 38.7%; bottom: 2.7%; width: 22.8%; height: 5.4%; border-radius: 8px; z-index: 2; }
.about-solutions-cta:focus-visible { outline: 3px solid rgba(215,25,32,.45); outline-offset: 4px; }
.about-solutions .section-label { margin-bottom: 16px; }
.about-solutions > h2 { max-width: 920px; margin: 0 0 clamp(34px, 5vw, 64px); font-size: clamp(2.15rem, 4.6vw, 5rem); font-weight: 540; line-height: 1; text-wrap: balance; }
.about-solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; background: transparent; }
.solution-tile { position: relative; min-height: 430px; display: flex; flex-direction: column; border: 1px solid #e8e8e8; border-radius: 8px; background: var(--white); padding: clamp(26px, 2.6vw, 38px); overflow: hidden; transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
.solution-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 260ms ease; }
.solution-tile:hover { transform: translateY(-6px); border-color: rgba(215,25,32,.28); box-shadow: 0 24px 70px rgba(0,0,0,.1); }
.solution-tile:hover::before { transform: scaleX(1); }
.solution-icon { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: auto; color: var(--black); }
.solution-icon svg { width: 68px; height: 68px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.solution-tile h3 { margin: 34px 0 0; font-size: clamp(1.2rem, 1.55vw, 1.55rem); font-weight: 690; line-height: 1.08; letter-spacing: 0; text-transform: uppercase; }
.future-copy h3, .why-tmt h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 610; line-height: 1.12; }
.solution-tile p, .future-copy p { margin: 14px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.solution-tile ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.solution-tile li { position: relative; padding-left: 22px; color: #202020; font-size: .92rem; line-height: 1.32; }
.solution-tile li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 850; }
.solution-tile span { display: block; margin-top: auto; padding-top: 22px; color: #6b6b6b; font-size: .78rem; font-weight: 720; line-height: 1.35; }
.future-copy { max-width: 860px; }
.why-tmt { display: grid; grid-template-columns: .42fr 1fr; gap: clamp(28px, 5vw, 76px); border-top: 1px solid #cfcfcf; padding-top: clamp(34px, 5vw, 58px); }
.why-tmt ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.why-tmt li { position: relative; padding-left: 24px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.why-tmt li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.about-signature { display: grid; gap: 8px; border-top: 1px solid #cfcfcf; padding-top: clamp(30px, 5vw, 54px); }
.about-signature strong { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 640; line-height: .9; }
.about-signature span { color: var(--muted); font-size: .88rem; font-weight: 760; letter-spacing: .02em; text-transform: uppercase; }
.about-signature p { margin: 12px 0 0; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.08; }
.coverage-card { position: relative; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 18px 70px rgba(0,0,0,.07); }
.coverage-card > img { width: 100%; height: auto; }
.map-hotspot { position: absolute; z-index: 3; display: block; min-width: 44px; min-height: 44px; border-radius: 14px; outline: 0; }
.map-hotspot::after { content: ""; position: absolute; inset: 0; border: 2px solid rgba(215,25,32,0); border-radius: inherit; transition: border-color 180ms ease, background-color 180ms ease; }
.map-hotspot:hover::after, .map-hotspot:focus-visible::after { border-color: rgba(215,25,32,.72); background: rgba(215,25,32,.06); }
.map-hotspot-sd { left: 5.6%; top: 39%; width: 34%; height: 14%; }
.map-hotspot-sti { left: 5.6%; top: 55%; width: 34%; height: 14%; }

.contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 7vw, 110px); align-items: start; background: var(--black); color: var(--white); }
.contact-copy p:not(.section-label) { max-width: 590px; margin: 28px 0 0; color: #aaa; font-size: 1.08rem; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions .button { width: 100%; }
.phone-link { margin-top: 18px; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 550; }
.evaluation-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(255,255,255,.055); box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.evaluation-form label, .evaluation-form legend { color: rgba(255,255,255,.86); font-size: .78rem; font-weight: 700; }
.evaluation-form input[type="text"], .evaluation-form input[type="tel"], .evaluation-form input[type="email"], .evaluation-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding: 13px 14px;
  outline: none;
}
.evaluation-form textarea { resize: vertical; }
.evaluation-form input::placeholder, .evaluation-form textarea::placeholder { color: rgba(255,255,255,.42); }
.evaluation-form fieldset { margin: 0; border: 1px solid rgba(255,255,255,.11); border-radius: 5px; padding: 16px; }
.evaluation-form legend { padding: 0 8px; color: var(--white); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 12px; margin-top: 12px; }
.choice-grid.compact { grid-template-columns: repeat(4, minmax(0,1fr)); }
.choice-grid label { min-height: 38px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 4px; padding: 8px 10px; background: rgba(255,255,255,.045); color: rgba(255,255,255,.76); font-size: .74rem; font-weight: 650; line-height: 1.25; }
.choice-grid input { flex: 0 0 auto; accent-color: var(--red); }
.file-field { display: block; margin-top: 12px; }
.file-field input { display: block; width: 100%; margin-top: 8px; color: rgba(255,255,255,.72); }
.evaluation-form .button { width: 100%; margin-top: 4px; text-transform: uppercase; }
.form-note { margin: 0; color: rgba(255,255,255,.54); font-size: .76rem; line-height: 1.45; }
.form-note a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.4); }
.site-footer { min-height: 160px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding: 20px clamp(20px, 6vw, 96px); background: var(--black); color: #8c8c8c; border-top: 1px solid #282828; font-size: .78rem; }
.footer-brand { width: 150px; height: 78px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: rgba(255,255,255,.94); padding: 10px 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.36), 0 12px 34px rgba(0,0,0,.28); }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: saturate(.96); }
.whatsapp { position: fixed; z-index: 45; right: 20px; bottom: 20px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 10px 30px rgba(0,0,0,.24); transition: transform 180ms ease; }
.whatsapp:hover { transform: translateY(-3px); }
.whatsapp svg { width: 25px; fill: #fff; }

.reveal { opacity: 1; transform: none; transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-settle { to { transform: scale(1); } }
@keyframes cue { 0%,100% { transform: scaleY(.35); transform-origin: top; opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 1120px) {
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .brand-lockup { min-width: 0; }
  .brand-domotica { width: 270px; height: 52px; }
  .header-cta { display: none; }
  .menu-button { display: block; justify-self: end; }
  .site-nav { position: absolute; top: var(--header-height); left: 0; right: 0; display: none; background: var(--white); color: var(--black); padding: 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-header.is-open .site-nav { display: grid; gap: 0; }
  .site-nav a { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .hero-content { padding-bottom: 84px; }
  .control-experience { grid-template-columns: 1fr; }
  .ecosystem-top { grid-template-columns: 1fr; }
  .ecosystem-groups { grid-template-columns: 1fr; }
  .ecosystem-visual { min-height: 520px; }
  .ecosystem-grid, .ecosystem-group-featured .ecosystem-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .control-visual { margin: 0 auto; }
  .device-frame { margin: 0 auto; transform: none; }
  .solution-grid, .contact { grid-template-columns: 1fr; }
  .featured-project-media,
  .featured-project-copy { grid-template-columns: 1fr; }
  .featured-project-copy { padding-top: 36px; }
  .brand-category, .category-reverse { grid-template-columns: 1fr; }
  .category-reverse .category-image { order: initial; }
  .category-image { min-height: 66svh; }
  .category-logos { min-height: 520px; grid-template-columns: repeat(auto-fit, minmax(190px, 190px)); }
  .logo-slot { width: 190px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-callout, .why-tmt { grid-template-columns: 1fr; }
  .about-solution-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .solution-tile { min-height: 390px; }
  .portfolio-note { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
  .footer-brand { width: 128px; height: 66px; }
}

@media (max-width: 620px) {
  .brand-domotica { width: 215px; height: 42px; }
  .hero { min-height: 92svh; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.05) 76%); }
  .hero-content { align-self: end; width: calc(100% - 40px); margin: 0 20px; padding: 0 0 62px; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.35rem, 10vw, 3.6rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-subtitle { max-width: 33ch; }
  .control-experience { padding: 54px 16px; }
  .control-copy h2 { max-width: 11ch; }
  .control-visual { width: min(100%, 520px); }
  .device-frame { border-width: 10px; border-radius: 30px; padding: 12px; }
  .device-screen { min-height: 360px; border-radius: 20px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app-grid div { min-height: 92px; border-radius: 16px; }
  .manifesto { min-height: 62svh; }
  .solution-card { min-height: 68svh; }
  .solution-card > div { padding: 26px 22px; }
  .project-main-image { height: 68svh; }
  .project-image-grid img { height: auto; aspect-ratio: 16 / 10; }
  .brand-category { min-height: 0; }
  .category-image { min-height: 58svh; }
  .category-image h2 { max-width: 9ch; }
  .category-logos, .category-logos-audio { min-height: 420px; grid-template-columns: repeat(2, minmax(0, 158px)); gap: 18px 12px; padding: 48px 20px; }
  .logo-slot { width: 158px; height: 84px; }
  .logo-slot img { width: 132px; height: 52px; }
  .category-logos-lighting .logo-slot img,
  .category-logos-audio .logo-slot img,
  .category-logos-security .logo-slot img,
  .category-logos-network .logo-slot img { width: 138px; height: 50px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-item > div { min-height: 220px; }
  .about-solution-grid, .why-tmt ul { grid-template-columns: 1fr; }
  .about-solutions-image { border-radius: 10px; box-shadow: 0 14px 38px rgba(0,0,0,.08); }
  .solution-tile { min-height: 0; padding: 28px 24px; }
  .solution-icon, .solution-icon svg { width: 58px; height: 58px; }
  .ecosystem-showcase { padding: 42px 12px; }
  .ecosystem-reference-image { border-radius: 10px; box-shadow: 0 14px 38px rgba(0,0,0,.08); }
  .coverage-card > img { min-height: 0; object-fit: contain; object-position: center; }
  .map-hotspot-sd { left: 5.6%; top: 38.5%; width: 38%; height: 15%; }
  .map-hotspot-sti { left: 5.6%; top: 55%; width: 38%; height: 15%; }
  .form-row, .choice-grid, .choice-grid.compact { grid-template-columns: 1fr; }
  .evaluation-form { padding: 20px; }
  .whatsapp { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
