:root {
  --night: #0a1f38;
  --navy: #0f2b4c;
  --navy-mid: #1e4976;
  --ink: #16243a;
  --mute: #5a6b82;
  --cloud: #f5f7fa;
  --line: #e4e9f0;
  --amber: #fcd50b;
  --amber-deep: #fcd50b;
  --amber-ink: #1a1a1a;
  --white: #ffffff;
  --whatsapp: #25d366;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --container: 1120px;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 20px 50px rgba(15, 43, 76, 0.12);
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--night);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 1.5rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 480px) {
  .container {
    width: min(100% - 2.5rem, var(--container));
  }
}

/* Raised / kabartma */
.raised,
.raised-sm {
  position: relative;
  border: 1px solid rgba(15, 43, 76, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 250, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 43, 76, 0.06),
    0 6px 16px rgba(15, 43, 76, 0.08);
}

.raised {
  border-radius: var(--radius);
}

.raised-sm {
  border-radius: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-amber {
  background: var(--amber);
  color: var(--night);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 20px rgba(252, 213, 11, 0.35);
}

.btn-amber:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 26px rgba(252, 213, 11, 0.45);
}

.btn-amber:active {
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.12),
    0 3px 8px rgba(252, 213, 11, 0.25);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-outline-light:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
}

.btn-outline-light:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.22);
}

.btn-outline-navy {
  border-color: rgba(15, 43, 76, 0.14);
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff, #f3f6fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 43, 76, 0.06),
    0 6px 14px rgba(15, 43, 76, 0.08);
}

.btn-outline-navy:hover {
  background: linear-gradient(180deg, #ffffff, #eef2f7);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #3ee07c, var(--whatsapp) 55%, #1fb855);
  color: var(--white);
  border-color: rgba(15, 100, 45, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 43, 76, 0.08);
  transition: box-shadow 0.25s ease;
  padding-top: env(safe-area-inset-top);
  overflow: visible;
}

body.menu-open {
  overflow: hidden;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 43, 76, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fcd50b;
  padding: 0.55rem 0.9rem;
  border-radius: 0.85rem;
}

.brand-box img,
.brand img {
  height: 56px;
  width: auto;
  max-width: min(52vw, 260px);
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--night);
  background: linear-gradient(180deg, #fcd50b 0%, var(--amber) 50%, var(--amber-deep) 100%);
  border: 1px solid rgba(138, 95, 0, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(138, 95, 0, 0.16),
    0 6px 14px rgba(252, 213, 11, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--night);
}

.brand-text small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.brand-light .brand-text strong {
  color: var(--white);
}

.brand-light .brand-text small {
  color: rgba(255, 255, 255, 0.65);
}

.brand-light .brand-mark {
  color: var(--night);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
  padding: 0.55rem 0.85rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 43, 76, 0.1);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff, #f2f5f9);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 43, 76, 0.06),
    0 5px 12px rgba(15, 43, 76, 0.08);
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:active {
  box-shadow: inset 0 2px 4px rgba(15, 43, 76, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-mobile {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem 1.25rem;
  display: none;
  gap: 0.25rem;
  background: var(--white);
  max-height: min(78vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.is-open {
  display: grid;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a,
.nav-mobile summary {
  padding: 0.85rem 0.65rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  border-radius: 0.75rem;
}

.nav-mobile a:active,
.nav-mobile summary:active {
  background: var(--cloud);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.nav-mobile details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.nav-mobile details a {
  display: block;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--mute);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: linear-gradient(180deg, #ffffff, #f1f4f8);
  color: var(--night);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(15, 43, 76, 0.06);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 340px;
  padding: 0.6rem;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid rgba(15, 43, 76, 0.08);
  border-radius: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 40px rgba(15, 43, 76, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
  display: grid;
  gap: 0.15rem;
  z-index: 20;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown-panel a {
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.dropdown-panel a:hover {
  background: var(--cloud);
  color: var(--navy);
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }
  .header-phone {
    display: inline-flex;
  }
  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
  .header-actions {
    margin-left: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--night);
}

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

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroBgCycle 40s ease-in-out infinite;
  will-change: opacity;
  transform: scale(1.04);
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 5s; }
.hero-bg-slide:nth-child(3) { animation-delay: 10s; }
.hero-bg-slide:nth-child(4) { animation-delay: 15s; }
.hero-bg-slide:nth-child(5) { animation-delay: 20s; }
.hero-bg-slide:nth-child(6) { animation-delay: 25s; }
.hero-bg-slide:nth-child(7) { animation-delay: 30s; }
.hero-bg-slide:nth-child(8) { animation-delay: 35s; }

@keyframes heroBgCycle {
  0% { opacity: 0; }
  2% { opacity: 1; }
  10.5% { opacity: 1; }
  12.5% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(10, 31, 56, 0.9) 0%,
    rgba(15, 43, 76, 0.78) 48%,
    rgba(10, 31, 56, 0.62) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 31, 56, 0.55), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding: 4.5rem 0 3.5rem;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
  margin-top: 0.9rem;
}

.hero-lead {
  max-width: 38rem;
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-stats li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(252, 213, 11, 0.2);
}

/* Solar animation */
.solar-anim {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 1.6rem;
  background: linear-gradient(165deg, #0f2b4c 0%, #0a1f38 55%, #071628 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 24px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.solar-anim-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(circle at 70% 30%, rgba(252, 213, 11, 0.16), transparent 60%);
  pointer-events: none;
  animation: saGlow 12s ease-in-out infinite;
}

.solar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.solar-status {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #0a1f38;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.25);
}

.solar-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(252, 213, 11, 0.2);
  animation: saPulse 1.4s ease-in-out infinite;
}

.solar-steps {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.solar-steps span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.35rem;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  background: #0c243f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.solar-anim[data-phase="install"] .solar-steps [data-step="install"],
.solar-anim[data-phase="connect"] .solar-steps [data-step="connect"],
.solar-anim[data-phase="power"] .solar-steps [data-step="power"] {
  color: var(--night);
  background: linear-gradient(180deg, #fcd50b, var(--amber-deep));
  border-color: rgba(138, 95, 0, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 14px rgba(252, 213, 11, 0.28);
}

/* SVG animation pieces */
.sa-sun {
  transform-origin: 318px 78px;
  animation: saSunSpin 12s linear infinite;
}

.sa-sun-core {
  transform-origin: 318px 78px;
  animation: saSunPulse 12s ease-in-out infinite;
}

.sa-sun-rays {
  transform-origin: 318px 78px;
  animation: saRays 4s linear infinite;
}

.sa-rails .sa-rail {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: saDrawRail 12s ease-in-out infinite;
}

.sa-rails .sa-rail:nth-child(2) {
  animation-delay: 0.25s;
}

.sa-panel {
  opacity: 0;
  transform: translateY(-48px) scale(0.92);
  transform-box: fill-box;
  transform-origin: center;
  animation: saPanelDrop 12s ease-in-out infinite;
}

.sa-panel-1 { animation-delay: 0.15s; }
.sa-panel-2 { animation-delay: 0.55s; }
.sa-panel-3 { animation-delay: 0.95s; }
.sa-panel-4 { animation-delay: 1.35s; }
.sa-panel-5 { animation-delay: 1.75s; }

.sa-crane {
  opacity: 0;
  animation: saCrane 12s ease-in-out infinite;
}

.sa-beams .sa-beam {
  stroke-dasharray: 8 10;
  opacity: 0;
  animation: saBeams 12s ease-in-out infinite;
}

.sa-beams .sa-beam:nth-child(2) { animation-delay: 0.15s; }
.sa-beams .sa-beam:nth-child(3) { animation-delay: 0.3s; }

.sa-cable {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: saCable 12s ease-in-out infinite;
}

.sa-spark {
  opacity: 0;
  animation: saSpark 12s linear infinite;
}

.sa-spark-1 { animation-delay: 0s; }
.sa-spark-2 { animation-delay: 0.45s; }
.sa-spark-3 { animation-delay: 0.9s; }

.sa-window-glow {
  opacity: 0;
  animation: saWindow 12s ease-in-out infinite;
}

.sa-bolt {
  opacity: 0;
  transform-origin: 248px 330px;
  animation: saBolt 12s ease-in-out infinite;
}

.sa-meter {
  opacity: 0.55;
  animation: saMeter 12s ease-in-out infinite;
}

@keyframes saGlow {
  0%, 35% { opacity: 0.35; }
  55%, 90% { opacity: 1; }
  100% { opacity: 0.35; }
}

@keyframes saPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

@keyframes saSunSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

@keyframes saSunPulse {
  0%, 40% { transform: scale(0.88); opacity: 0.75; }
  55%, 90% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.88); opacity: 0.75; }
}

@keyframes saRays {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes saDrawRail {
  0%, 4% { stroke-dashoffset: 200; opacity: 0.2; }
  12%, 92% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 200; opacity: 0.2; }
}

@keyframes saPanelDrop {
  0%, 8% { opacity: 0; transform: translateY(-48px) scale(0.92); }
  16%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-48px) scale(0.92); }
}

@keyframes saCrane {
  0%, 5% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; transform: translateY(0); }
  28% { opacity: 1; transform: translateY(20px); }
  34%, 100% { opacity: 0; transform: translateY(40px); }
}

@keyframes saBeams {
  0%, 42% { opacity: 0; }
  50%, 88% { opacity: 0.85; }
  100% { opacity: 0; }
}

@keyframes saCable {
  0%, 30% { stroke-dashoffset: 160; stroke: #5a6b82; }
  40%, 92% { stroke-dashoffset: 0; stroke: #fcd50b; }
  100% { stroke-dashoffset: 160; stroke: #5a6b82; }
}

@keyframes saSpark {
  0%, 45% { opacity: 0; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(0, 8px); }
  60% { opacity: 1; transform: translate(-28px, 32px); }
  70% { opacity: 1; transform: translate(-55px, 52px); }
  75%, 100% { opacity: 0; transform: translate(-65px, 64px); }
}

@keyframes saWindow {
  0%, 48% { opacity: 0; }
  58%, 88% { opacity: 0.55; }
  100% { opacity: 0; }
}

@keyframes saBolt {
  0%, 50% { opacity: 0; transform: scale(0.7); }
  58% { opacity: 1; transform: scale(1.08); }
  70% { opacity: 1; transform: scale(1); }
  88% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
}

@keyframes saMeter {
  0%, 45% { opacity: 0.45; }
  55%, 90% { opacity: 1; }
  100% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    animation: none !important;
    opacity: 0;
  }

  .hero-bg-slide:first-child {
    opacity: 1;
  }

  .solar-anim-glow,
  .sa-sun,
  .sa-sun-core,
  .sa-sun-rays,
  .sa-rails .sa-rail,
  .sa-panel,
  .sa-crane,
  .sa-beams .sa-beam,
  .sa-cable,
  .sa-spark,
  .sa-window-glow,
  .sa-bolt,
  .sa-meter,
  .solar-status-dot {
    animation: none !important;
  }

  .sa-panel,
  .sa-rails .sa-rail,
  .sa-cable,
  .sa-beams .sa-beam,
  .sa-bolt,
  .sa-window-glow {
    opacity: 1;
  }

  .sa-rails .sa-rail,
  .sa-cable {
    stroke-dashoffset: 0;
  }

  .sa-panel {
    transform: none;
  }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.hero-tags span {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hero-process {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--amber);
}

/* Stats strip */
.stats-strip {
  background: var(--night);
  color: var(--white);
  padding: 0.7rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 1.5rem;
  width: min(100%, 1100px);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
  align-items: center;
}

.stat-item {
  width: 100%;
  padding: 0.45rem 0.35rem;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-cloud {
  background: var(--cloud);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--night);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--mute);
  font-size: 1.02rem;
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.section-head-center .eyebrow {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.refs-band {
  padding: 1.1rem 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.refs-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.refs-track {
  display: flex;
  width: max-content;
  animation: refs-scroll 42s linear infinite;
}

.refs-set {
  display: flex;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.refs-band:hover .refs-track {
  animation-play-state: paused;
}

.refs-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.75rem;
  height: 4.6rem;
  padding: 0.65rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.refs-logo img {
  max-width: 100%;
  max-height: 3.1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes refs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .refs-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .refs-set-clone {
    display: none;
  }
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 43, 76, 0.04),
    0 0 0 1px rgba(45, 212, 191, 0.1),
    0 0 22px rgba(45, 212, 191, 0.28),
    0 0 44px rgba(20, 184, 166, 0.14),
    0 10px 24px rgba(15, 43, 76, 0.08);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.service-card:hover {
  transform: translateY(-7px) scale(1.018);
  border-color: rgba(252, 213, 11, 0.6);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 6px rgba(15, 43, 76, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(15, 43, 76, 0.06),
    0 0 0 1px rgba(252, 213, 11, 0.28),
    0 0 34px rgba(252, 213, 11, 0.48),
    0 0 68px rgba(252, 213, 11, 0.28),
    0 20px 40px rgba(15, 43, 76, 0.18);
  z-index: 2;
}

.service-card:active {
  transform: translateY(-2px) scale(1.005);
  box-shadow:
    inset 0 3px 8px rgba(15, 43, 76, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(252, 213, 11, 0.3),
    0 8px 18px rgba(15, 43, 76, 0.1);
}

.service-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card-media--empty {
  background:
    linear-gradient(160deg, rgba(252, 213, 11, 0.18), transparent 55%),
    var(--navy);
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.12rem;
  color: var(--night);
}

.service-card-body p {
  color: var(--mute);
  font-size: 0.94rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
}

.service-card-footer .more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-mid);
}

.service-card-footer .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(15, 43, 76, 0.18);
  font-size: 1.1rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  color: var(--night);
  max-width: 16ch;
}

.about-copy--story h2 {
  max-width: 18ch;
}

.about-lead {
  margin-top: 0.95rem;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 38rem;
}

.about-body {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.about-body p {
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-values {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.about-value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 20px rgba(45, 212, 191, 0.1),
    0 8px 18px rgba(15, 43, 76, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 213, 11, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 24px rgba(252, 213, 11, 0.18),
    0 12px 24px rgba(15, 43, 76, 0.08);
}

.about-value-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--night);
  background: linear-gradient(180deg, #fcd50b, var(--amber-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 14px rgba(252, 213, 11, 0.25);
}

.about-value h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--night);
}

.about-value p {
  color: var(--mute);
  font-size: 0.94rem;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.about-mini-stats div {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #0f2b4c, #0a1f38);
  color: var(--white);
  border: 1px solid rgba(252, 213, 11, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(15, 43, 76, 0.18);
}

.about-mini-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1.1;
}

.about-mini-stats span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.about-visual-anim {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.about-anim-head {
  width: 100%;
  text-align: center;
}

.about-anim-head h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--night);
  margin-top: 0.35rem;
}

/* EV + solar about animation (independent from hero) */
.ev-anim {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 1.6rem;
  background: linear-gradient(165deg, #0f2b4c 0%, #0a1f38 55%, #071628 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 50px rgba(15, 43, 76, 0.18);
  overflow: hidden;
}

.ev-anim-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(circle at 75% 25%, rgba(252, 213, 11, 0.2), transparent 58%);
  pointer-events: none;
  animation: evGlow 12s ease-in-out infinite;
}

.ev-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ev-status {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #0a1f38;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.ev-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
  animation: saPulse 1.4s ease-in-out infinite;
}

.ev-steps {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.ev-steps span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.35rem;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  background: #0c243f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.ev-anim[data-phase="sun"] .ev-steps [data-step="sun"],
.ev-anim[data-phase="power"] .ev-steps [data-step="power"],
.ev-anim[data-phase="charge"] .ev-steps [data-step="charge"] {
  color: var(--night);
  background: linear-gradient(180deg, #fcd50b, var(--amber-deep));
  border-color: rgba(138, 95, 0, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 14px rgba(252, 213, 11, 0.28);
}

.ev-sun {
  transform-origin: 340px 70px;
  animation: evSunSpin 12s linear infinite;
}

.ev-sun-core {
  transform-origin: 340px 70px;
  animation: evSunPulse 12s ease-in-out infinite;
}

.ev-sun-rays {
  transform-origin: 340px 70px;
  animation: saRays 4s linear infinite;
}

.ev-panel {
  opacity: 0;
  transform: translateY(-30px) scale(0.92);
  transform-box: fill-box;
  transform-origin: center;
  animation: evPanelDrop 12s ease-in-out infinite;
}

.ev-panel-1 { animation-delay: 0.1s; }
.ev-panel-2 { animation-delay: 0.35s; }
.ev-panel-3 { animation-delay: 0.6s; }

.ev-beams .ev-beam {
  stroke-dasharray: 8 10;
  opacity: 0;
  animation: evBeams 12s ease-in-out infinite;
}

.ev-beams .ev-beam:nth-child(2) { animation-delay: 0.12s; }
.ev-beams .ev-beam:nth-child(3) { animation-delay: 0.24s; }

.ev-cable {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: evCable 12s ease-in-out infinite;
}

.ev-spark {
  opacity: 0;
  animation: evSpark 12s linear infinite;
}

.ev-spark-1 { animation-delay: 0s; }
.ev-spark-2 { animation-delay: 0.4s; }
.ev-spark-3 { animation-delay: 0.8s; }

.ev-plug-cable {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  opacity: 0.35;
  animation: evPlug 12s ease-in-out infinite;
}

.ev-charger-bolt {
  opacity: 0;
  transform-origin: 322px 254px;
  animation: evBolt 12s ease-in-out infinite;
}

.ev-window {
  opacity: 0;
  animation: evWindow 12s ease-in-out infinite;
}

.ev-charge-light {
  opacity: 0.25;
  animation: evChargeLight 12s ease-in-out infinite;
}

.ev-battery-fill {
  animation: evBattery 12s ease-in-out infinite;
}

.ev-car {
  animation: evCarArrive 12s ease-in-out infinite;
}

.ev-meter {
  opacity: 0.5;
  animation: evMeter 12s ease-in-out infinite;
}

@keyframes evGlow {
  0%, 30% { opacity: 0.4; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes evSunSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(6deg); }
}

@keyframes evSunPulse {
  0%, 35% { transform: scale(0.9); opacity: 0.8; }
  50%, 90% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

@keyframes evPanelDrop {
  0%, 6% { opacity: 0; transform: translateY(-30px) scale(0.92); }
  14%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-30px) scale(0.92); }
}

@keyframes evBeams {
  0%, 28% { opacity: 0; }
  38%, 88% { opacity: 0.85; }
  100% { opacity: 0; }
}

@keyframes evCable {
  0%, 40% { stroke-dashoffset: 140; stroke: #5a6b82; }
  52%, 92% { stroke-dashoffset: 0; stroke: #fcd50b; }
  100% { stroke-dashoffset: 140; stroke: #5a6b82; }
}

@keyframes evSpark {
  0%, 48% { opacity: 0; transform: translate(0, 0); }
  55% { opacity: 1; transform: translate(20px, -4px); }
  68% { opacity: 1; transform: translate(50px, -16px); }
  75%, 100% { opacity: 0; transform: translate(66px, -20px); }
}

@keyframes evPlug {
  0%, 55% { stroke-dashoffset: 80; opacity: 0.2; }
  65%, 92% { stroke-dashoffset: 0; opacity: 1; stroke: #3ee07c; }
  100% { stroke-dashoffset: 80; opacity: 0.2; }
}

@keyframes evBolt {
  0%, 55% { opacity: 0; transform: scale(0.7); }
  65% { opacity: 1; transform: scale(1.1); }
  88% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
}

@keyframes evWindow {
  0%, 45% { opacity: 0; }
  58%, 90% { opacity: 0.5; }
  100% { opacity: 0; }
}

@keyframes evChargeLight {
  0%, 60% { opacity: 0.2; }
  68%, 90% { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes evBattery {
  0%, 58% { width: 4px; }
  70% { width: 12px; }
  82%, 92% { width: 24px; }
  100% { width: 4px; }
}

@keyframes evCarArrive {
  0%, 45% { transform: translateX(28px); opacity: 0.55; }
  58%, 92% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(28px); opacity: 0.55; }
}

@keyframes evMeter {
  0%, 35% { opacity: 0.45; }
  48%, 90% { opacity: 1; }
  100% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .ev-anim-glow,
  .ev-sun,
  .ev-sun-core,
  .ev-sun-rays,
  .ev-panel,
  .ev-beams .ev-beam,
  .ev-cable,
  .ev-spark,
  .ev-plug-cable,
  .ev-charger-bolt,
  .ev-window,
  .ev-charge-light,
  .ev-battery-fill,
  .ev-car,
  .ev-meter,
  .ev-status-dot {
    animation: none !important;
  }

  .ev-panel,
  .ev-beams .ev-beam,
  .ev-charger-bolt,
  .ev-window,
  .ev-plug-cable {
    opacity: 1;
  }

  .ev-cable,
  .ev-plug-cable {
    stroke-dashoffset: 0;
  }

  .ev-panel,
  .ev-car {
    transform: none;
  }

  .ev-battery-fill {
    width: 24px;
  }
}

/* Projects */
.projects-wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .projects-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    align-items: start;
  }
}

.project-block {
  display: grid;
  gap: 1rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.project-shot {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 1rem;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 20px rgba(15, 43, 76, 0.1);
}

.project-shot:hover,
.project-shot:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px rgba(45, 212, 191, 0.35),
    0 14px 28px rgba(15, 43, 76, 0.16);
  outline: none;
}

.project-shot-lg {
  grid-column: 1 / -1;
}

.project-gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
  pointer-events: none;
}

.project-img-sm {
  height: 120px;
}

.project-img-lg {
  height: 220px;
}

.project-meta .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-bottom: 0.5rem;
}

.project-meta h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--night);
}

.project-meta p {
  margin-top: 0.55rem;
  color: var(--mute);
  max-width: none;
}

/* YouTube videos */
.video-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.video-card h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--night);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--night);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(15, 43, 76, 0.12);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  background:
    radial-gradient(circle at 50% 40%, rgba(252, 213, 11, 0.18), transparent 55%),
    linear-gradient(165deg, #0f2b4c, #071628);
}

.video-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 8px 20px rgba(252, 213, 11, 0.35);
  position: relative;
}

.video-play::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 16px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--night);
}

@media (min-width: 900px) {
  .project-img-sm {
    height: 130px;
  }

  .project-img-lg {
    height: 250px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 30, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.28);
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.28);
  -webkit-tap-highlight-color: transparent;
}

.lightbox-prev {
  left: max(0.75rem, env(safe-area-inset-left));
}

.lightbox-next {
  right: max(0.75rem, env(safe-area-inset-right));
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(252, 213, 11, 0.9);
  color: var(--night);
  outline: none;
}

.lightbox-nav[hidden] {
  display: none !important;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 1100px);
  max-height: calc(100dvh - 2rem);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 5.5rem);
  object-fit: contain;
  border-radius: 0.85rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-align: center;
  padding: 0 0.5rem;
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .whatsapp-float {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .lightbox {
    padding: max(0.75rem, env(safe-area-inset-top)) 0.65rem max(0.75rem, env(safe-area-inset-bottom));
  }

  .lightbox-close {
    width: 44px;
    height: 44px;
    top: max(0.55rem, env(safe-area-inset-top));
    right: max(0.55rem, env(safe-area-inset-right));
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }

  .lightbox-prev {
    left: max(0.4rem, env(safe-area-inset-left));
  }

  .lightbox-next {
    right: max(0.4rem, env(safe-area-inset-right));
  }

  .lightbox-image {
    max-height: calc(100dvh - 6rem);
    border-radius: 0.65rem;
  }

  .lightbox-caption {
    font-size: 0.85rem;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(100%, 820px);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid rgba(15, 43, 76, 0.08);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 43, 76, 0.04),
    0 8px 18px rgba(15, 43, 76, 0.07);
}

.contact-card:hover {
  border-color: rgba(252, 213, 11, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(15, 43, 76, 0.1);
  transform: translateY(-2px);
}

.contact-card:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 5px rgba(15, 43, 76, 0.08);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fcd50b, rgba(252, 213, 11, 0.28));
  color: var(--amber-ink);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(138, 95, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 10px rgba(252, 213, 11, 0.16);
}

.contact-card small {
  display: block;
  color: var(--mute);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.contact-card strong {
  font-size: 1rem;
  color: var(--night);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(10, 31, 56, 0.92), rgba(15, 43, 76, 0.88)),
    url("../images/370.png") center / cover no-repeat;
  color: var(--white);
  padding: 3.5rem 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 18ch;
}

.cta-band p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer — Toplanalim-inspired layout */
.site-footer {
  position: relative;
  background:
    linear-gradient(165deg, rgba(10, 31, 56, 0.92) 0%, rgba(15, 43, 76, 0.88) 45%, rgba(10, 31, 56, 0.94) 100%),
    url("../images/964.png") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(252, 213, 11, 0.12);
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.35;
}

.footer-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(252, 213, 11, 0.18);
  top: -180px;
  left: -100px;
}

.footer-glow-2 {
  width: 320px;
  height: 320px;
  background: rgba(30, 73, 118, 0.45);
  bottom: -120px;
  right: -80px;
}

.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 213, 11, 0.55), rgba(255, 196, 74, 0.4), transparent);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  color: var(--amber);
  border-color: rgba(252, 213, 11, 0.35);
  background: rgba(252, 213, 11, 0.12);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-static {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-chevron {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg) translateX(-3px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-links a:hover .footer-chevron {
  opacity: 1;
  transform: rotate(-45deg) translateX(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin: 0;
  max-width: 42rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-credit:hover {
  color: var(--amber);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--amber);
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.whatsapp-float-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
  transform: scale(1.06);
}

.whatsapp-float-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  background: var(--white);
  padding: 0;
  border-radius: 0.85rem;
  box-shadow: none;
  border: 1px solid transparent;
  transform: translateX(8px);
  transition:
    max-width 0.35s ease,
    opacity 0.3s ease,
    transform 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float.is-tease .whatsapp-float-label {
  max-width: 16rem;
  opacity: 1;
  white-space: normal;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 10px 28px rgba(15, 43, 76, 0.18);
  border-color: var(--line);
  transform: translateX(0);
}

.whatsapp-float.is-tease .whatsapp-float-icon {
  animation: wa-bounce 0.7s ease 2;
}

@keyframes wa-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float.is-tease .whatsapp-float-icon {
    animation: none;
  }
}

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(10, 31, 56, 0.92), rgba(15, 43, 76, 0.78)),
    url("../images/370.png") center / cover no-repeat;
  color: var(--white);
  padding: 4rem 0 3.5rem;
}

.page-hero .eyebrow {
  color: var(--amber);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  margin-top: 0.5rem;
}

.page-hero p {
  margin-top: 0.9rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--amber);
}

/* Service detail */
.service-detail {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .service-detail {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

@media (max-width: 959px) {
  .side-panel {
    position: static;
  }
}

.service-work {
  margin-top: 2.5rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 43, 76, 0.08);
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(15, 43, 76, 0.07);
}

.service-work > h2 {
  font-size: 1.7rem;
  color: var(--night);
  margin-top: 0.4rem;
}

.service-work > p {
  margin-top: 0.7rem;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-work-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.service-work-shot {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 0.85rem;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.service-work-shot img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.service-work-shot:hover img,
.service-work-shot:focus-visible img {
  transform: scale(1.03);
}

.prose {
  display: grid;
  gap: 1.1rem;
  color: var(--mute);
  font-size: 1.02rem;
}

.prose h2 {
  color: var(--night);
  font-size: 1.7rem;
  margin-top: 0.5rem;
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
  align-self: start;
  display: grid;
  gap: 1rem;
  z-index: 5;
}

.side-card {
  padding: 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 43, 76, 0.08);
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(15, 43, 76, 0.07);
}

.side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  color: var(--night);
}

.side-card .btn {
  width: 100%;
}

.why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f0f3f8);
  border: 1px solid rgba(15, 43, 76, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 14px rgba(15, 43, 76, 0.06);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--night);
}

.why-card p {
  color: var(--mute);
  font-size: 0.94rem;
}

.closing-box {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--white);
}

.closing-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.closing-box p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48rem;
}

.related-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Mobile refinements */
@media (max-width: 979px) {
  :root {
    --header-h: 74px;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 0.6rem;
  }

  .brand-box {
    padding: 0.42rem 0.68rem;
    border-radius: 0.75rem;
  }

  .brand-box img,
  .brand img {
    height: 44px;
    max-width: min(48vw, 210px);
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .nav-mobile {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0.7rem 0.85rem calc(1rem + env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top));
    box-shadow: 0 18px 40px rgba(15, 43, 76, 0.14);
  }

  .nav-mobile a,
  .nav-mobile summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.35;
  }

  .nav-mobile details a {
    display: flex;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 0;
    align-items: start;
  }

  .hero-inner {
    padding: 1.6rem 0 2rem;
    gap: 1.35rem;
  }

  .hero-visual .solar-anim {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .hero-visual .solar-status {
    font-size: 0.7rem;
    left: 0.65rem;
    top: 0.65rem;
    padding: 0.35rem 0.6rem;
  }

  .hero-visual .solar-steps {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .hero-visual .solar-steps span {
    font-size: 0.56rem;
    padding: 0.32rem 0.12rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    max-width: none;
    margin-top: 0.65rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-top: 0.85rem;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-stats {
    gap: 0.55rem 0.85rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
  }

  .hero-stats li {
    width: auto;
    font-size: 0.82rem;
  }

  .hero-tags {
    margin-top: 1rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .section-head {
    margin-bottom: 1.4rem;
    max-width: none;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .stats-strip {
    padding: 0.85rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 0.75rem;
    width: 100%;
  }

  .stat-item {
    padding: 0.45rem 0.25rem;
    border-radius: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-width: none;
    gap: 0.3rem;
  }

  .stat-item strong {
    font-size: clamp(2rem, 8vw, 2.55rem);
    letter-spacing: 0.03em;
    line-height: 1.15;
  }

  .stat-item span {
    font-size: clamp(0.78rem, 3.2vw, 0.92rem);
  }

  .about-copy h2,
  .about-copy--story h2,
  .cta-band h2,
  .page-hero h1 {
    max-width: none;
  }

  .about-lead,
  .about-body {
    max-width: none;
  }

  .about-body p {
    font-size: 0.98rem;
  }

  .about-visual-anim .ev-anim {
    width: min(100%, 320px);
  }

  .about-visual-anim .ev-status {
    font-size: 0.7rem;
    left: 0.65rem;
    top: 0.65rem;
  }

  .about-visual-anim .ev-steps {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .about-visual-anim .ev-steps span {
    font-size: 0.56rem;
    padding: 0.32rem 0.12rem;
  }

  .services-grid {
    gap: 1.1rem;
  }

  .service-card {
    overflow: hidden;
  }

  .service-card:hover,
  .service-card:active {
    transform: none;
  }

  .service-card-body h3 {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .project-img-sm {
    height: 96px;
  }

  .project-img-lg {
    height: 168px;
  }

  .projects-wrap {
    gap: 1.5rem;
  }

  .project-meta h3 {
    font-size: 1.08rem;
  }

  .project-shot:active {
    transform: scale(0.985);
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cta-band {
    padding: 2.1rem 0;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cta-band-actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 1.05rem;
  }

  .contact-card strong {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .whatsapp-float-icon {
    width: 52px;
    height: 52px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 10px 24px rgba(37, 211, 102, 0.4);
  }

  .whatsapp-float.is-tease .whatsapp-float-label {
    max-width: min(12.5rem, calc(100vw - 5.2rem));
    font-size: 0.68rem;
    white-space: normal;
  }

  .page-hero {
    padding: 2.2rem 0 2rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .prose {
    font-size: 0.98rem;
    gap: 0.95rem;
  }

  .prose h2 {
    font-size: 1.4rem;
  }

  .side-card .btn {
    min-height: 48px;
  }

  .closing-box {
    padding: 1.25rem;
  }

  .service-work {
    padding: 1.1rem 1.05rem 1.15rem;
  }

  .service-work > h2 {
    font-size: 1.4rem;
  }

  .service-work-photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .service-work-shot img {
    height: 110px;
  }

  .closing-box h2 {
    font-size: 1.28rem;
  }

  .site-footer {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

@media (hover: none) {
  .service-card:hover,
  .contact-card:hover,
  .project-shot:hover,
  .whatsapp-float:hover .whatsapp-float-icon {
    transform: none;
  }
}

@media (max-width: 479px) {
  .brand-text strong {
    font-size: 1.05rem;
  }

  .brand-text small {
    font-size: 0.66rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero-visual .solar-anim,
  .about-visual-anim .ev-anim {
    width: min(100%, 280px);
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tags span {
    font-size: 0.66rem;
    padding: 0.35rem 0.6rem;
  }

  .service-card-body {
    padding: 1.05rem 1.05rem 1.15rem;
  }

  .service-card-body h3 {
    font-size: 0.98rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }
}

@media (min-width: 480px) and (max-width: 979px) {
  .hero-cta {
    grid-template-columns: 1fr 1fr;
  }
}
