/* ── Reset & Design Tokens ── */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --sw-bg:#FAF9F6;--sw-bg2:#F2F0EA;--sw-ink:#333333;
  --sw-ink2:rgba(51,51,51,0.60);--sw-rule:rgba(51,51,51,0.08);
  --sw-gold:#C6A969;--sw-gold-rgb:198,169,105;--sw-serif:'Fraunces',Georgia,serif;
  --sw-sans:'DM Sans',sans-serif;--sw-ease:cubic-bezier(0.22,1,0.36,1);
  --gold:#C6A969;--gold-rgb:198,169,105;--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',sans-serif;
  --ink:#333333;--muted:rgba(51,51,51,0.50);--ink-dim:rgba(51,51,51,0.52);--glass-border:rgba(51,51,51,0.10);
  /* Shared page tokens used across solution pages */
  --paper:#FAF9F6;--bg:#FAF9F6;--bg-warm:#F2F0EA;
  --rule:rgba(51,51,51,0.08);--ink-2:rgba(51,51,51,0.60);
  --ease-out:cubic-bezier(0.22,1,0.36,1);
  /* Home Automation page accent palette */
  --ha-bronze:#C6A969;--ha-black:#0B0B0B;
  
  /* Frosted Glass (Light mode) */
  --island-bg: rgba(250, 249, 246, 0.72);
  --island-border: rgba(51, 51, 51, 0.08);
  --island-shadow: 
    0 16px 36px rgba(10, 10, 20, 0.04), 
    0 4px 12px rgba(10, 10, 20, 0.03), 
    0 0 20px rgba(var(--gold-rgb), 0.08), 
    0 1px 0 rgba(255, 255, 255, 0.80) inset;
  --island-btn-color: rgba(0, 0, 0, 0.82);
  --island-btn-hover-bg: rgba(0, 0, 0, 0.06);
  --island-btn-hover-color: rgba(0, 0, 0, 0.96);
  --island-blur: 24px;
}

/* Luxury Dark Mode Tokens override */
html.dark-theme {
  --sw-bg:#050505; /* Solid dark black background */
  --sw-bg2:#0E0E10; /* Dark charcoal card background */
  --sw-ink:#FAF9F6;
  --sw-ink2:rgba(250,249,246,0.60);
  --sw-rule:rgba(250,249,246,0.09);
  --ink:#FAF9F6;
  --muted:rgba(250,249,246,0.50);
  --ink-dim:rgba(250,249,246,0.52);
  --glass-border:rgba(250,249,246,0.12);
  /* Solution page tokens — dark mode overrides */
  --paper:#0E0E10;--bg:#050505;--bg-warm:#0E0E10;
  --rule:rgba(250,249,246,0.09);--ink-2:rgba(250,249,246,0.60);
  --ha-bronze:#A68A4C;
  --sw-gold:#A68A4C; /* Luxurious dark gold */
  --sw-gold-rgb:166,138,76;
  --gold:#A68A4C;
  --gold-rgb:166,138,76;

  /* Frosted Glass (Dark mode override) */
  --island-bg: rgba(5, 5, 5, 0.65);
  --island-border: rgba(255, 255, 255, 0.08);
  --island-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.65), 
    0 8px 20px rgba(0, 0, 0, 0.40), 
    0 0 24px rgba(var(--gold-rgb), 0.12), 
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --island-btn-color: rgba(250, 249, 246, 0.55);
  --island-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --island-btn-hover-color: rgba(250, 249, 246, 0.85);
  --island-blur: 28px;
}

/* Day to Dark Black override mappings for all HTML pages */
html.dark-theme body {
  background-color: #050505 !important;
  color: #FAF9F6 !important;
}
html.dark-theme .site-bg {
  background: #050505 !important;
}
html.dark-theme .hero,
html.dark-theme .section-wrap,
html.dark-theme #about {
  background: #050505 !important;
  background-color: #050505 !important;
}
html.dark-theme .lit-brands-section {
  background: var(--bg) !important;
}
html.dark-theme .lit-brand-content-col {
  background: var(--bg) !important;
}
html.dark-theme .preview-section {
  background: #0E0E10 !important;
  background-color: #0E0E10 !important;
}
html.dark-theme .vm-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(var(--gold-rgb), 0.15) !important;
}
html.dark-theme .compare-grid {
  background: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .cmp-col.good {
  background: rgba(35, 227, 164, 0.06) !important;
}
html.dark-theme .cmp-col.bad {
  background: rgba(235, 87, 87, 0.06) !important;
}
html.dark-theme .cmp-head.g {
  color: #23e3a4 !important;
}
html.dark-theme .cmp-head.r {
  color: #eb5757 !important;
}
html.dark-theme .vm-title,
html.dark-theme .about-left p strong {
  color: #FFFFFF !important;
}

html{overflow-x:hidden;font-size:16px;scroll-behavior:smooth}
body{font-family:var(--sw-sans);background:var(--sw-bg);color:var(--sw-ink);-webkit-font-smoothing:antialiased;padding-top:62px;transition:background 0.5s ease, color 0.5s ease}
img,picture,video,iframe{max-width:100%;height:auto;display:block}
::-webkit-scrollbar{width:3px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(var(--gold-rgb),0.3);border-radius:2px}
::-webkit-scrollbar-thumb:hover{background:var(--sw-gold)}

/* ── Fixed Background ── */
.site-bg{position:fixed;inset:0;z-index:-1;background:var(--sw-bg);transition:background 0.5s ease}
.site-bg-noise{position:fixed;inset:0;z-index:-1;opacity:0.028;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:256px}


/* ── Island Nav ── */
@keyframes island-nav-in{from{transform:translateX(-50%) scale(0.94);opacity:0}to{transform:translateX(-50%) scale(1);opacity:1}}
.island-nav{
  position:fixed;bottom:20px;left:50%;transform:translateX(-50%);
  z-index:600;display:flex;align-items:center;gap:2px;padding:6px;
  width:max-content;max-width:calc(100vw - 32px);
  background:var(--island-bg);border:1px solid var(--island-border);
  border-radius:9999px;
  backdrop-filter:blur(var(--island-blur)) saturate(160%);
  -webkit-backdrop-filter:blur(var(--island-blur)) saturate(160%);
  box-shadow:var(--island-shadow);
  transition:background 0.4s var(--sw-ease), border-color 0.4s var(--sw-ease), box-shadow 0.4s var(--sw-ease);
  animation:island-nav-in 0.5s cubic-bezier(.34,1.28,.64,1) 0.3s both;
}
.nav-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  border-radius:9999px;border:none;background:transparent;cursor:pointer;
  color:var(--island-btn-color);height:42px;min-width:42px;padding:0 11px;flex-shrink:0;
  text-decoration:none;font-family:var(--sw-sans);white-space:nowrap;
  transition:background .22s ease,color .22s ease,transform .2s ease,padding .38s cubic-bezier(.34,1.42,.64,1);
  -webkit-tap-highlight-color:transparent;
}
.nav-btn:hover {
  background:var(--island-btn-hover-bg);
  color:var(--island-btn-hover-color);
}
.nav-btn.active{
  background:rgba(var(--gold-rgb),0.14);
  color:var(--sw-gold);
  padding-right:14px;
  box-shadow: 0 0 0 1.2px rgba(var(--gold-rgb), 0.32), 0 4px 12px rgba(var(--gold-rgb), 0.12);
  transform: translateY(-1.5px) scale(1.02);
  text-shadow: 0 0 10px rgba(var(--gold-rgb), 0.30);
}
.nav-btn.active:hover {
  background:rgba(var(--gold-rgb),0.20);
  color:var(--sw-gold);
  transform: translateY(-2.2px) scale(1.03);
  box-shadow: 0 0 0 1.2px rgba(var(--gold-rgb), 0.42), 0 6px 16px rgba(var(--gold-rgb), 0.18);
}
.nav-btn:active{transform:scale(0.96)}
.nav-btn-icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:filter 0.3s ease, transform 0.3s ease}
.nav-btn.active .nav-btn-icon{
  filter: drop-shadow(0 2px 6px rgba(var(--gold-rgb), 0.40));
}
.nav-btn-label{display:inline-flex;align-items:center;gap:3px;overflow:hidden;width:0;opacity:0;margin-left:0;transition:width .42s cubic-bezier(.34,1.28,.64,1),opacity .22s ease,margin-left .42s cubic-bezier(.34,1.28,.64,1)}
.nav-btn.active .nav-btn-label{width:84px;opacity:1;margin-left:4px}
.nav-btn-text{font-size:13px;font-weight:500;letter-spacing:.3px;line-height:1}
.nav-chevron{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:transform .32s cubic-bezier(.34,1.28,.64,1)}
.nav-btn.sol-open .nav-chevron{transform:rotate(180deg)}

/* ── Solutions Floating Panel ── */
.sol-float{
  position:fixed;bottom:76px;left:50%;transform:translateX(-50%) scale(0.96);
  z-index:590;width:290px;
  background:var(--island-bg);border:1px solid var(--island-border);
  border-radius:18px;padding:3px;
  backdrop-filter:blur(var(--island-blur)) saturate(160%);
  -webkit-backdrop-filter:blur(var(--island-blur)) saturate(160%);
  box-shadow:var(--island-shadow);
  opacity:0;pointer-events:none;
  transition:opacity .32s ease,transform .38s cubic-bezier(.34,1.28,.64,1),background 0.4s var(--sw-ease),border-color 0.4s var(--sw-ease),box-shadow 0.4s var(--sw-ease);
}
.sol-float.open{opacity:1;pointer-events:all;transform:translateX(-50%) scale(1)}
.sf-header{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 4px}
.sf-title{font-size:8px;font-weight:600;letter-spacing:3px;text-transform:uppercase;color:rgba(255,255,255,0.30)}
.sf-viewall{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:500;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,0.40);text-decoration:none;transition:color .2s}
.sf-viewall:hover{color:var(--sw-gold)}
.sf-viewall svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sf-rule{height:1px;background:rgba(255,255,255,0.07);margin:0 4px 3px}
.sf-smart-home{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:6px 8px;border-radius:12px;transition:background .22s ease}
.sf-smart-home:hover{background:rgba(255,255,255,0.04)}
.sf-smart-home.active{background:rgba(var(--gold-rgb),0.08)}
.sf-sh-head{display:flex;align-items:center;gap:6px;text-decoration:none;width:100%;min-width:0}
.sf-sh-ico{width:26px;height:26px;border-radius:6px;background:rgba(255,255,255,0.07);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sf-sh-ico svg{width:13.5px;height:13.5px;stroke:rgba(255,255,255,0.6);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sf-sh-label{font-size:11.5px;font-weight:500;color:rgba(255,255,255,0.75);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sf-sh-arrow{width:12px;height:12px;stroke:rgba(255,255,255,0.28);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sf-chips{display:flex;gap:3px;width:100%;justify-content:space-between}
.sf-chip{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:3.5px 0;border-radius:8px;border:1px solid rgba(255,255,255,0.08);background:rgba(255,255,255,0.04);font-size:9.5px;font-weight:400;color:rgba(255,255,255,0.50);text-decoration:none;transition:border-color .2s,color .2s,background .2s;white-space:nowrap}
.sf-chip:hover {border-color:rgba(var(--gold-rgb),0.40);color:var(--sw-gold);background:rgba(var(--gold-rgb),0.06)}
.sf-chip.active{border-color:rgba(var(--gold-rgb),0.55);color:var(--sw-gold);background:rgba(var(--gold-rgb),0.10)}
.sf-chip svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding:1px}
.sf-item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;padding:4px;min-height:58px;max-height:64px;
  border-radius:8px;text-decoration:none;border:1px solid transparent;
  transition:background .2s, border-color .2s, color .2s, box-shadow .2s;
  color:rgba(255,255,255,0.52);font-size:9.5px;font-weight:400;text-align:center;
}
.sf-item:hover {
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.90);
}
.sf-item.active{
  background:rgba(var(--gold-rgb),0.07);
  border-color:rgba(var(--gold-rgb),0.18);
  color:var(--sw-gold);
}
.sf-item-ico{
  width:26px;height:26px;border-radius:6px;
  background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.04);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s, border-color .2s, color .2s, box-shadow .2s, transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.sf-item-ico svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .16s ease, filter .2s ease}
.sf-item:hover .sf-item-ico {
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.15);
  color:#FFFFFF;
  transform:scale(1.04);
}
.sf-item.active .sf-item-ico{
  background:rgba(var(--gold-rgb),0.16) !important;
  border-color:rgba(var(--gold-rgb),0.40) !important;
  box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.25);
  color:var(--sw-gold) !important;
}
.sf-item.active .sf-item-ico svg{
  stroke:var(--sw-gold);
  filter: drop-shadow(0 2px 4px rgba(var(--gold-rgb), 0.40));
}
.sf-item-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.2;font-size:10px;font-weight:400;margin-top:2px}
.sheet-overlay{position:fixed;inset:0;z-index:550;background:transparent;pointer-events:none;transition:background .32s ease}
.sheet-overlay.open{background:rgba(0,0,0,0.40);pointer-events:all}

/* ── Site Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 700;
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  background: rgba(6, 6, 14, 0.60);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.15);
  
  /* Synchronized page entrance reveal properties */
  opacity: 0;
  transform: translate3d(0, -16px, 0);
  will-change: transform, opacity;
  transition: 
    opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1), 
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    background 0.4s ease, 
    box-shadow 0.4s ease;
}
.site-header.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.site-header.scrolled {
  height: 54px;
  background: rgba(6, 6, 14, 0.90);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 36px rgba(0, 0, 0, 0.44);
}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;margin:0 auto;gap:1rem}
.site-header-link{display:flex;align-items:center;gap:.55rem;text-decoration:none;flex-shrink:0}
.site-header-mark {
  height: 38px;
  width: auto;
  border-radius: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.site-header-logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.site-header-link:hover .site-header-mark {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.35);
}
.site-header-name{font-size:11px;font-weight:700;letter-spacing:3px;color:rgba(255,255,255,0.88);text-transform:uppercase;transition:color .22s ease}
.site-header-link:hover .site-header-name{color:var(--sw-gold)}
.site-header-nav{display:flex;align-items:center;gap:.1rem;flex:1;justify-content:center}
.shn-link{position:relative;font-size:10.5px;font-weight:500;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.44);text-decoration:none;padding:.46rem .82rem;border-radius:8px;transition:color .22s ease,background .22s ease;white-space:nowrap;-webkit-tap-highlight-color:transparent}
button.shn-link{background:none;border:none;cursor:pointer;font-family:inherit}
.shn-link::after{content:'';position:absolute;bottom:5px;left:50%;right:50%;height:1px;background:linear-gradient(90deg,transparent,var(--sw-gold),transparent);opacity:0;border-radius:1px;transition:left .28s cubic-bezier(.22,1,.36,1),right .28s cubic-bezier(.22,1,.36,1),opacity .22s ease}
.shn-link:hover{color:rgba(255,255,255,.88);background:rgba(255,255,255,.06)}
.shn-link:hover::after{left:12%;right:12%;opacity:.65}
.site-header-cta{font-size:10.5px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#0a0a0f;background:var(--sw-gold);border:none;border-radius:100px;padding:.5rem 1.3rem;text-decoration:none;cursor:pointer;flex-shrink:0;transition:background .22s,transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .28s ease;box-shadow:0 2px 12px rgba(var(--gold-rgb),.28);-webkit-tap-highlight-color:transparent}
.site-header-cta:hover{background:#d4b97a;transform:translateY(-1px) scale(1.04);box-shadow:0 6px 22px rgba(var(--gold-rgb),.48)}
.site-header-cta:active{transform:translateY(0) scale(.97)}

/* ── Footer Redesign ── */
.ft-section {
  position: relative;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  background: #050505;
}
footer.ft {
  position: relative;
  background: linear-gradient(to bottom, #0A0A0A, #050505);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem;
  overflow: hidden;
}

/* Ambient Gold Glow & Noise */
.ft-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.ft-noise {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  z-index: 1;
}

/* Footer Container */
.ft-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Apple-style Grid Layout */
.ft-grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  width: 100%;
}

/* Columns styling */
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.ft-col-brand {
  max-width: 360px;
}
.ft-col-title {
  font-family: var(--sw-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sw-gold);
}

/* Brand styling */
.ft-brand-logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ft-brand-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
}
.ft-brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sw-gold);
}
.ft-brand-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}
.ft-address-text {
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.32);
}

/* Links Stack */
.ft-links-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.ft-link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}
.ft-link:hover {
  color: var(--sw-gold);
  transform: translateX(2px);
}

/* Connect / Socials */
.ft-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ft-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.ft-social-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.ft-social-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease, stroke 0.3s ease;
}
.ft-social-btn:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Instagram Premium Brand Coloring */
.ft-social-btn.ft-social-ig {
  color: #f09433; /* Fallback brand color */
  border-color: rgba(230, 104, 60, 0.22);
  background: rgba(230, 104, 60, 0.02);
}
.ft-social-btn.ft-social-ig svg {
  stroke: url(#ig-grad); /* Bound directly to dynamic SVG linearGradient defs block */
}
.ft-social-btn.ft-social-ig:hover {
  border-color: #d6249f;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.38);
}
.ft-social-btn.ft-social-ig:hover svg {
  stroke: #FFFFFF !important;
}

/* WhatsApp Premium Brand Coloring */
.ft-social-btn.ft-social-wa {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.02);
}
.ft-social-btn.ft-social-wa:hover {
  border-color: #25D366;
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
}
.ft-social-btn.ft-social-wa:hover svg {
  stroke: #FFFFFF !important;
}

/* Email Premium Brand Coloring */
.ft-social-btn.ft-social-mail {
  color: #1a73e8; /* High-end modern Google/tech blue */
  border-color: rgba(26, 115, 232, 0.22);
  background: rgba(26, 115, 232, 0.02);
}
.ft-social-btn.ft-social-mail:hover {
  border-color: #1a73e8;
  background: #1a73e8;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.38);
}
.ft-social-btn.ft-social-mail:hover svg {
  stroke: #FFFFFF !important;
}
.ft-meta-info {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ft-meta-item {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* Divider Line */
.ft-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.07) 10%, rgba(var(--gold-rgb), 0.16) 50%, rgba(255, 255, 255, 0.07) 90%, transparent 100%);
}

/* Bottom Bar */
.ft-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}
.ft-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ft-mini-badge {
  height: 34px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ft-mini-badge-mark {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--sw-gold);
  font-weight: 500;
}
.ft-mini-badge:hover {
  border-color: var(--sw-gold);
  transform: translateY(-2px) scale(1.05);
}
.ft-copyright-text {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.2px;
}
.ft-legal-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Soft Watermark (Integrated at the bottom of the section to prevent word/element overlaps) */
.ft-bg-watermark {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  font-family: var(--sw-sans);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 11rem);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
  opacity: 0.7;
}

/* Responsive Apple-style layout */
@media(max-width: 960px) {
  .ft-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .ft-col-brand {
    max-width: 100%;
    grid-column: span 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
  }
}
@media(max-width: 600px) {
  footer.ft {
    padding: 3.5rem 0 2rem;
  }
  .ft-container {
    gap: 2.2rem;
  }
  .ft-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ft-col-brand {
    grid-column: span 1;
  }
  .ft-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .ft-bottom-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .ft-bg-watermark {
    bottom: -10px;
  }
}

/* ── Scroll Reveal ── */
.sw-r{opacity:0;transform:translateY(28px);transition:opacity .85s var(--sw-ease),transform .85s var(--sw-ease)}
.sw-r.on{opacity:1;transform:translateY(0)}
.sw-r[data-d="1"]{transition-delay:.12s}
.sw-r[data-d="2"]{transition-delay:.24s}
.sw-r[data-d="3"]{transition-delay:.36s}
.sw-ri{opacity:0;transition:opacity 1.1s ease}
.sw-ri.on{opacity:1}

/* ── Hero (shared across solution pages) ── */
.sw-page-wrapper{padding-top:0}
.sw-hero{position:relative;height:100svh;min-height:700px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.sw-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;animation:swZoom 24s ease-out forwards}
@keyframes swZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
.sw-hero-overlay{position:absolute;inset:0;background:rgba(5,5,12,0.52)}
.sw-hero-content{position:relative;z-index:2;max-width:860px;padding:0 2.5rem;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center}
@keyframes heroFadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
.sw-hero-eyebrow{font-size:10px;letter-spacing:3.5px;text-transform:uppercase;color:var(--sw-gold);font-family:var(--sw-sans);font-weight:500;margin-bottom:1.4rem;display:flex;align-items:center;gap:14px;opacity:0;animation:heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}
.sw-hero-eyebrow::before,.sw-hero-eyebrow::after{content:'';width:28px;height:1px;background:var(--sw-gold);flex-shrink:0}
.sw-hero-h1{font-family:var(--sw-serif);font-size:clamp(3.2rem,7vw,7rem);font-weight:300;line-height:1.06;color:#fff;letter-spacing:-0.01em;margin-bottom:1.6rem;opacity:0;animation:heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.5s forwards}
.sw-hero-h1 em{font-style:italic;color:var(--sw-gold)}
.sw-hero-sub{font-family:var(--sw-sans);font-size:clamp(14px,1.3vw,18px);font-weight:300;color:rgba(255,255,255,0.65);line-height:1.85;max-width:600px;opacity:0;animation:heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.7s forwards}
.sw-hero-scroll{position:absolute;bottom:2.8rem;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px}
.sw-hero-scroll span{font-size:8.5px;letter-spacing:2.5px;text-transform:uppercase;color:rgba(255,255,255,0.35);font-family:var(--sw-sans)}
.sw-scroll-line{width:1px;height:44px;background:linear-gradient(to bottom,rgba(var(--gold-rgb),0.6),transparent);animation:swLine 2.2s ease-in-out infinite}
@keyframes swLine{0%,100%{opacity:0.3;transform:scaleY(0.6)}50%{opacity:1;transform:scaleY(1)}}
.sw-btn-gold{display:inline-flex;align-items:center;justify-content:center;padding:13px 30px;background:var(--sw-gold);color:#fff;font-family:var(--sw-sans);font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:500;text-decoration:none;border-radius:3px;transition:filter .28s,transform .28s,box-shadow .28s;white-space:nowrap}
.sw-btn-gold:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 10px 28px rgba(var(--gold-rgb),0.30)}
.sw-btn-outline{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border:1px solid rgba(51,51,51,0.22);color:var(--sw-ink);font-family:var(--sw-sans);font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:400;text-decoration:none;border-radius:3px;transition:border-color .28s,color .28s;white-space:nowrap}
.sw-btn-outline:hover{border-color:var(--sw-gold);color:var(--sw-gold)}

/* ── Responsive ── */
@media(max-width:1100px){.shn-link{padding:.46rem .6rem;font-size:10px}}
@media(max-width:900px) {.site-header-nav{display:none}}
@media(max-width:768px) {.site-header-cta{display:none}.site-header{padding:0 1.2rem}}
@media(max-width:640px) {.sw-hero-content{padding:0 1.5rem}}

/* ── Shared Section-Wrap Responsive Padding ── */
/* These rules apply to any page that uses the .section-wrap class */
@media(min-width:1025px){
  .section-wrap{padding:7rem 3.5rem}
}
@media(min-width:768px) and (max-width:1024px){
  .section-wrap{padding:5rem 2.5rem}
  .preview-section{padding:5rem 2.5rem}
}
@media(max-width:767px){
  .section-wrap{padding:4rem 1.5rem}
  .preview-section{padding:3.5rem 1.5rem}
  .sw-hero-h1{font-size:clamp(2.4rem,10vw,3.8rem)}
  .sw-hero-sub{font-size:clamp(13px,4vw,15px)}
}

/* ── Orientation Support ── */
@media(orientation:landscape) and (max-height:600px){
  /* Compact nav / header for landscape phone use */
  .site-header{height:50px}
  body{padding-top:50px}
  .island-nav{bottom:8px}
  .sw-hero{min-height:100svh}
}
@media(orientation:portrait) and (max-width:767px){
  /* Ensure header fills width in portrait phone */
  .site-header{padding:0 1rem}
  .site-header-inner{gap:.5rem}
}
@media(orientation:landscape) and (max-width:1024px){
  /* Tablet landscape: tighten section padding */
  .section-wrap{padding:4rem 3rem}
  .preview-section{padding:4rem 3rem}
}
@media(max-width:480px){
  .sol-float{width:calc(100vw - 24px);max-width:290px;border-radius:16px;padding:3px}
  .sf-header{padding:6px 10px 4px}
  .sf-title{font-size:8px;letter-spacing:2px}
  .sf-viewall{font-size:9px}
  .sf-rule{margin:0 3px 2px}
  .sf-smart-home{padding:6px 8px;border-radius:12px;gap:5px}
  .sf-sh-ico{width:26px;height:26px;border-radius:6px}
  .sf-sh-ico svg{width:13.5px;height:13.5px}
  .sf-sh-label{font-size:11.5px}
  .sf-chips{gap:3px}
  .sf-chip{padding:3.5px 0;font-size:9.5px;border-radius:8px;gap:3px}
  .sf-chip svg{width:11px;height:11px}
  .sf-grid{gap:1px;padding:1px}
  .sf-item{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    padding:4px;font-size:9.5px;border-radius:6px;gap:2px;min-height:58px;max-height:64px;
  }
  .sf-item-ico{width:26px;height:26px;border-radius:6px}
  .sf-item-ico svg{width:13px;height:13px}
  .sf-item-label{font-size:9px;margin-top:1px}
}
@media(max-width:600px){
  .island-nav{bottom:16px;gap:1px;padding:5px}
  .nav-btn{height:40px;min-width:40px;padding:0 10px}
  .nav-btn.active{padding-right:12px}
  .nav-btn-icon{width:19px;height:19px}
  .nav-btn.active .nav-btn-label{width:68px}
}
@media(max-width:400px){
  .island-nav{bottom:12px;gap:0;padding:5px}
  .nav-btn{height:38px;min-width:38px;padding:0 9px}
  .nav-btn.active{padding-right:9px}
  .nav-btn-label,.nav-btn.active .nav-btn-label{width:0!important;margin-left:0!important;opacity:0!important;pointer-events:none!important}
}

/* ── Light Mode: Island Nav & Solutions Panel — Black icons + text ── */
/* The sol-float panel uses hardcoded rgba(255,255,255,…) designed for dark mode.
   These overrides flip every element to black for the cream frosted-glass in light mode. */

/* Main nav button labels */
html:not(.dark-theme) .nav-btn { color: rgba(0,0,0,0.82); }
html:not(.dark-theme) .nav-btn:hover { color: rgba(0,0,0,0.96); background: rgba(0,0,0,0.06); }

/* Panel header row */
html:not(.dark-theme) .sf-title { color: rgba(0,0,0,0.45); }
html:not(.dark-theme) .sf-viewall { color: rgba(0,0,0,0.55); }
html:not(.dark-theme) .sf-viewall:hover { color: var(--sw-gold); }
html:not(.dark-theme) .sf-rule { background: rgba(0,0,0,0.09); }

/* Smart Home row */
html:not(.dark-theme) .sf-smart-home:hover { background: rgba(0,0,0,0.05); }
html:not(.dark-theme) .sf-sh-ico { background: rgba(0,0,0,0.07); }
html:not(.dark-theme) .sf-sh-ico svg { stroke: rgba(0,0,0,0.62); }
html:not(.dark-theme) .sf-sh-label { color: rgba(0,0,0,0.82); }
html:not(.dark-theme) .sf-sh-arrow { stroke: rgba(0,0,0,0.35); }

/* KNX / Wired / Wireless chips */
html:not(.dark-theme) .sf-chip {
  color: rgba(0,0,0,0.60);
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
}
html:not(.dark-theme) .sf-chip:hover {
  border-color: rgba(var(--gold-rgb),0.40);
  color: var(--sw-gold);
  background: rgba(var(--gold-rgb),0.06);
}
html:not(.dark-theme) .sf-chip.active {
  border-color: rgba(var(--gold-rgb),0.55);
  color: var(--sw-gold);
  background: rgba(var(--gold-rgb),0.10);
}

/* Solution grid items */
html:not(.dark-theme) .sf-item { color: rgba(0,0,0,0.65); }
html:not(.dark-theme) .sf-item:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.92);
}
html:not(.dark-theme) .sf-item-ico {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.06);
}
html:not(.dark-theme) .sf-item:hover .sf-item-ico {
  background: rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.15);
  color: rgba(0,0,0,0.88);
}

/* Force theme-toggle-btn to be a perfectly balanced circle with zero wordings and offset shifts */
#theme-toggle-btn {
  padding: 0 !important;
  width: 42px !important;
  min-width: 42px !important;
  justify-content: center !important;
}
@media(max-width: 600px) {
  #theme-toggle-btn {
    width: 40px !important;
    min-width: 40px !important;
  }
}
@media(max-width: 400px) {
  #theme-toggle-btn {
    width: 38px !important;
    min-width: 38px !important;
  }
}
