/*
 * Texo.kg — Premium Indigo
 * Accent: Deep Indigo (#1B3B8A) — serious, reliable, international
 * Heading: Unbounded (700, 800)
 * Body: Inter (400, 500, 600)
 */

:root {
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-accent: #1B3B8A;
  --color-accent-hover: #152e6e;
  --color-accent-light: #eef1f8;
  --color-muted: #6b6b6b;
  --color-border: #e2e4e9;
  --color-dark: #0a0a0a;
  --color-dark-secondary: #1a1a1a;
  --color-whatsapp: #25d366;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-height: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section */
.section { padding: 120px 0; }
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 3rem;
}
.section__title--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-size: 0.938rem;
  padding: 12px 24px;
}
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn--outline {
  border: 2px solid var(--color-text);
  color: var(--color-text);
}
.btn--outline:hover { background: var(--color-text); color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--color-border);
  background: rgba(255,255,255,0.95);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav__logo span { color: var(--color-accent); }
.nav__menu { display: flex; gap: 40px; }
.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav__link:hover { color: var(--color-text); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; }
.lang-btn {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--color-accent); color: #fff; }
.nav__cta { border-radius: 100px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s; }
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__trust span {
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
}
.hero__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== PAINS ===== */
.pains { background: var(--color-bg); }
.pains__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 2.5rem;
}
.pain-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.pain-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

/* Decorative background number */
.pain-card__num {
  position: absolute;
  top: -0.1em;
  right: 0.1em;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.pain-card__content {
  position: relative;
  z-index: 1;
}
.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.063rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.pain-card p {
  font-size: 0.938rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.pains__conclusion {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  padding: 24px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

/* ===== ADVANTAGES ===== */
.advantages { background: var(--color-accent-light); }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 36px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.adv-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(27,59,138,0.08); }
.adv-card--wide { grid-column: span 2; }
.adv-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--color-accent);
}
.adv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.063rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 0.938rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--color-bg);
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.product-card__img {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f3f3f3, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__placeholder { opacity: 0.3; }
.product-card__body { padding: 24px; }
.product-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.product-card__body p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.product-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-card__link:hover { gap: 8px; }
.product-card--custom {
  border: 2px dashed var(--color-accent);
  background: var(--color-accent-light);
}
.product-card__custom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  height: 100%;
  gap: 12px;
}
.product-card--custom h3 { text-transform: none; }

/* ===== STEPS ===== */
.steps { background: var(--color-bg); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 3rem;
}
.step {
  padding: 40px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.step:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

/* Decorative background number for steps */
.step__num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.step__content {
  position: relative;
  z-index: 1;
}
.step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.step p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.steps__cta { text-align: center; }

/* ===== TRUST ===== */
.trust-section {
  background: var(--color-dark);
  padding: 120px 0;
  color: #fff;
}
.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 0.875rem;
  color: #999;
  margin-top: 6px;
  display: block;
}
.trust__quote {
  border-left: 3px solid var(--color-accent);
  padding-left: 24px;
  position: relative;
}
.trust__quote-mark {
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.trust__quote p {
  font-size: 1.063rem;
  color: #ccc;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.trust__quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.938rem;
  position: relative;
  z-index: 1;
}
.trust__photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.trust__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ===== CONTACT ===== */
.contact { padding: 0; }
.contact__bg {
  background: linear-gradient(135deg, #f8f8f8 0%, var(--color-accent-light) 100%);
  padding: 120px 0;
}
.contact__card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: center;
}
.contact__card .section__title { margin-bottom: 0.5rem; }
.contact__sub {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}
.contact__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.contact__divider {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.contact__divider::before,
.contact__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--color-border);
}
.contact__divider::before { left: 0; }
.contact__divider::after { right: 0; }
.contact__form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(27,59,138,0.1);
}
.contact__success { padding: 40px 0; }
.contact__success h3 { color: var(--color-accent); font-family: var(--font-heading); font-size: 1.063rem; }
.contact__note {
  font-size: 0.813rem;
  color: var(--color-muted);
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  color: #999;
  padding: 80px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.footer__logo span { color: var(--color-accent); }
.footer__col p { font-size: 0.875rem; line-height: 1.6; }
.footer__col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  font-size: 0.813rem;
}

/* ===== FLOAT WA ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s;
  animation: waPulse 2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== ANIMATIONS ===== */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE — 1280 ===== */
@media (max-width: 1280px) {
  .container { max-width: 1080px; }
}

/* ===== RESPONSIVE — 1024 ===== */
@media (max-width: 1024px) {
  .advantages__grid { grid-template-columns: 1fr 1fr; }
  .adv-card--wide { grid-column: span 2; }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { gap: 40px; }
}

/* ===== RESPONSIVE — 768 ===== */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav__menu { display: none; }
  .nav__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav__burger { display: flex; }
  .nav__cta span { display: none; }
  .nav__cta svg { display: none; }
  .nav__cta::before { content: 'WA'; font-size: 0.75rem; }
  .nav__cta { padding: 8px 14px; }

  .hero { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { aspect-ratio: 16 / 10; }

  .pains__grid { grid-template-columns: 1fr; }
  .pain-card__num { font-size: 5rem; }

  .advantages__grid { grid-template-columns: 1fr; }
  .adv-card--wide { grid-column: span 1; }

  .products__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .step__num { font-size: 7rem; }

  .trust__inner { grid-template-columns: 1fr; }
  .trust__photo { display: none; }
  .trust-section { padding: 80px 0; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .contact__card { padding: 32px 24px; }
}

/* ===== RESPONSIVE — 480 ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .hero__title { font-size: 2.25rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; }

  .pain-card { padding: 28px; }
  .pain-card__num { font-size: 4rem; }

  .steps__grid { grid-template-columns: 1fr; }
  .step__num { font-size: 6rem; }

  .trust__stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat__num { font-size: 2.5rem; }

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

  .wa-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}
