/* ============================================
   WPC Doors Israel — Design System & Styles
   RTL Hebrew site
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #1B2A3D;
  --color-primary-light: #2d4562;
  --color-accent: #1A6FE8;
  --color-accent-hover: #1255B8;
  --color-accent-light: #e6f0fd;
  --color-accent-glow: rgba(26, 111, 232, 0.25);
  --color-gold: #C9A94E;
  --color-gold-light: #f5ecd3;
  --color-bg: #FAFBFC;
  --color-surface: #F3F5F7;
  --color-surface-alt: #eaecf0;
  --color-border: #D5D9DF;
  --color-border-light: #e8ebef;
  --color-success: #2E9E4B;
  --color-text: #1B2A3D;
  --color-text-secondary: #4A5568;
  --color-text-light: #718096;
  --color-error: #E53E3E;
  --color-overlay: rgba(10, 20, 40, 0.6);
  --color-white: #FFFFFF;
  --color-whatsapp: #25D366;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 40%, #bcccdc 100%);
  --gradient-hero-mesh: radial-gradient(ellipse at 20% 50%, rgba(26, 111, 232, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 78, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(26, 111, 232, 0.05) 0%, transparent 50%);
  --gradient-cta: linear-gradient(135deg, #1A6FE8 0%, #0F4C99 50%, #0D3D7A 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(26, 111, 232, 0.08), rgba(201, 169, 78, 0.05));
  --gradient-footer: linear-gradient(180deg, #1B2A3D 0%, #0F1A2A 100%);

  /* Typography */
  --font-heading: 'Rubik', sans-serif;
  --font-family: 'Heebo', sans-serif;
  --fs-h1: clamp(2rem, 4vw, 2.75rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.1rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;
  --fs-cta: 1.1rem;
  --lh-body: 1.75;
  --lh-heading: 1.25;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 72px;
  --header-compact: 56px;
  --border-radius: 10px;
  --border-radius-sm: 6px;
  --border-radius-lg: 14px;
  --border-radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 35px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px rgba(26, 111, 232, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent-hover);
}

ul,
ol {
  list-style: none;
}

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

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

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

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--color-surface);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-secondary);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* Flex */
.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--fs-cta);
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}

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

.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-text-secondary);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--color-surface);
  color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
}

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

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--color-border-light);
}

.site-header.scrolled {
  height: var(--header-compact);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-normal);
}

.logo span {
  color: var(--color-accent);
}

.scrolled .logo {
  font-size: 1.25rem;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.main-nav .catalog-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav .catalog-trigger .arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.main-nav .catalog-trigger.open .arrow {
  transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

.header-whatsapp {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.header-whatsapp:hover {
  transform: scale(1.1);
}

.header-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mega Menu --- */
.mega-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scrolled~.mega-menu,
.scrolled+.mega-menu {
  top: var(--header-compact);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

.mega-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.mega-col ul li {
  margin-bottom: var(--space-xs);
}

.mega-col ul li a {
  color: var(--color-text);
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  display: block;
  transition: all var(--transition-fast);
}

.mega-col ul li a:hover {
  color: var(--color-accent);
  padding-right: var(--space-xs);
}

/* Mega menu conversion block */
.mega-conversion {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mega-conversion-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--border-radius);
  background: var(--color-border-light);
}

.mega-conversion ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mega-conversion ul li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.mega-conversion ul li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-height);
  background: var(--gradient-hero);
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-mesh);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent,
      transparent 80px,
      rgba(26, 111, 232, 0.03) 80px,
      rgba(26, 111, 232, 0.03) 81px),
    repeating-linear-gradient(0deg,
      transparent,
      transparent 80px,
      rgba(26, 111, 232, 0.03) 80px,
      rgba(26, 111, 232, 0.03) 81px);
  z-index: 1;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding-top: var(--space-xl);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--color-accent);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--color-gold);
  opacity: 0.3;
  border-radius: 3px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  opacity: 0;
  animation: badgeFadeIn 0.6s ease forwards;
}

.hero-badge:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-badge:nth-child(2) {
  animation-delay: 0.45s;
}

.hero-badge:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-badge:nth-child(4) {
  animation-delay: 0.75s;
}

@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce);
}

.hero-badge:hover .icon {
  transform: scale(1.15) rotate(-5deg);
}

/* --- Value Props Section --- */
.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card-hover);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent-light);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card .icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), #d4e4fd);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-bounce);
}

.value-card:hover .icon {
  transform: scale(1.1) rotate(-3deg);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  position: relative;
  z-index: 1;
}

/* --- Product Cards --- */
.product-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-border);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-slow);
}

.product-card:hover .product-card-img {
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.product-card-badge {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

/* --- Why WPC Section --- */
.why-wpc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-wpc-visual {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-wpc-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-wpc-content h2 {
  margin-bottom: var(--space-lg);
}

.why-wpc-content p {
  margin-bottom: var(--space-md);
}

.check-list {
  margin: var(--space-lg) 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-text);
}

.check-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Cities/Areas --- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.city-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.city-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.city-card .icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.city-card-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-sm);
}

.city-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.city-card h4 {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* --- Trust Block --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-2xl) 0;
}

.trust-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.trust-item .label {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  position: relative;
  transition: all var(--transition-normal);
  border-right: 3px solid transparent;
}

.testimonial-card:hover {
  border-right-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent-light);
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: 800;
  line-height: 1;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Blog Preview --- */
.blog-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-surface);
  transition: all var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  filter: brightness(1.05);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.blog-card-body h3 a {
  color: var(--color-primary);
}

.blog-card-body h3 a:hover {
  color: var(--color-accent);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* --- CTA Strip --- */
.cta-strip {
  background: var(--gradient-cta);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  padding: var(--space-3xl) 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.02) 20px,
      rgba(255, 255, 255, 0.02) 40px);
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.cta-strip h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* --- Footer --- */
.site-footer {
  background: var(--gradient-footer);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.footer-col ul li {
  margin-bottom: var(--space-xs);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

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

.footer-badges {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all var(--transition-normal);
  cursor: pointer;
  animation: whatsappPulse 2s ease infinite;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--space-xl);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.modal h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.modal>p {
  margin-bottom: var(--space-xl);
  color: var(--color-text-secondary);
}

/* --- Form --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .optional {
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--space-md);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: var(--space-2xl) 0;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success .check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: var(--space-sm);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  font-family: var(--font-family);
}

.faq-question:hover {
  color: var(--color-accent);
  background: var(--color-surface);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-right: var(--space-md);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: var(--header-height);
}

.breadcrumbs a {
  color: var(--color-text-secondary);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  margin: 0 var(--space-xs);
  color: var(--color-border);
}

/* --- Page Header (non-home) --- */
.page-header {
  background: var(--color-surface);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-top: var(--header-height);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.contact-info-card {
  background: var(--color-surface);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Catalog Filter Bar --- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 30px;
  background: var(--color-white);
  color: var(--color-text-secondary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* --- Blog Article --- */
.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  padding-right: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content ul li,
.article-content ol li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.article-content ul li {
  list-style-type: disc;
}

.article-content ol li {
  list-style-type: decimal;
}

.tldr-box {
  background: var(--color-accent-light);
  border-right: 4px solid var(--color-accent);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xl);
}

.tldr-box strong {
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

/* --- Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.specs-table td {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
  background: var(--color-surface);
}

.specs-table td:last-child {
  color: var(--color-text-secondary);
}

/* --- Price Table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.price-table th {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  text-align: right;
}

.price-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.price-table tbody tr:hover {
  background: var(--color-surface);
}

.price-table tbody tr:nth-child(even) {
  background: var(--color-surface);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* --- Mobile Bottom CTA --- */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 997;
}

.mobile-bottom-cta .btn {
  width: 100%;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--color-white);
  z-index: 998;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  padding: var(--space-lg);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-section {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.mobile-menu-section h4 {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.mobile-menu-section ul li a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  font-family: var(--font-family);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding-right: var(--space-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

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

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

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

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

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

/* Staggered children in grids */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-stagger.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger.visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger.visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-stagger.visible>*:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-stagger.visible>*:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* Trust bar counter animation */
.trust-item .number {
  font-variant-numeric: tabular-nums;
}

/* Button subtle glow on primary */
.btn-primary {
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--color-accent);
  opacity: 0;
  filter: blur(12px);
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover::after {
  opacity: 0.3;
}

/* Section header gold accent line */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-stagger>* {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-badge {
    opacity: 1;
    animation: none;
  }

  .cta-strip {
    animation: none;
  }

  .whatsapp-float {
    animation: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --header-compact: 60px;
  }

  .main-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-bottom-cta {
    display: block;
  }

  .hero {
    min-height: 70vh;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 24px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

  .why-wpc {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    display: none;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  body {
    padding-bottom: 60px;
    /* space for fixed CTA */
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .whatsapp-float {
    bottom: 80px;
    /* above mobile CTA */
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

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