/* Budget tech and affordable gadgets — gadgets under 50
   палитра: светлая-нейтральная | стиль: умеренный | код: layout-компонент
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #ffffff;
  --color-text: #16181d;
  --color-muted: #5b6270;
  --color-accent: #2f5bd6;
  --color-surface: #f4f6fa;
  --color-on-accent: #ffffff;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Mulish', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 2px 8px rgb(0 0 0 / .06);
  --container: 72rem;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* .swiper-pagination (vendor) всегда z-index:10 и растянута на всю ширину —
   кнопки листания не должны оказаться под ней, с каким бы z-index их ни
   поставила секционная раскладка. */
[data-slider-prev], [data-slider-next] { z-index: 20 !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); margin: 0 0 1.1em; max-width: 68ch; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.l-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  overflow-x: hidden;
}

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section:nth-of-type(even) { background: var(--color-surface); }

.l-section__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .6rem;
}

/* шапка */
.c-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--color-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent);
}
.c-header--transparent { background: transparent; border-bottom-color: transparent; }
.c-header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.c-header__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.c-nav__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.c-nav__link { display: block; padding: .5rem .9rem; border-radius: var(--radius);
  color: var(--color-text); text-decoration: none; font-weight: 500;
  transition: background .2s ease, color .2s ease; }
.c-nav__link:hover { background: var(--color-surface); }
.c-nav__link.js-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.c-nav--split { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.c-header__burger { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.c-header__burger span { width: 22px; height: 2px; background: var(--color-text); }

/* футер */
.c-footer { background: var(--color-surface); }
.c-footer--contrast { background: var(--color-text); color: var(--color-bg); }
.c-footer--contrast a { color: inherit; }
.c-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem); }
.c-footer__row { display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-block: 1.6rem; font-size: .9rem; }
.c-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 .4rem; }
.c-footer__tagline { opacity: .75; font-size: .95rem; }
.c-footer__title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; margin-bottom: .9rem; }
.c-footer__address { font-style: normal; line-height: 1.7; }
.c-footer__hours { opacity: .75; font-size: .92rem; margin-top: .7rem; }
.c-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.c-footer__cookie { background: none; border: 0; padding: 0; color: inherit;
  text-decoration: underline; cursor: pointer; font: inherit; }
.c-footer__bottom { display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 1.2rem; font-size: .85rem; opacity: .75;
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); }
.c-footer__bottom p { margin: 0; }

/* кнопки */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.c-btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.c-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.c-btn--ghost { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.c-btn--ghost:hover { background: var(--color-accent); color: var(--color-on-accent); }

/* формы */
.c-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.c-form input, .c-form textarea {
  width: 100%; padding: .8rem 1rem; margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit;
}
.c-form input:focus, .c-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.c-form [aria-invalid="true"] { border-color: #c62828; }
.c-form__error { color: #c62828; font-size: .85rem; margin: -.7rem 0 .9rem; }
.c-form__ok { background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-radius: var(--radius); padding: 1rem; font-weight: 600; }
.c-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.c-form__consent input { width: auto; margin: .25rem 0 0; }

/* плашка cookie */
.c-cookie {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1080;
  background: var(--color-surface);
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  box-shadow: 0 -8px 30px rgb(0 0 0 / .12);
  transform: translateY(100%); transition: transform .35s ease;
}
.c-cookie.js-visible { transform: translateY(0); }
.c-cookie__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.c-cookie__text p { margin: 0; font-size: .92rem; max-width: 70ch; }
.c-cookie__actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.c-cookie__configure { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.c-cookie__options { display: grid; gap: .6rem; margin-top: 1rem; }
.c-cookie__option { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.c-cookie__option span { grid-column: 2; font-weight: 400; opacity: .75; }

/* правовые страницы */
.c-legal { background: var(--color-bg); }
.c-legal__inner { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.c-legal h2 { margin-top: 2.2rem; }
.c-legal h3 { margin-top: 1.4rem; }
.c-legal__updated { color: var(--color-muted); font-size: .9rem; }
.c-legal__table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.c-legal__table th, .c-legal__table td { text-align: left; padding: .7rem .9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); vertical-align: top; }
.c-legal__table th { width: 34%; font-weight: 600; }
.c-legal__back { margin-top: 2.5rem; }
/* анимации: без JS всё видно */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 991px) {
  .c-footer__inner { grid-template-columns: 1fr 1fr; }
  .c-cookie__inner { flex-direction: column; align-items: stretch; }
  .c-cookie__actions { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .c-header__burger { display: flex; }
  .c-header__cta { display: none; }
  .c-nav { display: none; width: 100%; }
  .c-nav.js-open { display: block; }
  .c-nav__list { flex-direction: column; padding-block: .6rem; }
  .c-header__inner { flex-wrap: wrap; }
  .c-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .c-footer__bottom, .c-footer__row { flex-direction: column; }
  .c-cookie__actions .c-btn { flex: 1 1 auto; }
}

/* Секционные раскладки: слой layout */
.l-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.l-grid--2, .l-grid--3, .l-grid--4 { grid-template-columns: 1fr; }
.l-grid--center { align-items: center; }

/* Секционные раскладки: слой components */
.c-eyebrow {
  color: var(--color-accent); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; margin-bottom: .7rem;
}
.c-lead { color: var(--color-muted); margin-bottom: 2rem; }
.c-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.c-btn--outline { color: var(--color-accent); background: transparent; border-color: var(--color-accent); }
.c-btn--outline:hover { color: var(--color-on-accent); background: var(--color-accent); transform: translateY(-2px); }
.c-btn--light { color: var(--color-accent); background: var(--color-on-accent); }
.c-btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.c-text-link { display: inline-block; margin-top: 1rem; font-weight: 700; }

.c-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.9rem;
  background: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.c-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.35rem; }
.c-card__icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem;
  color: var(--color-on-accent); background: var(--color-accent); border-radius: 50%; font-weight: 800;
}

.c-hero { min-height: 80vh; display: flex; align-items: center; }
.c-hero__copy { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.c-hero__image { width: 100%; max-height: 25rem; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.c-page-hero { min-height: min(80vh, 48rem); display: flex; align-items: center; }
.c-page-hero img, #about > .l-container > img, #topic-03 img, #enfoque img, #equipo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}

#topic-01 .l-grid { gap: 1rem; }
#topic-01 .c-card { position: relative; overflow: hidden; }
#topic-01 .c-card__icon { position: absolute; top: 2.35rem; left: 2.35rem; box-shadow: 0 0 0 5px var(--color-bg); }

.c-slider { position: relative; padding: .25rem .25rem 3.5rem; overflow: hidden; }
.c-slider .swiper-wrapper { align-items: stretch; }
.c-slider .swiper-slide { height: auto; }
.c-slider__prev, .c-slider__next {
  position: absolute; bottom: .15rem; width: 2.65rem; height: 2.65rem; border: 0;
  border-radius: 50%; background: var(--color-accent); cursor: pointer;
}
.c-slider__prev { left: .25rem; }
.c-slider__next { right: .25rem; }
.c-slider__prev::before, .c-slider__next::before {
  content: ''; position: absolute; inset: .82rem; border-top: 2px solid var(--color-on-accent); border-right: 2px solid var(--color-on-accent);
}
.c-slider__prev::before { transform: rotate(-135deg); left: .95rem; }
.c-slider__next::before { transform: rotate(45deg); right: .95rem; }
.c-slider .swiper-pagination { bottom: .8rem; }
.c-slider .swiper-pagination-bullet-active { background: var(--color-accent); }

.c-asides { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.c-asides__note { padding: 1.4rem; background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius); }
.c-asides__note strong, .c-asides__note span { display: block; }
.c-asides__note strong { font-family: var(--font-heading); font-size: 2rem; }
.c-asides > div { padding: 1.25rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); }

.c-gallery figure { margin: 0; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--color-bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.c-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.c-gallery figcaption { flex: 1; padding: 1.5rem; border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

.c-wide-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.c-copy { max-width: 54rem; margin-inline: auto; columns: 1; }
.c-copy p { break-inside: avoid; }

#topic-07 .l-grid > div { padding-top: 1.25rem; border-top: 3px solid var(--color-accent); }
.c-table { width: 100%; min-width: 44rem; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.c-table th, .c-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent); }
.c-table thead th { background: var(--color-accent); color: var(--color-on-accent); }
.c-table tbody th { font-weight: 800; }
.c-table tr:last-child > * { border-bottom: 0; }

#topic-09 .c-card { border-top: 4px solid var(--color-accent); }
#topic-09 .c-btn { margin-top: 1.5rem; }
.c-stats { margin: 2rem 0; }
.c-stat { padding: 1.75rem 1rem; text-align: center; background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.c-stat strong, .c-stat span { display: block; }
.c-stat strong { color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; }
.c-stat span { margin-top: .6rem; color: var(--color-muted); font-weight: 700; }

.c-timeline, .c-numbered { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.c-timeline { position: relative; max-width: 48rem; }
.c-timeline::before { content: ''; position: absolute; left: 1.25rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--color-accent); }
.c-timeline li { position: relative; padding: 0 0 1.6rem 4rem; counter-increment: steps; }
.c-timeline li::before { content: counter(steps); position: absolute; left: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--color-on-accent); background: var(--color-accent); border-radius: 50%; font-weight: 800; }
.c-numbered { display: grid; gap: .75rem; }
.c-numbered li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.4rem; counter-increment: steps; background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent); border-radius: var(--radius); }
.c-numbered li::before { content: '0' counter(steps); color: var(--color-accent); font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; }

.c-quote { color: var(--color-on-accent); background: var(--color-accent) !important; }
.c-quote .c-eyebrow { color: var(--color-on-accent); opacity: .8; }
.c-quote blockquote { max-width: 55rem; margin: 1.4rem 0 2rem; font-family: var(--font-heading); font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.35; }
.c-logo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 2rem 0; overflow: hidden; background: color-mix(in srgb, var(--color-muted) 30%, transparent); border: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent); border-radius: var(--radius); }
.c-logo-strip span { padding: 1.4rem .75rem; text-align: center; background: var(--color-bg); color: var(--color-muted); font-weight: 800; filter: grayscale(1); }

.c-price { position: relative; }
.c-price ul { padding-left: 1.25rem; margin-bottom: 1.6rem; }
.c-price > .c-btn { width: 100%; margin-top: auto; }
.c-price__amount { margin: .8rem 0 0; color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.c-price--featured { border: 2px solid var(--color-accent); }
.c-badge { align-self: flex-start; margin-bottom: 1rem; padding: .35rem .7rem; color: var(--color-on-accent); background: var(--color-accent); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.c-price__note { margin-top: 1.5rem; max-width: none; }
.c-pricing:not(.swiper) { align-items: stretch; }

.c-accordion { max-width: 54rem; margin-top: 2rem; }
.c-accordion .accordion-item { border-color: color-mix(in srgb, var(--color-muted) 30%, transparent); background: var(--color-bg); }
.c-accordion .accordion-button { color: var(--color-text); background: var(--color-bg); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }
.c-accordion .accordion-button:not(.collapsed) { color: var(--color-accent); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-muted) 22%, transparent); }
.c-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--color-accent) 25%, transparent); }
.c-accordion .accordion-body { padding: 1.25rem; }

#contacts iframe, #contact-details iframe { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.c-form { max-width: 52rem; padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-muted) 28%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.c-form__wide { grid-column: 1 / -1; }
.c-form__check { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
.c-form__check input { width: auto; margin-top: .35rem; }
.c-sticky-cta { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 1020; padding: .8rem 1rem; color: var(--color-on-accent); background: var(--color-accent); border-radius: var(--radius); box-shadow: 0 4px 18px rgb(0 0 0 / .2); font-weight: 800; text-decoration: none; }
.c-cta { text-align: center; }
.c-cta p { margin-inline: auto; }

@media (min-width: 576px) {
  .c-logo-strip { grid-template-columns: repeat(3, 1fr); }
  .c-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .l-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #topic-01 .l-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-asides { grid-template-columns: minmax(9rem, .34fr) minmax(0, 1fr); align-items: stretch; }
  .c-copy { columns: 2; column-gap: 2.5rem; }
  .c-logo-strip { grid-template-columns: repeat(6, 1fr); }
  .c-numbered li { grid-template-columns: 5rem 1fr; padding: 1.75rem; }
  .c-numbered li::before { font-size: 2.4rem; }
  .c-price--featured { transform: translateY(-.75rem); }
  .c-sticky-cta { display: none; }
}

@media (min-width: 992px) {
  .l-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-hero__copy { grid-template-columns: 1.12fr .88fr; }
  #topic-03 .l-grid, #about > .l-container { gap: 4rem; }
}

@media (max-width: 575px) {
  .c-actions, .c-actions .c-btn { width: 100%; }
  .c-actions .c-btn { flex: 1 1 100%; }
  .c-hero { min-height: 80vh; }
  .c-hero__image { aspect-ratio: 3 / 2; }
  .c-card { padding: 1.35rem; }
  .c-cookie__actions { flex-direction: column; }
  .c-cookie__actions .c-btn, .c-cookie__configure { width: 100%; }
}
