:root {
  --bg: #ffffff;
  --bg-soft: #fff8e8;
  --bg-dark: #14213d;
  --text: #182033;
  --muted: #647084;
  --primary: #f7a600;
  --primary-dark: #d98d00;
  --accent: #1aa37a;
  --border: #e7eaf0;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(20, 33, 61, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--bg-dark);
  color: white;
  padding: 10px 12px;
  z-index: 999;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  background: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.section {
  padding: 92px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(247,166,0,0.18), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(26,163,122,0.13), transparent 30%),
    linear-gradient(180deg, #fff, #fff8e8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  font-size: 1.18rem;
  color: var(--muted);
  margin: 24px 0 32px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #1d1703;
  box-shadow: 0 14px 26px rgba(247,166,0,0.26);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-dark {
  background: var(--bg-dark);
  color: white;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.trust-row div {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(231,234,240,0.9);
  border-radius: 18px;
  padding: 16px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stats-band {
  background: var(--bg-dark);
  color: white;
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-grid div {
  padding: 10px 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid span {
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20,33,61,0.06);
}

.service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.process-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 26px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.step span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bg-dark);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step p {
  color: var(--muted);
  margin: 8px 0 0;
}

.solution-grid {
  display: grid;
  gap: 24px;
}

.solution-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(20,33,61,0.08);
}

.solution-card img {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 16px;
}

.solution-card p {
  color: var(--muted);
}

.solution-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.cta-panel {
  padding-top: 20px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background:
    radial-gradient(circle at 10% 10%, rgba(247,166,0,0.32), transparent 30%),
    linear-gradient(135deg, #14213d, #0d1426);
  border-radius: 34px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.cta-card p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
  max-width: 680px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.faq-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-section {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-cards a {
  display: block;
  border: 1px solid var(--border);
  background: white;
  border-radius: 18px;
  padding: 16px;
}

.contact-cards strong,
.contact-cards span {
  display: block;
}

.contact-cards span {
  color: var(--muted);
}

.quote-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #dbe0e9;
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  color: var(--text);
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(247,166,0,0.24);
  border-color: var(--primary);
}

textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #25d366;
  color: white;
  padding: 13px 17px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(37,211,102,0.35);
}

.site-footer {
  background: #0d1426;
  color: white;
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer span {
  color: rgba(255,255,255,0.72);
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .process-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .cards-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-card {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 68px 0;
  }

  .trust-row,
  .stats-grid,
  .cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .quote-form,
  .solution-card {
    padding: 22px;
  }

  .whatsapp-float {
    left: 18px;
    right: 18px;
    text-align: center;
  }
}


.project-slideshow {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 26px;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.project-feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.project-feature img {
  width: 100%;
  border-radius: 22px;
}

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

.project-card {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 10px 28px rgba(20,33,61,0.08);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}


.hero-visual img{min-height:420px;object-fit:cover;}
.trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:20px;}
.trust-badges div{background:#fff;border:1px solid var(--border);padding:12px 16px;border-radius:14px;font-weight:700;}
.hero-visual{position:relative;overflow:hidden;}
.hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18));pointer-events:none;border-radius:34px;}

/* Preserved premium/gallery page additions */

.project-showcase--featured {
  margin-bottom: 2rem;
}

.project-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 3rem;
}

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.category-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-copy h3 {
  margin: 0.5rem 0 0.65rem;
}

.category-copy p {
  margin: 0;
  color: var(--muted);
}

.category-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 166, 0, 0.14);
  color: #8b5c00;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-heading--sub {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .project-categories {
    grid-template-columns: 1fr;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card img {
    min-height: 220px;
  }
}

/* Premium homepage and dedicated gallery page */
.premium-hero {
  background:
    linear-gradient(135deg, rgba(13, 20, 38, 0.94), rgba(20, 33, 61, 0.82)),
    radial-gradient(circle at 85% 18%, rgba(247, 166, 0, 0.3), transparent 32%),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
  color: white;
}

.premium-hero .eyebrow {
  color: #ffd074;
}

.premium-hero .hero-text,
.premium-hero .premium-metrics span {
  color: rgba(255,255,255,0.78);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  box-shadow: none;
}

.premium-hero-visual {
  position: relative;
  padding: 14px;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  backdrop-filter: blur(14px);
}

.premium-hero-visual img {
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.28);
}

.floating-card {
  position: absolute;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  color: var(--text);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card-top {
  top: 28px;
  left: -24px;
}

.floating-card-bottom {
  right: -20px;
  bottom: 30px;
}

.premium-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.premium-metrics div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.09);
}

.premium-metrics strong,
.premium-metrics span {
  display: block;
}

.premium-metrics strong {
  color: var(--primary);
  font-size: 1.5rem;
}

.premium-stats {
  background: linear-gradient(90deg, #0d1426, #14213d);
}

.premium-intro {
  padding: 72px 0;
  background: #fff;
}

.premium-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.premium-intro-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-cta-inline {
  display: flex;
  justify-content: center;
  margin: 0 0 3rem;
}

.gallery-hero {
  color: white;
  background:
    linear-gradient(135deg, rgba(13, 20, 38, 0.95), rgba(20, 33, 61, 0.84)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
}

.gallery-hero .eyebrow {
  color: #ffd074;
}

.gallery-hero .hero-text {
  color: rgba(255,255,255,0.8);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.gallery-hero-card {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 32px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.gallery-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

.gallery-page-section {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.gallery-category-block {
  margin-bottom: 72px;
}

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

.gallery-page-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20,33,61,0.08);
}

.gallery-page-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-page-grid figcaption {
  padding: 13px 15px 16px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-bottom-cta {
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 12% 10%, rgba(247,166,0,0.34), transparent 28%),
    linear-gradient(135deg, #14213d, #0d1426);
  border-radius: 32px;
  padding: 48px 28px;
  box-shadow: var(--shadow);
}

.gallery-bottom-cta .eyebrow {
  color: #ffd074;
}

.gallery-bottom-cta h2 {
  max-width: 780px;
  margin: 0 auto 24px;
}

@media (max-width: 1000px) {
  .floating-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .premium-metrics,
  .premium-intro-grid,
  .gallery-hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .premium-metrics,
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    align-items: flex-start;
    border-radius: 18px;
  }
}

/* Premium homepage and dedicated gallery page */
.premium-hero {
  background:
    linear-gradient(135deg, rgba(13, 20, 38, 0.94), rgba(20, 33, 61, 0.82)),
    radial-gradient(circle at 85% 18%, rgba(247, 166, 0, 0.3), transparent 32%),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
  color: white;
}

.premium-hero .eyebrow {
  color: #ffd074;
}

.premium-hero .hero-text,
.premium-hero .premium-metrics span {
  color: rgba(255,255,255,0.78);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  box-shadow: none;
}

.premium-hero-visual {
  position: relative;
  padding: 14px;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  backdrop-filter: blur(14px);
}

.premium-hero-visual img {
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.28);
}

.floating-card {
  position: absolute;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  color: var(--text);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card-top {
  top: 28px;
  left: -24px;
}

.floating-card-bottom {
  right: -20px;
  bottom: 30px;
}

.premium-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.premium-metrics div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.09);
}

.premium-metrics strong,
.premium-metrics span {
  display: block;
}

.premium-metrics strong {
  color: var(--primary);
  font-size: 1.5rem;
}

.premium-stats {
  background: linear-gradient(90deg, #0d1426, #14213d);
}

.premium-intro {
  padding: 72px 0;
  background: #fff;
}

.premium-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.premium-intro-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-cta-inline {
  display: flex;
  justify-content: center;
  margin: 0 0 3rem;
}

.gallery-hero {
  color: white;
  background:
    linear-gradient(135deg, rgba(13, 20, 38, 0.95), rgba(20, 33, 61, 0.84)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
}

.gallery-hero .eyebrow {
  color: #ffd074;
}

.gallery-hero .hero-text {
  color: rgba(255,255,255,0.8);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.gallery-hero-card {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 32px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.gallery-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

.gallery-page-section {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.gallery-category-block {
  margin-bottom: 72px;
}

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

.gallery-page-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20,33,61,0.08);
}

.gallery-page-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-page-grid figcaption {
  padding: 13px 15px 16px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-bottom-cta {
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 12% 10%, rgba(247,166,0,0.34), transparent 28%),
    linear-gradient(135deg, #14213d, #0d1426);
  border-radius: 32px;
  padding: 48px 28px;
  box-shadow: var(--shadow);
}

.gallery-bottom-cta .eyebrow {
  color: #ffd074;
}

.gallery-bottom-cta h2 {
  max-width: 780px;
  margin: 0 auto 24px;
}

@media (max-width: 1000px) {
  .floating-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .premium-metrics,
  .premium-intro-grid,
  .gallery-hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .premium-metrics,
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    align-items: flex-start;
    border-radius: 18px;
  }
}


/* Modern professional theme alignment across full website */
:root {
  --shadow-strong: 0 30px 90px rgba(13, 20, 38, 0.22);
}

.modern-header {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 35px rgba(13,20,38,0.08);
}

.gallery-hero.modern-home-hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(13,20,38,0.96), rgba(20,33,61,0.84)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
}

.gallery-hero.modern-home-hero .eyebrow {
  color: #ffd074;
}

.gallery-hero.modern-home-hero .hero-text {
  color: rgba(255,255,255,0.82);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  box-shadow: none;
}

.gallery-hero-card.modern-hero-card {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 32px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}

.gallery-hero-card.modern-hero-card img {
  width: 100%;
  min-height: 430px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

.modern-stats {
  background: linear-gradient(90deg, #0d1426, #14213d);
}

.modern-section {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.gallery-page-section {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.modern-cards .modern-card,
.modern-solution-card,
.category-card,
.gallery-page-grid figure,
.quote-form,
details {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modern-cards .modern-card:hover,
.modern-solution-card:hover,
.category-card:hover,
.gallery-page-grid figure:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(247,166,0,0.38);
}

.modern-steps .step {
  box-shadow: 0 18px 45px rgba(20,33,61,0.08);
}

.modern-steps .step span {
  background: linear-gradient(135deg, var(--primary), #ffcf6c);
  color: #1d1703;
}

.modern-solution-card img {
  padding: 0;
  background: transparent;
  border-radius: 22px;
}

.modern-projects {
  background:
    radial-gradient(circle at 90% 0%, rgba(26,163,122,0.16), transparent 28%),
    linear-gradient(180deg, var(--bg-soft), #fff);
}

.modern-cta-card {
  background:
    linear-gradient(135deg, rgba(13,20,38,0.95), rgba(20,33,61,0.90)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-strong);
}

.modern-cta-card .eyebrow {
  color: #ffd074;
}

.modern-contact {
  background:
    radial-gradient(circle at 15% 10%, rgba(247,166,0,0.15), transparent 28%),
    linear-gradient(180deg, #f8fafc, #fff);
}

.modern-contact .quote-form {
  box-shadow: var(--shadow-strong);
}

.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(247,166,0,0.18), transparent 24%),
    linear-gradient(135deg, #0d1426, #14213d);
}

@media (max-width: 900px) {
  .gallery-hero.modern-home-hero {
    min-height: auto;
  }

  .gallery-hero-card.modern-hero-card img {
    min-height: 300px;
  }
}


/* Conversion-ready trust, pricing and service pages */
.trust-badges-dark div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  color: white;
}

.trust-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(247,166,0,0.10), transparent 30%),
    linear-gradient(180deg, #fff, #f8fafc);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-grid article,
.pricing-grid article,
.service-list-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(20,33,61,0.08);
}

.trust-grid article span {
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
}

.trust-grid article p,
.pricing-grid article p {
  color: var(--muted);
}

.cert-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff8e8;
  border: 1px solid rgba(247,166,0,0.32);
  color: var(--text);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #8b5c00;
  font-weight: 900;
}

.pricing-section {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-grid strong {
  display: block;
  margin: 12px 0;
  color: var(--bg-dark);
  font-size: 1.5rem;
}

.service-page-hero {
  color: white;
  background:
    linear-gradient(135deg, rgba(13,20,38,0.96), rgba(20,33,61,0.84)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
}

.service-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.service-list-card ul {
  margin: 0;
  padding-left: 22px;
}

.service-list-card li {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .trust-grid,
  .pricing-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
  }
}


/* T-Global Tech logo and expanded services */
.brand {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  padding: 8px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.10);
}

.brand img {
  width: auto;
  max-width: 360px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.footer-brand {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.14);
  align-self: flex-start;
}

.footer-brand img {
  max-width: 380px;
  height: 82px;
}

.brand span {
  display: none;
}

.nav-wrap {
  gap: 16px;
}

.main-nav {
  flex-wrap: wrap;
  row-gap: 10px;
}

.electrical-services-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(247,166,0,0.14), transparent 30%),
    linear-gradient(180deg, #f8fafc, #fff);
}

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

.service-list-grid article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(20,33,61,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-list-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.service-list-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .brand img {
    max-width: 300px;
    height: 66px;
  }

  .footer-brand img {
    max-width: 320px;
    height: 70px;
  }
}

@media (max-width: 900px) {
  .brand {
    padding: 6px 10px;
  }

  .brand img {
    max-width: 240px;
    height: 56px;
  }

  .footer-brand img {
    max-width: 260px;
    height: 60px;
  }

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

@media (max-width: 620px) {
  .brand img {
    max-width: 200px;
    height: 48px;
  }

  .footer-brand img {
    max-width: 220px;
    height: 52px;
  }

  .service-list-grid {
    grid-template-columns: 1fr;
  }
}


/* Swiss-inspired premium retail layout adapted for T-Global Tech */
.sd-inspired {
  background: #fff;
}

.top-service-bar {
  background: #0d1426;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-service-grid {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 22px;
}

.top-service-grid a:first-child {
  justify-self: start;
}

.top-service-grid a:last-child {
  justify-self: end;
  color: #ffd074;
}

.sd-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(13,20,38,0.06);
}

.sd-logo-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sd-brand {
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.sd-brand img {
  max-width: 520px;
  height: 86px;
}

.sd-logo-row .nav-toggle {
  position: absolute;
  right: 0;
}

.sd-nav-row {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
}

.sd-main-nav {
  min-height: 58px;
  justify-content: center;
  gap: 34px;
  color: #182033;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sd-main-nav .nav-cta {
  background: var(--primary);
}

.sd-hero {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(255,248,232,0.95), rgba(255,255,255,0.75)),
    radial-gradient(circle at 10% 0%, rgba(247,166,0,0.22), transparent 30%);
}

.sd-hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.sd-hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5.8rem);
  line-height: 0.98;
  max-width: 820px;
}

.sd-hero-copy p:not(.eyebrow) {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 680px;
  margin: 24px 0 32px;
}

.sd-hero-image {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(13,20,38,0.18);
  background: white;
  padding: 14px;
}

.sd-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 26px;
}

.sd-assurance-strip {
  background: #14213d;
  color: white;
  padding: 28px 0;
}

.sd-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sd-assurance-grid div {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 18px;
}

.sd-assurance-grid strong,
.sd-assurance-grid span {
  display: block;
}

.sd-assurance-grid span {
  color: rgba(255,255,255,0.72);
}

.sd-section {
  background: #fff;
}

.sd-soft {
  background: #f8fafc;
}

.sd-section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.sd-section-title p:not(.eyebrow) {
  color: var(--muted);
}

.sd-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sd-category-card {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #0d1426;
  box-shadow: 0 22px 60px rgba(13,20,38,0.16);
  color: white;
}

.sd-category-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.sd-category-card div {
  position: absolute;
  inset: auto 22px 22px 22px;
  z-index: 2;
}

.sd-category-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.sd-category-card span,
.sd-product-copy a {
  display: inline-flex;
  font-weight: 900;
  color: #ffd074;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.sd-category-card:hover img {
  transform: scale(1.06);
  opacity: 0.52;
}

.sd-feature {
  background: #fff8e8;
}

.sd-feature-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.sd-feature-image {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(13,20,38,0.16);
}

.sd-feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sd-feature-copy p,
.sd-feature-copy li {
  color: var(--muted);
}

.sd-feature-copy ul {
  margin: 22px 0 28px;
  padding-left: 22px;
}

.sd-service-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sd-service-pill-grid article,
.sd-process-grid article,
.sd-price-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(13,20,38,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sd-service-pill-grid article:hover,
.sd-process-grid article:hover,
.sd-price-grid article:hover,
.sd-product-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 80px rgba(13,20,38,0.16);
}

.sd-service-pill-grid p,
.sd-process-grid p,
.sd-price-grid p {
  color: var(--muted);
}

.sd-process-grid,
.sd-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sd-process-grid article span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--primary);
  color: #1d1703;
  font-weight: 900;
}

.sd-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sd-product-grid article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(13,20,38,0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sd-product-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sd-product-copy {
  padding: 20px;
}

.sd-product-copy span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sd-product-copy h3 {
  margin: 8px 0 14px;
}

.sd-price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sd-price-grid strong {
  display: block;
  color: var(--bg-dark);
  font-size: 1.7rem;
  margin: 12px 0;
}

.sd-demo-banner {
  padding: 70px 0;
  color: white;
  background:
    linear-gradient(135deg, rgba(13,20,38,0.96), rgba(20,33,61,0.88)),
    url("assets/featured/featured-01-rooftop-solar.jpg") center / cover no-repeat;
}

.sd-demo-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sd-demo-grid .eyebrow {
  color: #ffd074;
}

.sd-demo-grid p {
  color: rgba(255,255,255,0.78);
}

.sd-contact {
  background:
    radial-gradient(circle at 15% 0%, rgba(247,166,0,0.15), transparent 26%),
    linear-gradient(180deg, #fff, #f8fafc);
}

.sd-footer {
  background: #0d1426;
  color: white;
  padding: 60px 0 24px;
}

.sd-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.sd-footer a,
.sd-footer span,
.sd-footer p {
  display: block;
  color: rgba(255,255,255,0.74);
  margin-bottom: 8px;
}

.sd-footer h3 {
  font-size: .9rem;
  letter-spacing: .1em;
  color: #fff;
  margin: 0 0 16px;
}

.sd-footer .footer-brand {
  background: white;
  margin-bottom: 16px;
}

@media (max-width: 1050px) {
  .top-service-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .top-service-grid a:first-child,
  .top-service-grid a:last-child {
    justify-self: center;
  }

  .sd-hero-grid,
  .sd-feature-grid {
    grid-template-columns: 1fr;
  }

  .sd-category-grid,
  .sd-service-pill-grid,
  .sd-process-grid,
  .sd-product-grid,
  .sd-assurance-grid,
  .sd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sd-price-grid {
    grid-template-columns: 1fr;
  }

  .sd-main-nav {
    display: none;
  }

  .sd-main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .sd-logo-row {
    justify-content: flex-start;
  }

  .sd-logo-row .nav-toggle {
    display: inline-flex;
  }

  .sd-brand img {
    max-width: 300px;
    height: 68px;
  }
}

@media (max-width: 620px) {
  .top-service-grid,
  .sd-category-grid,
  .sd-service-pill-grid,
  .sd-process-grid,
  .sd-product-grid,
  .sd-assurance-grid,
  .sd-footer-grid {
    grid-template-columns: 1fr;
  }

  .sd-hero {
    padding: 64px 0;
  }

  .sd-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .sd-demo-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .sd-brand img {
    max-width: 240px;
    height: 56px;
  }
}


/* Requested header and homepage hero layout update */
.top-contact-row {
  grid-template-columns: 1fr auto;
}

.top-contact-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.top-contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.top-contact-actions a:last-child {
  background: var(--primary);
  color: #1d1703;
}

.sd-header-left {
  background: #fff;
}

.sd-header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sd-header-left .sd-brand {
  margin-right: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.sd-header-left .sd-brand img {
  max-width: 360px;
  height: 72px;
}

.sd-header-left .sd-main-nav {
  min-height: auto;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.78rem;
}

.sd-hero-wide {
  padding: 82px 0 74px;
  background:
    radial-gradient(circle at 16% 0%, rgba(247,166,0,0.23), transparent 32%),
    linear-gradient(180deg, #fff8e8, #fff);
}

.sd-hero-full {
  text-align: center;
}

.sd-hero-full h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 0.95;
}

.sd-hero-full p:not(.eyebrow) {
  max-width: 880px;
  margin: 24px auto 34px;
  color: var(--muted);
  font-size: 1.2rem;
}

.sd-hero-picture-row {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 20px;
  margin: 34px 0 30px;
  align-items: stretch;
}

.sd-hero-picture-row img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 26px 80px rgba(13,20,38,0.17);
  background: #fff;
}

.sd-hero-picture-row img:first-child {
  height: 430px;
}

.sd-hero-centered-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .sd-header-inner {
    min-height: 86px;
  }

  .sd-header-left .sd-brand img {
    max-width: 280px;
    height: 62px;
  }

  .sd-header-left .sd-main-nav {
    gap: 14px;
    font-size: 0.72rem;
  }

  .sd-hero-picture-row {
    grid-template-columns: 1fr;
  }

  .sd-hero-picture-row img,
  .sd-hero-picture-row img:first-child {
    height: 340px;
  }
}

@media (max-width: 900px) {
  .top-contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  .top-contact-actions {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sd-header-inner {
    min-height: 80px;
  }

  .sd-header-left .nav-toggle {
    display: inline-flex;
  }

  .sd-header-left .sd-main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .sd-header-left .sd-main-nav.is-open {
    display: flex;
  }
}

@media (max-width: 620px) {
  .sd-header-left .sd-brand img {
    max-width: 210px;
    height: 50px;
  }

  .sd-hero-full h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }

  .sd-hero-picture-row img,
  .sd-hero-picture-row img:first-child {
    height: 260px;
    border-radius: 22px;
  }
}


/* Footer copyright display fix */
.footer-bottom-clean,
.sd-footer .footer-bottom-clean,
.site-footer .footer-bottom-clean {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom-clean p,
.sd-footer .footer-bottom-clean p,
.site-footer .footer-bottom-clean p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

.footer-bottom-clean span,
.sd-footer .footer-bottom-clean span,
.site-footer .footer-bottom-clean span {
  display: inline;
  margin: 0;
  color: inherit;
}


/* Mobile and tablet appearance optimisation */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
.site-header, .sd-header { width: 100%; }
.nav-toggle { flex-shrink: 0; }
.sd-header-inner, .nav-wrap, .quote-form, .contact-grid, .footer-grid, .sd-footer-grid, .sd-hero-grid, .gallery-hero-grid { min-width: 0; }
.sd-main-nav a, .main-nav a { white-space: nowrap; }
.sd-hero-full h1, .sd-hero-copy h1, .gallery-hero h1, .hero h1 { overflow-wrap: anywhere; }
input, select, textarea, button { max-width: 100%; }
.sd-hero-picture-row img, .sd-hero-image img, .gallery-hero-card img, .project-slideshow, .project-feature img, .category-card img, .sd-category-card img, .sd-product-grid img, .gallery-page-grid img, .solution-card img { object-position: center; }

@media (max-width: 1180px) {
  .container { width: min(100% - 28px, var(--container)); }
  .sd-header-inner { min-height: 86px; gap: 16px; }
  .sd-header-left .sd-brand img, .sd-brand img, .brand img { max-width: 280px; height: 62px; }
  .sd-header-left .sd-main-nav, .sd-main-nav { gap: 14px; font-size: 0.72rem; }
  .sd-hero-full h1, .sd-hero-copy h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
  .sd-category-grid, .sd-product-grid, .sd-service-pill-grid, .trust-grid, .stats-grid, .sd-assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .container { width: min(100% - 24px, var(--container)); }
  .top-service-grid, .top-contact-row { grid-template-columns: 1fr; gap: 8px; text-align: center; padding: 8px 0; }
  .top-contact-actions { justify-self: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
  .top-contact-actions a { min-height: 34px; padding: 7px 12px; font-size: 0.78rem; }
  .sd-header-inner, .sd-logo-row, .nav-wrap { min-height: 78px; justify-content: space-between; gap: 12px; }
  .sd-header-left .sd-brand img, .sd-brand img, .brand img { max-width: 220px; height: 52px; }
  .sd-header-left .nav-toggle, .sd-logo-row .nav-toggle, .nav-toggle { display: inline-flex; }
  .sd-header-left .sd-main-nav, .sd-main-nav, .main-nav {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    padding: 14px; display: none; flex-direction: column; align-items: stretch;
    gap: 8px; box-shadow: var(--shadow); z-index: 100;
  }
  .sd-header-left .sd-main-nav.is-open, .sd-main-nav.is-open, .main-nav.is-open { display: flex; }
  .sd-main-nav a, .main-nav a { padding: 11px 12px; border-radius: 12px; background: #f8fafc; color: var(--text); text-align: left; }
  .sd-main-nav .nav-cta, .main-nav .nav-cta { text-align: center; background: var(--primary); }
  .section, .sd-section { padding: 68px 0; }
  .sd-hero, .sd-hero-wide, .gallery-hero, .modern-home-hero { padding: 58px 0; min-height: auto; }
  .sd-hero-grid, .gallery-hero-grid, .sd-feature-grid, .premium-intro-grid, .process-grid, .faq-grid, .contact-grid, .service-page-grid { grid-template-columns: 1fr; gap: 30px; }
  .sd-hero-full, .sd-hero-copy, .gallery-hero-grid > div:first-child { text-align: center; }
  .sd-hero-full h1, .sd-hero-copy h1, .gallery-hero h1, .hero h1 { font-size: clamp(2.25rem, 9vw, 4.1rem); line-height: 1.02; }
  .sd-hero-full p:not(.eyebrow), .sd-hero-copy p:not(.eyebrow), .gallery-hero .hero-text, .hero-text { font-size: 1.05rem; margin-left: auto; margin-right: auto; }
  .hero-actions, .sd-hero-centered-actions { justify-content: center; }
  .sd-hero-picture-row { grid-template-columns: 1fr; gap: 16px; margin: 28px 0 24px; }
  .sd-hero-picture-row img, .sd-hero-picture-row img:first-child, .sd-hero-image img, .gallery-hero-card img, .gallery-hero-card.modern-hero-card img { height: auto; min-height: 0; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; }
  .sd-category-grid, .sd-product-grid, .sd-service-pill-grid, .sd-process-grid, .sd-price-grid, .cards-grid, .project-categories, .project-gallery, .gallery-page-grid, .trust-grid, .pricing-grid, .service-list-grid, .stats-grid, .sd-assurance-grid, .footer-grid, .sd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-category-card, .sd-category-card img { min-height: 300px; }
  .solution-card, .modern-solution-card, .category-card { grid-template-columns: 1fr; }
  .category-card img { min-height: 220px; }
  .cta-card, .sd-demo-grid { flex-direction: column; align-items: flex-start; text-align: left; }
  .quote-form { padding: 24px; }
  .sd-footer, .site-footer { padding-bottom: 90px; }
  .footer-bottom, .footer-bottom-clean { text-align: center; justify-content: center; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 20px, var(--container)); }
  .top-service-bar { font-size: 0.72rem; }
  .top-contact-actions { width: 100%; }
  .top-contact-actions a { flex: 1 1 130px; justify-content: center; }
  .sd-header-inner, .sd-logo-row, .nav-wrap { min-height: 70px; }
  .sd-header-left .sd-brand img, .sd-brand img, .brand img { max-width: 184px; height: 44px; }
  .nav-toggle { width: 42px; height: 42px; }
  .section, .sd-section { padding: 54px 0; }
  .sd-hero, .sd-hero-wide, .gallery-hero, .modern-home-hero { padding: 46px 0 52px; }
  .sd-hero-full h1, .sd-hero-copy h1, .gallery-hero h1, .hero h1 { font-size: clamp(2rem, 11vw, 3.25rem); line-height: 1.04; letter-spacing: -0.05em; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.6rem); }
  .hero-badge, .eyebrow { font-size: 0.72rem; }
  .sd-hero-full p:not(.eyebrow), .sd-hero-copy p:not(.eyebrow), .gallery-hero .hero-text, .hero-text { font-size: 1rem; }
  .hero-actions, .sd-hero-centered-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn, .sd-hero-centered-actions .btn { width: 100%; }
  .sd-hero-picture-row { gap: 12px; }
  .sd-hero-picture-row img, .sd-hero-picture-row img:first-child, .sd-hero-image img, .gallery-hero-card img, .gallery-hero-card.modern-hero-card img, .project-slideshow, .project-feature img { aspect-ratio: 4 / 3; border-radius: 18px; }
  .sd-category-grid, .sd-product-grid, .sd-service-pill-grid, .sd-process-grid, .sd-price-grid, .cards-grid, .project-categories, .project-gallery, .gallery-page-grid, .trust-grid, .pricing-grid, .service-list-grid, .stats-grid, .sd-assurance-grid, .footer-grid, .sd-footer-grid { grid-template-columns: 1fr; }
  .sd-category-card, .sd-category-card img { min-height: 260px; }
  .service-card, .step, .solution-card, .modern-solution-card, .category-card, .sd-service-pill-grid article, .sd-process-grid article, .sd-price-grid article, .quote-form, .cta-card { border-radius: 20px; padding: 20px; }
  input, select, textarea { font-size: 16px; }
  .whatsapp-float { left: 12px; right: 12px; bottom: 12px; text-align: center; z-index: 90; }
  .footer-brand img { max-width: 190px; height: 48px; }
  .sd-footer-grid, .footer-grid { gap: 22px; }
}

@media (max-width: 380px) {
  .sd-header-left .sd-brand img, .sd-brand img, .brand img { max-width: 156px; height: 40px; }
  .sd-hero-full h1, .sd-hero-copy h1, .gallery-hero h1, .hero h1 { font-size: 2rem; }
  .btn { padding-left: 16px; padding-right: 16px; }
}


/* Version 2: Tesla-inspired full-screen layout for T-Global Tech */
.tesla-v2 {
  background: #fff;
  color: #111827;
  scroll-behavior: smooth;
}

.v2-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 76px;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.v2-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 5px 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.v2-logo img {
  width: auto;
  height: 46px;
  max-width: 230px;
  object-fit: contain;
}

.v2-nav {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.v2-nav a {
  color: #101827;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.v2-nav a:hover {
  background: rgba(15,23,42,0.08);
}

.v2-contact-actions {
  display: inline-flex;
  gap: 8px;
}

.v2-contact-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.86);
  color: #fff;
  font-weight: 850;
  font-size: 0.82rem;
}

.v2-contact-actions a:last-child {
  background: #25d366;
  color: #082414;
}

.v2-toggle {
  display: none;
}

.v2-main {
  background: #fff;
}

.v2-panel {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 20px 96px;
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.v2-panel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.44), rgba(0,0,0,0.12) 44%, rgba(0,0,0,0.54)),
    radial-gradient(circle at center top, rgba(255,255,255,0.14), transparent 34%);
  z-index: 1;
}

.v2-panel-overlay.light {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.58) 42%, rgba(255,255,255,0.88)),
    radial-gradient(circle at center top, rgba(247,166,0,0.16), transparent 34%);
}

.v2-panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
  align-self: start;
  padding-top: 38px;
}

.v2-panel-content h1,
.v2-panel-content h2 {
  color: inherit;
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin: 0 auto;
}

.v2-panel-content h1 {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  max-width: 1160px;
}

.v2-panel-content h2 {
  font-size: clamp(2.75rem, 6vw, 6rem);
  max-width: 1050px;
}

.v2-panel-content p:not(.v2-kicker) {
  max-width: 830px;
  margin: 20px auto 0;
  font-size: clamp(1.03rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}

.v2-panel-dark {
  color: #fff;
}

.v2-panel-light {
  color: #111827;
}

.v2-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--primary);
}

.v2-panel-light .v2-kicker {
  color: #0f766e;
}

.v2-panel-actions {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  justify-content: center;
  width: min(720px, calc(100% - 32px));
}

.v2-panel-actions .btn {
  flex: 1 1 220px;
  max-width: 270px;
  border-radius: 999px;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.v2-panel-actions .btn-glass {
  background: rgba(255,255,255,0.76);
  color: #111827;
  border: 1px solid rgba(255,255,255,0.45);
}

.v2-services,
.v2-gallery-preview,
.v2-contact {
  background: #f7f7f5;
  padding: 96px 0;
}

.v2-gallery-preview {
  background: #fff;
}

.v2-section-title {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 42px;
}

.v2-section-title h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.v2-section-title p:not(.v2-kicker) {
  color: #5b6472;
  font-size: 1.08rem;
}

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

.v2-service-grid article {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 22px;
  padding: 24px;
  min-height: 166px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.v2-service-grid article h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.v2-service-grid article p {
  color: #647084;
  margin-bottom: 0;
}

.v2-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.v2-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.v2-center-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.v2-contact {
  background:
    radial-gradient(circle at 18% 0%, rgba(247,166,0,0.16), transparent 28%),
    linear-gradient(180deg, #f7f7f5, #fff);
}

.v2-footer {
  background: #111827;
  color: #fff;
  padding: 58px 0 26px;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.v2-footer-grid img {
  width: auto;
  max-width: 260px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 14px;
}

.v2-footer-grid a,
.v2-footer-grid span,
.v2-footer-grid p {
  display: block;
  color: rgba(255,255,255,0.76);
  margin-bottom: 8px;
}

.v2-footer-grid h3 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 14px;
}

@media (max-width: 1100px) {
  .v2-header {
    grid-template-columns: auto auto 1fr;
  }

  .v2-toggle {
    display: inline-flex;
    order: 3;
    justify-self: end;
  }

  .v2-contact-actions {
    order: 2;
    justify-self: end;
  }

  .v2-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(15,23,42,0.18);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .v2-nav.is-open {
    display: flex;
  }

  .v2-nav a {
    background: #f5f7fa;
    padding: 12px 14px;
  }

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

@media (max-width: 700px) {
  .v2-header {
    height: auto;
    min-height: 68px;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .v2-logo img {
    height: 42px;
    max-width: 178px;
  }

  .v2-contact-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .v2-contact-actions a {
    flex: 1 1 0;
  }

  .v2-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .v2-panel {
    min-height: 100svh;
    padding: 142px 16px 124px;
  }

  .v2-panel-content {
    padding-top: 10px;
  }

  .v2-panel-content h1 {
    font-size: clamp(2.5rem, 13vw, 4.3rem);
  }

  .v2-panel-content h2 {
    font-size: clamp(2.15rem, 11vw, 3.7rem);
  }

  .v2-panel-content p:not(.v2-kicker) {
    font-size: 1rem;
    line-height: 1.48;
  }

  .v2-panel-actions {
    flex-direction: column;
    bottom: 28px;
    width: min(420px, calc(100% - 26px));
  }

  .v2-panel-actions .btn {
    max-width: none;
    flex: 0 0 auto;
    width: 100%;
  }

  .v2-services,
  .v2-gallery-preview,
  .v2-contact {
    padding: 68px 0;
  }

  .v2-service-grid,
  .v2-gallery-grid,
  .v2-footer-grid {
    grid-template-columns: 1fr;
  }

  .v2-gallery-grid img {
    aspect-ratio: 16 / 11;
  }
}


/* Version 2.1 Solar Panels-inspired additions */
.v21-hero .v2-panel-content h1 {
  max-width: 1180px;
}

.v21-design,
.v21-power-on,
.v21-energy-flow,
.v21-system-info {
  padding: 104px 0;
  background: #fff;
}

.v21-design {
  background:
    radial-gradient(circle at 12% 0%, rgba(247,166,0,0.14), transparent 28%),
    linear-gradient(180deg, #fff, #f7f7f5);
}

.v21-power-on {
  background: #111827;
  color: #fff;
}

.v21-energy-flow {
  background:
    linear-gradient(135deg, rgba(15,23,42,0.94), rgba(20,33,61,0.88)),
    url("assets/featured/featured-04-kodak-dyness.jpg") center / cover no-repeat;
  color: #fff;
}

.v21-system-info {
  background: #f7f7f5;
}

.v21-split,
.v21-energy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.v21-copy h2,
.v21-energy-grid h2 {
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
}

.v21-copy p,
.v21-energy-grid p {
  color: #5b6472;
  font-size: 1.08rem;
  line-height: 1.7;
}

.v21-energy-grid p {
  color: rgba(255,255,255,0.76);
}

.v21-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 32px;
}

.v21-check-grid span {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 850;
  color: #111827;
  box-shadow: 0 12px 32px rgba(15,23,42,0.06);
}

.v21-image-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(15,23,42,0.16);
}

.v21-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.v21-power-on .v2-section-title p:not(.v2-kicker) {
  color: rgba(255,255,255,0.72);
}

.v21-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.v21-steps article,
.v21-info-grid article,
.v21-flow-cards article {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.16);
}

.v21-steps article span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary);
  color: #1d1703;
  font-weight: 950;
  margin-bottom: 18px;
}

.v21-steps article h3,
.v21-flow-cards article h3 {
  color: #fff;
}

.v21-steps article p,
.v21-flow-cards article p {
  color: rgba(255,255,255,0.72);
}

.v21-flow-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.v21-flow-cards article strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.15rem;
}

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

.v21-info-grid article {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.v21-info-grid article p {
  color: #647084;
}

@media (max-width: 1100px) {
  .v21-split,
  .v21-energy-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .v21-design,
  .v21-power-on,
  .v21-energy-flow,
  .v21-system-info {
    padding: 68px 0;
  }

  .v21-copy h2,
  .v21-energy-grid h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .v21-check-grid,
  .v21-steps,
  .v21-flow-cards,
  .v21-info-grid {
    grid-template-columns: 1fr;
  }

  .v21-image-card {
    border-radius: 22px;
  }
}


/* Homepage video update */
.v21-video-hero {
  background-image: none !important;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #0f172a;
}

.v21-video-hero .v2-panel-content,
.v21-video-hero .v2-panel-actions {
  position: relative;
  z-index: 3;
}

.video-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.56), rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.62)),
    radial-gradient(circle at center top, rgba(255,255,255,0.10), transparent 34%);
}

.v21-video-showcase {
  background:
    radial-gradient(circle at 18% 0%, rgba(247,166,0,0.15), transparent 30%),
    linear-gradient(180deg, #0f172a, #111827);
  color: #fff;
  padding: 96px 0;
}

.v21-video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.v21-video-grid h2 {
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
}

.v21-video-grid p {
  color: rgba(255,255,255,0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.v21-video-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.14);
  background: #000;
}

.v21-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 900px) {
  .v21-video-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .v21-video-grid .hero-actions {
    justify-content: center;
  }

  .hero-bg-video {
    object-position: center;
  }
}

@media (max-width: 620px) {
  .v21-video-showcase {
    padding: 64px 0;
  }

  .v21-video-card {
    border-radius: 20px;
  }
}


/* V2.1 refined Tesla Solar Panels inspired styling */
.tesla-v2 .v2-panel-content {
  padding-top: 24px;
  max-width: 920px;
}

.tesla-v2 .v2-panel-content h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  max-width: 980px;
}

.tesla-v2 .v2-panel-content h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 900px;
}

.tesla-v2 .v2-panel-content p:not(.v2-kicker) {
  max-width: 700px;
  font-size: clamp(0.98rem, 1.35vw, 1.13rem);
  line-height: 1.55;
  margin-top: 14px;
}

.tesla-v2 .v2-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.tesla-v2 .v2-panel {
  min-height: 92svh;
  padding-top: 110px;
  padding-bottom: 92px;
}

.tesla-v2 .v2-panel-actions {
  bottom: 42px;
  gap: 12px;
  width: min(600px, calc(100% - 32px));
}

.tesla-v2 .v2-panel-actions .btn {
  max-width: 240px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 0.88rem;
}

.tesla-v2 .v2-header {
  height: 68px;
  background: rgba(255, 255, 255, 0.84);
}

.tesla-v2 .v2-logo img {
  height: 40px;
  max-width: 205px;
}

.tesla-v2 .v2-nav a {
  font-size: 0.78rem;
}

.tesla-v2 .v2-contact-actions a {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 0.78rem;
}

.tesla-v2 .v21-design,
.tesla-v2 .v21-power-on,
.tesla-v2 .v21-energy-flow,
.tesla-v2 .v21-system-info,
.tesla-v2 .v2-services,
.tesla-v2 .v2-gallery-preview,
.tesla-v2 .v2-contact {
  padding: 82px 0;
}

.tesla-v2 .v2-section-title h2,
.tesla-v2 .v21-copy h2,
.tesla-v2 .v21-energy-grid h2,
.tesla-v2 .v21-video-grid h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.v21-video-showcase {
  display: none !important;
}

.video-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.46), rgba(0,0,0,0.16) 42%, rgba(0,0,0,0.54)),
    radial-gradient(circle at center top, rgba(255,255,255,0.08), transparent 34%);
}

@media (max-width: 1100px) {
  .tesla-v2 .v2-panel-content h1 {
    font-size: clamp(2.35rem, 7vw, 4.2rem);
  }

  .tesla-v2 .v2-panel-content h2 {
    font-size: clamp(2rem, 6vw, 3.7rem);
  }

  .tesla-v2 .v2-panel {
    min-height: 88svh;
  }
}

@media (max-width: 700px) {
  .tesla-v2 .v2-header {
    min-height: 64px;
  }

  .tesla-v2 .v2-logo img {
    height: 38px;
    max-width: 165px;
  }

  .tesla-v2 .v2-panel {
    min-height: 88svh;
    padding: 132px 16px 112px;
  }

  .tesla-v2 .v2-panel-content h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
    line-height: 1.06;
  }

  .tesla-v2 .v2-panel-content h2 {
    font-size: clamp(1.85rem, 9vw, 2.9rem);
    line-height: 1.08;
  }

  .tesla-v2 .v2-panel-content p:not(.v2-kicker) {
    font-size: 0.98rem;
    max-width: 92vw;
  }

  .tesla-v2 .v2-panel-actions {
    bottom: 24px;
    width: min(380px, calc(100% - 26px));
  }

  .tesla-v2 .v2-panel-actions .btn {
    max-width: none;
    width: 100%;
  }

  .tesla-v2 .v21-design,
  .tesla-v2 .v21-power-on,
  .tesla-v2 .v21-energy-flow,
  .tesla-v2 .v21-system-info,
  .tesla-v2 .v2-services,
  .tesla-v2 .v2-gallery-preview,
  .tesla-v2 .v2-contact {
    padding: 62px 0;
  }

  .tesla-v2 .v2-section-title h2,
  .tesla-v2 .v21-copy h2,
  .tesla-v2 .v21-energy-grid h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }
}


/* Logo blend update */
.tesla-v2 .v2-logo,
.v2-logo,
.sd-brand,
.brand {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.tesla-v2 .v2-logo img,
.v2-logo img,
.sd-brand img,
.brand img {
  background: transparent !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.22));
}

.v2-footer-grid img,
.footer-brand img {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.28));
}


/* Solar section image without overlay */
.v21-solar {
  position: relative;
  overflow: hidden;
}

.v21-solar .v2-panel-content,
.v21-solar .v2-panel-actions {
  position: relative;
  z-index: 2;
}

.v21-solar .v2-panel-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.v21-solar .v2-kicker,
.v21-solar .v2-panel-content h2,
.v21-solar .v2-panel-content p {
  color: #ffffff !important;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.35),
    0 4px 18px rgba(0,0,0,0.22);
}

.v21-solar .v2-panel-content p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.v21-solar .btn.btn-primary {
  background: rgba(255,255,255,0.92);
  color: #111827;
  border: 1px solid rgba(255,255,255,0.75);
}

.v21-solar .btn.btn-secondary,
.v21-solar .btn.btn-glass {
  background: rgba(15,23,42,0.72);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
}

@media (max-width: 700px) {
  .v21-solar .v2-panel-content {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* Solar section direct text on image, no whitening */
.v21-solar {
  background-color: transparent !important;
}

.v21-solar .v2-panel-content,
.v21-solar .v2-panel-actions {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.v21-solar .v2-kicker,
.v21-solar .v2-panel-content h2,
.v21-solar .v2-panel-content p {
  background: transparent !important;
}

.v21-solar .v2-panel-content h2,
.v21-solar .v2-panel-content p,
.v21-solar .v2-kicker {
  color: #ffffff !important;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.45),
    0 6px 20px rgba(0,0,0,0.28);
}

.v21-solar .v2-panel-actions .btn {
  backdrop-filter: none !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.v21-solar .btn.btn-primary {
  background: rgba(15,23,42,0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
}

.v21-solar .btn.btn-secondary,
.v21-solar .btn.btn-glass {
  background: rgba(15,23,42,0.62) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}


/* Solar section buttons centered below text */
.v21-solar .v2-panel-content {
  margin-bottom: 24px;
}

.v21-solar .v2-panel-actions {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
  justify-content: center !important;
  align-items: center;
  z-index: 2;
}

.v21-solar .v2-panel-actions .btn {
  flex: 0 0 auto !important;
  max-width: none !important;
  min-width: 220px;
}

@media (max-width: 700px) {
  .v21-solar .v2-panel-actions {
    width: 100% !important;
  }

  .v21-solar .v2-panel-actions .btn {
    width: 100%;
    min-width: 0;
  }
}


/* Solar section increased spacing between text and buttons */
.v21-solar .v2-panel-content {
  margin-bottom: 190px !important; /* approx 5 cm on standard screens */
}

@media (max-width: 700px) {
  .v21-solar .v2-panel-content {
    margin-bottom: 120px !important;
  }
}


/* Home hero button refinement */
.v21-video-hero .v2-panel-content {
  margin-bottom: 28px !important;
}

.v21-video-hero .v2-panel-actions {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 3;
}

.v21-video-hero .v2-panel-actions .btn {
  flex: 0 0 auto !important;
  max-width: none !important;
  min-width: 170px !important;
  min-height: 38px !important;
  padding: 9px 18px !important;
  font-size: 0.78rem !important;
  border-radius: 999px !important;
}

@media (max-width: 700px) {
  .v21-video-hero .v2-panel-content {
    margin-bottom: 20px !important;
  }

  .v21-video-hero .v2-panel-actions {
    width: 100% !important;
    flex-direction: column !important;
  }

  .v21-video-hero .v2-panel-actions .btn {
    width: min(100%, 280px) !important;
    min-width: 0 !important;
  }
}



/* Mobile and tablet optimization only - desktop look unchanged */
@media (max-width: 1024px) {
  .v2-header {
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    height: auto;
    min-height: 68px;
    padding: 10px 16px;
  }

  .v2-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15,23,42,0.12);
    background: rgba(255,255,255,0.94);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .v2-toggle span {
    width: 18px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
  }

  .v2-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.14);
    z-index: 300;
  }

  .v2-nav.is-open {
    display: flex;
  }

  .v2-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .v2-contact-actions {
    justify-self: end;
    gap: 6px;
  }

  .v2-contact-actions a {
    padding: 7px 11px;
    min-height: 34px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .v2-logo img {
    height: 38px;
    max-width: 170px;
  }

  .v2-panel {
    min-height: auto;
    padding: 118px 18px 84px;
  }

  .v2-panel-content h1 {
    font-size: clamp(2.3rem, 7vw, 4.2rem);
    line-height: 1.02;
  }

  .v2-panel-content h2 {
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.04;
  }

  .v2-panel-content p:not(.v2-kicker) {
    font-size: 1rem;
    max-width: 680px;
  }

  .v21-split,
  .v21-energy-grid,
  .v21-video-grid,
  .gallery-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .v21-check-grid,
  .v21-flow-cards,
  .v2-footer-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .v2-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-form {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .v2-header {
    grid-template-columns: auto auto 1fr;
    padding: 10px 12px;
  }

  .v2-logo img {
    height: 34px;
    max-width: 148px;
  }

  .v2-contact-actions {
    gap: 5px;
  }

  .v2-contact-actions a {
    padding: 6px 9px;
    min-height: 32px;
    font-size: 0.72rem;
  }

  .v2-panel {
    padding: 110px 14px 72px;
  }

  .v2-panel-content {
    max-width: 100%;
  }

  .v2-panel-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.06;
    max-width: 95%;
  }

  .v2-panel-content h2,
  .v2-section-title h2,
  .v21-copy h2,
  .v21-energy-grid h2 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .v2-panel-content p:not(.v2-kicker),
  .v2-section-title p:not(.v2-kicker),
  .v21-copy p,
  .v21-energy-grid p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .v2-section-title {
    margin-bottom: 28px;
  }

  .v2-panel-actions,
  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .v2-panel-actions .btn,
  .hero-actions .btn,
  .v2-center-actions .btn {
    width: min(100%, 300px);
    max-width: 300px;
  }

  .v21-check-grid,
  .v21-flow-cards,
  .v21-steps,
  .v2-service-grid,
  .v2-gallery-grid,
  .v2-footer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .v21-steps article,
  .v21-info-grid article,
  .v21-flow-cards article,
  .v2-service-grid article {
    padding: 20px;
    border-radius: 20px;
  }

  .v21-image-card,
  .gallery-hero-card,
  .quote-form {
    border-radius: 22px;
  }

  .v2-gallery-grid img {
    border-radius: 18px;
  }

  .quote-form {
    padding: 18px;
  }

  input, select, textarea {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .v2-footer {
    padding: 46px 0 22px;
  }

  .v2-footer-grid img {
    max-width: 180px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .v2-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo toggle"
      "actions actions";
    align-items: center;
    row-gap: 8px;
  }

  .v2-logo {
    grid-area: logo;
  }

  .v2-toggle {
    grid-area: toggle;
    justify-self: end;
  }

  .v2-contact-actions {
    grid-area: actions;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .v2-contact-actions a {
    width: 100%;
    padding: 8px 10px;
  }

  .v2-nav {
    left: 12px;
    right: 12px;
  }

  .v2-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .v2-panel {
    padding: 106px 12px 64px;
  }

  .v2-panel-content h1 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .v2-panel-content h2 {
    font-size: clamp(1.55rem, 9vw, 2.15rem);
  }

  .v2-panel-content p:not(.v2-kicker) {
    font-size: 0.93rem;
  }

  .v21-check-grid span {
    border-radius: 18px;
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .v2-service-grid article h3 {
    font-size: 1rem;
  }

  .v2-footer-grid,
  .footer-bottom {
    gap: 12px;
  }
}



/* Mobile button refinement: smaller buttons, cleaner hero CTAs, non-overlapping WhatsApp float */
@media (max-width: 767px) {
  .v2-contact-actions {
    gap: 4px !important;
  }

  .v2-contact-actions a {
    padding: 5px 8px !important;
    min-height: 30px !important;
    font-size: 0.68rem !important;
    border-radius: 999px !important;
  }

  .v21-video-hero .v2-panel-content {
    margin-bottom: 14px !important;
  }

  .v21-video-hero .v2-panel-actions {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 20px auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .v21-video-hero .v2-panel-actions .btn {
    width: min(100%, 240px) !important;
    max-width: 240px !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 0.84rem !important;
    line-height: 1.2 !important;
  }

  .v21-video-hero {
    padding-bottom: 56px !important;
  }

  .whatsapp-float {
    right: 10px !important;
    bottom: 10px !important;
    padding: 9px 12px !important;
    font-size: 0.74rem !important;
    line-height: 1 !important;
    box-shadow: 0 10px 22px rgba(37,211,102,0.26) !important;
    z-index: 20 !important;
  }
}

@media (max-width: 480px) {
  .v2-contact-actions a {
    padding: 6px 8px !important;
    min-height: 32px !important;
    font-size: 0.68rem !important;
  }

  .v21-video-hero .v2-panel-actions {
    margin-top: 18px !important;
  }

  .v21-video-hero .v2-panel-actions .btn {
    width: min(100%, 220px) !important;
    max-width: 220px !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  .whatsapp-float {
    padding: 8px 10px !important;
    font-size: 0.7rem !important;
    bottom: 8px !important;
    right: 8px !important;
  }
}



/* Remove floating WhatsApp ribbon on mobile only */
@media (max-width: 767px) {
  .whatsapp-float {
    display: none !important;
  }
}



/* Mobile text size refinement only */
@media (max-width: 767px) {
  .v2-kicker,
  .v21-video-hero .v2-kicker,
  .v21-solar .v2-kicker {
    font-size: 0.66rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 8px !important;
  }

  .v21-video-hero .v2-panel-content h1 {
    font-size: clamp(1.7rem, 7.8vw, 2.45rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
    max-width: 94% !important;
  }

  .v2-panel-content h2,
  .v21-solar .v2-panel-content h2,
  .v2-section-title h2,
  .v21-copy h2,
  .v21-energy-grid h2 {
    font-size: clamp(1.45rem, 6.6vw, 2.2rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
  }

  .v21-video-hero .v2-panel-content p:not(.v2-kicker),
  .v2-panel-content p:not(.v2-kicker),
  .v2-section-title p:not(.v2-kicker),
  .v21-copy p,
  .v21-energy-grid p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
    max-width: 92% !important;
  }

  .v21-video-hero .v2-panel-actions {
    gap: 7px !important;
    margin-top: 16px !important;
  }

  .v21-video-hero .v2-panel-actions .btn,
  .v2-panel-actions .btn,
  .hero-actions .btn,
  .v2-center-actions .btn {
    width: min(100%, 210px) !important;
    max-width: 210px !important;
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
  }

  .v2-contact-actions a {
    font-size: 0.64rem !important;
    min-height: 28px !important;
    padding: 5px 8px !important;
  }

  .v2-service-grid article h3,
  .v21-steps article h3,
  .v21-flow-cards article h3,
  .v21-info-grid article h3 {
    font-size: 0.98rem !important;
  }

  .v2-service-grid article p,
  .v21-steps article p,
  .v21-flow-cards article p,
  .v21-info-grid article p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 480px) {
  .v21-video-hero .v2-panel-content h1 {
    font-size: clamp(1.55rem, 8.6vw, 2.15rem) !important;
  }

  .v2-panel-content h2,
  .v21-solar .v2-panel-content h2,
  .v2-section-title h2,
  .v21-copy h2,
  .v21-energy-grid h2 {
    font-size: clamp(1.32rem, 7.2vw, 1.9rem) !important;
  }

  .v21-video-hero .v2-panel-content p:not(.v2-kicker),
  .v2-panel-content p:not(.v2-kicker),
  .v2-section-title p:not(.v2-kicker),
  .v21-copy p,
  .v21-energy-grid p {
    font-size: 0.82rem !important;
    line-height: 1.46 !important;
  }

  .v21-video-hero .v2-panel-actions .btn,
  .v2-panel-actions .btn,
  .hero-actions .btn,
  .v2-center-actions .btn {
    width: min(100%, 195px) !important;
    max-width: 195px !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
    font-size: 0.68rem !important;
  }

  .v2-contact-actions a {
    font-size: 0.62rem !important;
    min-height: 28px !important;
  }
}



/* iPhone 14 mobile hard fix */
.whatsapp-float {
  display: none !important;
}

@media (max-width: 820px) {
  html, body {
    overflow-x: hidden;
  }

  .v2-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    min-height: 86px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "logo toggle"
      "actions actions" !important;
    gap: 8px 10px !important;
    align-items: center !important;
    padding: 10px 14px 9px !important;
    background: rgba(255,255,255,0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 500 !important;
  }

  .v2-logo {
    grid-area: logo !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
  }

  .v2-logo img {
    height: 42px !important;
    max-width: 220px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .v2-toggle {
    grid-area: toggle !important;
    justify-self: end !important;
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    padding: 0 !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(15,23,42,0.12) !important;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08) !important;
  }

  .v2-toggle span {
    width: 18px !important;
    height: 2px !important;
    background: #111827 !important;
  }

  .v2-contact-actions {
    grid-area: actions !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    width: 100% !important;
    justify-self: stretch !important;
  }

  .v2-contact-actions a {
    width: 100% !important;
    min-height: 32px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 0.74rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    text-align: center !important;
  }

  .v2-nav {
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 600 !important;
  }

  .v2-panel,
  .v21-video-hero,
  .v21-solar {
    min-height: 100svh !important;
    padding: 128px 16px 54px !important;
  }

  .v21-video-hero .v2-panel-content {
    padding-top: 0 !important;
    margin-bottom: 14px !important;
  }

  .v21-video-hero .v2-kicker {
    font-size: 0.66rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 8px !important;
  }

  .v21-video-hero .v2-panel-content h1 {
    font-size: clamp(1.68rem, 7.2vw, 2.3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
    max-width: 96% !important;
  }

  .v21-video-hero .v2-panel-content p:not(.v2-kicker) {
    font-size: 0.86rem !important;
    line-height: 1.48 !important;
    max-width: 92% !important;
    margin-top: 12px !important;
  }

  .v21-video-hero .v2-panel-actions {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .v21-video-hero .v2-panel-actions .btn {
    width: 210px !important;
    max-width: 210px !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 0.74rem !important;
    line-height: 1.15 !important;
    border-radius: 999px !important;
  }

  .v21-power-on,
  .v21-energy-flow,
  .v21-design,
  .v21-system-info,
  .v2-services,
  .v2-gallery-preview,
  .v2-contact {
    padding: 58px 0 !important;
  }

  .v21-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .v21-steps article,
  .v21-flow-cards article,
  .v21-info-grid article,
  .v2-service-grid article {
    border-radius: 22px !important;
    padding: 18px !important;
    min-height: auto !important;
  }

  .v21-steps article span {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    font-size: 0.82rem !important;
  }

  .v21-steps article h3,
  .v21-flow-cards article h3,
  .v21-info-grid article h3,
  .v2-service-grid article h3 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .v21-steps article p,
  .v21-flow-cards article p,
  .v21-info-grid article p,
  .v2-service-grid article p {
    font-size: 0.88rem !important;
    line-height: 1.48 !important;
  }
}

@media (max-width: 430px) {
  .v2-header {
    min-height: 82px !important;
    padding: 9px 12px 8px !important;
  }

  .v2-logo img {
    height: 38px !important;
    max-width: 196px !important;
  }

  .v2-toggle {
    width: 40px !important;
    height: 40px !important;
  }

  .v2-contact-actions a {
    min-height: 30px !important;
    font-size: 0.68rem !important;
    padding: 5px 8px !important;
  }

  .v2-panel,
  .v21-video-hero,
  .v21-solar {
    padding: 120px 14px 48px !important;
  }

  .v21-video-hero .v2-panel-content h1 {
    font-size: clamp(1.55rem, 7.8vw, 2.05rem) !important;
  }

  .v21-video-hero .v2-panel-content p:not(.v2-kicker) {
    font-size: 0.82rem !important;
  }

  .v21-video-hero .v2-panel-actions .btn {
    width: 190px !important;
    max-width: 190px !important;
    min-height: 32px !important;
    font-size: 0.68rem !important;
    padding: 7px 10px !important;
  }
}



/* Reviews, TikTok and project image upload additions */
.v2-reviews {
  background:
    radial-gradient(circle at 80% 0%, rgba(247,166,0,0.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7f7f5);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.review-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.review-card h3 {
  margin: 8px 0 10px;
}

.review-card p {
  color: #647084;
}

.review-card span,
.review-card a {
  color: #111827;
  font-weight: 850;
}

.stars {
  color: #f7a600;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.review-form {
  max-width: 760px;
  margin: 0 auto;
}

.review-form h3 {
  margin: 0;
}

.form-note {
  font-size: 0.88rem;
  color: #647084;
  margin: -4px 0 0;
}

.upload-section {
  padding-top: 150px;
}

.page-title {
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 20px;
}

@media (max-width: 820px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    border-radius: 22px;
    padding: 20px;
  }

  .upload-section {
    padding-top: 130px;
  }

  .page-title {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }
}



/* Restricted admin image upload */
.admin-upload-section {
  padding-top: 150px;
}

.admin-status {
  margin: 20px 0;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 850;
}

.admin-status.success {
  background: rgba(37,211,102,0.16);
  color: #064e3b;
  border: 1px solid rgba(37,211,102,0.32);
}

.admin-status.error {
  background: rgba(239,68,68,0.12);
  color: #7f1d1d;
  border: 1px solid rgba(239,68,68,0.28);
}

.admin-gallery-section {
  background: #ffffff;
}

.admin-gallery-item {
  margin: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
  border: 1px solid rgba(15,23,42,0.08);
}

.admin-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.admin-gallery-item figcaption {
  padding: 14px 16px 16px;
}

.admin-gallery-item strong,
.admin-gallery-item span {
  display: block;
}

.admin-gallery-item span {
  color: #647084;
  font-size: 0.9rem;
  margin-top: 2px;
}

.admin-gallery-item p {
  color: #647084;
  margin: 8px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .admin-upload-section {
    padding-top: 130px;
  }
}



/* Review approval workflow */
.admin-review-section,
.thank-you-section {
  padding-top: 130px;
  min-height: 100svh;
}

.admin-review-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.admin-review-card {
  display: grid;
  gap: 8px;
}

.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.admin-review-actions form {
  margin: 0;
}

.approved-reviews {
  margin-bottom: 28px;
}

@media (max-width: 820px) {
  .admin-review-section,
  .thank-you-section {
    padding-top: 115px;
  }

  .admin-review-actions {
    flex-direction: column;
  }

  .admin-review-actions .btn {
    width: 100%;
  }
}



/* Dedicated reviews page */
.reviews-page-hero {
  padding: 150px 20px 72px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247,166,0,0.18), transparent 32%),
    linear-gradient(180deg, #ffffff, #f7f7f5);
}

.reviews-page-hero .container {
  max-width: 900px;
}

.reviews-page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 auto 18px;
}

.reviews-page-hero p:not(.v2-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: #5b6472;
  font-size: 1.08rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .reviews-page-hero {
    padding: 132px 16px 54px;
  }

  .reviews-page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.8rem);
    line-height: 1.08;
  }

  .reviews-page-hero p:not(.v2-kicker) {
    font-size: 0.9rem;
  }
}
