/*
Theme Name: Company Pro
Theme URI: https://yourcompany.com
Author: Your Company
Description: Corporate theme with News, Portfolio, and Products sections
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: company-pro
Tags: business, corporate, custom-menu, featured-images, responsive-layout
*/

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

:root {
  --primary:         #0f35a0;
  --primary-dk:      #07194f;
  --primary-light:   #e8f0fe;
  --accent:          #ff9f1c;
  --accent-light:    #fff3cd;
  --accent-dark:     #e07a00;
  --text:            #1e293b;
  --text-muted:      #64748b;
  --bg-light:        #f8fafc;
  --bg-white:        #ffffff;
  --border:          #e2e8f0;
  --border-focus:    #cbd5e1;
  --radius-sm:       8px;
  --radius:          12px;
  --radius-lg:       16px;
  --shadow-sm:       0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow:          0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg:       0 10px 25px -5px rgba(15, 53, 160, 0.08), 0 8px 10px -6px rgba(15, 53, 160, 0.04);
  --shadow-hover:    0 20px 25px -5px rgba(15, 53, 160, 0.12), 0 10px 10px -5px rgba(15, 53, 160, 0.06);
  --transition-fast: 0.15s ease;
  --transition:      0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-body:       'Sarabun', 'Noto Sans Thai', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-light);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; transition: all var(--transition-fast); }
a:hover { color: var(--primary-dk); }
ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--primary-dk);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.25rem; }

/* === Layout === */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}
.section-header .subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}
.section-header .line {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffc300 100%);
  margin: 1rem auto 0;
  border-radius: 4px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: 2px solid transparent;
  gap: 0.5rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(15, 53, 160, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15, 53, 160, 0.4);
  color: var(--bg-white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(15, 53, 160, 0.2);
}
.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.btn-white:hover {
  background: var(--accent);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.3);
}

/* === Header / Navbar === */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}
.site-logo a {
  display: block;
  text-decoration: none;
}
.site-logo .logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dk);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.site-logo .logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav ul {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-page-ancestor > a {
  color: var(--primary);
  background: rgba(15, 53, 160, 0.06);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-dk);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === Hero Slider === */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--primary-dk);
}
@media (max-width: 768px) {
  .hero-slider {
    height: 380px;
  }
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  background: var(--primary-dk);
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Gradients for slides without featured image as fallback */
.hero-slide:nth-child(5n+1) {
  background: linear-gradient(135deg, #07194f 0%, #0c2b8a 50%, #174cd9 100%);
}
.hero-slide:nth-child(5n+2) {
  background: linear-gradient(135deg, #07194f 0%, #3e1b7d 50%, #8222d4 100%);
}
.hero-slide:nth-child(5n+3) {
  background: linear-gradient(135deg, #033626 0%, #0a7051 50%, #15b383 100%);
}
.hero-slide:nth-child(5n+4) {
  background: linear-gradient(135deg, #052a4a 0%, #0b5f9e 50%, #1b9ee2 100%);
}
.hero-slide:nth-child(5n+5) {
  background: linear-gradient(135deg, #5c0d0d 0%, #ad1f1f 50%, #e85d04 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 25, 79, 0.4) 0%, rgba(7, 25, 79, 0.85) 100%);
  z-index: 1;
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  color: var(--bg-white);
}
.hero-category {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 1rem;
  background: var(--accent);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(255, 159, 28, 0.3);
}
.hero-category a {
  color: var(--bg-white);
}
.hero-slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-slide-content h2 a {
  color: var(--bg-white);
}
.hero-slide-content h2 a:hover {
  color: var(--accent);
}
.hero-excerpt {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero-meta {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  font-weight: 600;
}
.hero-meta span {
  margin: 0 0.25rem;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition-bounce);
}
.hero-btn:hover {
  background: var(--accent);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.35);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 53, 160, 0.3);
}
.hero-prev {
  left: 24px;
}
.hero-next {
  right: 24px;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--bg-white);
  transform: scale(1.3);
}

/* Hero Progress Line */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffc300 100%);
  z-index: 6;
  width: 0;
  transition: none;
}
.hero-progress.running {
  transition: width 6s linear;
  width: 100%;
}

/* Slide Entrance Animations */
.hero-slide-content h2,
.hero-slide-content .hero-category,
.hero-slide-content .hero-excerpt,
.hero-slide-content .hero-meta,
.hero-slide-content .hero-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide.active .hero-category {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.hero-slide.active h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}
.hero-slide.active .hero-excerpt {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.hero-slide.active .hero-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.hero-slide.active .hero-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* === Cards (shared) === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 53, 160, 0.15);
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-light);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-thumb img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: 600;
}
.card-cat-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
}
.portfolio-tag {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.card h3 a {
  color: var(--primary-dk);
}
.card h3 a:hover {
  color: var(--primary);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}
.card .read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.card .read-more::after {
  content: '→';
  transition: transform var(--transition-fast);
}
.card:hover .read-more::after {
  transform: translateX(4px);
}

/* === News Archive === */
.news-grid { }

/* === Product Cards === */
.product-card .card-thumb {
  aspect-ratio: 1/1;
  border-bottom: 1px solid var(--border);
}
.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* === Single Post === */
.post-header {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(15, 53, 160, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.post-header-inner {
  max-width: 860px;
  margin-inline: auto;
}
.post-header .post-category {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-header .post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.post-featured-image {
  margin: 3rem auto;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.post-content {
  max-width: 860px;
  margin-inline: auto;
  padding: 0 1.5rem 5rem;
}
.post-content h2, .post-content h3 {
  margin: 2rem 0 1rem;
}
.post-content p {
  margin-bottom: 1.5rem;
}
.post-content ul, .post-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  list-style: revert;
}
.post-content li {
  margin-bottom: 0.5rem;
}
.post-content blockquote {
  border-left: 5px solid var(--primary);
  padding: 1.25rem 2rem;
  margin: 2rem 0;
  background: var(--bg-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  color: var(--primary-dk);
}
.post-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

/* === Portfolio Single === */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.portfolio-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.portfolio-gallery img:hover {
  transform: scale(1.03);
}
.portfolio-specs {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.portfolio-specs table {
  width: 100%;
  border-collapse: collapse;
}
.portfolio-specs td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.975rem;
}
.portfolio-specs tr:last-child td {
  border-bottom: none;
}
.portfolio-specs td:first-child {
  font-weight: 700;
  width: 35%;
  color: var(--text-muted);
}
.portfolio-specs td:last-child {
  color: var(--primary-dk);
  font-weight: 600;
}

/* === Services Section (Home) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.service-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 53, 160, 0.15);
}
.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  box-shadow: 0 4px 10px rgba(15, 53, 160, 0.08);
}
.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* === Stats Bar === */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #061033 100%);
  color: var(--bg-white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffc300 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: var(--bg-white);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 159, 28, 0.15) 0%, transparent 40%);
}
.cta-banner h2 {
  color: var(--bg-white);
  margin-bottom: 1rem;
  font-size: 2.25rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  opacity: 0.9;
  margin-bottom: 2.25rem;
  font-size: 1.15rem;
  max-width: 680px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* === Breadcrumb === */
.breadcrumb {
  background: var(--bg-white);
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span + span::before {
  content: '/';
  margin: 0 0.5rem;
  color: #cbd5e1;
}
.breadcrumb span:last-child {
  color: var(--primary-dk);
}

/* === Filter Bar === */
.filter-bar a.btn {
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition-bounce);
}
.filter-bar a.btn-primary {
  box-shadow: 0 4px 10px rgba(15, 53, 160, 0.2);
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0 1rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-white);
  transition: all var(--transition-bounce);
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(15, 53, 160, 0.25);
}

/* === Footer === */
#site-footer {
  background: #0b152d;
  color: rgba(255, 255, 255, 0.7);
  border-top: 4px solid var(--accent);
}
.footer-top {
  padding: 5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand .logo-text {
  color: var(--bg-white);
  font-size: 1.4rem;
  font-weight: 800;
}
.footer-brand p {
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  display: inline-block;
  transition: all var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.footer-contact-item span:first-child {
  font-size: 1.1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* === Form Styles (Contact etc.) === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  color: var(--text);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 53, 160, 0.15);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: span 3; }
}

@media (max-width: 768px) {
  .header-inner { height: 70px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  .main-nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 5rem 0 4rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: span 1; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 0.5rem; }
  
  /* Single Product Layout */
  section.section > .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1.05rem; }
  .btn { width: 100%; }
}

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

/* ================================================================
 *  WooCommerce-style Product Pages
 * ================================================================ */

/* --- Shop Layout --- */
.shop-wrap { padding: 2rem 0 4rem; }
.shop-layout {
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 2rem;
  align-items: start;
}

/* --- Sidebar --- */
.shop-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.sidebar-widget-title {
  font-size: .8rem;
  font-weight: 700;
  padding: .8rem 1.1rem;
  background: var(--bg-light, #f8fafc);
  border-bottom: 1px solid var(--border, #e2e8f0);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
}
.sidebar-widget-body { padding: .65rem .9rem; }
.cat-list li { margin-bottom: .05rem; }
.cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--text, #1e293b);
  padding: .45rem .65rem;
  border-radius: 6px;
  transition: all .2s;
  text-decoration: none;
}
.cat-list a:hover  { background: rgba(15,53,160,.06); color: var(--primary, #0f35a0); }
.cat-list a.active { background: var(--primary, #0f35a0); color: #fff; }
.cat-list a.active .cat-count { background: rgba(255,255,255,.2); color: #fff; }
.cat-count {
  font-size: .7rem; font-weight: 700;
  background: var(--bg-light, #f8fafc);
  color: var(--text-muted, #64748b);
  padding: .1rem .5rem;
  border-radius: 20px; min-width: 22px; text-align: center;
}

/* --- Shop Toolbar --- */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1rem;
  background: var(--bg-light, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px);
  margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap;
}
.shop-result-count { font-size: .85rem; color: var(--text-muted, #64748b); }
.toolbar-right { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.shop-ordering { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-muted, #64748b); }
.shop-ordering select {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  padding: .35rem 2rem .35rem .75rem;
  font-size: .85rem;
  font-family: var(--font-body, 'Sarabun', sans-serif);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E") no-repeat right .65rem center;
  color: var(--text, #1e293b); cursor: pointer; outline: none; appearance: none;
}
.view-toggle { display: flex; gap: .25rem; }
.view-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border, #e2e8f0); background: #fff;
  border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: all .2s; color: var(--text-muted, #64748b);
}
.view-btn:hover { border-color: var(--primary, #0f35a0); color: var(--primary, #0f35a0); }
.view-btn.active { background: var(--primary, #0f35a0); color: #fff; border-color: var(--primary, #0f35a0); }

/* --- WC Products Grid --- */
.wc-products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; }

/* --- WC Product Card --- */
.wc-product-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.wc-product-card:hover { box-shadow: 0 12px 32px rgba(15,53,160,.1); transform: translateY(-4px); }

.wc-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1; background: var(--bg-light, #f8fafc);
  display: block; flex-shrink: 0; cursor: pointer;
}
.wc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.wc-product-card:hover .wc-img-wrap img { transform: scale(1.06); }
.wc-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: #cbd5e1; }

.wc-hover-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
  padding: .85rem .75rem;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  transform: translateY(101%); transition: transform .28s ease;
}
.wc-product-card:hover .wc-hover-actions { transform: translateY(0); }
.wc-hover-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem 1.1rem; border-radius: 40px;
  font-size: .8rem; font-weight: 700; cursor: pointer;
  border: none; white-space: nowrap; text-decoration: none; transition: all .2s;
}
.wc-hover-btn-view { background: #fff; color: var(--primary, #0f35a0); }
.wc-hover-btn-view:hover { background: var(--primary, #0f35a0); color: #fff; }

/* --- Badges --- */
.wc-badges {
  position: absolute; top: .6rem; left: .6rem; z-index: 3;
  display: flex; flex-direction: column; gap: .3rem; pointer-events: none;
}
.wc-badge-tag {
  display: inline-block; padding: .2rem .6rem; border-radius: 4px;
  font-size: .7rem; font-weight: 700; line-height: 1.4; width: fit-content;
}
.badge-sale     { background: #e44c4c; color: #fff; }
.badge-new      { background: #16a34a; color: #fff; }
.badge-featured { background: var(--accent, #ff9f1c); color: #fff; }
.badge-sold     { background: #6b7280; color: #fff; }

/* --- Card Body --- */
.wc-card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.wc-card-cat { font-size: .72rem; color: var(--text-muted, #64748b); margin-bottom: .2rem; }
.wc-card-cat a { color: var(--text-muted, #64748b); }
.wc-card-cat a:hover { color: var(--primary, #0f35a0); }
.wc-card-title { font-size: .95rem; font-weight: 700; margin-bottom: .15rem; line-height: 1.4; }
.wc-card-title a { color: var(--text, #1e293b); }
.wc-card-title a:hover { color: var(--primary, #0f35a0); }
.wc-card-sku { font-size: .7rem; color: #9ca3af; margin-bottom: .3rem; }

/* --- Star Rating --- */
.star-rating { display: inline-flex; gap: 1px; align-items: center; margin-bottom: .35rem; }
.star-rating .star { font-size: .85rem; line-height: 1; color: #d1d5db; }
.star-rating .star.on { color: #f59e0b; }
.star-rating .rating-count { font-size: .72rem; color: var(--text-muted, #64748b); margin-left: .3rem; }

/* --- WC Price --- */
.wc-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; margin: .3rem 0; }
.wc-price .price-regular { font-size: .82rem; color: var(--text-muted, #64748b); text-decoration: line-through; }
.wc-price .price-sale    { font-size: 1.15rem; font-weight: 800; color: #e44c4c; }
.wc-price .price-normal  { font-size: 1.1rem;  font-weight: 700; color: var(--primary, #0f35a0); }
.wc-price .price-poa     { font-size: .9rem;   color: var(--text-muted, #64748b); font-style: italic; }

/* --- Stock Badge --- */
.stock-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; padding: .2rem .65rem;
  border-radius: 20px; margin: .25rem 0 .5rem;
}
.stock-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.stock-instock    { background: #d1fae5; color: #065f46; }
.stock-instock::before    { background: #16a34a; }
.stock-outofstock { background: #fee2e2; color: #991b1b; }
.stock-outofstock::before { background: #e44c4c; }
.stock-onorder    { background: #fef3c7; color: #92400e; }
.stock-onorder::before    { background: #f59e0b; }

.wc-card-footer {
  margin-top: auto; padding-top: .75rem;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  border-top: 1px solid var(--border, #e2e8f0);
}
.wc-card-excerpt { display: none; font-size: .875rem; color: var(--text-muted, #64748b); margin: .35rem 0 .65rem; }

/* --- List View --- */
.wc-products-grid.list-view { grid-template-columns: 1fr; gap: 1rem; }
.wc-products-grid.list-view .wc-product-card { flex-direction: row; }
.wc-products-grid.list-view .wc-img-wrap { width: 190px; min-height: 190px; aspect-ratio: unset; flex-shrink: 0; }
.wc-products-grid.list-view .wc-hover-actions { display: none; }
.wc-products-grid.list-view .wc-card-body { padding: 1.1rem 1.25rem; }
.wc-products-grid.list-view .wc-card-title { font-size: 1.05rem; }
.wc-products-grid.list-view .wc-card-excerpt { display: block; }

/* ----------------------------------------------------------------
 *  Single Product (WooCommerce-style)
 * -------------------------------------------------------------- */
.single-product-wrap { padding: 2rem 0 0; }
.single-product-main {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start; margin-bottom: 3rem;
}

/* --- Gallery --- */
.product-gallery-wrap { display: flex; flex-direction: column; gap: .65rem; }
.product-gallery-main {
  position: relative; overflow: hidden;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--border, #e2e8f0);
  aspect-ratio: 1/1; background: var(--bg-light, #f8fafc); cursor: zoom-in;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .18s ease; }
.zoom-hint {
  position: absolute; bottom: .6rem; right: .6rem;
  background: rgba(0,0,0,.4); color: #fff;
  font-size: .68rem; padding: .2rem .5rem; border-radius: 4px;
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.product-gallery-main:hover .zoom-hint { opacity: 1; }
.gallery-top-badges { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: flex; flex-direction: column; gap: .3rem; }

.product-gallery-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 68px; border-radius: 6px; overflow: hidden;
  border: 2px solid var(--border, #e2e8f0); cursor: pointer;
  transition: border-color .2s, opacity .2s; background: var(--bg-light, #f8fafc); flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary, #0f35a0); }
.gallery-thumb.inactive { opacity: .5; }

/* Lightbox */
.product-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.9); z-index: 9999;
  align-items: center; justify-content: center; cursor: zoom-out;
}
.product-lightbox.open { display: flex; }
.product-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
  background: none; border: none; font-weight: 300;
}

/* --- Product Summary --- */
.prod-category { font-size: .8rem; color: var(--text-muted, #64748b); margin-bottom: .35rem; }
.prod-category a { color: var(--primary, #0f35a0); }
.product-summary h1 { font-size: 1.6rem; margin-bottom: .5rem; line-height: 1.3; }
.product-rating-row { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.star-rating-lg .star { font-size: 1.1rem; }
.rating-link { font-size: .82rem; color: var(--text-muted, #64748b); }
.rating-link:hover { color: var(--primary, #0f35a0); }

.product-price-block {
  padding: 1rem 0;
  border-top: 1px solid var(--border, #e2e8f0);
  border-bottom: 1px solid var(--border, #e2e8f0);
  margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
}
.main-price { font-size: 2rem; font-weight: 800; color: #e44c4c; line-height: 1; }
.main-price.no-sale { color: var(--primary, #0f35a0); }
.was-price { font-size: .95rem; color: var(--text-muted, #64748b); text-decoration: line-through; }
.discount-badge {
  background: #fee2e2; color: #e44c4c;
  font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px;
}
.price-poa { font-size: 1.15rem; color: var(--text-muted, #64748b); font-style: italic; }

.product-short-desc { font-size: .925rem; color: var(--text-muted, #64748b); margin-bottom: 1.25rem; line-height: 1.75; }

/* --- Meta Table --- */
.product-meta-table {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px); overflow: hidden; margin-bottom: 1.25rem; font-size: .865rem;
}
.product-meta-row { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid var(--border, #e2e8f0); }
.product-meta-row:last-child { border-bottom: none; }
.product-meta-key {
  padding: .6rem .85rem; background: var(--bg-light, #f8fafc);
  color: var(--text-muted, #64748b); font-weight: 600; border-right: 1px solid var(--border, #e2e8f0);
}
.product-meta-val { padding: .6rem .85rem; color: var(--text, #1e293b); }

/* --- Qty Stepper + Actions --- */
.product-add-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.qty-label { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.qty-stepper {
  display: flex; align-items: stretch;
  border: 2px solid var(--border, #e2e8f0); border-radius: var(--radius, 12px); overflow: hidden; width: fit-content;
}
.qty-stepper button {
  width: 38px; background: var(--bg-light, #f8fafc);
  border: none; cursor: pointer; font-size: 1.2rem; font-weight: 700; color: var(--text, #1e293b);
  transition: background .2s; line-height: 1;
}
.qty-stepper button:hover { background: var(--border, #e2e8f0); }
.qty-stepper input[type="number"] {
  width: 52px; border: none;
  border-left: 2px solid var(--border, #e2e8f0); border-right: 2px solid var(--border, #e2e8f0);
  text-align: center; font-size: 1rem; font-weight: 600; outline: none; padding: .55rem 0;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-inquire {
  flex: 1; min-width: 160px; padding: .7rem 1.25rem;
  font-size: .95rem; font-weight: 700; font-family: var(--font-body, 'Sarabun', sans-serif);
  background: var(--primary, #0f35a0); color: #fff;
  border: 2px solid var(--primary, #0f35a0); border-radius: var(--radius, 12px);
  cursor: pointer; transition: all .25s;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none;
}
.btn-inquire:hover { background: #07194f; border-color: #07194f; color: #fff; transform: translateY(-2px); }
.btn-call {
  padding: .7rem 1.1rem; font-size: .9rem; font-weight: 600;
  font-family: var(--font-body, 'Sarabun', sans-serif);
  background: transparent; color: var(--primary, #0f35a0);
  border: 2px solid var(--primary, #0f35a0); border-radius: var(--radius, 12px);
  cursor: pointer; transition: all .25s;
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
}
.btn-call:hover { background: var(--primary, #0f35a0); color: #fff; transform: translateY(-2px); }

/* --- Share --- */
.product-share {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--text-muted, #64748b);
  padding-top: 1rem; border-top: 1px solid var(--border, #e2e8f0); flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border, #e2e8f0); color: var(--text-muted, #64748b);
  font-size: .8rem; transition: all .2s; text-decoration: none;
}
.share-btn:hover { border-color: var(--primary, #0f35a0); color: var(--primary, #0f35a0); background: rgba(15,53,160,.05); }

/* --- Product Tabs --- */
.product-tabs-section { border-top: 1px solid var(--border, #e2e8f0); padding-top: 2.5rem; margin-bottom: 2.5rem; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border, #e2e8f0); gap: 0; overflow-x: auto; }
.tab-btn {
  padding: .85rem 1.5rem; background: none; border: none;
  font-size: .95rem; font-weight: 600; font-family: var(--font-body, 'Sarabun', sans-serif);
  color: var(--text-muted, #64748b); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all .2s; white-space: nowrap;
}
.tab-btn:hover { color: var(--text, #1e293b); }
.tab-btn.active { color: var(--primary, #0f35a0); border-bottom-color: var(--primary, #0f35a0); }
.tab-pane { display: none; padding: 2rem 0; }
.tab-pane.active { display: block; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs-table tr:nth-child(even) { background: var(--bg-light, #f8fafc); }
.specs-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--border, #e2e8f0); }
.specs-table td:first-child { font-weight: 600; width: 35%; color: var(--text-muted, #64748b); border-right: 1px solid var(--border, #e2e8f0); }
.specs-table tr:last-child td { border-bottom: none; }

/* Download list */
.download-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.download-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem; border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 12px); font-size: .9rem; transition: all .2s;
}
.download-item:hover { background: var(--bg-light, #f8fafc); border-color: var(--primary, #0f35a0); }
.download-item .dl-icon { font-size: 1.4rem; flex-shrink: 0; }
.download-item .dl-name { flex: 1; font-weight: 600; }
.download-item .dl-btn {
  padding: .3rem .85rem; border-radius: 4px;
  background: var(--primary, #0f35a0); color: #fff;
  font-size: .78rem; font-weight: 600; text-decoration: none; transition: background .2s;
}
.download-item .dl-btn:hover { background: #07194f; color: #fff; }

/* --- Related Products --- */
.related-products-section { border-top: 1px solid var(--border, #e2e8f0); padding: 2.5rem 0 3rem; }
.related-products-section h2 {
  font-size: 1.2rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.related-products-section h2::after { content: ''; flex: 1; height: 1px; background: var(--border, #e2e8f0); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

/* --- WC Responsive --- */
@media (max-width: 1100px) {
  .wc-products-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}
@media (max-width: 768px) {
  .single-product-main { grid-template-columns: 1fr; gap: 1.75rem; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .product-add-row { flex-direction: column; align-items: flex-start; }
  .btn-inquire { width: 100%; }
}
@media (max-width: 560px) {
  .wc-products-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .wc-products-grid.list-view .wc-img-wrap { width: 120px; min-height: 120px; }
  .tab-btn { padding: .75rem 1rem; font-size: .875rem; }
}
@media (max-width: 400px) {
  .wc-products-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact Page Styles --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info-card {
  background: var(--bg-white, #ffffff);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-light, #e8f0fe);
  color: var(--primary, #0f35a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(15, 53, 160, 0.06);
}
.contact-item-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary-dk, #07194f);
}
.contact-item-body p,
.contact-item-body a {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  margin: 0;
}
.contact-item-body a:hover {
  color: var(--primary, #0f35a0);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.social-link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-white, #ffffff);
  transition: all var(--transition-bounce, 0.4s cubic-bezier(0.34, 1.56, 0.64, 1));
  text-decoration: none;
}
.social-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow, 0 4px 6px rgba(0,0,0,0.05));
  border-color: var(--primary, #0f35a0);
}
.social-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.social-icon-box.line { background: #06C755; }
.social-icon-box.facebook { background: #1877F2; }
.social-icon-box.youtube { background: #FF0000; }
.social-icon-box.phone { background: var(--primary, #0f35a0); }

.social-link-info {
  display: flex;
  flex-direction: column;
}
.social-link-info .platform { font-size: 0.75rem; color: var(--text-muted, #64748b); font-weight: 600; }
.social-link-info .handle { font-size: 0.88rem; color: var(--primary-dk, #07194f); font-weight: 700; }

.contact-form-card {
  background: var(--bg-white, #ffffff);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
}
.contact-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dk, #07194f);
}
.contact-form-card .subtitle {
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 2rem;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dk, #07194f);
  margin-bottom: 0.5rem;
}
.contact-map-section {
  margin-top: 2rem;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
  border: 1px solid var(--border, #e2e8f0);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ================================================================
 *  Hero Fallback (no posts)
 * ================================================================ */
.hero-static {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #061033 100%);
  padding: 7rem 0 6rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-static::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(255,159,28,.15) 0%, transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(15,53,160,.35) 0%, transparent 55%);
}
.hero-static-content {
  position: relative; z-index: 1;
  max-width: 820px; margin-inline: auto; padding-inline: 1.5rem;
}
.hero-static h1 { color: #fff; margin-bottom: 1.1rem; line-height: 1.2; }
.hero-static p  { font-size: 1.15rem; opacity: .85; margin-bottom: 2rem; max-width: 640px; margin-inline: auto; }
.hero-static-btns { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,159,28,.9);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 50px;
  margin-bottom: 1.25rem;
}

/* ================================================================
 *  Section Eyebrow Label
 * ================================================================ */
.section-eyebrow {
  display: block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

/* ================================================================
 *  Solutions Spotlight
 * ================================================================ */
.solutions-section {
  background: radial-gradient(circle at center, #182e5c 0%, #0a1329 65%, #030610 100%);
  padding: 6.5rem 0;
  position: relative;
}
.solutions-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 53, 160, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}
.solutions-section .container {
  position: relative;
  z-index: 2;
}
.solutions-section .section-eyebrow {
  color: #ff9f1c;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 159, 28, 0.4);
}
.solutions-section .section-header h2 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.solutions-section .section-header .subtitle {
  color: #e2e8f0;
  font-size: 1.1rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 960px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}
.solution-card {
  background: linear-gradient(135deg, rgba(13, 25, 48, 0.75) 0%, rgba(8, 15, 30, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 1px 0 0 rgba(255, 255, 255, 0.05) inset;
}
@media (max-width: 1200px) {
  .solution-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }
}
/* Glowing background blobs behind mockups */
.solution-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  bottom: -40px;
  right: -40px;
  opacity: 0.18;
  transition: opacity 0.4s;
}
.solution-audio::before {
  background: var(--primary);
}
.solution-iot::before {
  background: #16a34a;
}
.solution-card:hover::before {
  opacity: 0.28;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(18, 33, 61, 0.85) 0%, rgba(12, 22, 41, 0.6) 100%);
}
.solution-audio:hover {
  border-color: rgba(15, 53, 160, 0.45);
}
.solution-iot:hover {
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow: 0 35px 70px rgba(22, 163, 74, 0.15), 0 0 0 1px rgba(22, 163, 74, 0.12);
}

.solution-card-text {
  display: flex;
  flex-direction: column;
}

.solution-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}
.solution-audio .solution-icon-wrap {
  background: var(--primary-light);
  color: var(--primary);
}
.solution-iot .solution-icon-wrap {
  background: #d1fae5;
  color: #16a34a;
}

.solution-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.solution-audio .solution-label {
  color: #38bdf8;
}
.solution-iot .solution-label {
  color: #34d399;
}

.solution-card h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.solution-card > p,
.solution-card-text > p {
  font-size: 0.925rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.solution-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.solution-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  margin-top: 2px;
}
.solution-audio .solution-features li::before {
  background: var(--primary-light);
  color: var(--primary);
}
.solution-iot .solution-features li::before {
  background: #d1fae5;
  color: #16a34a;
}

.solution-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-sol-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  color: #fff;
}
.solution-audio .btn-sol-primary {
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 53, 160, 0.2);
}
.solution-audio .btn-sol-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 53, 160, 0.3);
}
.solution-iot .btn-sol-primary {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.solution-iot .btn-sol-primary:hover {
  background: #14532d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.btn-sol-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.25s;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-sol-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ================================================================
 *  Interactive Mockups (Minimalist Glassmorphism)
 * ================================================================ */
.solution-mockup {
  background: rgba(10, 18, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 260px;
}
.mockup-header {
  background: rgba(16, 28, 54, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }
.mockup-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.5rem;
  font-family: monospace;
}

.mockup-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(13, 23, 46, 0.85) 0%, rgba(8, 14, 28, 0.95) 100%);
}

/* --- IP Audio Control --- */
.mock-zones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-zone-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-align: left;
}
.mock-zone-btn:hover {
  border-color: rgba(15, 53, 160, 0.5);
  background: rgba(15, 53, 160, 0.15);
}
.mock-zone-btn.active {
  border-color: var(--primary);
  background: rgba(15, 53, 160, 0.35);
  color: #ffffff;
}
.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}
.status-indicator.active {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mock-player {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.player-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.music-icon {
  font-size: 1.2rem;
  animation: spinSlow 8s linear infinite;
  display: inline-block;
}
.mock-player.playing .music-icon {
  animation: spinSlow 3s linear infinite;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.player-text {
  display: flex;
  flex-direction: column;
}
.track-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}
.track-status {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

.eq-waves {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  padding-bottom: 2px;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.25rem;
}
.eq-bar {
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: height 0.1s ease;
}
.mock-player.playing .eq-bar:nth-child(1) { animation: eqWave 0.8s ease infinite alternate; }
.mock-player.playing .eq-bar:nth-child(2) { animation: eqWave 1.2s ease infinite alternate; animation-delay: 0.1s; }
.mock-player.playing .eq-bar:nth-child(3) { animation: eqWave 0.9s ease infinite alternate; animation-delay: 0.25s; }
.mock-player.playing .eq-bar:nth-child(4) { animation: eqWave 1.4s ease infinite alternate; animation-delay: 0.05s; }
.mock-player.playing .eq-bar:nth-child(5) { animation: eqWave 1.1s ease infinite alternate; animation-delay: 0.3s; }
.mock-player.playing .eq-bar:nth-child(6) { animation: eqWave 0.7s ease infinite alternate; animation-delay: 0.15s; }
.mock-player.playing .eq-bar:nth-child(7) { animation: eqWave 1.3s ease infinite alternate; animation-delay: 0.2s; }

@keyframes eqWave {
  0% { height: 3px; }
  100% { height: 20px; }
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.player-btn-play {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}
.player-btn-play:hover {
  background: var(--primary-dk);
  transform: scale(1.1);
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  justify-content: flex-end;
}
.volume-control span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.mock-volume-slider {
  width: 70px;
  height: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}
.vol-percent {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  text-align: right;
  font-family: monospace;
}

/* --- IoT Smart Farm Control --- */
.mock-sensors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.sensor-gauge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 105px;
}
.sensor-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.sensor-value-wrap.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.sensor-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
  line-height: 1;
}
.sensor-gauge[data-type="moist"] .sensor-val {
  color: #10b981;
}
.sensor-unit {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 2px;
  line-height: 1;
}
.sensor-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.gauge-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
}
.progress-ring {
  transform: rotate(-90deg);
  display: block;
}
.progress-ring-bg {
  stroke: rgba(255, 255, 255, 0.1);
}
.progress-ring-circle {
  transition: stroke-dashoffset 0.5s ease;
  stroke: #10b981;
}

.mock-irrigation {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.irrigation-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.irrigation-icon {
  font-size: 1.25rem;
}
.mock-irrigation.active .irrigation-icon {
  animation: pulseIcon 1s ease infinite;
}
@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15) translateY(-2px); }
  100% { transform: scale(1); }
}
.irrigation-text {
  display: flex;
  flex-direction: column;
}
.irr-status-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}
.irr-status-value {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}
.mock-irrigation.active .irr-status-value {
  color: #10b981;
  font-weight: 700;
}

.mock-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.mock-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.mock-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .4s;
}
.mock-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
.mock-switch input:checked + .slider {
  background-color: #16a34a;
}
.mock-switch input:focus + .slider {
  box-shadow: 0 0 1px #16a34a;
}
.mock-switch input:checked + .slider:before {
  transform: translateX(20px);
}
.mock-switch .slider.round {
  border-radius: 24px;
}
.mock-switch .slider.round:before {
  border-radius: 50%;
}

/* ================================================================
 *  Home Page Products Grid (4 col, WC-style)
 * ================================================================ */
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ================================================================
 *  Why Choose Us
 * ================================================================ */
.why-us-section { background: var(--bg-light); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-us-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  transition: all .3s;
}
.why-us-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.why-icon {
  font-size: 2.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: var(--primary-light, #e8f0fe);
  border-radius: 50%;
  margin: 0 auto 1.2rem;
}
.why-us-item h4 { font-size: 1rem; margin-bottom: .5rem; color: var(--primary-dk); }
.why-us-item p  { font-size: .875rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ================================================================
 *  New Section Responsive
 * ================================================================ */
@media (max-width: 960px) {
  .solutions-grid     { grid-template-columns: 1fr; }
  .home-products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .solution-card    { padding: 2rem 1.5rem; }
  .why-us-grid      { gap: 1rem; }
  .home-products-grid { gap: .85rem; }
}
@media (max-width: 400px) {
  .home-products-grid { grid-template-columns: 1fr; }
}
