/*
Theme Name: Afal Access - Automatic Doors
Theme URI: https://afalaccess.com
Author: Afal Access
Author URI: https://afalaccess.com
Description: قالب مؤسسة أفال أكسيس للأبواب الأوتوماتيكية - تصميم عصري RTL مع دعم كامل للعربية - نسخة مطابقة 100% للتطبيق
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afal-access
Tags: rtl, right-to-left, arabic, one-page, custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

/* ========================================
   CSS Variables (Exact match: index.css)
   ======================================== */
:root {
  /* Primary brand color: HSL(36, 100%, 50%) = #f59e0b */
  --primary: #f59e0b;
  --primary-h: 36;
  --primary-s: 100%;
  --primary-l: 50%;
  --primary-dark: #cc8400;    /* HSL(30, 100%, 40%) */
  --primary-light: #fbbf24;   /* HSL(40, 100%, 60%) */

  /* Dark palette */
  --dark: #171e30;            /* HSL(220, 25%, 10%) → hsl(220,25%,10%) ≈ #171e30 */
  --dark-light: #222c42;      /* HSL(220, 20%, 15%) */
  --dark-lighter: #2f3b56;    /* HSL(220, 18%, 22%) */

  /* Background */
  --background: #f4f5f8;      /* HSL(220, 20%, 97%) */
  --bg-light: #f4f5f8;
  --bg-alt: #ebeef4;          /* HSL(220, 15%, 94%) */

  /* Card */
  --card-bg: #ffffff;

  /* Text */
  --text-light: #ffffff;
  --text-muted-light: #b3bcc9; /* HSL(220, 10%, 75%) */
  --heading-color: #0e1118;    /* HSL(220, 30%, 6%) */
  --text-muted: #49556b;       /* HSL(220, 15%, 35%) */
  --text-dark: #1e2840;        /* HSL(220, 25%, 15%) */

  /* Foreground */
  --foreground: #141a28;       /* HSL(220, 25%, 8%) */

  /* Border */
  --border-color: #c8cdd8;     /* HSL(220, 15%, 85%) */

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-dark: linear-gradient(180deg, #1c2436, #141a28);
  --gradient-hero: linear-gradient(135deg, rgba(20,26,40,0.92), rgba(34,44,66,0.85));
  --gradient-warm: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(251,191,36,0.05));

  /* Shadows */
  --shadow-gold: 0 10px 40px -10px rgba(245, 158, 11, 0.4);
  --shadow-card: 0 10px 40px -15px rgba(23, 30, 48, 0.15);
  --shadow-soft: 0 4px 20px -5px rgba(23, 30, 48, 0.1);

  /* Misc */
  --radius: 0.75rem;
  --font-family: 'Cairo', sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--foreground);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

/* Lazy loading fade-in effect */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
  opacity: 1;
}

/* Ensure already-loaded images are visible */
img:not([loading="lazy"]) {
  opacity: 1;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
}

/* ========================================
   Typography (Exact: tailwind + index.css)
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-color);
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* ========================================
   Buttons (Exact: button variants)
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: var(--font-family);
  line-height: 1.5;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px -10px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-hero {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(245,158,11,0.4);
}

.btn-outline-hero:hover {
  border-color: var(--primary);
  background: rgba(245,158,11,0.1);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ========================================
   Header (Exact: Header.tsx)
   - Fixed, centered logo, scroll effect
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(23, 30, 48, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

/* Centered logo (exact React behavior) */
.site-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(244,245,248,0.95);
  backdrop-filter: blur(4px);
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 0.25rem 1rem;
  box-shadow: 0 0 20px rgba(245,158,11,0.3), 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.site-logo:hover {
  box-shadow: 0 0 30px rgba(245,158,11,0.5), 0 4px 16px rgba(0,0,0,0.15);
}

.site-logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(245,158,11,0.4));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.scrolled .main-nav a {
  color: rgba(20,26,40,0.8);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}

.header-search-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

.scrolled .header-search-btn {
  color: rgba(20,26,40,0.8);
}

.header-search-btn:hover,
.scrolled .header-search-btn:hover {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.scrolled .mobile-toggle {
  color: var(--foreground);
}

@media (max-width: 1024px) {
  .main-nav, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease-out;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  color: rgba(20,26,40,0.8);
  padding: 0.5rem 0;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* ========================================
   Hero Section (Exact: HeroSection.tsx)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(23,30,48,0.9), rgba(23,30,48,0.75), rgba(23,30,48,0.95));
}

/* Glow effects (exact React positions) */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-1 {
  top: 25%;
  right: 25%;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.1);
  filter: blur(120px);
}

.hero-glow-2 {
  bottom: 25%;
  left: 25%;
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.05);
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding-top: 5rem;
}

/* Badge (exact: inline-flex bg-primary/15 border border-primary/40) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.8s ease-out;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}

.hero-badge span {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hero H1: text-4xl md:text-5xl lg:text-7xl */
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: slideUp 0.6s ease-out;
}

/* Service label: text-xl md:text-2xl text-primary font-bold */
.hero-service-label {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s ease-out 0.1s both;
}

/* Big phone CTA (exact: bg-primary/10 border-2 border-primary/50 rounded-2xl px-8 py-6) */
.hero-phone-box {
  margin-bottom: 2rem;
  animation: slideUp 0.6s ease-out 0.15s both;
}

.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  transition: all 0.3s;
}

.hero-phone-link:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--primary);
}

/* Phone icon circle: w-20 h-20 md:w-24 md:h-24 rounded-full bg-primary */
.hero-phone-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  transition: transform 0.3s;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-phone-icon {
    width: 96px;
    height: 96px;
    font-size: 3rem;
  }
}

.hero-phone-link:hover .hero-phone-icon {
  transform: scale(1.1);
}

.hero-phone-info {
  text-align: right;
}

/* Phone number: text-3xl md:text-6xl lg:text-8xl font-black */
.hero-phone-number {
  display: block;
  font-size: clamp(1.875rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  line-height: 1;
}

.hero-phone-link:hover .hero-phone-number {
  color: var(--primary);
}

/* CTA label: text-primary md:text-xl font-semibold */
.hero-phone-cta {
  display: block;
  color: var(--primary);
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 600;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero-phone-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
  .hero-phone-link {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }
}

/* WhatsApp link: bg-green-600/20 border border-green-500/40 rounded-full */
.hero-whatsapp {
  margin-bottom: 2.5rem;
  animation: slideUp 0.6s ease-out 0.25s both;
}

.hero-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  color: #68D391;
  font-weight: 500;
  transition: all 0.3s;
}

.hero-whatsapp a:hover {
  background: rgba(22, 163, 74, 0.3);
  color: #9AE6B4;
}

/* Subtitle: text-lg text-text-light/70 */
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: slideUp 0.6s ease-out 0.3s both;
}

/* Scroll indicator: animate-float */
.hero-scroll {
  padding-bottom: 2rem;
  margin-top: 1rem;
}

.hero-scroll a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.3s;
  animation: float 3s ease-in-out infinite;
}

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

/* ========================================
   Services Section (Exact: ServicesSection.tsx)
   bg-dark, glow orbs, 4-col grid
   ======================================== */
.services {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 50%;
  filter: blur(150px);
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 50%;
  filter: blur(120px);
}

.services .section-header h2 { color: var(--text-light); }
.services .section-header p { color: var(--text-muted-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

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

/* Service card: bg-dark-light border-dark-lighter hover:border-primary/50 hover:shadow-gold */
.service-card {
  display: block;
  background: var(--dark-light);
  border: 1px solid var(--dark-lighter);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-gold);
}

/* Icon box: w-14 h-14 rounded-xl bg-primary/10 */
.service-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  transition: all 0.3s;
}

.service-card:hover .icon-box {
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.service-card h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card .read-more {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   Products Section (Exact: ProductsSection.tsx)
   bg-secondary/50, tabs, 4-col grid
   ======================================== */
.products {
  padding: 5rem 0;
  background: var(--bg-alt);
}

/* Tab buttons: rounded-full border data-[state=active]:bg-primary */
.products-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
  color: var(--foreground);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

/* Product card: bg-card border-border hover:border-primary/50 hover:shadow-gold */
.product-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-gold);
}

.product-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  transition: background 0.3s;
}

.product-card:hover .icon-box {
  background: rgba(245, 158, 11, 0.2);
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
  color: var(--heading-color);
}

.product-card:hover h3 {
  color: var(--primary);
}

.product-card > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.product-card .items-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Dot before items: w-1.5 h-1.5 rounded-full bg-primary */
.product-card .items-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.product-card .read-more {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  display: block;
}

/* ========================================
   Gallery Section (Exact: GallerySection.tsx)
   bg-secondary/30, 3-col grid, overlay
   ======================================== */
.gallery {
  padding: 5rem 0;
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* Gallery item: group rounded-2xl shadow-card hover:shadow-gold */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}

.gallery-item:hover {
  box-shadow: var(--shadow-gold);
}

.gallery-item img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* Overlay: bg-gradient-to-t from-dark/90 via-dark/20 to-transparent */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,30,48,0.9), rgba(23,30,48,0.2), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

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

.gallery-item .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  transform: translateY(0.5rem);
  transition: transform 0.3s;
}

.gallery-item:hover .info {
  transform: translateY(0);
}

/* Category badge: bg-primary/20 text-primary border border-primary/30 */
.gallery-item .category-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 0.5rem;
  backdrop-filter: blur(4px);
}

.gallery-item h3 {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.gallery-item .desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* ========================================
   About Section (Exact: AboutSection.tsx)
   bg-dark, 2-col, stats, why-us
   ======================================== */
.about {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--text-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

/* Features grid: grid-cols-2 gap-3 */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-feature .check {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Stats grid: grid-cols-3 gap-4 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Stat card: bg-dark-light border border-dark-lighter rounded-xl p-6 */
.stat-card {
  background: var(--dark-light);
  border: 1px solid var(--dark-lighter);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.stat-card .stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Stat value: text-3xl font-bold text-gradient */
.stat-card .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* Why us box: bg-gradient-to-br from-primary/20 to-primary/5 border border-primary/20 rounded-2xl p-8 */
.why-us-box {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Glow: absolute top-0 right-0 w-20 h-20 bg-primary/20 rounded-full blur-3xl */
.why-us-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: rgba(245,158,11,0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.why-us-box h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.why-us-box ul {
  position: relative;
}

.why-us-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.why-us-box li .check {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ========================================
   Features Section (Exact: FeaturesSection.tsx)
   bg-secondary/30, 3-col, glow orbs
   ======================================== */
.features {
  padding: 5rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

/* Glow orbs */
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  filter: blur(120px);
}

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  filter: blur(120px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

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

/* Feature card: bg-card border border-border rounded-2xl p-8 hover:border-primary/50 hover:shadow-gold */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  backdrop-filter: blur(4px);
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-gold);
}

/* Icon: w-16 h-16 rounded-2xl bg-gradient-gold */
.feature-card .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s;
}

.feature-card:hover .icon-box {
  animation: pulseGlow 2s ease-in-out infinite;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
  color: var(--heading-color);
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Bottom line accent */
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 9999px;
}

.feature-card:hover::after {
  opacity: 0.6;
}

/* ========================================
   Partners Section (Exact: PartnersSection.tsx)
   bg-dark, 3-col, logo cards, stats
   ======================================== */
.partners {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 50%;
  filter: blur(150px);
}

.partners::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 50%;
  filter: blur(120px);
}

.partners .section-header h2 { color: var(--text-light); }
.partners .section-header p { color: var(--text-muted-light); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partner card: bg-dark-light border-dark-lighter hover:border-primary/50 hover:shadow-gold */
.partner-card {
  background: var(--dark-light);
  border: 1px solid var(--dark-lighter);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.partner-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-gold);
}

.partner-card .partner-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Logo box: w-16 h-16 rounded-xl bg-white */
.partner-logo-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}

.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
  color: var(--text-light);
}

.partner-card:hover h3 {
  color: var(--primary);
}

.partner-card .location {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.partner-card .desc {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* Partners stats: grid-cols-2 md:grid-cols-4 gap-6 mt-16 */
.partners-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .partners-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Stat box: p-6 rounded-xl bg-dark-light border border-dark-lighter */
.partners-stats .stat-box {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--dark-light);
  border: 1px solid var(--dark-lighter);
}

/* text-3xl md:text-4xl font-bold text-gradient */
.partners-stats .stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.partners-stats .stat-text {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* ========================================
   Testimonials (Exact: TestimonialsSection.tsx)
   bg-dark, 2-col, quote cards
   ======================================== */
.testimonials {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Glow: absolute top-1/2 left-1/2 w-[600px] h-[600px] bg-primary/5 rounded-full blur-3xl */
.testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.testimonials .section-header h2 { color: var(--text-light); }
.testimonials .section-header p { color: var(--text-muted-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

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

/* Card: bg-dark-light border-dark-lighter hover:border-primary/30 */
.testimonial-card {
  background: var(--dark-light);
  border: 1px solid var(--dark-lighter);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

/* Quote icon: w-10 h-10 text-primary/20 */
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: rgba(245, 158, 11, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

.testimonial-card .content {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Stars: fill-primary text-primary */
.testimonial-card .stars {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Avatar: w-12 h-12 rounded-full bg-primary/20 */
.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-weight: 700;
  color: var(--text-light);
}

.testimonial-card .author-role {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* ========================================
   FAQ Section (Exact: FAQSection.tsx)
   bg-secondary/30, accordion
   ======================================== */
.faq {
  padding: 5rem 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

/* Item: bg-card border border-border rounded-xl data-[state=open]:border-primary/50 */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.5);
}

/* Question button: py-5 px-6 */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading-color);
}

/* Icon: w-8 h-8 rounded-full bg-primary/10 */
.faq-question .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.faq-question .arrow {
  margin-right: auto;
  transition: transform 0.3s;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Answer inner: pb-5 pr-11 (right padding for icon space) */
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  padding-right: 4rem;
}

/* ========================================
   Contact Section (Exact: ContactSection.tsx)
   bg-background, 2-col info cards, whatsapp CTA, map
   ======================================== */
.contact {
  padding: 5rem 0;
  background: var(--bg-light);
}

.contact-content {
  max-width: 42rem;
  margin: 0 auto;
}

/* Info cards: grid grid-cols-2 gap-4 */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .contact-info-cards { grid-template-columns: 1fr; }
}

/* Card: bg-card border-border hover:border-primary/50 */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

/* Icon: w-12 h-12 rounded-full bg-primary/10 */
.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
}

.contact-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.contact-card p,
.contact-card a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* WhatsApp CTA: bg-gradient-to-br from-primary/20 to-primary/5 border border-primary/20 rounded-2xl p-6 */
.whatsapp-cta {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.whatsapp-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 128px;
  background: rgba(245,158,11,0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.whatsapp-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.whatsapp-cta p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
}

/* Map placeholder */
.map-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem;
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ========================================
   Call Banner (Exact: CallBanner.tsx)
   bg-dark, glow, phone CTA
   ======================================== */
.call-banner {
  padding: 3rem 0 4rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Glow: absolute top-1/2 left-1/2 w-[500px] h-[500px] bg-primary/10 rounded-full blur-[150px] */
.call-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

/* ========================================
   Footer (Exact: Footer.tsx)
   bg-dark, 4-col grid, top line, copyright
   ======================================== */
.site-footer {
  background: var(--dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

/* Top accent line: w-[600px] h-[2px] bg-gradient via-primary/50 */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.5), transparent);
}

.footer-inner {
  padding: 3rem 0 2rem;
}

/* Grid: grid-cols-1 md:grid-cols-2 lg:grid-cols-4 */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-logo img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted-light);
  line-height: 1.7;
  max-width: 28rem;
  white-space: pre-line;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul a {
  color: var(--text-muted-light);
  transition: color 0.3s;
}

.footer-links ul a:hover {
  color: var(--primary);
}

.footer-contact ul li {
  margin-bottom: 0.75rem;
}

.footer-contact ul li a,
.footer-contact ul li span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted-light);
  transition: color 0.3s;
}

.footer-contact ul li a:hover {
  color: var(--primary);
}

.footer-contact .contact-icon-sm {
  color: var(--primary);
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* ========================================
   WhatsApp Float Button (Exact: WhatsAppButton.tsx)
   Fixed bottom-left, ping animation, tooltip
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  position: relative;
}

.whatsapp-float a:hover {
  background: #20bd5a;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* Ping animation: absolute inset-0 bg-[#25D366] rounded-full animate-ping opacity-30 */
.whatsapp-float .pulse-ring {
  position: absolute;
  inset: 0;
  background: #25D366;
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.3;
}

/* Tooltip on hover */
.whatsapp-float .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: var(--foreground);
  color: var(--bg-light);
  font-size: 0.875rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.whatsapp-float a:hover .tooltip {
  opacity: 1;
}

/* ========================================
   Sticky Call Bar - Mobile (Exact: StickyCallBar.tsx)
   Fixed bottom, bg-primary, md:hidden
   ======================================== */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.sticky-call-bar a {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .sticky-call-bar {
    display: block;
  }
  .whatsapp-float {
    bottom: 5rem;
  }
}

/* ========================================
   Sub-pages: Service & Product Detail
   ======================================== */

/* Hero section on sub-pages */
.subpage-hero {
  background: var(--dark);
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.subpage-hero .hero-glow-1 {
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.08);
  filter: blur(150px);
}

.subpage-hero .hero-glow-2 {
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.05);
  filter: blur(100px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted-light);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
  font-size: 0.875rem;
}

.back-link:hover {
  color: var(--primary);
}

/* Sub-page phone CTA (smaller version) */
.subpage-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.subpage-phone-link:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(245,158,11,0.2);
}

.subpage-phone-link .phone-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
  transition: transform 0.3s;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .subpage-phone-link .phone-circle {
    width: 56px;
    height: 56px;
  }
  .subpage-phone-link {
    padding: 0.75rem 1.5rem;
    gap: 1rem;
  }
}

.subpage-phone-link:hover .phone-circle {
  transform: scale(1.1);
}

.subpage-phone-link .phone-number {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  line-height: 1;
}

.subpage-phone-link:hover .phone-number {
  color: var(--primary);
}

.subpage-phone-link .phone-label {
  display: block;
  color: rgba(245,158,11,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

@media (min-width: 768px) {
  .subpage-phone-link .phone-label { font-size: 0.875rem; }
}

/* Sub-page content cards */
.detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.detail-card-accent {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.detail-card h2,
.detail-card-accent h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-list li .check {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Spec table */
.spec-table {
  width: 100%;
}

.spec-table .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-table .spec-row:last-child {
  border-bottom: none;
}

.spec-table .spec-label {
  color: var(--text-muted);
}

.spec-table .spec-value {
  font-weight: 500;
  color: var(--heading-color);
}

/* Sub-page CTA section */
.subpage-cta {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

/* 404 Page */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--text-muted-light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

.shimmer {
  background: linear-gradient(90deg, rgba(245,158,11,0) 0%, rgba(245,158,11,0.3) 50%, rgba(245,158,11,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ========================================
   Dark Mode
   ======================================== */
body.dark-mode {
  --background: #0e1118;
  --bg-light: #0e1118;
  --bg-alt: #161b28;
  --foreground: #f5f5f5;
  --card-bg: #1a2030;
  --heading-color: #f0f0f0;
  --text-muted: #94a3b8;
  --text-dark: #e2e8f0;
  --border-color: #2d3748;
  --shadow-card: 0 10px 40px -15px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
}

/* Header scrolled in dark mode */
body.dark-mode .site-header.scrolled {
  background: rgba(14, 17, 24, 0.95);
  border-bottom-color: var(--border-color);
}

body.dark-mode .scrolled .main-nav a {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .scrolled .main-nav a:hover {
  color: var(--primary);
}

body.dark-mode .scrolled .mobile-toggle {
  color: var(--text-light);
}

/* Logo in dark mode */
body.dark-mode .site-logo {
  background: rgba(14, 17, 24, 0.95);
}

/* Mobile nav in dark mode */
body.dark-mode .mobile-nav {
  background: rgba(14, 17, 24, 0.95);
  border-bottom-color: var(--border-color);
}

body.dark-mode .mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
}

/* Product cards, feature cards, FAQ, contact cards in dark mode */
body.dark-mode .product-card,
body.dark-mode .feature-card,
body.dark-mode .faq-item,
body.dark-mode .contact-card,
body.dark-mode .detail-card,
body.dark-mode .map-placeholder {
  background: var(--card-bg);
  border-color: var(--border-color);
}

body.dark-mode .product-card h3,
body.dark-mode .feature-card h3,
body.dark-mode .faq-question,
body.dark-mode .contact-card h4,
body.dark-mode .spec-table .spec-value {
  color: #f0f0f0;
}

body.dark-mode .product-card > p,
body.dark-mode .product-card .items-list li,
body.dark-mode .feature-card p,
body.dark-mode .faq-answer,
body.dark-mode .contact-card p,
body.dark-mode .contact-card a,
body.dark-mode .whatsapp-cta p,
body.dark-mode .spec-table .spec-label {
  color: #94a3b8;
}

/* Tab buttons in dark mode */
body.dark-mode .tab-btn {
  color: #e2e8f0;
  border-color: var(--border-color);
}

/* Section headers on light sections */
body.dark-mode .section-header h2 {
  color: #f0f0f0;
}

body.dark-mode .section-header p {
  color: #94a3b8;
}

/* Contact form inputs in dark mode */
body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
  background: #1e2a3a;
  border-color: var(--border-color);
  color: #f0f0f0;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #64748b;
}

body.dark-mode .contact-form label {
  color: #e2e8f0;
}

/* WhatsApp CTA heading in dark mode */
body.dark-mode .whatsapp-cta h3,
body.dark-mode .detail-card h2,
body.dark-mode .detail-card-accent h2 {
  color: #f0f0f0;
}

/* Dark mode toggle button */
.dark-mode-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.3s;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

.scrolled .dark-mode-toggle {
  color: var(--foreground);
  border-color: var(--border-color);
}

body.dark-mode .scrolled .dark-mode-toggle {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}

.dark-mode-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-muted-light { color: var(--text-muted-light); }

/* ========================================
   Responsive Overrides for Sub-pages
   ======================================== */
@media (max-width: 1024px) {
  .subpage-hero .detail-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .detail-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .detail-grid-2 {
    grid-template-columns: 1fr !important;
  }
}
