/* ======================
   Variables & Reset
   ====================== */
:root {
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1e3a8a;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;
  --green-600: #16A34A;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --radius:    8px;
  --radius-lg: 14px;
  --transition: .2s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ======================
   Typography
   ====================== */
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.5rem,  3vw, 2.1rem);  font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem,  2vw, 1.35rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--gray-600); }

/* ======================
   Layout Helpers
   ====================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section   { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.section-sub   { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 40px; max-width: 640px; }

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

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 14px;
}

/* ======================
   Buttons
   ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); }

.btn-white {
  background: #fff;
  color: var(--blue-700);
}
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.35); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ======================
   Header / Navigation
   ====================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-600);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 800; font-size: 1rem; color: var(--gray-900); }
.logo-sub  { font-size: .7rem; color: var(--gray-500); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 7px 13px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
}
.nav a:hover { background: var(--gray-100); color: var(--gray-900); }
.nav a.active { background: var(--blue-50); color: var(--blue-700); }

.header-cta { flex-shrink: 0; }
.header-phone { font-weight: 600; font-size: .9rem; color: var(--gray-700); text-decoration: none !important; }
.header-phone:hover { color: var(--blue-600); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 20px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: .95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 14px; width: 100%; justify-content: center; }

/* ======================
   Hero
   ====================== */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #3B82F6 100%);
  color: #fff;
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
  letter-spacing: .02em;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p   { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 34px; max-width: 620px; line-height: 1.7; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat span { display: block; }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ======================
   Page Hero (inner pages)
   ====================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  color: #fff;
  padding: 56px 0 52px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ======================
   Cards
   ====================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue-100); }

.card-body { padding: 24px; }

.category-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
}
.category-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.category-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.category-card-body h3 { margin-bottom: 8px; color: var(--gray-900); font-size: 1.1rem; }
.category-card-body p  { font-size: .88rem; color: var(--gray-500); flex: 1; margin-bottom: 16px; }
.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-600);
}
.category-card:hover .category-card-link { gap: 8px; }

/* ======================
   Benefits / Icons
   ====================== */
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.benefit-text h4 { font-size: 1rem; margin-bottom: 4px; color: var(--gray-900); }
.benefit-text p  { font-size: .88rem; margin-bottom: 0; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.icon-box-blue   { background: var(--blue-50);   color: var(--blue-600); }
.icon-box-green  { background: #F0FDF4; color: var(--green-600); }
.icon-box-orange { background: #FFF7ED; color: #EA580C; }
.icon-box-purple { background: #FAF5FF; color: #7C3AED; }

/* ======================
   Steps
   ====================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .88rem; margin-bottom: 0; }

/* ======================
   Products Grid (category pages)
   ====================== */
.product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.product-item-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.product-item-text { }
.product-item-text strong { display: block; font-size: .9rem; color: var(--gray-900); margin-bottom: 3px; }
.product-item-text span  { font-size: .8rem; color: var(--gray-500); }
.no-price {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 5px;
}

/* ======================
   CTA Banner
   ====================== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 28px; }

.cta-section { background: var(--gray-50); }

/* ======================
   Form
   ====================== */
.form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-900);
  background: #fff;
  transition: border-color var(--transition);
  font-family: inherit;
  outline: none;
}
.form-control:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8rem; color: var(--gray-400); margin-top: 5px; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 24px;
}
.form-success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { margin-bottom: 20px; }

/* ======================
   Info blocks
   ====================== */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.info-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.info-block h3 { margin-bottom: 14px; font-size: 1.1rem; }
.info-block ul { display: flex; flex-direction: column; gap: 8px; }
.info-block li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-600);
}
.info-block li::before {
  content: '✓';
  color: var(--green-600);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ======================
   Contact
   ====================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-text h4 { font-size: .85rem; color: var(--gray-500); font-weight: 500; margin-bottom: 3px; }
.contact-text a, .contact-text p { font-size: 1rem; font-weight: 600; color: var(--gray-900); }
.contact-text a:hover { color: var(--blue-600); }

.map-placeholder {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--gray-500);
  font-size: .9rem;
}
.map-placeholder-icon { font-size: 2.5rem; }

.requisites {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}
.requisites h4 { margin-bottom: 12px; font-size: 1rem; }
.req-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-200); font-size: .88rem; }
.req-row:last-child { border-bottom: none; }
.req-label { color: var(--gray-500); }
.req-value { font-weight: 600; color: var(--gray-900); }

/* ======================
   Testimonial / Quote
   ====================== */
.highlight-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.highlight-box p { color: var(--gray-700); font-size: .95rem; margin-bottom: 0; }

/* ======================
   Footer
   ====================== */
.footer {
  background: var(--gray-900);
  color: #fff;
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: 16px; }
.footer-col p { font-size: .88rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li a {
  font-size: .88rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col li a:hover { color: #fff; }

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-name { color: #fff; font-size: 1.1rem; }
.footer-logo .logo-sub  { color: var(--gray-500); }
.footer-logo .logo-icon { background: var(--blue-600); }

.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { font-size: .88rem; color: var(--gray-300); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-item p { font-size: .88rem; color: var(--gray-400); margin-bottom: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--gray-500); margin-bottom: 0; }
.footer-bottom a { color: var(--gray-400); font-size: .82rem; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ======================
   WhatsApp Float
   ====================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: all var(--transition);
  text-decoration: none;
  font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }
.wa-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: wa-pulse 2.5s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ======================
   Misc
   ====================== */
.text-center { text-align: center; }
.text-blue { color: var(--blue-600); }
.text-green { color: var(--green-600); }
.text-gray { color: var(--gray-500); }
.fw-700 { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.divider { height: 1px; background: var(--gray-200); margin: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: .82rem;
  color: var(--gray-700);
  font-weight: 500;
}
.badge-green { background: #F0FDF4; border-color: #BBF7D0; color: var(--green-600); }
.badge-blue  { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }

/* ======================
   Responsive
   ====================== */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .header-phone { display: none; }
  .burger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 32px 20px; }
  .form-card { padding: 24px 18px; }
  .hero { padding: 60px 0 52px; }
  .page-hero { padding: 40px 0 36px; }
  .product-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .product-list { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.3rem; }
}
