/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0F1F38;
  --blue:        #1565C0;
  --blue-hover:  #1040A0;
  --blue-light:  #EBF3FE;
  --blue-mid:    #1976D2;
  --blue-pale:   #F0F7FF;
  --white:       #FFFFFF;
  --gray-50:     #F4F6FA;
  --gray-100:    #EBF0F8;
  --gray-200:    #DDE3EC;
  --gray-300:    #CBD5E0;
  --text-900:    #0D1828;
  --text-700:    #1E293B;
  --text-500:    #475569;
  --text-400:    #94A3B8;
  --green:       #25D366;
  --green-hover: #1EBE58;
  --red:         #DC2626;
  --amber:       #F59E0B;

  /* Legacy aliases — keep existing rules working */
  --brand:         var(--blue);
  --brand-hover:   var(--blue-hover);
  --brand-light:   var(--blue-light);
  --primary-color: var(--blue);
  --primary-dark:  var(--blue-hover);
  --primary-light: var(--blue-light);
  --surface-dark:  var(--navy);
  --nav-gradient:  var(--navy);
  --text-dark:     var(--text-900);
  --text-light:    var(--text-500);
  --bg-light:      var(--gray-50);
  --bg-lighter:    var(--gray-100);
  --border-color:  var(--gray-200);
  --price-color:   var(--red);
  --accent-color:  var(--amber);
  --success:       var(--green);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700);
  background: var(--white);
  overflow-x: hidden;
}

p  { font-size: 0.95rem; line-height: 1.8; color: var(--text-500); margin-bottom: 12px; }
li { font-size: 0.95rem; line-height: 1.7; }
a  { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-hover); }

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

*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-900);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-900);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 10px;
}

h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 8px;
}

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

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.btn-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-900);
  border-color: var(--gray-300);
}
.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-full  { width: 100%; }
.btn-sm    { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg    { padding: 16px 36px; font-size: 1rem; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
}
.btn-wa:hover { background: var(--green-hover); color: #fff; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 1px 0 #E8EDF4, 0 2px 12px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-400);
  letter-spacing: 0.01em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Nav contact area */
.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-phone {
  color: var(--text-900);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-phone:hover { color: rgba(255,255,255,0.8); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 201;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO — INDEX PAGE
   ========================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero left */
.hero-label {
  display: inline-block;
  background: rgba(25, 118, 210, 0.25);
  color: #90CAF9;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-title span { color: #90CAF9; }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Hero stats row below buttons */
.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* Hero right — feature list */
.hero-features {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 32px;
  backdrop-filter: blur(4px);
}
.hero-features h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.9;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-item:first-child { padding-top: 0; }
.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-check svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 2.5; }
.feature-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.feature-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ==========================================
   TRUST / STATS BAR
   ========================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid var(--gray-200);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child  { border-right: none; }
.trust-icon {
  width: 46px;
  height: 46px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.1;
}
.trust-text span {
  font-size: 0.8rem;
  color: var(--text-500);
  margin-top: 2px;
  display: block;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.6;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-header-left { flex: 1; }

.link-arrow {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s, color 0.2s;
}
.link-arrow:hover { gap: 10px; color: var(--blue-hover); }

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.products-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 24, 40, 0.12);
}

.product-image-wrap {
  background: var(--gray-50);
  padding: 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-100);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.product-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.product-tag.tag-orange {
  background: #FFF3CD;
  color: #92400E;
}
.product-tag.tag-green {
  background: #D1FAE5;
  color: #065F46;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1.35;
  margin: 0;
}

.product-area {
  font-size: 0.82rem;
  color: var(--text-500);
  margin: 0;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
}
.product-price.price-request { color: var(--text-900); }

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border: 1.5px solid;
}
.btn-details {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-details:hover {
  background: var(--blue-light);
}
.btn-order {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-order:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

/* Area selector inside modal/card */
.area-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.area-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.area-btn {
  padding: 8px 6px;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-700);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}
.area-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
}
.area-btn:hover:not(.active) {
  border-color: var(--blue);
  color: var(--blue);
}

/* ==========================================
   PORTFOLIO / GALLERY
   ========================================== */
.portfolio {
  padding: 80px 0;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-100);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,22,40,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: #fff; font-size: 0.95rem; margin: 0; }
.portfolio-overlay p  { color: rgba(255,255,255,0.8); font-size: 0.82rem; margin: 0; }

/* ==========================================
   BENEFITS / WHY CARDS
   ========================================== */
.benefits {
  padding: 80px 0;
  background: var(--gray-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(13,24,40,0.1);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1rem; color: var(--text-900); margin-bottom: 8px; }
.benefit-card p  { font-size: 0.875rem; color: var(--text-500); margin: 0; line-height: 1.6; }

/* Why grid on services page */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.25s, transform 0.25s;
}
.why-card:hover {
  box-shadow: 0 8px 24px rgba(21,101,192,0.1);
  transform: translateY(-3px);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  margin-bottom: 14px;
  color: var(--blue);
}
.why-card strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-900);
  display: block;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--text-500);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: repeat(2,1fr); } }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-content h2 { color: var(--white); margin-bottom: 14px; }
.cta-content p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 28px; }

/* ==========================================
   PAGE HEROES (catalog, services, contacts)
   ========================================== */
.page-hero {
  background: var(--navy);
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(21,101,192,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1    { color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p     { color: rgba(255,255,255,0.78); margin: 0; position: relative; z-index: 1; }
.page-hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.78); margin-top: 8px; }

/* Aliases for old class names */
.catalog-hero  { background: var(--navy); color: #fff; padding: 48px 0 36px; text-align: center; }
.catalog-hero h1 { color: #fff; margin-bottom: 10px; }
.catalog-hero p  { color: rgba(255,255,255,0.78); }
.services-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--navy);
}
.services-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.services-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
}
.services-hero h1 { color: #fff; margin-bottom: 12px; }
.services-hero p  { color: rgba(255,255,255,0.88); margin-top: 0; font-size: 1rem; }
@media (max-width: 768px) {
  .services-hero { min-height: 320px; }
  .services-hero-video {
    display: block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.contacts-hero { background: var(--navy); color: #fff; padding: 48px 0 36px; text-align: center; }
.contacts-hero h1 { color: #fff; margin-bottom: 10px; }

/* ==========================================
   CATALOG PAGE
   ========================================== */
.catalog-content { padding: 60px 0 80px; background: var(--gray-50); }

/* Filter chips */
.filter-bar {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-500);
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 7px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--text-700);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
}
.filter-chip:hover:not(.active) {
  border-color: var(--blue);
  color: var(--blue);
}

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-list { padding: 72px 0 80px; background: var(--white); }

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item:nth-child(even) { direction: rtl; }
.service-item:nth-child(even) > * { direction: ltr; }
.service-item-image { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.service-item-image img { width: 100%; height: auto; display: block; }
.service-item-content h2 { margin-bottom: 14px; }
.service-item-content > p { margin-bottom: 20px; }

.service-item-list {
  list-style: none;
  margin-bottom: 24px;
}
.service-item-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-500);
  border-bottom: 1px solid var(--gray-100);
}
.service-item-list li:last-child { border-bottom: none; }
.service-item-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--blue-light);
  border-radius: 50%;
  border: 2px solid var(--blue);
}
.service-item-list li::after {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
}

/* Installation steps */
.install-steps {
  padding: 72px 0;
  background: var(--gray-50);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
  counter-reset: step;
}
.step-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
}
.step-num {
  width: 38px;
  height: 38px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-card h4 { font-size: 0.82rem; color: var(--text-900); margin-bottom: 6px; font-weight: 700; }
.step-card p  { font-size: 0.78rem; color: var(--text-500); margin: 0; line-height: 1.5; }

/* Steps block inside service-item */
.steps-block {
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 22px;
  margin: 20px 0;
  border-left: 3px solid var(--blue);
}
.steps-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 14px;
}
.steps-list { display: flex; flex-direction: column; gap: 12px; }
.step-item  { display: flex; gap: 12px; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.step-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 2px;
}
.step-content p { font-size: 0.82rem; color: var(--text-500); margin: 0; line-height: 1.5; }

/* Price table */
.price-table { margin: 20px 0; }
.price-table h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.price-table thead tr { background: var(--blue); color: #fff; }
.price-table th { padding: 11px 14px; text-align: left; font-weight: 600; }
.price-table tbody tr { border-bottom: 1px solid var(--gray-100); background: var(--white); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table td { padding: 10px 14px; color: var(--text-700); }
.price-cell { font-weight: 700; color: var(--blue); white-space: nowrap; }
.price-note { font-size: 0.8rem; color: var(--text-400); margin-top: 8px; margin-bottom: 0; }

/* WhatsApp buttons */
.btn-whatsapp-order,
.btn-whatsapp-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-whatsapp-order:hover,
.btn-whatsapp-submit:hover {
  background: var(--green-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-whatsapp-order { margin-top: 20px; }

/* FAQ / Accordion */
.faq-section { padding: 72px 0; background: var(--white); }
.faq-list    { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-900);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: var(--text-500);
  font-size: 18px;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.7;
}

/* ==========================================
   CONTACTS PAGE
   ========================================== */
.contacts-content {
  padding: 60px 0 80px;
  background: var(--gray-50);
}
.contacts-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.contacts-info {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacts-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-900);
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--blue); }
.contact-item.whatsapp .contact-icon { background: #E6F9EE; }
.contact-item.whatsapp .contact-icon svg { fill: var(--green); }
.contact-details h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-details p { margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--text-700); line-height: 1.5; }
.contact-details a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* Map */
.contacts-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  height: 100%;
  min-height: 340px;
}
.contacts-map iframe {
  width: 100%; height: 100%;
  min-height: 340px;
  display: block;
  border: none;
}
.map-container {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.map-container iframe {
  width: 100%; height: 440px;
  border: none; display: block;
}

/* Contact form */
.contacts-form-section {
  padding: 0;
  background: transparent;
}
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
}
.contact-form h3 { margin-bottom: 24px; }

.form-intro { color: var(--text-500); font-size: 0.9rem; margin-bottom: 28px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  color: var(--text-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}
.form-group textarea { resize: vertical; min-height: 96px; }

.contact-info { /* old class kept */
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.review-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--gray-200);
}
.review-stars { color: var(--amber); font-size: 1rem; margin-bottom: 12px; letter-spacing: 1px; }
.review-text {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--text-900); }
.review-date { font-size: 0.78rem; color: var(--text-400); margin-top: 2px; }

/* ==========================================
   SERVICES PREVIEW (on index page)
   ========================================== */
.services-preview { padding: 80px 0; background: var(--white); }
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--blue-pale);
  border: 1px solid rgba(21,101,192,0.12);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21,101,192,0.12);
}
.service-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.4;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p  { margin-bottom: 18px; }
.service-list { list-style: none; }
.service-list li {
  font-size: 0.875rem;
  color: var(--text-500);
  padding: 5px 0 5px 20px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}
.services-action { text-align: center; }

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

/* Brand column */
.brand-name  { display: flex; flex-direction: column; line-height: 1.2; margin-bottom: 10px; }
.brand-title { font-size: 17px; font-weight: 800; color: #fff; }
.brand-subtitle { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.55); letter-spacing: 0.3px; margin-top: 2px; }
.footer-logo { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-btn-wa {
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.footer-btn-wa:hover { background: var(--green-hover); color: #fff; }
.footer-btn-tel {
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 8px 16px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.footer-btn-tel:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Nav/contact columns */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul   { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.78); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,0.78); font-size: 0.875rem; line-height: 1.6; margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* Legacy compat */
.footer { background: var(--navy); color: #fff; padding: 40px 0 0; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px; color: #fff;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--blue); }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 0.5s ease-out; }
.benefit-card { animation: fadeInUp 0.5s ease-out backwards; }
.benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefit-card:nth-child(2) { animation-delay: 0.12s; }
.benefit-card:nth-child(3) { animation-delay: 0.19s; }
.benefit-card:nth-child(4) { animation-delay: 0.26s; }

/* ==========================================
   MOBILE NAV
   ========================================== */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; font-size: 1rem; width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-phone { display: none; }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-features   { display: none; }
  .hero-stats      { gap: 20px; flex-wrap: wrap; }

  .trust-bar .container { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { border-right: none; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
  .trust-item:nth-child(2n) { padding-left: 0; }
  .trust-item:last-child,
  .trust-item:nth-last-child(2) { border-bottom: none; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }
  .service-item:nth-child(even) > * { direction: ltr; }

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

  .contacts-top    { grid-template-columns: 1fr; }
  .contacts-wrapper { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { margin-top: 28px; }

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

@media (max-width: 540px) {
  html { font-size: 18px; }
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .btn { padding: 11px 20px; font-size: 1rem; }
  .hero { padding: 60px 0 40px; }
  .hero-buttons { flex-direction: column; }
  .trust-bar .container { grid-template-columns: 1fr; }
  .trust-item { border-bottom: 1px solid var(--gray-200); padding: 12px 0; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .steps-row { grid-template-columns: repeat(2,1fr); }
  .contact-form { padding: 24px 20px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================
   CATEGORY CARDS (catalog legacy)
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: var(--navy);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,22,40,0.3); }
.category-num  { font-size: 2.5rem; font-weight: 800; opacity: 0.15; margin-bottom: 14px; }
.category-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.category-desc { font-size: 0.875rem; opacity: 0.85; margin-bottom: 14px; }
.category-btn {
  align-self: flex-start;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.875rem;
}
.category-btn:hover { background: rgba(255,255,255,0.28); }

/* ==========================================
   MISC
   ========================================== */
.svc-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(21,101,192,0.18);
  line-height: 1;
  margin-bottom: 12px;
}

.hero-shape, .hero-shape-1, .hero-shape-2,
.hero-background { display: none; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-400);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text-400); }
