/* ============================================================
   WISE HOUSE – style.css
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #2d4a2d;
  --primary-dark:  #1e3320;
  --accent:        #4a7c4a;
  --accent-light:  #6aab6a;
  --bg-white:      #ffffff;
  --bg-light:      #f0f5f0;
  --text-dark:     #1a1a1a;
  --text-muted:    #5a6e5a;
  --text-light:    #d4e8d4;
  --gold:          #c8a43a;
  --shadow-sm:     0 2px 12px rgba(45,74,45,0.08);
  --shadow-md:     0 8px 32px rgba(45,74,45,0.14);
  --shadow-lg:     0 20px 60px rgba(45,74,45,0.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:         82px;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  --circle-dark: #323e42;
  --circle-light: rgb(160 106 46 / 50%);
}

::selection { background: #579A51;color: #fff;}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #2d4a2d;
}

body {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-desc { color: #fff; }
.section-header.light .section-tag { background: rgba(255,255,255,0.15); color: #fff; }

.section-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-cta {
  display: inline-block;
  background: rgb(255 162 57);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(74,124,74,0.35);
  cursor: pointer;
}
.btn-cta:hover {
  background: #ffffff85;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,124,74,0.45);
  color: #1e3320;
}
.btn-cta:active { transform: translateY(0); }

/* Parallax circles */

.parallax-circle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
}

.circle-1 {
  width: 260px;
  height: 260px;
  background: var(--circle-dark);
  top: -80px;
  left: -60px;
}

.circle-2 {
  width: 180px;
  height: 180px;
  background: var(--circle-light);
  top: 30%;
  right: -50px;
}

.circle-3 {
  width: 320px;
  height: 320px;
  background: var(--circle-dark);
  top: -120px;
  right: 20%;
}

.circle-4 {
  width: 140px;
  height: 140px;
  background: var(--circle-light);
  bottom: 10%;
  left: 10%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(30,58,30,0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
@keyframes logo-entrance {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.logo-img {
  height: 60px;
  width: auto;
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    0.35s ease;
  cursor: pointer;
  animation: logo-entrance 0.5s ease both;
}
.logo:hover .logo-img {
  transform: scale(1.07);
  filter: drop-shadow(0 0 14px rgba(160,220,160,0.55))
          drop-shadow(0 4px 18px rgba(74,124,74,0.45));
}
.logo:active .logo-img {
  transform: scale(0.97);
  transition-duration: 0.12s;
}
.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { width: 44px; height: 44px; color: #fff; flex-shrink: 0; }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-light);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.lang-btn.active,
.lang-btn:hover { color: #fff; border-bottom-color: var(--accent-light); }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: #2d4a2d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,40,20,0.55) 0%, rgba(45,74,45,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Hero logo (large, fades out on scroll) ────────────────── */
.hero-logo {
  display: block;
  margin-bottom: 10px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  will-change: transform, opacity;
}
.hero-logo img {
  display: block;
  height: clamp(140px, 20vw, 210px);
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.4));
    animation: logo-breathe 4s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.18s ease, filter 0.18s ease;
}
@keyframes logo-breathe {
  0%   { transform: scale(1);   opacity: 0.9; }
  50%  { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1);   opacity: 0.9; }
}
.hero-logo:hover img {
  transform: scale(1.07);
  filter: drop-shadow(0 0 26px rgba(160,220,160,0.58))
          drop-shadow(0 8px 36px rgba(45,74,45,0.5));
}

/* ── Navbar logo transition (hidden → visible on scroll) ──── */
#nav-logo-img {
  opacity: 0;
  transform: scale(0.92);
  animation: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.navbar.scrolled #nav-logo-img {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-badge {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.06);
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  font-weight: 400;
}

/* ── Hero stat boxes ────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  width: 100%;
}
.stat-box {
  flex: 1 1 148px;
  max-width: 210px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-top-color: rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 28px 20px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  box-shadow:
    0 4px 28px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.30),
    0 0 0 1px rgba(255,255,255,0.13);
}
.stat-number {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 900;
  color: rgb(255 162 57);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-unit {
  font-size: 55%;
  font-weight: 700;
  vertical-align: baseline;
}
.stat-icon-text {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.stat-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  margin-top: 10px;
  display: block;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-arrow {
  width: 28px; height: 28px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* Hero fade-in animations */
.fade-in-up { opacity: 0; transform: translateY(30px); }
.fade-in-up.animated { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  padding: 72px 0;
  background: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-grid .flip-card {
  height: 200px;
}

/* ============================================================
   PANEL – interactive smart home demo
   ============================================================ */
.panel {
  position: relative;
  min-height: 100vh;
  background: url('../img/wnetrze.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 2px #000 solid;
  border-bottom: 2px #000 solid;
}
.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(10 18 14 / 65%) 0%, rgb(30 51 32 / 20%) 100%);
  z-index: 0;
}
.panel-container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}
.panel-heading {
  color: #fff;
}

/* Panel layout */
.panel-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

/* ── Mode tabs (segmented control) ─────────────────────── */
.mode-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 36px;
}
.mode-tab {
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}
.mode-tab:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.9);
}
.mode-tab.active {
  background: rgba(106,171,106,0.22);
  border-color: rgba(106,171,106,0.45);
  color: #fff;
  box-shadow: 0 0 18px rgba(106,171,106,0.2), inset 0 0 8px rgba(106,171,106,0.1);
}

/* ── Devices grid ──────────────────────────────────────── */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 920px;
  width: 100%;
  margin-bottom: 28px;
}
.device-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-top-color: rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 28px 16px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.device-card.device-active {
  background: rgba(106,171,106,0.12);
  border-color: rgba(106,171,106,0.30);
  box-shadow: 0 4px 20px rgba(106,171,106,0.15);
}
.device-card.device-warn {
  background: rgba(200,164,58,0.10);
  border-color: rgba(200,164,58,0.30);
  box-shadow: 0 4px 20px rgba(200,164,58,0.10);
}
.device-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.device-card.device-active .device-icon {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(106,171,106,0.7));
}
.device-card.device-warn .device-icon {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(200,164,58,0.7));
}

.device-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.device-state {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
  padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  display: inline-block;
  transition: background 0.4s ease, color 0.4s ease;
}
.device-card.device-active .device-state {
  background: rgba(106,171,106,0.15);
  color: var(--accent-light);
}
.device-card.device-warn .device-state {
  background: rgba(200,164,58,0.12);
  color: var(--gold);
}

.control-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ============================================================
   SERVICES – FLIP CARDS
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.flip-card {
  height: 260px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
}

.flip-front {
  background: #f0f5f0cc;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(74,124,74,0.08);
  transition: box-shadow var(--transition);
}
.flip-card:hover .flip-front { box-shadow: var(--shadow-lg); }

.flip-back {
  background: var(--primary);
  transform: rotateY(180deg);
  gap: 14px;
}

.service-icon {
  width: 60px; height: 60px;
  color: var(--accent);
  margin-bottom: 14px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }

.service-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

/* Back side */
.flip-back-icon {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 48px; height: 48px;
  color: rgba(255,255,255,0.1);
  pointer-events: none;
}
.flip-back-icon svg { width: 100%; height: 100%; }
.flip-back-icon img { width: 100%; height: 100%; object-fit: contain; opacity: 0.15; }

.flip-back h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.flip-back p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* ============================================================
   VALUE PROPOSITION (Opłacalność)
   ============================================================ */
.value-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.value-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 36px;
}
.value-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.value-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.value-image img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(8px 14px 18px rgba(0,0,0,0.4));
}

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how-we-work {
  padding: 100px 0;
  background: var(--bg-light);
}
.hww-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.hww-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(74,124,74,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hww-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hww-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hww-icon svg { width: 100%; height: 100%; }
.hww-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.hww-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
  padding: 80px 0;
  background: var(--bg-white);
}
.trust-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
}
.trust-subtitle {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.trust-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.trust-body strong {
  color: var(--primary);
  font-weight: 700;
}
.trust-accent {
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-accent-inner {
  width: 160px;
  height: 160px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 8px 40px rgba(45,74,45,0.10);
}
.trust-accent-inner svg {
  width: 80px;
  height: 80px;
}

/* ============================================================
   COOPERATION (replaces Realizations)
   ============================================================ */
.cooperation {
  padding: 100px 0;
  background: linear-gradient(to right, #40583c 0%, #284f30 51%, #3b6f33 100%);
}
.stepper {
  max-width: 760px;
  margin: 0 auto 56px;
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.12);
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(106,171,106,0.4);
  color: var(--accent-light);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.step-content {
  padding-top: 12px;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.step-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.cooperation-note {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cooperation-note p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.cooperation-note p + p {
  margin-top: 16px;
}

/* ============================================================
   WHERE SMART HOME WORKS
   ============================================================ */
.where-section {
  padding: 100px 0;
  background: var(--bg-white);
}
.where-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.where-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  border: 1.5px solid rgba(74,124,74,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.where-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.where-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin: 0 auto 18px;
}
.where-icon svg { width: 100%; height: 100%; }
.where-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.where-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  padding: 12px;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.contact-value:hover { color: var(--accent); }

/* Contact form */
.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  position: relative;
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1.5px solid rgba(74,124,74,0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,124,74,0.12);
}
.form-group textarea { min-height: 120px; }

.form-focus-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  border: none;
  font-size: 1rem;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(74,124,74,0.12);
  color: var(--accent);
  border: 1px solid rgba(74,124,74,0.3);
}
.form-status.error {
  display: block;
  background: rgba(180,40,40,0.08);
  color: #b42828;
  border: 1px solid rgba(180,40,40,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(to right, #40583c 0%, #284f30 51%, #3b6f33 100%);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-icon { color: rgba(255,255,255,0.9); }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

.footer-contact p { margin-bottom: 10px; }
.footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: #fff; }

/* Location section (above contact) */
.location-section {
  padding: 32px 0;
  background: var(--bg-light);
  text-align: center;
}
.location-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.location-text strong {
  color: var(--primary);
}

.footer-location {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.why-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.why-grid .scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.why-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .scroll-reveal:nth-child(4) { transition-delay: 0.20s; }
.why-grid .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.why-grid .scroll-reveal:nth-child(6) { transition-delay: 0.30s; }
.why-grid .scroll-reveal:nth-child(7) { transition-delay: 0.35s; }
.why-grid .scroll-reveal:nth-child(8) { transition-delay: 0.40s; }

.services-grid .scroll-reveal:nth-child(1)  { transition-delay: 0.04s; }
.services-grid .scroll-reveal:nth-child(2)  { transition-delay: 0.08s; }
.services-grid .scroll-reveal:nth-child(3)  { transition-delay: 0.12s; }
.services-grid .scroll-reveal:nth-child(4)  { transition-delay: 0.16s; }
.services-grid .scroll-reveal:nth-child(5)  { transition-delay: 0.20s; }
.services-grid .scroll-reveal:nth-child(6)  { transition-delay: 0.24s; }
.services-grid .scroll-reveal:nth-child(7)  { transition-delay: 0.28s; }
.services-grid .scroll-reveal:nth-child(8)  { transition-delay: 0.32s; }
.services-grid .scroll-reveal:nth-child(9)  { transition-delay: 0.36s; }
.services-grid .scroll-reveal:nth-child(10) { transition-delay: 0.40s; }

/* Stepper stagger */
.stepper .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.stepper .scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.stepper .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.stepper .scroll-reveal:nth-child(4) { transition-delay: 0.20s; }
.stepper .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.stepper .scroll-reveal:nth-child(6) { transition-delay: 0.30s; }
.stepper .scroll-reveal:nth-child(7) { transition-delay: 0.35s; }
.stepper .scroll-reveal:nth-child(8) { transition-delay: 0.40s; }
.stepper .scroll-reveal:nth-child(9) { transition-delay: 0.45s; }

/* How we work stagger */
.hww-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.hww-grid .scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.hww-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.hww-grid .scroll-reveal:nth-child(4) { transition-delay: 0.20s; }
.hww-grid .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }

/* Where grid stagger */
.where-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.where-grid .scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.where-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.where-grid .scroll-reveal:nth-child(4) { transition-delay: 0.20s; }

/* ============================================================
   RESPONSIVE – TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .why-grid .flip-card { height: 180px; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .flip-card      { height: 240px; }
  .devices-grid   { grid-template-columns: repeat(3, 1fr); }
  .hww-grid       { grid-template-columns: repeat(3, 1fr); }
  .hww-grid .hww-card:nth-child(4),
  .hww-grid .hww-card:nth-child(5) { grid-column: auto; }
  .where-grid     { grid-template-columns: repeat(2, 1fr); }
  .trust-layout   { grid-template-columns: 1fr; gap: 40px; }
  .trust-accent   { order: -1; }
  .trust-accent-inner { width: 120px; height: 120px; }
  .trust-accent-inner svg { width: 60px; height: 60px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE – MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* ── Navigation ──────────────────────────────── */
  .hamburger { display: flex; }
  .logo-img  { height: 46px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(30,51,32,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  }
  .nav-menu.open {
    max-height: 400px;
    padding: 16px 0 24px;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-align: center;
  }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .lang-switcher { margin-top: 16px; }

  /* ── Hero – compact for mobile ───────────────── */
  .hero { min-height: auto; padding: 90px 0 56px; }
  .hero-logo img { height: clamp(100px, 28vw, 150px); }
  .hero-badge { margin-bottom: 18px; padding: 5px 16px; font-size: 0.7rem; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); margin-bottom: 14px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; letter-spacing: 0.06em; }
  .hero-content { padding: 0 20px; }
  .btn-cta { padding: 14px 28px; font-size: 0.95rem; }
  .hero-stats { margin-top: 28px; gap: 10px; }
  .stat-box { padding: 18px 14px 16px; border-radius: 14px; }
  .stat-number { font-size: clamp(2rem, 8vw, 2.6rem); }
  .stat-label { font-size: 0.72rem; margin-top: 6px; }
  .hero-scroll-hint { bottom: 16px; }
  .scroll-arrow { width: 22px; height: 22px; }

  /* ── Section spacing – tighter ───────────────── */
  .why-us, .services, .cooperation, .contact, .how-we-work, .where-section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); margin-bottom: 10px; }
  .section-desc { font-size: 0.92rem; }
  .section-tag { font-size: 0.7rem; padding: 5px 14px; margin-bottom: 12px; }
  .container { padding: 0 18px; }

  /* ── Why Us – compact 2-col ──────────────────── */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-grid .flip-card { height: 160px; }

  /* ── Services – mobile flip → tap ────────────── */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flip-card { height: 180px; }
  .flip-front, .flip-back { padding: 20px 14px; }
  .service-icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .service-name { font-size: 0.82rem; }
  .flip-back h3 { font-size: 0.8rem; }
  .flip-back p { font-size: 0.75rem; line-height: 1.45; }

  /* ── Panel – mobile dashboard ────────────────── */
  .panel { min-height: auto; }
  .panel-container { padding-top: 56px; padding-bottom: 56px; }
  .panel-layout { gap: 28px; }

  /* Mode tabs: wrap and compact */
  .mode-tabs { gap: 6px; margin-bottom: 24px; }
  .mode-tab { padding: 10px 16px; font-size: 0.8rem; }

  /* Devices: 2-col + 1 centered */
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .devices-grid .device-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
  .device-card { padding: 20px 12px 18px; border-radius: 14px; }
  .device-icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .device-name { font-size: 0.78rem; }
  .device-state { font-size: 0.72rem; padding: 3px 10px; }

  .control-disclaimer { font-size: 0.68rem; }

  /* ── How we work – mobile ──────────────────── */
  .hww-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hww-grid .hww-card:nth-child(5) { grid-column: 1 / -1; max-width: 60%; justify-self: center; }
  .hww-card { padding: 24px 16px 20px; }
  .hww-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .hww-title { font-size: 0.85rem; }
  .hww-desc { font-size: 0.8rem; }

  /* ── Trust – mobile ────────────────────────── */
  .trust-section { padding: 48px 0; }
  .trust-layout { grid-template-columns: 1fr; gap: 28px; }
  .trust-accent { order: -1; }
  .trust-accent-inner { width: 100px; height: 100px; }
  .trust-accent-inner svg { width: 50px; height: 50px; }
  .trust-subtitle { font-size: 0.95rem; }
  .trust-body { font-size: 0.9rem; }
  .trust-text .section-title { text-align: center !important; }
  .trust-subtitle, .trust-body { text-align: center; }

  /* ── Cooperation – mobile ──────────────────── */
  .stepper::before { left: 20px; }
  .step { gap: 16px; padding-bottom: 24px; }
  .step-number { width: 42px; height: 42px; font-size: 0.88rem; }
  .step-content h3 { font-size: 0.9rem; }
  .step-content p { font-size: 0.82rem; }
  .cooperation-note { padding: 22px 18px; }
  .cooperation-note p { font-size: 0.85rem; }

  /* ── Where – mobile ────────────────────────── */
  .where-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .where-card { padding: 24px 16px 20px; }
  .where-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .where-title { font-size: 0.9rem; }
  .where-desc { font-size: 0.82rem; }

  /* ── Value section ────────────────────────────── */
  .value-section { padding: 48px 0; }
  .value-layout { grid-template-columns: 1fr; gap: 28px; }
  .value-image { order: -1; }
  .value-image img { max-width: 240px; }
  .value-list { margin: 18px 0 28px; }
  .value-list li { font-size: 0.88rem; margin-bottom: 10px; }
  .value-text .section-title { text-align: center !important; }
  .value-text .btn-cta { display: block; text-align: center; }


  /* ── Contact – tighter ───────────────────────── */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px 18px; border-radius: 16px; }
  .form-group { margin-bottom: 20px; }
  .form-group input, .form-group textarea { padding: 12px 14px; font-size: 0.9rem; }
  .form-group textarea { min-height: 100px; }

  /* ── Footer – compact ────────────────────────── */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding: 18px 0; }

  /* ── Hide parallax circles on mobile ─────────── */
  .parallax-circle { display: none; }

  /* ── Scroll reveal: shorter distance on mobile ── */
  .scroll-reveal { transform: translateY(24px); }
}

/* ============================================================
   RESPONSIVE – SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-logo img { height: clamp(80px, 26vw, 120px); }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-stats { gap: 8px; }
  .stat-box { padding: 16px 10px 14px; flex-basis: 100px; border-radius: 12px; }
  .stat-number { font-size: clamp(1.7rem, 10vw, 2.2rem); }
  .stat-label { font-size: 0.68rem; }

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .why-grid .flip-card { height: 150px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flip-card { height: 160px; }
  .service-icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .service-name { font-size: 0.78rem; }

  .mode-tab { padding: 8px 12px; font-size: 0.75rem; }
  .device-card { padding: 16px 10px 14px; }
  .device-icon { width: 30px; height: 30px; margin-bottom: 8px; }
  .device-name { font-size: 0.72rem; }
  .device-state { font-size: 0.68rem; padding: 2px 8px; }

  .hww-grid { gap: 10px; }
  .where-grid { gap: 10px; }
}

/* ============================================================
   RESPONSIVE – LARGE DESKTOP  (≥ 1280px)
   ============================================================ */
@media (min-width: 1280px) {
  /* ── Container & spacing ────────────────────── */
  .container {
    max-width: 1320px;
    padding: 0 36px;
  }
  .nav-inner {
    max-width: 1320px;
    padding: 0 36px;
  }

  /* ── Typography scale-up ────────────────────── */
  .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
  .section-desc  { font-size: 1.1rem; max-width: 620px; }
  .section-tag   { font-size: 0.8rem; padding: 7px 22px; }

  /* ── Hero – controlled height ───────────────── */
  .hero { min-height: 100vh; }
  .hero-content { max-width: 880px; }
  .hero-logo img { height: clamp(180px, 14vw, 240px); }
  .hero-title { font-size: clamp(3rem, 5vw, 4.2rem); }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-stats { gap: 18px; margin-top: 52px; }
  .stat-box {
    max-width: 240px;
    padding: 32px 24px 28px;
  }
  .stat-number { font-size: clamp(3rem, 4vw, 3.6rem); }
  .stat-label  { font-size: 0.82rem; }

  /* ── Why Us – 4 columns with breathing room ── */
  .why-us { padding: 90px 0; }
  .why-grid { gap: 28px; }
  .why-grid .flip-card { height: 220px; }

  /* ── Panel – wider widget ───────────────────── */
  .panel-container { padding-top: 100px; padding-bottom: 100px; }
  .devices-grid { max-width: 1040px; gap: 20px; }
  .device-card { padding: 32px 20px 28px; }
  .device-icon { width: 56px; height: 56px; }
  .mode-tab { padding: 14px 28px; font-size: 0.95rem; }

  /* ── Services – 5 columns ───────────────────── */
  .services { padding: 110px 0; }
  .services-grid { gap: 24px; }
  .flip-card { height: 280px; }
  .service-icon { width: 68px; height: 68px; }
  .service-name { font-size: 1rem; }

  /* ── Value section ──────────────────────────── */
  .value-section { padding: 100px 0; }
  .value-layout { gap: 64px; }
  .value-list li { font-size: 1rem; margin-bottom: 16px; }
  .value-image img { max-width: 480px; }

  /* ── Cooperation ────────────────────────────── */
  .cooperation { padding: 110px 0; }

  /* ── How we work ──────────────────────────── */
  .how-we-work { padding: 110px 0; }
  .hww-grid { gap: 24px; }
  .hww-card { padding: 40px 28px 36px; }

  /* ── Where ─────────────────────────────────── */
  .where-section { padding: 110px 0; }
  .where-grid { gap: 28px; }

  /* ── Trust ─────────────────────────────────── */
  .trust-section { padding: 100px 0; }
  .trust-layout { gap: 80px; }
  .trust-accent-inner { width: 180px; height: 180px; }
  .trust-accent-inner svg { width: 90px; height: 90px; }

  /* ── Contact ────────────────────────────────── */
  .contact { padding: 110px 0; }
  .contact-grid { gap: 72px; }
  .contact-form-wrap { padding: 48px; }

  /* ── Footer ─────────────────────────────────── */
  .footer-grid { gap: 64px; }
}

/* ============================================================
   RESPONSIVE – EXTRA-LARGE DESKTOP  (≥ 1536px)  — 1440p / 4K
   ============================================================ */
@media (min-width: 1536px) {
  /* ── Container – widen for ultrawide ────────── */
  .container {
    max-width: 1480px;
    padding: 0 48px;
  }
  .nav-inner {
    max-width: 1480px;
    padding: 0 48px;
  }

  /* ── Base font bump ─────────────────────────── */
  html { font-size: 17px; }

  /* ── Typography ─────────────────────────────── */
  .section-title { font-size: clamp(2.2rem, 3vw, 3.2rem); }
  .section-desc  { font-size: 1.15rem; max-width: 680px; }
  .section-header { margin-bottom: 72px; }

  /* ── Hero ────────────────────────────────────── */
  .hero-content { max-width: 960px; }
  .hero-logo img { height: clamp(200px, 13vw, 280px); }
  .hero-title { font-size: clamp(3.4rem, 4.5vw, 5rem); }
  .hero-subtitle { font-size: 1.4rem; letter-spacing: 0.12em; }
  .hero-stats { gap: 22px; margin-top: 60px; }
  .stat-box {
    max-width: 260px;
    padding: 36px 28px 32px;
    border-radius: 20px;
  }
  .stat-number { font-size: clamp(3.2rem, 3.5vw, 4rem); }
  .stat-label  { font-size: 0.85rem; margin-top: 12px; }

  /* ── Why Us ──────────────────────────────────── */
  .why-us { padding: 110px 0; }
  .why-grid { gap: 32px; }
  .why-grid .flip-card { height: 240px; }

  /* ── Panel ───────────────────────────────────── */
  .panel-container { padding-top: 120px; padding-bottom: 120px; }
  .panel-layout { gap: 56px; }
  .devices-grid { max-width: 1160px; gap: 24px; }
  .device-card { padding: 36px 24px 32px; border-radius: 22px; }
  .device-icon { width: 60px; height: 60px; margin-bottom: 16px; }
  .device-name { font-size: 0.92rem; }
  .device-state { font-size: 0.82rem; padding: 5px 14px; }
  .mode-tab { padding: 14px 32px; font-size: 1rem; }
  .control-disclaimer { font-size: 0.76rem; }

  /* ── Services – larger flip cards ───────────── */
  .services { padding: 130px 0; }
  .services-grid { gap: 28px; }
  .flip-card { height: 310px; }
  .flip-front, .flip-back { padding: 32px 24px; }
  .service-icon { width: 76px; height: 76px; margin-bottom: 18px; }
  .service-name { font-size: 1.05rem; }
  .flip-back h3 { font-size: 0.95rem; }
  .flip-back p  { font-size: 0.88rem; }

  /* ── Value section ──────────────────────────── */
  .value-section { padding: 120px 0; }
  .value-layout { gap: 80px; }
  .value-list li { font-size: 1.05rem; margin-bottom: 18px; padding-left: 28px; }
  .value-image img { max-width: 540px; }

  /* ── Cooperation ────────────────────────────── */
  .cooperation { padding: 130px 0; }

  /* ── How we work ──────────────────────────── */
  .how-we-work { padding: 130px 0; }
  .hww-grid { gap: 28px; }

  /* ── Where ─────────────────────────────────── */
  .where-section { padding: 130px 0; }
  .where-grid { gap: 32px; }

  /* ── Trust ─────────────────────────────────── */
  .trust-section { padding: 120px 0; }

  /* ── Contact ────────────────────────────────── */
  .contact { padding: 130px 0; }
  .contact-grid { gap: 80px; }
  .contact-form-wrap { padding: 52px; border-radius: 24px; }
  .form-group input, .form-group textarea { padding: 16px 18px; font-size: 1rem; }

  /* ── Footer ─────────────────────────────────── */
  .footer { padding-top: 80px; }
  .footer-grid { gap: 72px; padding-bottom: 56px; }
  .footer-bottom { padding: 28px 0; }

  /* ── Parallax circles – scale up ────────────── */
  .circle-1 { width: 340px; height: 340px; }
  .circle-2 { width: 240px; height: 240px; }
  .circle-3 { width: 420px; height: 420px; }
  .circle-4 { width: 200px; height: 200px; }
}

/* ============================================================
   RESPONSIVE – 4K+  (≥ 2200px)
   ============================================================ */
@media (min-width: 2200px) {
  html { font-size: 18px; }

  .container {
    max-width: 1640px;
    padding: 0 64px;
  }
  .nav-inner {
    max-width: 1640px;
    padding: 0 64px;
  }

  .hero-content { max-width: 1080px; }
  .hero-logo img { height: clamp(240px, 10vw, 320px); }

  .devices-grid { max-width: 1320px; }

  .why-us, .services, .cooperation, .contact, .how-we-work, .where-section { padding: 150px 0; }
  .value-section { padding: 140px 0; }

  .stat-box { max-width: 280px; }
}
