/* ================================================================
   ТОМИКА V2 — Base Styles, Variables, Typography, Utilities
   ================================================================ */

:root {
  /* Brand — UI-kit v2 */
  --tomica-orange: #F68B1F;
  --tomica-orange-dark: #E07D14;
  --tomica-orange-light: #FFF3E6;
  --tomica-orange-soft: #FFE8D0;

  /* Text */
  --text-dark: #231815;
  --text-medium: #5B5B5B;
  --text-light: #939393;
  --text-muted: #B0A8A0;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-gray: #F5F7FA;
  --bg-warm: #F7F5F2;
  --bg-dark: #231815;
  --bg-blue: #E6F3FF;

  /* Borders */
  --border-light: #E7E7E7;
  --border-medium: #D4D4D4;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(35, 24, 21, 0.06);
  --shadow-md: 0 8px 24px rgba(35, 24, 21, 0.08);
  --shadow-lg: 0 16px 48px rgba(35, 24, 21, 0.10);
  --shadow-orange: 0 8px 24px rgba(246, 139, 31, 0.22);
  --shadow-glass: 0 8px 32px rgba(35, 24, 21, 0.08);

  /* Layout */
  --container: 1200px;
  --container-narrow: 960px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cross-page transition overlay */
body.is-desaturated {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.page-transition {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ffffff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.page-transition.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-transition.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.page-transition__logo {
  width: 140px;
  height: auto;
  overflow: visible;
}


img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ================================================================
   Typography
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-medium);
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-muted {
  color: var(--text-muted);
}

/* ================================================================
   Buttons
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast),
              background-color var(--transition-fast),
              box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--tomica-orange);
  color: var(--bg-white);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--tomica-orange-dark);
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.28);
}

.btn--secondary {
  background: var(--bg-white);
  color: var(--tomica-orange-dark);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--tomica-orange);
  color: var(--tomica-orange);
  box-shadow: var(--shadow-md);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn--dark:hover {
  background: #3D3025;
}

.btn--ghost {
  background: transparent;
  color: var(--tomica-orange);
  border: 1.5px solid var(--tomica-orange);
}

.btn--ghost:hover {
  background: var(--tomica-orange-light);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--large {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ================================================================
   Cards
   ================================================================ */

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--accent {
  border-color: var(--tomica-orange-soft);
  box-shadow: var(--shadow-orange);
}

.card--accent:hover {
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.22);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
}

.card--dark h3,
.card--dark h4 {
  color: var(--bg-white);
}

.card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   Section base
   ================================================================ */

.section {
  padding: 80px 0;
}

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

.section--warm {
  background: var(--bg-warm);
}

.page-internet .section.section--warm.faq {
  background: #fff;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--bg-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.125rem;
}

/* ================================================================
   Grid helpers
   ================================================================ */

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

/* ================================================================
   Tag / Pill
   ================================================================ */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.tag--orange {
  background: var(--tomica-orange-light);
  color: var(--tomica-orange-dark);
}

.tag--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

/* Eyebrow */
.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--tomica-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section--dark .eyebrow {
  color: var(--tomica-orange);
}

/* ================================================================
   Form elements
   ================================================================ */

.input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  outline: none;
}

.input:focus {
  border-color: var(--tomica-orange);
  box-shadow: 0 0 0 4px var(--tomica-orange-light);
}

.input::placeholder {
  color: var(--text-muted);
}

/* ================================================================
   HEADER
   ================================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 44px;
  width: auto;
  display: block;
}

.logo__img--footer {
  opacity: 0.95;
}

.logo__img--mobile {
  display: none;
}

/* Fallback text logo (used if image fails) */
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--tomica-orange);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.logo--light .logo__text {
  color: var(--bg-white);
}

/* Header scroll states */
.header {
  transition: transform .3s ease, box-shadow .2s ease;
}

.header.is-scrolled {
  box-shadow: var(--shadow-lg);
}

.header.is-hidden {
  transform: translateY(-120%);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: var(--radius-full);
  transition: color var(--transition-fast),
              background var(--transition-fast);
}

.nav__link:hover {
  color: var(--tomica-orange);
  background: var(--tomica-orange-light);
}

.nav__link--top {
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

.nav__item {
  position: relative;
}

.nav__link--has-menu {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.nav__link--has-menu::after {
  content: '▼';
  margin-left: 6px;
  font-size: 0.65em;
  vertical-align: middle;
  display: inline-block;
  transition: transform .25s ease;
}

.nav__item.is-open .nav__link--has-menu::after {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.nav__dropdown a:hover {
  background: var(--tomica-orange-light);
  color: var(--tomica-orange);
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--tomica-orange);
}

.header__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--tomica-orange);
}

.header__toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-medium);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header__toggle-btn.is-active {
  background: var(--text-dark);
  color: #fff;
}

.hero__toggle {
  display: none;
}

/* Account widget in header */
.account-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-widget__name-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 140px;
  padding: 8px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--tomica-orange-soft);
  color: var(--text-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.account-widget__name-btn:hover {
  background: var(--tomica-orange-soft);
  border-color: var(--tomica-orange);
}

.account-widget__balance-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 150px;
  padding: 5px 6px 5px 16px;
  border-radius: 22px;
  background: rgba(255, 243, 232, 0.92);
  border: 1px solid var(--tomica-orange-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.account-widget__balance-box:hover {
  background: var(--tomica-orange-soft);
  border-color: var(--tomica-orange);
}

.account-widget__balance {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--tomica-orange-dark);
  line-height: 1;
  white-space: nowrap;
}

.account-widget__topup {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--tomica-orange);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.account-widget__topup:hover {
  background: var(--tomica-orange-dark);
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .account-widget {
    gap: 6px;
  }

  .account-widget__name-btn {
    max-width: 110px;
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .account-widget__balance-box {
    min-width: auto;
    gap: 8px;
    padding: 4px 4px 4px 10px;
  }

  .account-widget__balance {
    font-size: 0.875rem;
  }

  .account-widget__topup {
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
  }
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 0;
}

.header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition-fast),
              opacity var(--transition-fast);
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ================================================================
   MOBILE SIDEBAR
   ================================================================ */

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateX(110%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.mobile-sidebar__overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 24, 21, 0.45);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-sidebar__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.mobile-sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-gray);
  color: var(--text-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-sidebar__header:has(.mobile-sidebar__contract) {
  justify-content: flex-start;
  gap: 10px;
}

.mobile-sidebar__header:has(.mobile-sidebar__contract) .mobile-sidebar__close {
  margin-left: auto;
}

.mobile-sidebar__contract {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 140px;
  padding: 8px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--tomica-orange-soft);
  color: var(--text-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-sidebar__contract:hover {
  background: var(--tomica-orange-soft);
  border-color: var(--tomica-orange);
}

.mobile-sidebar__balance-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: auto;
  padding: 4px 4px 4px 10px;
  border-radius: 22px;
  background: rgba(255, 243, 232, 0.92);
  border: 1px solid var(--tomica-orange-soft);
}

.mobile-sidebar__balance {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--tomica-orange-dark);
  line-height: 1;
  white-space: nowrap;
}

.mobile-sidebar__topup {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--tomica-orange);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-sidebar__topup:hover {
  background: var(--tomica-orange-dark);
  transform: scale(1.08);
}

.mobile-sidebar__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  text-decoration: none;
}

.mobile-sidebar__pay::after {
  content: '›';
  font-size: 1.1rem;
  color: var(--text-muted);
}


.mobile-sidebar__section {
  border-bottom: 1px solid var(--border-light);
}

.mobile-sidebar__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  text-align: left;
}

.mobile-sidebar__toggle::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform .25s ease;
}

.mobile-sidebar__section.is-open .mobile-sidebar__toggle::after {
  transform: rotate(180deg);
}

.mobile-sidebar__links {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.mobile-sidebar__section.is-open .mobile-sidebar__links {
  max-height: 400px;
}

.mobile-sidebar__links a {
  display: block;
  padding: 12px 20px 12px 32px;
  font-size: 0.9375rem;
  color: var(--text-medium);
  transition: color .2s ease, background .2s ease;
}

.mobile-sidebar__links a:hover,
.mobile-sidebar__links a:focus {
  color: var(--tomica-orange);
  background: var(--bg-warm);
}

.mobile-sidebar__phone {
  display: block;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tomica-orange-dark);
}

.mobile-sidebar__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
}

.mobile-sidebar__footer .btn {
  width: 100%;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  padding: 48px 0 80px;
  background: var(--bg-white) url('images/hero-bg.png') no-repeat right center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.hero--home {
  background-color: #F7F8FC;
  background-image: url('images/fon_fizlica.png?v=122');
}

.hero--hosting {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/hosting.png') no-repeat center center;
  background-size: cover;
  color: #fff;
}

.hero--hosting .hero__tag {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}

.hero--hosting .hero__content h1,
.hero--hosting .hero__lead {
  color: #fff;
}

.hero--home .speed-badge {
  width: 224px;
}

/* Toggle: Для бизнеса / Для дома */
.hero__toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-white);
  border: 1.5px solid var(--tomica-orange);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero__toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-medium);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.hero__toggle-btn.is-active {
  background: var(--text-dark);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

/* Hero eyebrow tag */
.hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--tomica-orange);
  color: var(--bg-white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* Hero form — UI-kit style */
.hero__form {
  display: flex;
  gap: 0;
  max-width: 520px;
  background: var(--bg-white);
  border-radius: var(--radius-full);
  padding: 6px;
  box-shadow: 0 4px 20px rgba(35, 24, 21, 0.10);
  border: 1.5px solid var(--border-light);
}

.hero__form .input {
  flex: 1;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 14px 20px;
}

.hero__form .input:focus {
  box-shadow: none;
}

.hero__form .btn {
  flex-shrink: 0;
  border-radius: var(--radius-full);
  padding: 14px 28px;
}

/* Speed badges floating */
/* Speed badges floating */
.hero__speed-badges {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
}

.hero__speed-badges--left {
  top: 15%;
  right: 280px;
}

.hero__speed-badges--right {
  top: 10%;
  right: 80px;
}

.speed-badge {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(35,24,21,0.12));
}

/* Advantage badges (glass cards) */
.hero__advantages {
  position: absolute;
  bottom: 60px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.advantage-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 240px;
}

.advantage-badge__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.advantage-badge strong {
  display: block;
  font-weight: 700;
}

.advantage-badge span {
  font-size: 0.8rem;
  color: var(--text-medium);
  font-weight: 400;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__tag {
  margin-bottom: 20px;
}

.hero__content h1 {
  margin-bottom: 16px;
}

.hero__lead {
  margin-bottom: 32px;
  max-width: 520px;
}

/* Quick links */
.hero__quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast);
}

.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--tomica-orange-soft);
}

.quick-link--dark {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

.quick-link--dark:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.quick-link__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.quick-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-link__text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.quick-link--dark .quick-link__text strong {
  color: var(--bg-white);
}

.quick-link__text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.quick-link--dark .quick-link__text span {
  color: rgba(255, 255, 255, 0.6);
}

/* Hero form — pill style (merged) */
.hero__form .input {
  flex: 1;
}

.hero__form .btn {
  flex-shrink: 0;
}

.hero__form-note {
  margin-top: 10px;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ================================================================
   WHY ТОМИКА
   ================================================================ */

.why-card {
  padding: 32px 24px;
  text-align: center;
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--tomica-orange-light);
  border-radius: var(--radius-md);
}

.why-card h4 {
  margin-bottom: 8px;
}

/* ================================================================
   TARIFFS
   ================================================================ */

.tariff-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tariff-card--popular {
  border-color: var(--tomica-orange);
  transform: scale(1.02);
}

.tariff-card--popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.tariff-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--tomica-orange);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.tariff-card__header {
  margin-bottom: 16px;
}

.tariff-card__header h3 {
  margin-bottom: 4px;
}

.tariff-card__speed {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tariff-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.tariff-card__price strong {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.tariff-card__price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.tariff-card__features {
  flex: 1;
  margin-bottom: 20px;
}

.tariff-card__features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-medium);
  border-bottom: 1px dashed var(--border-light);
}

.tariff-card__features li:last-child {
  border-bottom: none;
}

.tariff-card__btn {
  width: 100%;
  margin-bottom: 12px;
}

.tariff-card__note {
  text-align: center;
}

.tariff-card--category {
  justify-content: flex-start;
  min-height: auto;
}

.tariff-card--category .tariff-card__header {
  display: block;
  margin-bottom: 16px;
}

.tariff-card--category h3 {
  font-size: 1.25rem;
  text-align: left;
}

.tariffs-grid--business {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 32px;
}

@media (max-width: 1131px) {
  .tariffs-grid--business {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.business-tariffs {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

.business-tariffs__lead {
  margin: 0 0 24px;
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

.business-tariffs .feature-list {
  text-align: left;
  margin-bottom: 24px;
}

.business-tariffs .feature-list strong {
  color: var(--text-dark);
}

/* ================================================================
   TARIFFS TOGGLE
   ================================================================ */

.tariffs-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.tariffs-toggle__btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tariffs-toggle__btn:hover {
  border-color: var(--tomica-orange);
  color: var(--tomica-orange);
  transform: translateY(-2px);
}

.tariffs-toggle__btn.is-active {
  background: var(--tomica-orange);
  color: var(--bg-white);
  border-color: var(--tomica-orange);
}

.tariffs-group {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tariffs-group.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   SERVICES (Tiles)
   ================================================================ */

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  min-width: 0;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tomica-orange-soft);
}

.service-tile--dark {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

.service-tile--dark:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.service-tile__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-tile h4 {
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-tile--dark h4 {
  color: var(--bg-white);
}

.service-tile p {
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* ================================================================
   PRODUCT SECTIONS (TV, Video, Hosting)
   ================================================================ */

.product-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-section--reversed .product-section__grid {
  direction: rtl;
}

.product-section--reversed .product-section__content,
.product-section--reversed .product-section__visual {
  direction: ltr;
}

.product-section__content h2 {
  margin-bottom: 16px;
}

.product-section__content > .text-large {
  margin-bottom: 32px;
}

.product-section__content .btn {
  margin-top: 8px;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-list__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.feature-list__item strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

/* Product visuals */
.product-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-section__visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Hosting section: full-width image with gradient text overlay */
#hosting .product-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
  position: relative;
  align-items: stretch;
  gap: 0;
}

#hosting .product-section__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  order: 0;
  max-width: none;
  margin: 0;
  display: block;
}

#hosting .product-section__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
}

#hosting .product-section__content {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: start;
  max-width: 70%;
  padding: 56px 96px 56px 48px;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 60%,
    rgba(255, 255, 255, 0.8) 80%,
    rgba(255, 255, 255, 0) 100%);
  border-radius: 0 28px 28px 0;
}

.product-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
}

/* TV visual */
.tv-screen {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.tv-screen__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tomica-orange);
  margin-bottom: 20px;
}

.tv-screen__channels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}

.tv-screen__channels span {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.tv-remote {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 60px;
  height: 120px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px;
  place-items: center;
}

.tv-remote span {
  width: 16px;
  height: 16px;
  background: var(--border-light);
  border-radius: 50%;
}

/* Camera visual */
.camera-body {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 80px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-lens {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tomica-orange), var(--tomica-orange-dark));
  border: 4px solid var(--bg-gray);
}

.camera-led {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: #39B86D;
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.camera-stand {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 60px;
  background: var(--border-medium);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.camera-stand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 8px;
  background: var(--border-medium);
  border-radius: var(--radius-sm);
}

.camera-signal {
  position: absolute;
  top: 15%;
  right: 20%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.camera-signal span {
  height: 3px;
  background: var(--tomica-orange);
  border-radius: var(--radius-full);
  opacity: 0.4;
  animation: signal 1.5s infinite ease-in-out;
}

.camera-signal span:nth-child(1) { width: 8px; animation-delay: 0s; }
.camera-signal span:nth-child(2) { width: 16px; animation-delay: 0.2s; }
.camera-signal span:nth-child(3) { width: 24px; animation-delay: 0.4s; }

@keyframes signal {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}


   BUSINESS SECTION
   ================================================================ */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.business-grid > *:last-child:nth-child(3n+1) {
  grid-column: 2 / 3;
}

@media (max-width: 1131px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .business-grid > *:last-child:nth-child(3n+1) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .business-grid {
    grid-template-columns: 1fr;
  }
}

  .business-card {
    padding: 20px;
  }

  .business-card__icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .business-card h4 {
    font-size: 1rem;
  }

  .business-card p {
    font-size: 0.8rem;
  }
}

.business-card {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.business-card h4 {
  margin-bottom: 10px;
  color: var(--bg-white);
  text-align: center;
  width: 100%;
}

.business-card p {
  text-align: center;
  width: 100%;
}

.business-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  text-align: center;
  width: 100%;
}

.business-cta {
  text-align: center;
  margin-top: 40px;
}

/* ================================================================
   EQUIPMENT
   ================================================================ */

.equipment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.equipment-card__visual {
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 260px;
}

.equipment-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equipment-card__content h4 {
  margin-bottom: 8px;
}

.equipment-card__content p {
  margin-bottom: 16px;
}

.equipment-card__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tomica-orange);
  margin-bottom: 16px;
}

.equipment-placeholder {
  position: relative;
  width: 160px;
  height: 120px;
}

/* Router visual */
.router-body {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.router-antenna {
  position: absolute;
  bottom: 55px;
  width: 6px;
  height: 50px;
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

.router-antenna:nth-of-type(2) {
  left: 35px;
  transform: rotate(-15deg);
}

.router-antenna:nth-of-type(3) {
  right: 35px;
  transform: rotate(15deg);
}

.router-leds {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.led--green {
  background: #39B86D;
}

.led--orange {
  background: var(--tomica-orange);
}

/* TV Box visual */
.tvbox-body {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.tvbox-port {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

.tvbox-led {
  position: absolute;
  bottom: 35px;
  right: 45px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ================================================================
   MAX BUTTON
   ================================================================ */

.btn--max {
  background: #0088cc;
  color: var(--bg-white);
  border-color: #0088cc;
}

.btn--max:hover {
  background: #006daa;
}

/* ================================================================
   PROMO SLIDER
   ================================================================ */

.promo-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), var(--shadow-lg);
  margin-top: 24px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.page-business .promo-slider {
  margin-bottom: 48px;
}

.promo-slider__track {
  position: relative;
  width: 100%;
  height: 420px;
}

.promo-slide {
  position: absolute;
  inset: 0;
  padding: 60px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94), opacity 0.6s ease;
  opacity: 1;
  z-index: 1;
  color: #fff;
  background: linear-gradient(135deg, #F68B1F 0%, #E07D14 40%, #D46A0A 100%);
}

.promo-slide.is-active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
}

.promo-slide.is-exit-left {
  transform: translateX(-35%) scale(0.94);
  opacity: 0.55;
  z-index: 1;
}

.promo-slide.is-exit-right {
  transform: translateX(35%) scale(0.94);
  opacity: 0.55;
  z-index: 1;
}

.promo-slide.is-enter-left {
  transform: translateX(-100%) scale(0.96);
  opacity: 1;
  z-index: 2;
}

.promo-slide.no-transition {
  transition: none !important;
}

/* Decorative background circles */
.promo-slide__decor {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 240px;
  height: 240px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .6s ease, transform .6s ease;
}

.promo-slide__decor svg {
  width: 100%;
  height: 100%;
}

/* Big icon on slide */
.promo-slide__icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 120px;
  height: 120px;
  color: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity .6s ease .15s, transform .6s ease .15s;
}

.promo-slide__icon svg {
  width: 100%;
  height: 100%;
}

/* Badge on slide */
.promo-slide__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 20px;
}

.promo-slide h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: inherit;
  position: relative;
  z-index: 2;
}

.promo-slide p {
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.65;
  opacity: .9;
  color: inherit;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.promo-slide__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.promo-slide__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--promo-price-color, rgba(255,255,255,0.85));
}

.promo-slide__price strong {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--promo-price-color, #fff);
}

.promo-slide__price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--promo-price-color, rgba(255,255,255,0.7));
}

/* Slide background image */
.promo-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--promo-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
}

@media (max-width: 1131px) {
  .promo-slide__bg {
    background-image: var(--promo-bg-mobile);
  }
}

/* Slide themes */
.promo-slide--internet {
  color: #fff;
  background: linear-gradient(135deg, #F68B1F 0%, #E07D14 40%, #D46A0A 100%);
}

.promo-slide--tv {
  color: #fff;
  background: linear-gradient(135deg, #2D3340 0%, #1a1f2e 50%, #0f131f 100%);
}

.promo-slide--video {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
}

/* Button on slide */
.promo-slide .btn--light {
  background: rgba(255,255,255,0.95);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.promo-slide .btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Dots */
.promo-slider-wrapper {
  position: relative;
}

.promo-slider__dots-wrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.promo-slider__dots {
  display: flex;
  gap: 10px;
  z-index: 10;
}

.promo-slider__dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.35);
  transition: background .25s ease, transform .25s ease;
}

.promo-slider__dot:hover {
  transform: scale(1.2);
}

.promo-slider__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Arrows */
.promo-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--text-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: background .2s ease, transform .2s ease;
}

.promo-slider__arrow svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.promo-slider__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.promo-slider__arrow--prev {
  left: 36px;
}

.promo-slider__arrow--next {
  right: 36px;
}

/* Animate visible slide decorations */
.promo-slide.is-active .promo-slide__decor {
  opacity: 1;
  transform: scale(1);
}

.promo-slide.is-active .promo-slide__icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ================================================================
   SCROLL ANIMATION
   ================================================================ */

html.has-scroll-animation {
  scroll-behavior: auto;
}

.scroll-animation {
  position: relative;
  margin: 0;
  padding: 0;
}

.scroll-animation__heading {
  position: relative;
  text-align: center;
  padding: 60px 16px 40px;
  z-index: 5;
}

.scroll-animation__heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.scroll-animation__body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.scroll-animation__slides {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-animation__slides-inner {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #fff;
}

.scroll-animation__lyrics {
  padding-top: 50vh;
  padding-bottom: 50vh;
}

.annotation-card {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  max-width: 420px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0;
  margin-bottom: 28vh;
  opacity: 0.35;
  transform: scale(0.96);
  filter: blur(1px);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  pointer-events: auto;
  z-index: 10;
  box-shadow: none;
}

.annotation-card:last-child {
  margin-bottom: 0;
}

.annotation-card.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.annotation-card.is-active .card-title {
  color: var(--text-dark);
}

.annotation-card.is-active .card-number {
  color: var(--tomica-orange);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-soft);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  transition: color 0.45s ease;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 8px;
  line-height: 1.2;
  transition: color 0.45s ease;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.55;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.annotation-card.is-active .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.card-stat {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.annotation-card.is-active .card-stat {
  opacity: 1;
  transform: translateY(0);
}

.card-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tomica-orange-dark);
  display: block;
}

.card-stat-label {
  font-size: 0.75rem;
  color: var(--text-medium);
  display: block;
  margin-top: 2px;
}

.scroll-animation__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 1;
}

.scroll-animation__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.scroll-animation__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.scroll-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 20;
  transition: opacity 0.5s ease;
}

.scroll-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-loader__bar {
  width: 160px;
  height: 3px;
  background: var(--border-light);
  border-radius: 3px;
  margin: 12px auto 0;
  overflow: hidden;
}

.scroll-loader__fill {
  height: 100%;
  width: 0%;
  background: var(--tomica-orange);
  border-radius: 3px;
  transition: width 0.2s ease;
}

.scroll-loader__text {
  font-size: 0.8rem;
  color: var(--text-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ================================================================
   DARK TRUST SECTION
   ================================================================ */

.trust-section {
  padding: 72px 0;
  border-radius: 0;
}

.trust-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.trust-split__text h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  color: #fff;
}

.trust-split__text p {
  margin: 0 0 14px;
  color: rgba(247,242,235,.75);
}

.trust-split__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.trust-split__num {
  text-align: center;
}

.trust-split__num strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--tomica-orange);
  margin-bottom: 4px;
}

.trust-split__num span {
  font-size: .88rem;
  color: rgba(247,242,235,.75);
}

.trust-split__photo {
  aspect-ratio: 3/2;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(245,130,32,.15);
  display: grid;
  place-items: center;
}

.trust-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.clients-strip__label {
  font-size: .85rem;
  font-weight: 700;
  opacity: .5;
  margin-right: 8px;
  color: rgba(247,242,235,.75);
}

.clients-strip span {
  font-size: .92rem;
  font-weight: 600;
  opacity: .6;
  color: rgba(247,242,235,.75);
}

/* ================================================================
   TESTIMONIALS CAROUSEL
   ================================================================ */

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-item {
  width: 100%;
  flex-shrink: 0;
  transition: opacity .3s ease;
}

.testimonial-item blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-item cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
}

.testimonial-item cite strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
}

.testimonial-item cite span {
  color: var(--text-medium);
  font-size: .88rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-prev,
.testimonial-next {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color .2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  border-color: var(--tomica-orange);
}

.testimonial-counter {
  color: var(--text-medium);
  font-size: .88rem;
  font-weight: 600;
}

/* ================================================================
   STEPS (How to connect)
   ================================================================ */

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

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--tomica-orange-light);
  color: var(--tomica-orange);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-md);
}

.step-card h4 {
  margin-bottom: 8px;
}

/* ================================================================
   FAQ
   ================================================================ */

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 100px;
}

.faq-heading .eyebrow {
  margin-bottom: 12px;
}

.faq-heading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  white-space: nowrap;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}

.faq-item {
  padding: 20px 24px;
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: box-shadow 0.25s ease;
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
}

@media (hover: hover) {
  .faq-item:hover {
    box-shadow: var(--shadow-md);
  }
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.25s ease;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-inner p {
  margin: 14px 0 10px;
  color: var(--text-medium);
  line-height: 1.75;
}

.faq-item__answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-item__answer-inner p + p {
  margin-top: 10px;
}

.faq-item__answer-inner ul,
.faq-item__answer-inner ol {
  margin: 10px 0 14px;
  padding-left: 22px;
  color: var(--text-medium);
  line-height: 1.75;
}

.faq-item__answer-inner li {
  margin-bottom: 6px;
}

.faq-item__answer-inner li:last-child {
  margin-bottom: 0;
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact {
  margin-top: 72px;
  padding: 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e6 100%);
  border: 1px solid #f5e0d0;
  box-shadow: 0 24px 60px rgba(91, 58, 41, 0.10);
}

.contact > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 400px);
  gap: 20px;
  align-items: stretch;
}

.contact__content {
  text-align: left;
}

.contact__content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  text-align: left;
}

.contact__content > p {
  margin-bottom: 28px;
  color: var(--text-medium);
  line-height: 1.6;
  text-align: left;
}

.contact__visual {
  width: 100%;
}

.contact-form,
.tariff-quick-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.contact-form input,
.contact-form textarea,
.tariff-quick-form input,
.tariff-quick-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e6dcd4;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.tariff-quick-form input:focus,
.tariff-quick-form textarea:focus {
  border-color: var(--tomica-orange);
  box-shadow: 0 0 0 3px rgba(248, 153, 29, 0.12);
}

.contact-form textarea,
.tariff-quick-form textarea {
  min-height: 90px;
}

.contact-form .btn,
.tariff-quick-form .btn {
  justify-self: start;
}

/* Contact cards inside the contact block only */
.contact .contact-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #f0e6de;
  box-shadow: 0 16px 40px rgba(91, 58, 41, 0.08);
}

/* Right card stays center-aligned */
.contact .contact__visual .contact-card {
  text-align: center;
}

.contact .contact-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(135deg, var(--tomica-orange), var(--tomica-orange-dark));
}

.contact .contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.contact .contact-card p {
  margin: 0 0 18px;
  color: var(--text-medium);
  line-height: 1.7;
}

.contact .contact-card__link {
  color: var(--tomica-orange);
  text-decoration: underline;
  font-weight: 600;
}

.contact .contact-card__link:hover {
  color: var(--tomica-orange-dark);
}

.contact .contact-card__grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  flex: 0 1 auto;
}

.contact .contact-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--tomica-orange-dark);
  font-weight: 700;
  background: #fff;
  border: 1px solid #e6dcd4;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact a.contact-card__row:hover {
  background: #fafafa;
  color: var(--tomica-orange-dark);
  border-color: var(--tomica-orange);
  transform: translateY(-2px);
}

.contact .contact-card__row--center {
  justify-content: center;
}

.contact .contact-card__row--messengers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
}

.contact .contact-card__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--tomica-orange-dark);
  font-weight: 700;
  background: #fff;
  border: 1px solid #e6dcd4;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact .contact-card__messenger:hover {
  background: #fafafa;
  color: var(--tomica-orange-dark);
  border-color: var(--tomica-orange);
  transform: translateY(-2px);
}

.contact .contact-card__label {
  color: var(--text-medium);
  font-weight: 600;
}

/* New contact info layout */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-info__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6dcd4;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-info__row:hover {
  background: #fafafa;
  border-color: var(--tomica-orange);
  transform: translateY(-2px);
}

.contact-info__row:hover .contact-info__label {
  color: var(--text-dark);
}

.contact-info__row:hover .contact-info__value {
  color: var(--tomica-orange);
}

.contact-info__label {
  flex: 0 0 110px;
  color: var(--text-medium);
  font-weight: 600;
  text-align: left;
}

.contact-info__value {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  color: var(--tomica-orange);
  font-weight: 700;
  text-align: left;
  line-height: 1.5;
}

.contact-info__row--btn {
  justify-content: center;
  color: var(--tomica-orange);
  font-weight: 700;
}

/* Form card: left-aligned content and full-width fields */
.contact .contact__content > .contact-card--form {
  text-align: left;
  align-items: stretch;
  width: 100%;
}

.contact .contact__content > .contact-card--form .eyebrow,
.contact .contact__content > .contact-card--form h2,
.contact .contact__content > .contact-card--form > p,
.contact .contact__content > .contact-card--form .contact-form {
  text-align: left;
  width: 100%;
}

.contact .contact-card--form .eyebrow {
  color: var(--tomica-orange);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact .contact-card--form h2 {
  margin-bottom: 10px;
}

.contact .contact-card--form > p {
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.55;
}

.contact .contact-card--form .contact-form {
  flex: 0 0 auto;
}

/* ================================================================
   TARIFF MODAL
   ================================================================ */

.tariff-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tariff-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.tariff-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tariff-modal__content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1;
}

.tariff-modal__content > .eyebrow {
  margin-bottom: 8px;
}

.tariff-modal__content > h2 {
  margin-bottom: 20px;
}

.lead-form-modal .tariff-modal__content {
  width: 100%;
  max-width: 720px;
  padding: 24px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-medium);
  border-radius: 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #999;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.lead-form textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form__tariff {
  background: #f7f7f7 !important;
  color: var(--text);
  font-weight: 600;
}

.lead-form__org-field {
  display: none;
}

.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
}

.lead-form__consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

.lead-form__consent-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.lead-form__consent-link:hover {
  text-decoration: none;
}

.lead-form__submit {
  margin-top: 4px;
}

.lead-form__message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}

.lead-form__message--success {
  background: #e7f8ef;
  color: #1a7a44;
}

.lead-form__message--error {
  background: #ffefef;
  color: #c22;
}

.tariff-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 243, 232, 0.92);
  color: var(--tomica-orange-dark);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tariff-modal__close:hover {
  background: var(--tomica-orange);
  color: #fff;
}

.tariff-modal__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tariff-modal__tab {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tariff-modal__tab:hover {
  border-color: var(--tomica-orange);
  color: var(--tomica-orange);
}

.tariff-modal__tab.is-active {
  background: var(--tomica-orange);
  border-color: var(--tomica-orange);
  color: #fff;
}

.tariff-modal__panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tariff-modal__panel.is-active {
  display: block;
}

.tariff-quick-form__message,
.hosting-quick-form__message {
  resize: none;
  background: rgba(255, 243, 232, 0.5);
}

/* ================================================================
   HOSTING ORDER MODAL
   ================================================================ */

.hosting-order-modal {
  z-index: 1010;
}

/* ================================================================
   HOSTING MODAL
   ================================================================ */

.hosting-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hosting-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.hosting-modal.is-locked .hosting-modal__content {
  overflow: hidden;
}

.hosting-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hosting-modal__box {
  position: relative;
  width: 100%;
  max-width: 1024px;
  max-height: 90vh;
  z-index: 1;
}

.hosting-modal__content {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 233, 0.96));
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #bdbdbd transparent;
}

.hosting-modal__content::-webkit-scrollbar {
  width: 8px;
}

.hosting-modal__content::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.hosting-modal__content::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.hosting-modal__content::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

.hosting-modal__content::-webkit-scrollbar-button {
  display: none;
}

.hosting-modal.is-open .hosting-modal__content {
  transform: scale(1);
}

.hosting-modal__content > .eyebrow {
  margin-bottom: 8px;
}

.hosting-modal__content > h2 {
  margin-bottom: 24px;
}

.hosting-modal__close {
  position: absolute;
  top: 12px;
  right: -56px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 243, 232, 0.92);
  color: var(--tomica-orange-dark);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.hosting-modal__close:hover {
  background: var(--tomica-orange);
  color: #fff;
}

.hosting-modal__section {
  margin-top: 32px;
}

.hosting-modal__section h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.hosting-modal__table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: #fff;
}

.hosting-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.hosting-table th,
.hosting-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hosting-table th:first-child,
.hosting-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.hosting-table thead th {
  background: rgba(255, 243, 232, 0.7);
  font-weight: 700;
  color: var(--text-dark);
}

.hosting-table tbody tr:last-child td {
  border-bottom: none;
}

.hosting-table__price td {
  background: rgba(255, 243, 232, 0.5);
  font-weight: 700;
  color: var(--tomica-orange-dark);
}

.hosting-table__action td {
  padding-top: 18px;
  padding-bottom: 18px;
}

.hosting-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
}

.hosting-option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hosting-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tomica-orange-soft);
}

.hosting-option__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hosting-option__header h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.hosting-option__price {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--tomica-orange-dark);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.hosting-option p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.875rem;
  line-height: 1.6;
}

.hosting-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.hosting-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hosting-feature-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

.hosting-feature-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.hosting-feature-card__body p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .hosting-modal {
    padding: 12px;
  }

  .hosting-modal__content {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .hosting-modal__content > h2 {
    font-size: 1.5rem;
  }

  .hosting-table {
    font-size: 0.8125rem;
  }

  .hosting-table th,
  .hosting-table td {
    padding: 10px 8px;
  }

  .hosting-options {
    grid-template-columns: 1fr;
  }

  .hosting-feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hosting-modal__close {
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--tomica-orange);
}

.footer__address {
  font-size: 0.8125rem;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 1131px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 0;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__quick-links {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__form {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image-wrapper {
    max-width: 320px;
  }

  .hero__badge--speed {
    right: 0;
  }

  .hero__badge--years {
    left: 0;
  }

  .section {
    padding: 60px 0;
  }

  .product-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-section__visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .product-section--reversed .product-section__grid {
    direction: ltr;
  }

  #hosting .product-section__grid {
    min-height: auto;
  }

  #hosting .product-section__content {
    max-width: 100%;
    padding: 32px 24px;
    background: linear-gradient(to top,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.9) 55%,
      rgba(255, 255, 255, 0) 100%);
    border-radius: 0 0 28px 28px;
    align-self: end;
  }

  #hosting .product-section__visual {
    position: relative;
    inset: auto;
    order: -1;
    min-height: 260px;
  }

  .equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-card__visual {
    min-height: 200px;
  }

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

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

  .cta-card {
    padding: 40px;
  }

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

  /* New components tablet */
  .scroll-sticky {
    height: 100vh;
  }

  .hero__speed-badges--left {
    right: 220px;
  }

  .hero__speed-badges--right {
    right: 60px;
  }

  .hero__advantages {
    right: 20px;
    bottom: 40px;
  }

  .speed-badge {
    width: 110px;
  }

  .advantage-badge {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .trust-split {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }

  .faq-heading {
    position: static;
    text-align: center;
  }

  .faq-heading h2 {
    white-space: normal;
  }

  .contact {
    padding: 24px;
  }

  .contact > .container {
    grid-template-columns: 1fr minmax(240px, 360px);
    gap: 20px;
  }

  .contact__visual {
    justify-self: stretch;
    width: 100%;
  }

  .contact .contact-card {
    padding: 28px;
  }

  .promo-slide {
    padding: 32px 28px;
    min-height: 180px;
  }
}

@media (max-width: 1131px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .btn {
    width: 100%;
  }
  .header__actions .btn {
    width: auto;
  }

  /* Header mobile */
  .header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .header__phone {
    display: none;
  }

  .header__burger {
    display: flex;
    flex-shrink: 0;
    margin-left: 4px;
  }

  .header__actions {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .header__actions:has(.header__toggle) {
    justify-content: center;
  }

  .header__actions .js-account-btn,
  .header__actions .account-widget {
    display: none;
  }

  .header__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-light);
  }

  .header__toggle-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-medium);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .header__toggle-btn.is-active {
    background: var(--text-dark);
    color: #fff;
  }

  .hero__toggle {
    display: none;
  }

  .logo {
    flex-shrink: 0;
  }

  .logo__img--desktop {
    display: none;
  }

  .logo__img--mobile {
    display: block;
    height: 38px;
  }

  /* Hero mobile */
  .hero {
    padding: 40px 0 56px;
  }

  .hero__tag {
    margin-bottom: 16px;
  }

  .hero__toggle-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .hero__tag {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero__form {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .hero__form .btn {
    width: 100%;
  }

  .hero__speed-badges,
  .hero__advantages {
    display: none;
  }

  .hero {
    background-size: cover;
    background-position: 70% center;
  }

  .hero__content {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 0 -4px;
  }

  .hero__badge {
    padding: 8px 12px;
  }

  .hero__badge strong {
    font-size: 1.25rem;
  }

  /* Tariffs mobile */
  .tariff-card--popular {
    transform: none;
    order: -1;
  }

  .tariff-card--popular:hover {
    transform: translateY(-4px);
  }

  /* Product sections mobile */
  .product-visual {
    aspect-ratio: 16 / 10;
  }

  .feature-list__icon {
    font-size: 1.25rem;
    width: 32px;
  }

  /* Business mobile */
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  /* Equipment mobile */
  .equipment-card__content {
    padding: 24px;
  }

  /* Steps mobile */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* CTA mobile */
  .cta-card {
    padding: 32px 24px;
  }

  .cta-form__row {
    flex-direction: column;
  }

  /* New components mobile */
  .scroll-animation__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scroll-animation__lyrics {
    padding-top: 0;
    padding-bottom: 0;
    order: 2;
  }

  .scroll-animation__slides {
    position: relative;
    height: 50vh;
    order: 1;
  }

  .page-home .scroll-animation__slides {
    position: sticky;
    top: 64px;
    height: 45vh;
    z-index: 2;
  }

  .scroll-animation__slides-inner {
    height: 100%;
    max-height: none;
  }

  .page-home .scroll-animation__lyrics {
    position: relative;
    z-index: 1;
    margin-top: -45vh;
    padding-top: 45vh;
    padding-bottom: 40vh;
  }

  .page-home .annotation-card {
    margin-bottom: 22vh;
  }

  .annotation-card {
    max-width: 100%;
    padding: 16px 0;
    margin-bottom: 12vh;
    display: block;
  }

  .annotation-card .card-desc,
  .annotation-card .card-stat {
    display: block;
  }

  .annotation-card .card-number {
    margin-bottom: 0;
  }

  .annotation-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .promo-slider {
    border-radius: 24px;
  }

  .promo-slide {
    border-radius: 24px;
  }

  .promo-slider {
    margin-left: 16px;
    margin-right: 16px;
  }
  .promo-slider__track {
    min-height: 420px;
    height: auto;
  }

  .promo-slide {
    padding: 32px 52px;
    min-height: 420px;
  }

  .promo-slide__icon {
    display: none;
  }

  .page-home .promo-slider__track {
    min-height: 480px;
  }

  .page-home .promo-slide {
    min-height: 480px;
  }

  .promo-slide__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: auto;
  }

  .promo-slider__arrow {
    width: 32px;
    height: 32px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    color: #fff;
    font-size: 0;
  }

  .promo-slider__arrow svg {
    width: 28px;
    height: 28px;
  }

  .promo-slider__arrow:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.08);
  }

  .promo-slider__arrow--prev {
    left: 4px;
  }

  .promo-slider__arrow--next {
    right: 4px;
  }

  .page-business .promo-slider {
    margin-bottom: 0;
  }

  .promo-slider__dots-wrap {
    position: static;
    transform: none;
    margin-top: 16px;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
  }

  .promo-slider__dot {
    background: rgba(0,0,0,0.25);
  }

  .promo-slider__dot.is-active {
    background: var(--tomica-orange);
  }

  .contact {
    padding: 24px;
    border-radius: 24px;
  }

  .contact > .container {
    grid-template-columns: 1fr;
  }

  .contact__visual {
    justify-self: center;
    width: 100%;
  }

  .contact-form .btn,
  .tariff-quick-form .btn {
    justify-self: stretch;
  }

  .contact .contact-card {
    padding: 24px;
  }

  .contact .contact-card__row--messengers {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 18px 20px;
    border-radius: 18px;
  }

  .faq-item__question {
    font-size: 0.95rem;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand p {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ================================================================
   AUTH PAGE (login / register / recovery)
   ================================================================ */

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-warm) 0%, #ffffff 50%, var(--bg-warm) 100%);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  background: var(--bg-white);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.auth-panels {
  display: flex;
  width: 200%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-card.is-recovery .auth-panels {
  transform: translateX(-50%);
}

.auth-panel {
  width: 50%;
  flex-shrink: 0;
  padding: 40px 36px 44px;
}

.auth-panel--recovery {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  text-decoration: none;
}

.auth-card__logo .logo__img {
  height: 40px;
  width: auto;
}

.auth-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-medium);
  text-align: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.is-active {
  background: var(--tomica-orange);
  color: var(--bg-white);
  box-shadow: var(--shadow-orange);
}

.auth-form {
  display: none;
  grid-template-columns: 1fr;
  gap: 18px;
}

.auth-form.is-active {
  display: grid;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-medium);
}

.auth-password {
  position: relative;
}

.auth-password .input {
  padding-right: 48px;
}

.auth-password__toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.auth-password__toggle:hover {
  color: var(--tomica-orange);
}

.auth-password__toggle svg {
  width: 20px;
  height: 20px;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.auth-link:hover {
  color: var(--tomica-orange);
}

.auth-return-link {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  transition: color var(--transition-fast);
}

.auth-return-link:hover {
  color: var(--tomica-orange);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.auth-back:hover {
  color: var(--tomica-orange);
}

.auth-back svg {
  width: 18px;
  height: 18px;
}

.auth-panel__heading {
  font-size: 1.375rem;
  text-align: center;
  margin-bottom: 8px;
}

.auth-panel__hint {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.auth-error {
  display: none;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #c52222;
  text-align: center;
  background: #fff2f2;
  border: 1px solid #ffd1d1;
  border-radius: var(--radius-md);
}

.auth-error.is-visible {
  display: block;
}

@media (max-width: 480px) {
  .auth-page {
    padding: 16px;
    background: var(--bg-white);
  }

  .auth-card {
    border-radius: 24px;
    box-shadow: none;
    border: none;
  }

  .auth-panel {
    padding: 32px 24px 36px;
  }
}

/* ================================================================
   PERSONAL ACCOUNT (lk.html)
   ================================================================ */

.lk-section {
  min-height: calc(100vh - 72px - 200px);
  padding-top: 40px;
  padding-bottom: 80px;
  background: var(--bg-warm);
}

.lk-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.lk-sidebar {
  position: sticky;
  top: 100px;
}

.lk-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.lk-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lk-menu__item:hover,
.lk-menu__item.is-active {
  background: var(--tomica-orange-light);
  color: var(--tomica-orange-dark);
}

.lk-menu__item--logout {
  margin-top: 8px;
  color: var(--error, #c62828);
}

.lk-menu__item--logout:hover {
  background: #fdeaea;
  color: #c62828;
}

/* Main area */
.lk-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Topbar */
.lk-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-white);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.lk-topbar__greeting h1 {
  font-size: 1.5rem;
  margin: 0;
}

.lk-topbar__indicators {
  display: flex;
  gap: 24px;
}

.lk-indicator {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 130px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--bg-gray);
}

.lk-indicator__label {
  font-size: 0.8125rem;
  color: var(--text-medium);
  font-weight: 600;
}

.lk-indicator__value {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 800;
}

.lk-indicator--balance .lk-indicator__value {
  color: #237a23;
}

.lk-indicator--credit .lk-indicator__value {
  color: var(--tomica-orange-dark);
}

/* Panels */
.lk-panels {
  background: var(--bg-white);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.lk-panel {
  display: none;
  padding: 32px;
}

.lk-panel.is-active {
  display: block;
}

.lk-panel__heading {
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.lk-placeholder {
  padding: 48px 32px;
  text-align: center;
  color: var(--text-medium);
  background: var(--bg-gray);
  border-radius: 18px;
}

/* Profile grid */
.lk-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.lk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
}

.lk-field__label {
  font-size: 0.8125rem;
  color: var(--text-medium);
  font-weight: 600;
}

.lk-field__value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* Edit forms */
.lk-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.lk-edit-card {
  padding: 0;
  background: var(--bg-warm);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.lk-edit-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.lk-edit-card__title {
  font-size: 1rem;
  margin: 0;
}

.lk-edit-card__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--tomica-orange-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.lk-edit-card__header:hover .lk-edit-card__icon {
  background: var(--tomica-orange-light);
}

.lk-edit-card.is-open .lk-edit-card__icon {
  transform: rotate(45deg);
}

.lk-edit-card__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.lk-edit-card.is-open .lk-edit-card__body {
  max-height: 500px;
  opacity: 1;
  padding: 0 22px 22px;
}

.lk-edit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lk-edit-form .input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--bg-white);
}

.lk-edit-form .input:focus {
  outline: none;
  border-color: var(--tomica-orange);
}

.lk-form-message {
  min-height: 1.4em;
  font-size: 0.875rem;
  font-weight: 600;
}

.lk-form-message.is-success {
  color: #237a23;
}

.lk-form-message.is-error {
  color: #c62828;
}

/* Guest message */
.lk-guest {
  padding-top: 40px;
}

.lk-message {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-white);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.lk-message h2 {
  margin-bottom: 12px;
}

.lk-message p {
  margin-bottom: 24px;
}

@media (max-width: 1131px) {
  .lk-layout {
    grid-template-columns: 1fr;
  }

  .lk-sidebar {
    position: static;
  }

  .lk-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .lk-menu__item {
    width: auto;
    flex: 1 1 180px;
  }

  .lk-profile-grid,
  .lk-edit-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .lk-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .lk-topbar__indicators {
    width: 100%;
    justify-content: space-between;
  }

  .lk-profile-grid,
  .lk-edit-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lk-menu__item {
    flex: 1 1 100%;
  }
}

/* ================================================================
   COMPANY PAGE
   ================================================================ */

.hero--company,
.hero--vacancy,
.hero--docs,
.hero--contacts {
  background: linear-gradient(135deg, #F7F5F2 0%, #FFFFFF 100%);
}

.hero__company-logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero__company-logo--photo {
  border-radius: var(--radius-xl, 24px);
  box-shadow: var(--shadow-md);
}

/* Vacancy page */
.vacancies-section .section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vacancy-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.vacancy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.vacancy-card:hover {
  box-shadow: var(--shadow-md);
}

.vacancy-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.vacancy-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-right: 20px;
}

.vacancy-card__toggle {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.vacancy-card__toggle::before,
.vacancy-card__toggle::after {
  content: '';
  position: absolute;
  background: var(--tomica-orange);
  transition: transform 0.25s ease;
}

.vacancy-card__toggle::before {
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
}

.vacancy-card__toggle::after {
  top: 3px;
  left: 11px;
  width: 2px;
  height: 18px;
}

.vacancy-card.is-open .vacancy-card__toggle::after {
  transform: scaleY(0);
}

.vacancy-card__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.vacancy-card.is-open .vacancy-card__content {
  max-height: 2000px;
}

.vacancy-card__body {
  padding: 0 28px 28px;
}

.vacancy-card__block {
  margin-bottom: 20px;
}

.vacancy-card__block:last-child {
  margin-bottom: 0;
}

.vacancy-card__block h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tomica-orange-dark);
  margin-bottom: 10px;
}

.vacancy-card__block ul {
  margin: 0;
  padding-left: 20px;
}

.vacancy-card__block li {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 6px;
}

.vacancy-card__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.vacancy-card__footer a {
  color: var(--tomica-orange);
  font-weight: 600;
  text-decoration: none;
}

.vacancy-card__footer a:hover {
  text-decoration: underline;
}

/* Docs page */
.docs-section {
  padding-top: 72px;
  padding-bottom: 96px;
}

.docs-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.65;
}

.docs-intro p + p {
  margin-top: 16px;
}

.docs-intro a {
  color: var(--tomica-orange);
  font-weight: 600;
  text-decoration: none;
}

.docs-intro a:hover {
  text-decoration: underline;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1131px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.doc-card {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doc-card:last-child {
  grid-column: 2 / span 2;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tomica-orange);
}

.doc-card__icon {
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
}

.doc-card__body {
  flex: 1;
}

.doc-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.doc-card__body p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
  margin: 0;
}

.doc-card__arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--tomica-orange);
  transition: transform 0.25s ease;
}

.doc-card:hover .doc-card__arrow {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .doc-card,
  .doc-card:last-child {
    grid-column: auto;
  }
}

/* Legal document pages */
.legal-section {
  padding-top: 64px;
  padding-bottom: 96px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  color: var(--text-dark);
  line-height: 1.3;
}

.legal-content h1 {
  font-size: 1.75rem;
}

.legal-content h2 {
  font-size: 1.4rem;
}

.legal-content h3 {
  font-size: 1.15rem;
}

.legal-content p {
  margin-bottom: 1.5em;
  color: var(--text-medium);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}

.legal-content li {
  margin-bottom: 1em;
}

.legal-content ol ol,
.legal-content ul ul,
.legal-content ol ul,
.legal-content ul ol {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.legal-content a {
  color: var(--tomica-orange);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--tomica-orange-dark);
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 700;
}

.legal-content em {
  font-style: italic;
}

.hero__tag a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
}

.hero__tag a:hover {
  opacity: 1;
}

@media (max-width: 1131px) {
  .legal-content {
    padding: 28px;
  }
}

/* Contacts page */
.contacts-section {
  padding-top: 72px;
  padding-bottom: 96px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.contacts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-card__icon {
  flex-shrink: 0;
  font-size: 2.25rem;
  line-height: 1;
}

.contact-card__body {
  flex: 1;
}

.contact-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-card__body p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.55;
  margin: 0 0 6px;
}

.contact-card__body a {
  color: var(--tomica-orange);
  font-weight: 600;
  text-decoration: none;
}

.contact-card__body a:hover {
  text-decoration: underline;
}

.contact-card__note {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.contacts-map {
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

@media (max-width: 1131px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 420px;
  }
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.company-card {
  padding: 32px;
}

.company-card--wide {
  grid-column: 1 / -1;
}

.company-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  font-size: 1.75rem;
  background: var(--tomica-orange-light);
  border-radius: var(--radius-md);
}

.company-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.company-card p {
  color: var(--text-medium);
  line-height: 1.65;
}

.video-placeholder {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  transition: background 0.3s ease;
}

.video-placeholder:hover .video-placeholder__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}

.video-placeholder__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
  transition: transform 0.25s ease;
}

.video-placeholder:hover .video-placeholder__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-placeholder__title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  counter-reset: why;
}

.why-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--tomica-orange-light);
  color: var(--tomica-orange);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
}

.why-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--text-medium);
}

@media (max-width: 1131px) {
  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card--wide {
    grid-column: auto;
  }

  .why-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .company-card {
    padding: 24px;
  }

  .why-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .video-placeholder__title {
    bottom: 16px;
    left: 16px;
  }
}

/* ================================================================
   LICENSES
   ================================================================ */
.hero--license {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #eef4f8 100%);
}

.hero--license::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/network-pattern.png?v=122');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 520px auto;
  opacity: 0.12;
  pointer-events: none;
}

.licenses-section {
  padding-bottom: 96px;
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.license-card {
  grid-column: span 2;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.license-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.license-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.license-card:hover,
.license-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.license-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* License lightbox */
.license-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.license-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.license-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.license-lightbox__close:hover,
.license-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.license-lightbox__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(900px, 90vw);
  max-height: calc(100vh - 48px);
  transform: translateY(40px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.license-lightbox.is-open .license-lightbox__content {
  transform: translateY(0) scale(1);
}

.license-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.license-lightbox__caption {
  margin-top: 16px;
  padding: 14px 24px;
  max-width: 100%;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

@media (max-width: 1131px) {
  .licenses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .license-card,
  .license-card:nth-child(4),
  .license-card:nth-child(5) {
    grid-column: auto;
  }

  .license-lightbox__caption {
    font-size: 0.875rem;
    padding: 12px 18px;
  }
}

@media (max-width: 640px) {
  .licenses-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   RESPONSIVE — tablets and mobile
   ================================================================ */

/* Tablets (max-width: 1131px) */
@media (max-width: 1131px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .header__actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero__form {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
  }
  .hero__form .btn {
    width: 100%;
  }
  .tariffs-grid,
  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile (max-width: 1131px) */
@media (max-width: 1131px) {
  .header__phone {
    font-size: 0.9rem;
  }
  .btn--small {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .hero__content h1 {
    font-size: 1.75rem;
  }
  .hero__lead {
    font-size: 1rem;
  }
  .tariffs-grid,
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .tariff-card {
    padding: 20px;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-card__row--messengers {
    grid-template-columns: 1fr;
  }
  .news-item {
    padding: 16px;
  }
  .news-item__title {
    font-size: 1.1rem;
  }
  .admin-card {
    padding: 20px;
  }
  .admin-table {
    font-size: 0.85rem;
  }
  .admin-table__actions {
    flex-direction: column;
    gap: 6px;
  }
  .admin-table__btn {
    width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer__col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .header__inner {
    justify-content: space-between;
  }
  .header__actions {
    justify-content: flex-end;
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }

  .header__actions .btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .hero__content h1 {
    font-size: 1.5rem;
  }
  .hero__tag {
    font-size: 0.75rem;
  }
  .section {
    padding: 40px 0;
  }
  .container {
    padding: 0 16px;
  }
  .card,
  .tariff-card,
  .contact-card,
  .news-item {
    border-radius: 12px;
  }
}

/* ================================================================
   TARIFFS CAROUSEL (shared by index.html & internet.html)
   ================================================================ */

.tariffs-carousel {
  position: relative;
  overflow: visible;
  padding-bottom: 56px;
}

.tariffs-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 28px;
  border-radius: 24px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tariffs-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.tariffs-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.tariffs-carousel__slide {
  flex: 0 0 32.5%;
  padding: 12px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.tariffs-carousel__slide .tariff-card {
  height: 100%;
  min-height: 380px;
}

.tariffs-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tariffs-carousel__arrow:hover {
  background: var(--tomica-orange);
  border-color: var(--tomica-orange);
  color: var(--bg-white);
}

.tariffs-carousel__arrow--prev {
  left: -24px;
  transform: translateY(-50%);
}

.tariffs-carousel__arrow--prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.tariffs-carousel__arrow--next {
  right: -24px;
  transform: translateY(-50%);
}

.tariffs-carousel__arrow--next:hover {
  transform: translateY(-50%) scale(1.05);
}

.tariffs-carousel__dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.tariffs-carousel__dot[hidden] {
  display: none;
}

.tariffs-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tariffs-carousel__dot.is-active {
  background: var(--tomica-orange);
  transform: scale(1.25);
}

@media (max-width: 1131px) {
  .tariffs-carousel__slide {
    flex: 0 0 48%;
  }
  .tariffs-carousel__arrow {
    display: none;
  }
  .tariffs-carousel__viewport {
    margin: 0;
  }
  .tariffs-carousel {
    padding-bottom: 48px;
  }
}

@media (max-width: 640px) {
  .tariffs-carousel__slide {
    flex: 0 0 85%;
  }
  .tariffs-carousel {
    padding-bottom: 44px;
  }
}
