/* ============================================================
   SKIPERSHOP.BY — Home Page (index.html) Styles
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a7a2e;
  --green-dark:  #125520;
  --green-light: #e8f5eb;
  --orange:      #f07800;
  --orange-dark: #c85f00;
  --black:       #111111;
  --dark:        #1e1e1e;
  --gray:        #4a4a4a;
  --gray-light:  #f5f5f5;
  --white:       #ffffff;
  --border:      #d9d9d9;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(240,120,0,.4);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 24px rgba(240,120,0,.5); }

.btn-primary-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  padding: 13px 28px;
  font-size: 15px;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }

.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(26,122,46,.35);
}
.btn-green:hover { background: var(--green-dark); }

.btn-white {
  background: var(--white);
  color: var(--green);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
}
.btn-white:hover { opacity: .9; }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section--gray  { background: var(--gray-light); }
.section--dark  { background: var(--dark); color: var(--white); }
.section--green { background: linear-gradient(135deg, #0d3a17 0%, #1a5c28 100%); color: var(--white); }

.section-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: clamp(14px, 3vw, 17px);
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 680px;
}
.section--dark .section-sub,
.section--green .section-sub { color: rgba(255,255,255,.75); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.header-logo {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  text-decoration: none;
}
.header-logo span { color: var(--orange); }

.header-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  flex: 1;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color .2s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--white); }

.header-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.header-phone-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}

.header-cta {
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background .2s;
}
.header-cta:hover { background: var(--orange-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-phone-wrap { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
}

/* ===== MOBILE DRAWER ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 110;
}
.nav-overlay.open { display: block; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--dark);
  z-index: 120;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-drawer-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer ul {
  list-style: none;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer ul li a {
  display: block;
  padding: 12px 14px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .2s;
}
.nav-drawer ul li a:hover { background: rgba(255,255,255,.08); color: var(--white); }

.nav-drawer-footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-drawer-footer a {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.nav-drawer-footer .label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d3a17 0%, #1a5c28 55%, #2a7a3c 100%);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }

.hero-tag {
  display: inline-block;
  background: rgba(240,120,0,.25);
  border: 1px solid rgba(240,120,0,.5);
  color: #ffc87a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero-title .accent { color: var(--orange); }

.hero-sub {
  font-size: clamp(15px, 3vw, 18px);
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .hero { padding: 52px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ===== CATALOG ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.13); }

.product-card-img-wrap {
  aspect-ratio: 4/3;
  background: var(--gray-light);
  overflow: hidden;
  position: relative;
  display: block;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.03); }

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
}
.product-placeholder .ph-icon { font-size: 40px; }

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-card h3 a { color: var(--black); }
.product-card h3 a:hover { color: var(--green); }

.product-features {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}
.product-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-7' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-price-label { font-size: 11px; color: var(--gray); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.product-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: 20px;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 16px;
}
.cta-banner h2 { font-size: clamp(18px, 4vw, 26px); font-weight: 800; margin-bottom: 6px; }
.cta-banner p { font-size: 15px; opacity: .85; }
.cta-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .cta-banner { flex-direction: column; margin: 0 12px; padding: 28px 24px; }
  .cta-banner-btns { width: 100%; }
  .cta-banner-btns .btn { flex: 1; }
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s;
}
.benefit-card:hover { transform: translateY(-4px); }

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
}

.benefit-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.benefit-card p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: background .2s, transform .2s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.why-card p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--black);
  transition: color .2s;
}
.faq-q:hover { color: var(--green); }

.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ===== FORM ===== */
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 40px 32px;
}
@media (max-width: 480px) { .form-wrap { padding: 28px 20px; } }

.form-title { font-size: clamp(20px, 4vw, 26px); font-weight: 800; margin-bottom: 8px; line-height: 1.2; }
.form-sub { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 28px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,.8); }

.form-control {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-control::placeholder { color: rgba(255,255,255,.4); }
.form-control:focus { border-color: var(--orange); background: rgba(255,255,255,.13); }
textarea.form-control { resize: vertical; min-height: 90px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
  cursor: pointer;
}
.form-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--orange); }
.form-check a { color: rgba(255,255,255,.8); text-decoration: underline; }

.form-submit { width: 100%; font-size: 17px; padding: 18px; }

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success strong { display: block; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: rgba(255,255,255,.75); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.55);
  padding: 48px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-desc { margin-top: 12px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.5); }

.footer-nav h4, .footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav ul li a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav ul li a:hover { color: var(--white); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.footer-contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-label { font-size: 11px; color: rgba(255,255,255,.4); }
.footer-contact-value { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; }
.footer-contact-value a { color: rgba(255,255,255,.85); }
.footer-contact-value a:hover { color: var(--white); }

.footer-links { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
@media (max-width: 767px) { .mobile-bar { display: flex; gap: 10px; } }

.mobile-bar .btn { flex: 1; font-size: 14px; padding: 12px 16px; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gray-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}
.modal h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal p { font-size: 14px; color: var(--gray); margin-bottom: 24px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== BODY PADDING (mobile bar) ===== */
@media (max-width: 767px) { body { padding-bottom: 70px; } }
