/* ==========================================================================
   YOUR FREE ENERGY - MODERN & CLEAN STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #E03A2F;
  --primary-hover: #C52B20;
  --primary-light: rgba(224, 58, 47, 0.08);
  --primary-gradient: linear-gradient(135deg, #E03A2F 0%, #FF5A36 100%);
  
  --dark: #111827;
  --dark-light: #1F2937;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;
  
  --accent-green: #10B981;
  --accent-blue:  #0284C7;
  --accent-amber: #F59E0B;

  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-display: 'Maven Pro', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.12), 0 10px 15px -5px rgba(0,0,0,0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-padding-sm {
  padding-top: 50px;
  padding-bottom: 50px;
}

.bg-light {
  background-color: var(--gray-50);
}

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

.bg-gradient {
  background: linear-gradient(135deg, #FFF5F4 0%, #FFFFFF 60%, #F0F7FF 100%);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--white);
}

.display-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto;
}

.bg-dark .section-subtitle {
  color: var(--gray-300);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.badge-green {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.badge-gold {
  background-color: rgba(245, 158, 11, 0.12);
  color: #D97706;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224, 58, 47, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 58, 47, 0.45);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--gray-900);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background-color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #FAF7F5 0%, #FFFFFF 50%, #F5F9FF 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.18rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-800);
}

.hero-feature-item svg {
  color: var(--accent-green);
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card-main {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.04);
  transform: rotate(-1deg);
  transition: transform var(--transition-slow);
}

.hero-card-main:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-card-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-card-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--gray-100);
  z-index: 3;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Subpage Hero */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

/* --- Award Section --- */
.award-banner {
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.award-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-icon-box svg {
  width: 38px;
  height: 38px;
}

.award-details h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.award-details p {
  color: var(--gray-300);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* --- Features & Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 58, 47, 0.2);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: var(--white);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Stats Counter Section */
.stats-bar {
  background: linear-gradient(135deg, #111827 0%, #1A2234 100%);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  color: var(--white);
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-300);
}

/* --- Product Showcase (Totem Energy) --- */
.product-showcase {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.product-showcase-img img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.product-showcase-content {
  padding: 50px 45px;
}

.product-showcase-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.product-showcase-content p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--gray-800);
}

.checklist-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Problem vs Solution Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-card.problem {
  border-top: 4px solid #EF4444;
}

.comparison-card.solution {
  border-top: 4px solid var(--accent-green);
  box-shadow: var(--shadow-lg);
}

.comparison-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.comparison-card.problem h3 {
  color: #DC2626;
}

.comparison-card.solution h3 {
  color: #059669;
}

/* --- Download Cards --- */
.download-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.pdf-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.lang-tag {
  background-color: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--gray-700);
}

/* Software download pills */
.app-card {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.app-card h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.app-card p {
  color: var(--gray-300);
  margin-bottom: 24px;
}

.os-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.os-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.os-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateX(4px);
}

.os-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-btn svg {
  width: 22px;
  height: 22px;
}

/* --- Gallery & Lightbox --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background-color: var(--gray-100);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--white);
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Lightbox Modal Styles */
.yfe-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.yfe-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.yfe-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.yfe-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.yfe-lightbox-close {
  position: absolute;
  top: -48px;
  right: -10px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.yfe-lightbox-close:hover {
  background-color: var(--primary);
}

.yfe-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.yfe-lightbox-nav:hover {
  background-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.yfe-lightbox-caption {
  margin-top: 14px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-full);
}

.yfe-lightbox-prev { left: -70px; }
.yfe-lightbox-next { right: -70px; }

/* Responsive Video Container */
.video-responsive-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background-color: #000;
}

.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Contact Page Elements --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-card-text p, .contact-card-text a {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-card-text a:hover {
  color: var(--primary);
}

/* Modern Form Styling */
.contact-form-box {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-box p.form-desc {
  color: var(--gray-500);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  background-color: var(--gray-50);
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox-wrapper label {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.45;
  cursor: pointer;
}

.form-notification {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 22px;
  animation: slideDown 0.3s ease;
}

.form-notification.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-notification.error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Map Container */
.map-responsive-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.map-responsive-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Legal / Content Layout --- */
.content-box {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px 45px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 8px;
}

.legal-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--gray-600);
}

.legal-content li {
  margin-bottom: 8px;
}

/* --- Call To Action Strip --- */
.cta-strip {
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.cta-strip h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 14px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--dark);
  color: var(--gray-300);
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-about p {
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--gray-400);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--gray-400);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Light Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .award-banner {
    grid-template-columns: auto 1fr;
  }
  .award-cta {
    grid-column: span 2;
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .app-card {
    grid-template-columns: 1fr;
  }
  .yfe-lightbox-prev { left: 10px; }
  .yfe-lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1.05rem;
  }
  .nav-actions .social-links {
    display: none;
  }
  .grid-3, .grid-2, .comparison-grid, .contact-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .award-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }
  .award-icon-box {
    margin: 0 auto;
  }
  .award-cta {
    grid-column: span 1;
    margin-top: 10px;
  }
}

/* ==========================================================================
   Commercial Password Protected Download & Modal
   ========================================================================== */
.commercial-access-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0 24px 0;
  text-align: left;
}

.commercial-access-notice .notice-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #F59E0B;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.commercial-access-notice .notice-icon svg {
  width: 20px;
  height: 20px;
}

.commercial-access-notice strong {
  display: block;
  font-size: 1rem;
  color: #F59E0B;
  margin-bottom: 4px;
}

.commercial-access-notice p {
  font-size: 0.92rem;
  color: #E2E8F0;
  margin: 0;
  line-height: 1.5;
}

.commercial-access-notice a {
  color: #FBBF24;
  text-decoration: underline;
  font-weight: 600;
}

.commercial-access-notice a:hover {
  color: #fff;
}

/* Password Modal */
.yfe-pwd-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.yfe-pwd-modal.active {
  display: flex;
  opacity: 1;
}

.yfe-pwd-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
  animation: pwdModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwdModalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.yfe-pwd-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.yfe-pwd-icon svg {
  width: 30px;
  height: 30px;
}

.yfe-pwd-card h3 {
  font-size: 1.4rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.yfe-pwd-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.5;
}

.yfe-pwd-form {
  margin-top: 15px;
}

.yfe-pwd-input-group {
  position: relative;
  margin-bottom: 12px;
}

.yfe-pwd-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: 2px;
  transition: border-color var(--transition-fast);
}

.yfe-pwd-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 58, 47, 0.15);
}

.yfe-pwd-error {
  color: #DC2626;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 22px;
  margin-bottom: 12px;
  display: none;
}

.yfe-pwd-error.show {
  display: block;
}

.yfe-pwd-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.yfe-pwd-actions .btn {
  flex: 1;
}

.yfe-pwd-contact-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.yfe-pwd-contact-help a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.os-btn .lock-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
}

.os-btn.unlocked .lock-tag {
  background: rgba(16, 185, 129, 0.3);
  color: #34D399;
}

/* ==========================================================================
   Hybrid Solar & Wind Simulator Section
   ========================================================================== */
.calc-main-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 991px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .calc-main-card {
    padding: 24px 18px;
  }
}

.calc-panel {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 22px;
}

.calc-panel:last-child {
  margin-bottom: 0;
}

.calc-panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-panel-title svg {
  width: 22px;
  height: 22px;
}

.calc-slider-group {
  margin-bottom: 20px;
}

.calc-slider-group:last-child {
  margin-bottom: 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

.calc-slider-header label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-slider-header label svg {
  width: 18px;
  height: 18px;
}

.calc-slider-val {
  font-weight: 700;
  font-size: 1rem;
}

/* Custom Sliders */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--slider-color) 0%, var(--slider-color) var(--slider-progress, 50%), #e2e8f0 var(--slider-progress, 50%), #e2e8f0 100%);
  margin-top: 4px;
}

.calc-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border: none;
}

.calc-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--slider-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: -7px;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--slider-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slider-blue { --slider-color: #2563eb; }
.slider-amber { --slider-color: #d97706; }
.slider-teal { --slider-color: #0d9488; }
.slider-purple { --slider-color: #7c3aed; }

/* Assumptions Note */
.calc-assumptions {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: #1e40af;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.calc-assumptions svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #2563eb;
}

.calc-assumptions ul {
  margin: 6px 0 0 16px;
  padding: 0;
  line-height: 1.5;
}

/* Results Right Column */
.calc-savings-banner {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.calc-savings-watermark {
  position: absolute;
  right: -15px;
  top: -20px;
  opacity: 0.12;
  pointer-events: none;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

.calc-savings-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
}

.calc-savings-amount {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.calc-savings-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 12px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ROI & Investment Card */
.calc-roi-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.calc-roi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.calc-roi-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.calc-cost-input {
  max-width: 160px;
  padding: 8px 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all var(--transition-fast);
}

.calc-cost-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(224, 58, 47, 0.12);
}

.calc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .calc-stat-grid {
    grid-template-columns: 1fr;
  }
}

.calc-stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}

.calc-stat-box .label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.calc-stat-box .val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.calc-stat-box .sub {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Progress Bars */
.calc-bar-wrap {
  margin-bottom: 16px;
}

.calc-bar-wrap:last-child {
  margin-bottom: 0;
}

.calc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.calc-bar-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.calc-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Installation Guide Styles
   ========================================================================== */
.guide-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.guide-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-icon-badge.windows { background: rgba(0, 120, 212, 0.1); color: #0078D4; }
.guide-icon-badge.apple { background: rgba(15, 23, 42, 0.08); color: #0f172a; }
.guide-icon-badge.linux { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.guide-icon-badge.common { background: rgba(224, 58, 47, 0.1); color: var(--primary); }

.guide-icon-badge svg {
  width: 26px;
  height: 26px;
}

.guide-card-header h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--gray-900);
}

.guide-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: guide-step;
}

.guide-step-item {
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-700);
}

.guide-step-item:last-child {
  margin-bottom: 0;
}

.guide-step-item::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.terminal-box {
  background: #0f172a;
  color: #38bdf8;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 10px 0 14px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.terminal-box code {
  display: block;
  line-height: 1.6;
}

.terminal-prompt {
  color: #94a3b8;
  user-select: none;
}

.guide-callout {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guide-callout.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.guide-callout.info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.guide-callout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Large Photo Gallery Grid (No text cards under images)
   ========================================================================== */
.large-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .large-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.large-gallery-item {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.large-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.large-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.large-gallery-item:hover img {
  transform: scale(1.06);
}

.large-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 15, 30, 0.85) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
  transition: opacity var(--transition-normal);
}

.large-gallery-item:hover .large-gallery-overlay {
  opacity: 1;
}

.large-gallery-caption {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.large-gallery-caption svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ==========================================================================
   Installation Locations & Methodology Guide
   ========================================================================== */
.install-guide-box {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

.install-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .install-methods-grid {
    grid-template-columns: 1fr;
  }
}

.install-col-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.install-col-card h3 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.install-col-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.install-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.install-point:last-child {
  margin-bottom: 0;
}

.install-point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(224, 58, 47, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.install-point-icon svg {
  width: 18px;
  height: 18px;
}

.install-point h4 {
  font-size: 1.05rem;
  margin: 0 0 4px 0;
  color: var(--gray-900);
}

.install-point p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}

@keyframes yfe-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}




