/* DESIGN SYSTEM - QUANTA SOLAR (DRIBBBLE REFERENCE STYLE) */

:root {
  /* Colors */
  --lime: #9FEF00;
  --lime-hover: #b0ff1a;
  --dark-blue: #04101E;
  --navy-light: #07162C;
  --paper: #ffffff;
  --soft-bg: #F4F7FB;
  --slate-blue: #324C68;
  --slate-blue-dark: #243950;
  --text-dark: #0B1B2B;
  --text-muted: #667685;
  --line: #E5EBF2;
  
  /* Fonts */
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--text-dark);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

/* Global Typography & Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.section-pad {
  padding: 120px clamp(24px, 6vw, 88px);
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--paper);
  width: fit-content;
}

.pill-label .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

.green-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--dark-blue);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(159, 239, 0, 0.25);
  white-space: nowrap;
}

.green-btn:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(159, 239, 0, 0.4);
}

.green-btn .arrow-icon {
  font-size: 16px;
  transition: var(--transition);
}

.green-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Desktop Defaults for Mobile Toggle & Slider Viewport */
.mobile-menu-toggle {
  display: none;
}

.hero-slider-viewport {
  width: 100%;
  overflow: visible;
}

.hero-slider-track {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hero-slider-dots {
  display: none;
}

/* Header */
.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 88px);
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.brand-mark i {
  display: block;
  border-radius: 3px;
  background: var(--lime);
  transform: skewX(-16deg);
  transition: var(--transition);
}

/* Skewed logo grid like dribbble reference */
.brand-mark i.m-top-left { transform: skewX(-16deg) translateY(2px); }
.brand-mark i.m-bottom-left { transform: skewX(-16deg) translateY(2px); }
.brand-mark i.m-top-right { transform: skewX(-16deg) translateY(-2px); }
.brand-mark i.m-bottom-right { transform: skewX(-16deg) translateY(-2px); }

.brand:hover .brand-mark i {
  background: var(--paper);
}

.primary-nav {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.primary-nav a {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: var(--transition);
}

.primary-nav a:hover {
  color: white;
}

.primary-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 960px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: white;
  padding: 120px 24px 220px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(4, 16, 30, 0.8), rgba(4, 16, 30, 0.3) 45%, rgba(4, 16, 30, 0.9)),
    linear-gradient(90deg, rgba(4, 16, 30, 0.5), rgba(4, 16, 30, 0.1), rgba(4, 16, 30, 0.5));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1040px, 100%);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 80px;
}

.hero h1, .hero-main-title {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-title-1 {
  position: relative;
  z-index: 2;
  text-shadow: 0 15px 25px rgba(4, 16, 30, 0.95), 0 25px 45px rgba(4, 16, 30, 0.9);
}

.hero-title-2 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  margin-top: -8px;
}

.hero p {
  width: min(680px, 100%);
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
}

/* Hero Interactive System (Dribbble 3-Card & L-Lines Visual Style) */
.hero-interactive-system {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 48px));
  height: 280px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible; /* allows connector lines/labels to render outside card boundaries */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.hero-image-card img {
  border-radius: var(--radius-lg);
  display: block;
}

.card-left, .card-right {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.card-middle {
  width: 300px;
  height: 160px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* Glassmorphism Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 15;
  background: rgba(4, 16, 30, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.floating-badge span {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.floating-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
}

/* Individual Badge Positioning */
.badge-warranty {
  top: -15px;
  left: -20px;
}

.badge-savings {
  bottom: -15px;
  right: -20px;
}

.badge-eco {
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.badge-monitor {
  bottom: -15px;
  left: -20px;
}

/* Hover effects */
.hero-image-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--lime);
  box-shadow: 0 20px 45px rgba(159, 239, 0, 0.2);
}

.hero-image-card:hover .floating-badge {
  border-color: var(--lime);
  background: rgba(4, 16, 30, 0.85);
  box-shadow: 0 12px 32px rgba(159, 239, 0, 0.25);
}

/* Maintain translateX on hover for the middle card badge */
.hero-image-card:hover .badge-eco {
  transform: translate(-50%, -2px);
}

/* About Us Section */
.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background: var(--paper);
}

.about-image {
  height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(4, 16, 30, 0.08);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-copy h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--text-dark);
  line-height: 1.15;
}

.about-copy > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 240px;
  transition: var(--transition);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: var(--transition);
}

.card-icon-percentage {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-dark);
}

/* Leaf & Gear Vector Shapes */
.card-icon-gear, .card-icon-leaf {
  width: 20px;
  height: 20px;
  position: relative;
  background: var(--text-dark);
  transition: var(--transition);
}

.card-icon-gear {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}

.card-icon-leaf {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 3.5 2 7a8 8 0 0 1-7 7.9V20z'%3E%3C/path%3E%3Cpath d='M19 2c-2.26 4.33-5.27 7.14-8 10'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 3.5 2 7a8 8 0 0 1-7 7.9V20z'%3E%3C/path%3E%3Cpath d='M19 2c-2.26 4.33-5.27 7.14-8 10'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}

.about-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Highlights for About Us First Card */
.about-card.highlight {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: white;
}

.about-card.highlight h3 {
  color: white;
}

.about-card.highlight .card-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
}

.about-card.highlight .card-icon-percentage {
  color: var(--lime);
  transition: var(--transition);
}

.about-card.highlight:hover .card-icon-percentage {
  color: var(--dark-blue);
}

.about-card.highlight p {
  color: rgba(255, 255, 255, 0.75);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
  box-shadow: 0 12px 28px rgba(4, 16, 30, 0.05);
}

.about-card.highlight:hover {
  box-shadow: 0 12px 28px rgba(4, 16, 30, 0.25);
}

.about-card:hover .card-icon-wrapper {
  background: var(--lime);
}

.about-card:hover .card-icon-gear,
.about-card:hover .card-icon-leaf {
  background: var(--dark-blue);
}

/* Projects Section */
.projects-section {
  background: var(--soft-bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  margin-top: 16px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 64px 0 80px;
  border-top: 1px solid rgba(11, 27, 43, 0.08);
  border-bottom: 1px solid rgba(11, 27, 43, 0.08);
  padding: 40px 0;
}

.metrics-row article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metrics-row strong {
  font-family: var(--font-title);
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px rgba(11, 27, 43, 0.05);
}

.metrics-row span {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Overlapping Stack & Showcase Layout */
.project-showcase {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.project-copy h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.project-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  color: var(--dark-blue);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 4px;
}

.detail-link:hover {
  color: var(--lime);
  border-color: var(--dark-blue);
}

.detail-link .diagonal-arrow {
  transition: var(--transition);
}

.detail-link:hover .diagonal-arrow {
  transform: translate(2px, -2px);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
}

.slider-arrows {
  display: flex;
  gap: 12px;
}

.slider-arrows button, .slider-controls .slider-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text-dark);
  font-weight: 800;
}

.slider-arrows button:last-child, 
.slider-controls .slider-arrows button:last-child {
  background: var(--lime);
  border-color: var(--lime);
}

.slider-arrows button:hover {
  transform: scale(1.05);
}

.page-indicator {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
}

/* 3D Gallery Stack */
.project-gallery-3d {
  position: relative;
  height: 440px;
  width: 100%;
}

.gallery-stack {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(4, 16, 30, 0.12);
  transition: var(--transition);
}

.gallery-stack img {
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.img-back {
  width: 38%;
  height: 280px;
  right: 0;
  top: 30px;
  z-index: 1;
  transform: rotate(6deg) scale(0.95);
  opacity: 0.7;
}

.img-mid {
  width: 48%;
  height: 330px;
  right: 14%;
  top: 15px;
  z-index: 2;
  transform: rotate(-4deg);
  opacity: 0.9;
}

.img-front {
  width: 62%;
  height: 380px;
  right: 28%;
  top: 45px;
  z-index: 3;
  transform: rotate(1deg);
}

.project-gallery-3d:hover .img-front {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 45px rgba(4, 16, 30, 0.18);
}

.project-gallery-3d:hover .img-mid {
  transform: rotate(-8deg) translateX(-15px);
}

.project-gallery-3d:hover .img-back {
  transform: rotate(12deg) translateX(15px);
}

/* Solutions Section (Masonry Style CSS Grid) */
.solutions-section {
  background: var(--paper);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.solutions-header-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-column: 1;
  grid-row: 1;
  padding-bottom: 40px;
}

.solutions-header-block h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
}

/* Masonry rows arrangement */
.card-01 {
  grid-column: 2;
  grid-row: 1;
}

.card-02 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.card-03 {
  grid-column: 1;
  grid-row: 2;
}

.card-04 {
  grid-column: 2;
  grid-row: 2;
}

.solution-card {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-num {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
}

.solution-card h3 {
  font-size: 22px;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-img-wrapper {
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(4, 16, 30, 0.04);
}

.card-img-wrapper img {
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.solution-card:hover {
  border-top-color: var(--lime);
}

.solution-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--soft-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.testimonial-grid article {
  border-top: 1px solid rgba(11, 27, 43, 0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: var(--transition);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.test-num {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

.testimonial-grid h3 {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.green-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--lime);
  border-radius: 50%;
}

.testimonial-grid p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-grid small {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-grid article:hover {
  border-top-color: var(--lime);
}

/* Blog Section */
.blog-section {
  background: var(--paper);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 64px;
}

.blog-post {
  display: grid;
  grid-template-columns: 280px 1fr 180px;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 48px;
  transition: var(--transition);
}

/* Alternating post styling like dribbble reference */
.blog-post.alt-post {
  grid-template-columns: 1fr 180px 280px;
}

.post-img {
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(4, 16, 30, 0.04);
}

.post-img img {
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-info h3 {
  font-size: 22px;
  transition: var(--transition);
}

.post-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.blog-post.alt-post .post-meta {
  align-items: flex-start;
}

.post-meta time {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  line-height: 1.4;
}

.post-meta time span {
  font-weight: 600;
  color: var(--text-dark);
}

.circle-arrow-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(159, 239, 0, 0.2);
  transition: var(--transition);
}

.circle-arrow-link:hover {
  background: var(--dark-blue);
  color: var(--lime);
  transform: rotate(45deg);
  box-shadow: 0 6px 15px rgba(4, 16, 30, 0.2);
}

.blog-post:hover .post-info h3 {
  color: var(--lime);
}

.blog-post:hover .post-img img {
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  background: var(--paper);
  padding-top: 40px;
}

.cta-banner {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px clamp(24px, 8vw, 80px);
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-img img {
  filter: brightness(0.65);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(4, 16, 30, 0.85), rgba(4, 16, 30, 0.3));
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: white;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}

.cta-banner h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  color: white;
  line-height: 1.1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Footer (Slate Blue Style) */
.footer {
  background: var(--slate-blue);
  color: white;
  padding: 96px clamp(24px, 6vw, 88px) 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer .brand {
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--lime);
  color: var(--dark-blue);
  border-color: var(--lime);
  transform: translateY(-2px);
}

.footer h3 {
  font-size: 15px;
  color: white;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}

.footer nav a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}

.footer-contact .tel-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--lime);
}

.footer-contact .mail-link:hover {
  color: var(--lime);
}

.footer-contact .address-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  filter: drop-shadow(0 8px 20px rgba(159, 239, 0, 0.25));
}

.whatsapp-float:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 12px 28px rgba(159, 239, 0, 0.45));
}

.whatsapp-float lottie-player {
  width: 80px !important;
  height: 80px !important;
  display: block;
}

/* RESPONSIVIDADE (MOBILE & TABLETS) */

@media (max-width: 1120px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-01 { grid-column: 1; grid-row: 2; }
  .card-02 { grid-column: 2; grid-row: 2; }
  .card-03 { grid-column: 1; grid-row: 3; }
  .card-04 { grid-column: 2; grid-row: 3; }
  .solutions-header-block { grid-column: 1 / -1; padding-bottom: 20px; }
  
  .project-showcase {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .project-gallery-3d {
    max-width: 600px;
    margin: 0 auto;
    height: 380px;
  }
  .img-front { width: 62%; height: 320px; right: 28%; top: 30px; }
  .img-mid { width: 48%; height: 280px; right: 12%; top: 15px; }
  .img-back { width: 38%; height: 230px; right: 0; top: 30px; }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 80px clamp(20px, 5vw, 40px);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .site-header {
    position: fixed;
    height: 70px;
    background: rgba(4, 16, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile Hamburger Menu */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
  }

  /* Hamburger to X transform */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--lime);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--lime);
  }

  .primary-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-blue);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 150;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .primary-nav.active {
    right: 0;
  }

  .hero {
    min-height: 820px;
    padding-bottom: 120px;
  }
  
  /* Hero Interactive Slider on Mobile */
  .hero-interactive-system {
    position: relative;
    bottom: 0;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 340px;
    height: 230px; /* fixed height for absolute cards container plus dots */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding: 24px 0;
    margin: 0 auto;
  }
  
  .hero-slider-viewport {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: visible;
  }
  
  .hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .hero-image-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0) scale(0.95);
    width: 320px;
    height: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    pointer-events: none;
    margin-bottom: 0 !important;
    border-radius: var(--radius-lg);
  }
  
  .hero-image-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
  }

  .card-left, .card-middle, .card-right {
    width: 320px;
    height: 200px;
    position: absolute;
  }

  .hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .hero-dot.active {
    background: var(--lime);
    box-shadow: 0 0 8px var(--lime);
    transform: scale(1.2);
  }
  
  .floating-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(4, 16, 30, 0.85);
  }

  .floating-badge span {
    font-size: 9px;
  }

  .badge-warranty {
    top: -10px;
    left: 10px;
  }

  .badge-savings {
    bottom: -10px;
    right: 10px;
  }

  .badge-eco {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .badge-monitor {
    bottom: -10px;
    left: 10px;
  }

  .hero-image-card:hover .badge-eco {
    transform: translate(-50%, 0);
  }
  
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    height: 380px;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }
  
  .about-card {
    min-height: auto;
  }
  
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 40px 0;
  }
  
  .blog-post, .blog-post.alt-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
  }
  
  .post-img {
    order: 1;
    width: 100%;
    height: 220px;
  }
  
  .post-info {
    order: 2;
  }
  
  .post-meta {
    order: 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* WhatsApp Float Mobile */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 70px;
    height: 70px;
  }

  .whatsapp-float lottie-player {
    width: 70px !important;
    height: 70px !important;
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .card-01, .card-02, .card-03, .card-04 {
    grid-column: auto;
    grid-row: auto;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonial-grid article {
    min-height: auto;
  }
  
  .project-gallery-3d {
    height: 300px;
  }
  .img-front { width: 70%; height: 240px; right: 15%; top: 40px; }
  .img-mid { width: 55%; height: 210px; right: 5%; top: 20px; }
  .img-back { width: 45%; height: 180px; right: 0; top: 30px; }
}
