/*
Theme Name: CentroSet
Theme URI: https://centroset.ru
Author: CentroSet Dev
Author URI: https://centroset.ru
Description: Тема для интернет-провайдера ЦентроСеть — современный адаптивный дизайн с оранжевым акцентом и закруглёнными карточками.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centroset
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --color-primary: #FB5700;
  --color-primary-hover: #e04e00;
  --color-orange-light: #FF7A00;
  --color-dark: #333333;
  --color-dark-alt: #404B4C;
  --color-bg: #F7F8F8;
  --color-white: #ffffff;
  --color-border: #E3E3E3;
  --font-main: 'Google Sans', 'Product Sans', 'Segoe UI', sans-serif;
  --radius-lg: 40px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-card: 0 4px 12px rgba(251, 87, 0, 0.1);
  --container: 1140px;
  --gap: 24px;
}

body {
  overflow-x: hidden;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--color-primary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol, li { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ============================
   Top Navigation
   ============================ */
.top-nav {
  background: var(--color-bg);
  padding: 0;
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 30px;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 2px 12px rgba(251, 87, 0, 0.1);
}

.top-nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav__menu > li {
  position: relative;
}

.top-nav__menu > li > a {
  font-size: 15px;
  color: var(--color-dark-alt);
  white-space: nowrap;
}

.top-nav__menu > li > a:hover {
  color: var(--color-primary);
}

/* Dropdown */
.top-nav__menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(251, 87, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  z-index: 100;
  padding-top: 16px;
}

/* Invisible bridge to keep hover when moving to dropdown */
.top-nav__menu .sub-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 16px;
}

.top-nav__menu > li:hover > .sub-menu {
  display: block;
}

.top-nav__menu .sub-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--color-dark-alt);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.top-nav__menu .sub-menu li a:hover {
  background: rgba(251, 87, 0, 0.06);
  color: var(--color-primary);
}

.top-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Work hours badge */
.top-nav__hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--color-dark-alt);
  white-space: nowrap;
}

.top-nav__hours svg {
  opacity: 0.6;
}

/* Email with copy tooltip */
.top-nav__email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--color-dark-alt);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
}

.top-nav__email:hover {
  color: var(--color-primary);
}

.top-nav__email svg {
  opacity: 0.6;
}

.top-nav__email:hover svg {
  opacity: 1;
}

.top-nav__email-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.top-nav__email-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Phone button */
.top-nav__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  transition: background 0.2s;
}

.top-nav__phone-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.top-nav__phone-btn svg {
  fill: var(--color-white);
}

.btn-lk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border: 2px solid var(--color-orange-light);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-alt);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-lk:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-lk:hover svg {
  fill: var(--color-white);
}

.btn-lk svg {
  fill: var(--color-primary);
  transition: fill 0.2s;
}

/* ============================
   Service Bar
   ============================ */
.service-bar {
  padding: 8px 0 16px;
}

/* Hide mobile-only buttons on desktop */
.mobile-header-actions {
  display: none;
}

.service-bar__inner {
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(251, 87, 0, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px 28px;
  background: var(--color-white);
  gap: 16px;
}

/* Desktop LK in service bar */
.desktop-lk {
  margin-left: auto;
  flex-shrink: 0;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
}

.site-logo__link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.3px;
}

.site-logo__center {
  position: relative;
}

.site-logo__center::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-orange-light);
}

.site-logo__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--color-dark);
  border-radius: 50%;
  margin: 0 1px;
}

.site-logo__dot::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-orange-light);
  border-radius: 50%;
}

.site-logo__set {
  position: relative;
}

.site-logo__set::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 4px;
  width: 100%;
  height: 3px;
  background: var(--color-orange-light);
}

/* Custom logo image (if uploaded via Customizer) */
.site-logo__img {
  height: 45px;
  width: auto;
  display: block;
}

/* Service nav */
.service-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.service-nav__item,
.service-nav > li,
.service-nav > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--color-dark-alt);
  cursor: pointer;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
  text-decoration: none;
}

.service-nav__item:hover,
.service-nav > li:hover > a,
.service-nav > li > a:hover {
  color: var(--color-primary);
}

/* wp_nav_menu li items */
.service-nav > li {
  position: relative;
  list-style: none;
}

/* Service nav icons via CSS (for wp_nav_menu items) */
.service-nav > li > a::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.service-nav > li:hover > a::before {
  opacity: 1;
}

/* 1st item — Wi-Fi (Интернет) */
.service-nav > li:nth-child(1) > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23404B4C'%3E%3Cpath d='M12 3C6.4 3 1.6 5.3.3 8.7l2.2 1.7C3.8 8.2 7.6 6.2 12 6.2s8.2 2 9.5 4.2l2.2-1.7C22.4 5.3 17.6 3 12 3zm0 6.4c-3.1 0-5.8 1.3-7 3.3l2.2 1.7c.8-1.2 2.7-2.2 4.8-2.2s4 1 4.8 2.2l2.2-1.7c-1.2-2-3.9-3.3-7-3.3zM12 16c-1.3 0-2.3.5-2.8 1.3L12 20l2.8-3.7c-.5-.8-1.5-1.3-2.8-1.3z'/%3E%3C/svg%3E");
}
.service-nav > li:nth-child(1):hover > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M12 3C6.4 3 1.6 5.3.3 8.7l2.2 1.7C3.8 8.2 7.6 6.2 12 6.2s8.2 2 9.5 4.2l2.2-1.7C22.4 5.3 17.6 3 12 3zm0 6.4c-3.1 0-5.8 1.3-7 3.3l2.2 1.7c.8-1.2 2.7-2.2 4.8-2.2s4 1 4.8 2.2l2.2-1.7c-1.2-2-3.9-3.3-7-3.3zM12 16c-1.3 0-2.3.5-2.8 1.3L12 20l2.8-3.7c-.5-.8-1.5-1.3-2.8-1.3z'/%3E%3C/svg%3E");
}

/* 2nd item — Phone (Телефония) */
.service-nav > li:nth-child(2) > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23404B4C'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.5 3.6.5.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.5 3.6.1.3 0 .7-.2 1l-2.2 2.2z'/%3E%3C/svg%3E");
}
.service-nav > li:nth-child(2):hover > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.5 3.6.5.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.5 3.6.1.3 0 .7-.2 1l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* 3rd item — TV (Телевидение) */
.service-nav > li:nth-child(3) > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23404B4C'%3E%3Cpath d='M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z'/%3E%3C/svg%3E");
}
.service-nav > li:nth-child(3):hover > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z'/%3E%3C/svg%3E");
}

/* Submenu dropdown from wp_nav_menu */
.service-nav > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 16px 24px;
  min-width: 200px;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.service-nav > li:hover > .sub-menu {
  display: block;
}

.service-nav > li > .sub-menu li {
  list-style: none;
}

.service-nav > li > .sub-menu a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--color-dark-alt);
  white-space: nowrap;
  text-decoration: none;
}

.service-nav > li > .sub-menu a:hover {
  color: var(--color-primary);
}

.service-nav__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-nav__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 16px 24px;
  min-width: 200px;
  z-index: 100;
}

.service-nav__item:hover .service-nav__dropdown {
  display: block;
}

.service-nav__dropdown a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--color-dark-alt);
  white-space: nowrap;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  padding: 8px 16px;
  flex-shrink: 0;
  transition: background 0.2s;
  color: var(--color-white);
}

.menu-toggle:hover {
  background: var(--color-primary-hover);
}

.menu-toggle svg {
  fill: var(--color-white);
}

.menu-toggle__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-white);
}

/* ============================
   Desktop Header Scale-Up (+10%, bolder)
   ============================ */
@media (min-width: 961px) {
  /* Service bar (+15% from base) */
  .service-bar__inner {
    padding: 15px 34px;
  }

  .site-logo__img {
    height: 52px;
  }

  /* Service nav items */
  .service-nav__item,
  .service-nav > li,
  .service-nav > li > a {
    font-size: 17px;
    font-weight: 600;
  }

  .service-nav > li > a::before {
    width: 28px;
    height: 28px;
  }

  .service-nav__icon {
    width: 33px;
    height: 33px;
  }

  .service-nav__icon svg {
    width: 28px;
    height: 28px;
  }

  /* LK button */
  .btn-lk {
    font-size: 16px;
    font-weight: 700;
    padding: 10px 23px;
  }

  .btn-lk svg {
    width: 19px;
    height: 19px;
  }
}

/* Drawer hours (in header row) */
.mobile-drawer__hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-dark-alt);
  margin-left: auto;
  margin-right: 12px;
}

.mobile-drawer__hours svg {
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* ============================
   Mobile Drawer
   ============================ */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer.opening {
  display: block;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(251, 87, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 90vh;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(251, 87, 0, 0.15);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mobile-drawer.active .mobile-drawer__panel {
  transform: translateY(0);
}

/* Header with logo + close */
.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer__logo {
  flex-shrink: 0;
}

.mobile-drawer__logo img {
  height: 32px;
  width: auto;
}

.mobile-drawer__close {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px;
  transition: opacity 0.2s;
}

.mobile-drawer__close:hover {
  opacity: 0.7;
}

.mobile-drawer__body {
  padding: 0 24px 28px;
  box-shadow: 0 8px 32px rgba(251, 87, 0, 0.12);
}

/* Primary nav (top menu) */
.mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__list li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-drawer__list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: #2b2d42;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-drawer__list li a::after {
  content: '›';
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 400;
}

/* Submenus — always expanded */
.mobile-drawer__list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 16px;
}

.mobile-drawer__list .sub-menu li {
  border-bottom: none;
}

.mobile-drawer__list .sub-menu li a {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark-alt);
}

.mobile-drawer__list .sub-menu li a::after {
  display: none;
}

.mobile-drawer__list .sub-menu li a:hover {
  color: var(--color-primary);
}

.mobile-drawer__list li a:hover {
  color: var(--color-primary);
}

/* Services nav */
.mobile-drawer__nav--services {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.mobile-drawer__services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__services li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-drawer__services li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  color: #2b2d42;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-drawer__services li a::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Wi-Fi icon (orange) */
.mobile-drawer__services li:nth-child(1) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M12 3C6.4 3 1.6 5.3.3 8.7l2.2 1.7C3.8 8.2 7.6 6.2 12 6.2s8.2 2 9.5 4.2l2.2-1.7C22.4 5.3 17.6 3 12 3zm0 6.4c-3.1 0-5.8 1.3-7 3.3l2.2 1.7c.8-1.2 2.7-2.2 4.8-2.2s4 1 4.8 2.2l2.2-1.7c-1.2-2-3.9-3.3-7-3.3zM12 16c-1.3 0-2.3.5-2.8 1.3L12 20l2.8-3.7c-.5-.8-1.5-1.3-2.8-1.3z'/%3E%3C/svg%3E");
}

/* Phone icon (orange) */
.mobile-drawer__services li:nth-child(2) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.5 3.6.5.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.5 3.6.1.3 0 .7-.2 1l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* TV icon (orange) */
.mobile-drawer__services li:nth-child(3) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FB5700'%3E%3Cpath d='M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z'/%3E%3C/svg%3E");
}

.mobile-drawer__services li a::after {
  content: '›';
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 400;
  margin-left: auto;
}

.mobile-drawer__services li a:hover {
  color: var(--color-primary);
}

/* Services submenus — no icons, no arrows */
.mobile-drawer__services .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 42px;
}

.mobile-drawer__services .sub-menu li {
  border-bottom: none;
}

.mobile-drawer__services .sub-menu li a {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark-alt);
  gap: 0;
}

.mobile-drawer__services .sub-menu li a::before {
  display: none;
}

.mobile-drawer__services .sub-menu li a::after {
  display: none;
}

/* Phones */
.mobile-drawer__phones {
  margin-top: 20px;
  text-align: center;
}

.mobile-drawer__phone-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__phone-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-drawer__phones a {
  color: #2b2d42;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

/* Action buttons — side by side */
.mobile-drawer__actions {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.mobile-drawer__btn {
  display: block;
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.mobile-drawer__btn:active {
  transform: scale(0.98);
}

.mobile-drawer__btn--lk {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: transparent;
}

.mobile-drawer__btn--lk:hover {
  background: rgba(251, 87, 0, 0.06);
}

.mobile-drawer__btn--connect {
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.mobile-drawer__btn--connect:hover {
  background: #e04e00;
}

/* ============================
   Hero
   ============================ */
.hero {
  padding: 16px 0;
}

.hero__card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(139deg, rgba(64,75,76,0.7) 0%, rgba(255,255,255,0) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 42px;
  max-width: 600px;
}

.hero__title {
  font-size: 45px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 30px;
  white-space: nowrap;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-md);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

.hero__arrow {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-white);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.hero__arrow:hover {
  background: rgba(255,255,255,0.2);
}

.hero__arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

/* ============================
   News Section
   ============================ */
.news-section {
  padding: 32px 0;
}

/* ============================
   Section Heading Component
   ============================ */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  animation: fadeInUp 0.35s ease both;
}

.section-heading__left {
  display: inline-flex;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 12px 24px;
  min-width: 0;
}

.section-heading__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.section-heading__sub {
  font-size: 13px;
  color: var(--color-dark-alt);
  margin: 4px 0 0 0;
  padding-left: 20px;
}

.section-heading__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(251, 87, 0, 0.07);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.section-heading__all:hover {
  background: var(--color-primary);
  color: var(--color-white);
}


/* Carousel wrapper */
.news-carousel {
  position: relative;
}

.news-grid {
  display: flex;
  gap: var(--gap);
  overflow-x: hidden;           /* no mouse-wheel scroll on desktop */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;          /* prevent box-shadow clipping */
}

.news-grid::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

.news-grid .news-card {
  flex: 0 0 calc((100% - var(--gap) * 2) / 3);
  max-width: calc((100% - var(--gap) * 2) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

/* Carousel nav buttons */
.news-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(251, 87, 0, 0.3);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.news-carousel:hover .news-carousel__btn {
  opacity: 1;
  pointer-events: auto;
}

.news-carousel__btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-50%) scale(1.08);
}

.news-carousel__btn--prev {
  left: -16px;
}

.news-carousel__btn--next {
  right: -16px;
}

.news-carousel__btn:disabled {
  opacity: 0.3 !important;
  cursor: default;
  pointer-events: none;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.5s ease both;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(251, 87, 0, 0.15);
}

.news-card__image {
  width: 100%;
  aspect-ratio: 347 / 242;
  object-fit: cover;
  display: block;
}

.news-card__image--placeholder {
  background: linear-gradient(135deg, var(--color-primary), var(--color-orange-light));
  aspect-ratio: 347 / 242;
  width: 100%;
  display: block;
}

.news-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 13px;
  color: var(--color-dark-alt);
  margin-bottom: 6px;
}

.news-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card__title a:hover { color: var(--color-primary); }

.news-card__excerpt {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: 12px;
  transition: all 0.2s;
  align-self: flex-start;
}

.btn-read-more:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-read-more svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ============================
   Footer
   ============================ */
.site-footer {
  padding: 32px 0 15px;
}

.footer__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.footer__map {
  width: 100%;
  height: 184px;
}

.footer__map-iframe {
  width: 100%;
  height: 184px;
  border: none;
}

.footer__map-overlay.footer__map-expand {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(251, 87, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: opacity 0.4s ease;
  z-index: 2;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.footer__map-overlay.footer__map-expand.hidden {
  opacity: 0;
  pointer-events: none;
}

.footer__map-overlay-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  padding: 10px 24px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(251, 87, 0, 0.12);
}

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 38px;
}

.footer__col a,
.footer__col p,
.footer__col span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark-alt);
  line-height: 1.8;
}

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

.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__menu li {
  margin-bottom: 2px;
}

.footer__menu li a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark-alt);
  line-height: 1.8;
  transition: color 0.2s;
}

.footer__menu li a:hover {
  color: var(--color-primary);
}

.footer__copyright {
  text-align: center;
  padding: 16px 20px 20px;
  font-size: 15px;
  color: var(--color-dark-alt);
  border-top: 1px solid var(--color-border);
}

/* ============================
   Pages & Posts
   ============================ */
.page-content {
  padding: 32px 0;
}

.page-content__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.page-content__card h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
}

.page-content__card h2 { font-size: 24px; font-weight: 500; margin: 24px 0 12px; }
.page-content__card h3 { font-size: 20px; font-weight: 500; margin: 20px 0 10px; }
.page-content__card p { margin-bottom: 16px; line-height: 1.7; }
.page-content__card ul,
.page-content__card ol { margin: 0 0 16px 24px; list-style: disc; }
.page-content__card li { margin-bottom: 6px; }
.page-content__card img { border-radius: var(--radius-sm); margin: 16px 0; }

.breadcrumb {
  padding: 16px 0 0;
  font-size: 14px;
  color: var(--color-dark-alt);
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 6px; }

.single-post__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-dark-alt);
}

.single-post__thumbnail {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color 0.2s;
}

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

.wpcf7 input[type="submit"] {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--color-primary-hover);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 500;
  color: var(--color-dark-alt);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* WP alignment */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin: 0 auto; }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================
   News Modal
   ============================ */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.news-modal.active {
  display: flex;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}

.news-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(251, 87, 0, 0.2);
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--color-dark-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.news-modal__close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.news-modal__thumb {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-modal__body {
  padding: 28px 32px 32px;
}

.news-modal__date {
  display: block;
  font-size: 13px;
  color: var(--color-dark-alt);
  margin-bottom: 8px;
}

.news-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.news-modal__entry {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-alt);
}

.news-modal__entry p {
  margin-bottom: 12px;
}

.news-modal__entry img {
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

.news-modal__loader {
  text-align: center;
  padding: 60px 20px;
  font-size: 15px;
  color: var(--color-dark-alt);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================
   Login Modal
   ============================ */
.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.login-modal.active {
  display: flex;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}

.login-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(251, 87, 0, 0.2);
  max-width: 400px;
  width: 90%;
  padding: 40px 36px 36px;
  animation: modalSlideIn 0.3s ease;
}

.login-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--color-dark-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.login-modal__close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.login-modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.login-modal__icon {
  color: var(--color-primary);
  margin-bottom: 12px;
}

.login-modal__header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}

.login-modal__field {
  margin-bottom: 20px;
}

.login-modal__field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark-alt);
  margin-bottom: 6px;
}

.login-modal__field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color 0.2s;
  background: var(--color-bg);
}

.login-modal__field input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.login-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.login-modal__submit {
  width: 100%;
  font-size: 18px;
  padding: 12px 20px;
  border: none;
  text-align: center;
}

.login-modal__forgot {
  font-size: 14px;
  color: var(--color-primary);
  transition: color 0.2s;
}

.login-modal__forgot:hover {
  color: var(--color-primary-hover);
}

.login-modal__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-alt);
  text-align: center;
  margin-bottom: 24px;
}

/* ============================
   Service Pages
   ============================ */

/* Page heading */
.service-page__title {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-dark-alt);
  background: var(--color-bg);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.service-page__title a {
  color: var(--color-dark-alt);
  text-decoration: none;
}

.service-page__title a:hover {
  color: var(--color-primary);
}

.service-page__title .breadcrumb-sep {
  margin: 0 6px;
  color: var(--color-dark-alt);
  opacity: 0.5;
}

/* Service Hero (two-column banner) */
.service-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  height: 460px;
}

.service-hero__left {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 20px;
  background: transparent;
}

.service-hero__payment {
  display: none;
}

.service-hero__payment p {
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.service-hero__payment strong {
  color: var(--color-white);
  font-weight: 700;
}

.service-hero__left::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.08;
  animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.06; }
  50% { transform: scale(1.05); opacity: 0.12; }
}

.service-hero__left .btn-primary {
  position: relative;
  z-index: 3;
}

.service-page__title--hero {
  position: relative;
  z-index: 3;
  align-self: center;
  margin-top: 0;
}

.service-page__title--hero,
.service-page__title--hero a,
.service-page__title--hero span {
  color: var(--color-primary);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.service-page__title--hero a:hover {
  color: var(--color-white);
}

.service-hero__right {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.service-hero__right img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.service-hero__right-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* Section title for tariffs */
.tariffs-section {
  padding: 0 0 48px;
}

.tariffs-section__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 32px;
}

/* Tariff cards grid */
.tariff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 32px;
}

.tariff-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 0.5s ease both;
}

.tariff-card:nth-child(2) { animation-delay: 0.1s; }
.tariff-card:nth-child(3) { animation-delay: 0.2s; }

.tariff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(251, 87, 0, 0.15);
}

.tariff-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.tariff-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-alt);
  flex: 1;
  margin-bottom: 24px;
}

.tariff-card__desc p {
  margin-bottom: 8px;
}

.tariff-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  align-self: flex-start;
  transition: background 0.2s;
}

.tariff-price:hover {
  background: var(--color-primary-hover);
}

/* Payment info block */
.payment-info {
  margin-top: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  border-left: 4px solid var(--color-primary);
}

.payment-info p {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.8;
}

/* Service info / description (Virtual PBX) */
.service-info {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 48px;
  margin-bottom: 48px;
}

.service-info__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.service-info__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 20px;
  font-weight: 500;
}

.service-info__list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.service-info__list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-alt);
  margin-bottom: 4px;
}

.service-info__note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-alt);
}

.service-info__note strong {
  color: var(--color-dark);
}

/* ============================
   TV Page: Device Cards
   ============================ */
.tv-devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tv-device {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tv-device:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(251, 87, 0, 0.1);
}

.tv-device__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(251, 87, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tv-device__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.tv-device__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark-alt);
}

.tv-device__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--color-primary);
  transition: border-color 0.2s;
}

.tv-device__link:hover {
  border-bottom-style: solid;
}

/* ============================
   TV Page: CTA Block
   ============================ */
.tv-cta {
  text-align: center;
  padding: 48px;
}

.tv-cta__headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.tv-cta__sub {
  font-size: 16px;
  color: var(--color-dark-alt);
  margin-bottom: 24px;
  line-height: 1.5;
}

.tv-cta .btn-primary {
  font-size: 16px;
  padding: 12px 32px;
}

/* VPBX tariff cards (simpler, price inside) */
.tariff-card--vpbx .tariff-card__price-line {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: auto;
}

.tariff-card--vpbx .tariff-card__price-line span {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: var(--color-dark-alt);
  margin-top: 4px;
}

/* Link styled as orange */
.link-orange {
  display: inline-block;
  margin-top: 32px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s;
}

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

/* Internet page — tariff tables */
.tariff-tables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 16px;
}

.tariff-table {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  animation: fadeInUp 0.5s ease both;
  display: flex;
  flex-direction: column;
}

.tariff-table:nth-child(2) { animation-delay: 0.08s; }
.tariff-table:nth-child(3) { animation-delay: 0.16s; }
.tariff-table:nth-child(4) { animation-delay: 0.24s; }

.tariff-table__city {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.tariff-table__type {
  font-size: 13px;
  color: var(--color-dark-alt);
  margin-bottom: 16px;
}

.tariff-table__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-dark-alt);
  padding: 4px 0;
  border-bottom: 1px solid var(--color-border);
}

.tariff-table__row:last-of-type {
  border-bottom: none;
}

.tariff-table__extra {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-dark-alt);
  flex-grow: 1;
}

.tariff-table__extra p {
  margin-bottom: 4px;
}

.tariff-table .btn-primary {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  padding: 6px 16px;
  align-self: flex-start;
}

/* Internet info blocks */
.info-blocks {
  padding: 16px 0 48px;
}

.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--gap);
  background: var(--color-white);
  min-height: 260px;
}

.info-block:nth-child(even) {
  direction: rtl;
}

.info-block:nth-child(even) > * {
  direction: ltr;
}

.info-block__text {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-block__text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.info-block__text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-dark-alt);
}

.info-block__image {
  overflow: hidden;
}

.info-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-block__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* Tariff description text (under tables) */
.tariffs-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-alt);
  margin-bottom: 32px;
  text-align: center;
}

/* ============================
   Responsive: Tablet
   ============================ */
@media (max-width: 960px) {
  .top-nav__menu { gap: 16px; }
  .service-nav { gap: 20px; }
  .service-nav__item { font-size: 16px; }
  .hero__title { font-size: 34px; }
  .hero__card { min-height: 360px; }
  .news-grid .news-card { flex: 0 0 calc((100% - var(--gap)) / 2); }
  .footer__info { grid-template-columns: 1fr 1fr; padding: 20px 24px; }

  /* Licenses — tablet */
  .licenses-table { font-size: 13px; }
  .licenses-table thead th, .licenses-table tbody td { padding: 12px 14px; }

  /* Service pages — tablet */
  .service-page__title { font-size: 11px; padding: 5px 12px; }
  .service-hero { height: 360px; }
  .tariff-tables { grid-template-columns: repeat(2, 1fr); }
  .info-block__text h3 { font-size: 18px; }
  .info-block__text p { font-size: 13px; }
  .service-info { padding: 32px 28px; }
  .service-info__title { font-size: 26px; }
  .tv-devices { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   Responsive: Mobile
   ============================ */
@media (max-width: 640px) {
  :root {
    --radius-lg: 24px;
    --radius-md: 14px;
  }

  /* Hide top bar entirely on mobile */
  .top-nav { display: none !important; }

  /* Header: logo + menu button only */
  .service-bar__inner {
    padding: 8px 10px;
    gap: 8px;
  }

  .service-nav { display: none !important; }

  /* Logo shrink on mobile */
  .site-logo img,
  .site-logo__img {
    height: 28px !important;
    width: auto;
  }

  .site-logo {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .desktop-lk {
    display: none;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  /* Sticky header on mobile */
  .service-bar {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 4px 0 4px;
    background: transparent;
  }

  /* Mobile action buttons */
  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .mobile-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(251, 87, 0, 0.08);
    color: var(--color-primary);
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .mobile-header-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-header-btn:hover {
    background: rgba(251, 87, 0, 0.15);
  }

  .menu-toggle {
    margin-left: 0;
  }

  .hero__card { min-height: 280px; }
  .hero__content { padding: 30px 20px; }
  .hero__title { font-size: 24px; margin-bottom: 20px; white-space: normal; }
  .btn-primary, .btn-secondary { font-size: 15px; padding: 8px 16px; }
  .hero__arrow { right: 12px; width: 36px; height: 36px; }

  .news-grid { gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .news-grid .news-card { flex: 0 0 85%; max-width: 85%; scroll-snap-align: start; }
  .news-card__image { aspect-ratio: 16 / 7; }

  .section-heading { gap: 12px; }
  .section-heading__left { padding: 10px 16px; }
  .section-heading__title { font-size: 18px; white-space: normal; }
  .section-heading__all { padding: 6px 14px; font-size: 12px; }

  /* Always show carousel arrows on mobile (no hover) */
  .news-carousel__btn {
    opacity: 1;
    pointer-events: auto;
    width: 36px;
    height: 36px;
  }
  .news-carousel__btn--prev { left: 4px; }
  .news-carousel__btn--next { right: 4px; }

  .footer__info { grid-template-columns: 1fr; gap: 12px; padding: 16px 20px; }
  .footer__col a, .footer__col p, .footer__col span { font-size: 13px; line-height: 1.6; }
  .footer__map, .footer__map-iframe { height: 140px; }
  .footer__map-overlay-text { font-size: 12px; padding: 7px 16px; }

  .page-content__card { padding: 24px 20px; }
  .page-content__card h1 { font-size: 24px; }

  /* Service pages — mobile */
  .service-page__title { font-size: 11px; padding: 5px 10px; margin-bottom: 12px; }
  .service-hero { height: 280px; }
  .service-hero__left { padding: 20px; }
  .service-hero__right img { height: 280px; }
  .service-hero__right-placeholder { min-height: 200px; }
  .tariffs-section__title { font-size: 24px; }
  .tariff-cards { grid-template-columns: 1fr; gap: 16px; }
  .tariff-card { padding: 24px 20px; }
  .tariff-tables { grid-template-columns: 1fr; }
  .info-block { grid-template-columns: 1fr; min-height: auto; }
  .info-block:nth-child(even) { direction: ltr; }
  .info-block__text { padding: 24px 20px; }
  .info-block__image-placeholder { min-height: 180px; }
  .service-info { padding: 24px 20px; }
  .service-info__title { font-size: 22px; }
  .tv-devices { grid-template-columns: 1fr; }
  .tv-cta { padding: 32px 20px; }
  .tv-cta__headline { font-size: 18px; }
  .link-orange { font-size: 18px; }
  .payment-info p { font-size: 17px; }

  /* Licenses — mobile: card layout */
  .licenses-table-wrap { background: transparent; box-shadow: none; border-radius: 0; }
  .licenses-table thead { display: none; }
  .licenses-table, .licenses-table tbody, .licenses-table tr, .licenses-table td { display: block; width: 100%; }
  .licenses-table tbody tr {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 12px;
    border-bottom: none;
    overflow: hidden;
  }
  .licenses-table tbody tr:hover { background: var(--color-white); }
  .licenses-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }
  .licenses-table tbody td:last-child { border-bottom: none; }
  .licenses-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 90px;
    flex-shrink: 0;
    padding-top: 1px;
  }
  .license-link { white-space: normal; font-size: 13px; }

  /* News modal — mobile */
  .news-modal__dialog { width: 95%; border-radius: var(--radius-md); }
  .news-modal__body { padding: 20px; }
  .news-modal__title { font-size: 20px; }
  .news-modal__thumb { max-height: 200px; border-radius: var(--radius-md) var(--radius-md) 0 0; }


  .section-title { font-size: 22px; }
}

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

/* ============================
   Connect Modal (Заявка на подключение)
   ============================ */
.connect-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.connect-modal.active {
  display: flex;
}

.connect-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}

.connect-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(251, 87, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

.connect-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-dark-alt);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.connect-modal__close:hover {
  color: var(--color-primary);
}

.connect-modal__header {
  text-align: center;
  margin-bottom: 12px;
}

.connect-modal__icon {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.connect-modal__header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}

.connect-modal__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark-alt);
  text-align: center;
  margin-bottom: 24px;
}

.connect-modal__field {
  margin-bottom: 16px;
}

.connect-modal__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.connect-modal__field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-dark);
  transition: border-color 0.2s;
  background: var(--color-bg);
}

.connect-modal__field input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.connect-modal__field input::placeholder {
  color: #aaa;
}

.connect-modal__consent {
  margin-top: 12px;
}

.connect-modal__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-dark-alt);
  cursor: pointer;
}

.connect-modal__consent input[type="checkbox"] {
  accent-color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.connect-modal__consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

.connect-modal__consent a:hover {
  color: var(--color-dark);
}

.connect-modal__submit {
  width: 100%;
  font-size: 16px;
  padding: 12px 20px;
  margin-top: 8px;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s;
}

.connect-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.connect-modal__success {
  text-align: center;
  padding: 20px 0 8px;
}

.connect-modal__success-icon {
  margin-bottom: 16px;
}

.connect-modal__success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.connect-modal__success p {
  font-size: 15px;
  color: var(--color-dark-alt);
  line-height: 1.6;
}

/* ============================
   Licenses Page — Table
   ============================ */
.licenses-section {
  padding: 8px 0 48px;
}

.licenses-table-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: fadeInUp 0.4s ease both;
}

.licenses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.licenses-table thead tr {
  background: var(--color-primary);
}

.licenses-table thead th {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.licenses-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
  width: 220px;
}

.licenses-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.licenses-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.18s;
}

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

.licenses-table tbody tr:hover {
  background: rgba(251, 87, 0, 0.04);
}

.licenses-table tbody td {
  padding: 18px 20px;
  color: var(--color-dark);
  vertical-align: top;
}

.licenses-table tbody td:nth-child(2) {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-dark);
}

.license-inn {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-dark-alt);
}

.license-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(251, 87, 0, 0.45);
  white-space: nowrap;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.license-link:hover {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
}

/* ============================
   Contract Page (Договор-оферта)
   ============================ */
.contract-intro {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.contract-intro__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(251, 87, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contract-intro__title {
  margin-bottom: 10px !important;
}

.contract-docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeInUp 0.4s ease both;
}

.contract-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  animation: fadeInUp 0.4s ease both;
}

.contract-doc-card:hover {
  box-shadow: 0 8px 28px rgba(251, 87, 0, 0.16);
  transform: translateY(-2px);
}

.contract-doc-card__info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.contract-doc-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(251, 87, 0, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contract-doc-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 4px;
  line-height: 1.4;
}

.contract-doc-card__meta {
  font-size: 12px;
  color: var(--color-dark-alt);
  opacity: 0.7;
}

.contract-doc-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none !important;
}

.contract-doc-card__btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(251, 87, 0, 0.35);
  color: var(--color-white) !important;
}

.contract-doc-card__btn svg {
  flex-shrink: 0;
}

/* Responsive: contract page */
@media (max-width: 640px) {
  .contract-intro {
    flex-direction: column;
    gap: 16px;
  }

  .contract-doc-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }

  .contract-doc-card__btn {
    width: 100%;
    justify-content: center;
  }

  .contract-doc-card__info {
    gap: 14px;
  }
}

/* ============================
   Page Transitions
   ============================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(251, 87, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  will-change: transform;
}

/* --- Slide from Left --- */
.page-transition--left {
  transform: translateX(-100%);
}
.page-transition--left.slide-in {
  animation: slideInFromLeft 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-transition--left.slide-out {
  animation: slideOutToLeft 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideInFromLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
@keyframes slideOutToLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

/* --- Slide from Right --- */
.page-transition--right {
  transform: translateX(100%);
}
.page-transition--right.slide-in {
  animation: slideInFromRight 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-transition--right.slide-out {
  animation: slideOutToRight 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideInFromRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes slideOutToRight {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* --- Slide from Top --- */
.page-transition--top {
  transform: translateY(-100%);
}
.page-transition--top.slide-in {
  animation: slideInFromTop 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-transition--top.slide-out {
  animation: slideOutToTop 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideInFromTop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@keyframes slideOutToTop {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}

/* --- Slide from Bottom --- */
.page-transition--bottom {
  transform: translateY(100%);
}
.page-transition--bottom.slide-in {
  animation: slideInFromBottom 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-transition--bottom.slide-out {
  animation: slideOutToBottom 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideInFromBottom {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes slideOutToBottom {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

/* Content reveal after transition */
.page-content-reveal {
  animation: contentReveal 0.4s ease forwards;
}

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

/* Logo on transition overlay */
.page-transition__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 1px;
  opacity: 0;
  animation: logoFlash 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  white-space: nowrap;
}

@keyframes logoFlash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  50%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ============================
   Coverage: hide address bar
   ============================ */
.page-template-page-coverage .ccm-search-bar,
.ccm-modal .ccm-search-bar {
  display: none !important;
}

/* ============================
   Cookie Consent Banner
   ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0 20px 20px;
  transform: translateY(100%);
  animation: cookieSlideUp 0.5s 1s ease forwards;
}

.cookie-banner.hidden {
  animation: cookieSlideDown 0.35s ease forwards;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(251, 87, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cookie-banner__text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.cookie-banner__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-banner__text p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-dark-alt);
  margin: 0;
}

.cookie-banner__link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-banner__link:hover {
  color: var(--color-primary-hover);
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 8px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  background: var(--color-primary-hover);
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@keyframes cookieSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 16px 20px;
  }

  .cookie-banner__text {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

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

/* Hero */
.faq-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 48px;
  margin-bottom: 32px;
  animation: fadeInUp 0.4s ease both;
}

.faq-hero__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(251, 87, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 6px;
  line-height: 1.2;
}

.faq-hero__sub {
  font-size: 15px;
  color: var(--color-dark-alt);
  margin: 0;
}

/* Section */
.faq-section {
  margin-bottom: 40px;
  animation: fadeInUp 0.45s ease both;
}

.faq-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-left: 4px;
}

/* FAQ list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual item */
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 6px 24px rgba(251, 87, 0, 0.13);
}

/* Question button */
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-item__q:hover {
  color: var(--color-primary);
}

.faq-item--open .faq-item__q {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

/* Chevron */
.faq-item__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--color-primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item--open .faq-item__chevron {
  transform: rotate(180deg);
}

/* Answer panel */
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__a p {
  padding: 16px 28px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark-alt);
  margin: 0;
}

.faq-item__a p strong {
  color: var(--color-dark);
}

/* CTA block */
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-orange-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  margin-bottom: 48px;
  animation: fadeInUp 0.5s ease both;
}

.faq-cta__text { flex: 1; }

.faq-cta__headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 6px;
}

.faq-cta__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.faq-cta__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.faq-cta__actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--color-white);
  color: var(--color-primary) !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none !important;
}

.faq-cta__actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.faq-cta__link {
  color: var(--color-white) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.faq-cta__link:hover { opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .faq-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
  }

  .faq-hero__title { font-size: 24px; }
  .faq-section__title { font-size: 17px; }
  .faq-item__q { padding: 16px 20px; font-size: 14px; }
  .faq-item__a p { padding: 12px 20px 16px; }

  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .faq-cta__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .faq-cta__actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================
   Archive Grid (Static, no carousel)
   ============================ */

/* On the archive/category page the grid is a true 3-col wrap, not a carousel */
.news-grid--static {
  overflow-x: visible;
  flex-wrap: wrap;
}

.news-grid--static .news-card {
  flex: 0 0 calc((100% - var(--gap) * 2) / 3);
  max-width: calc((100% - var(--gap) * 2) / 3);
  scroll-snap-align: unset;
}

/* Infinite Scroll sentinel + spinner */
.infinite-sentinel {
  width: 100%;
  height: 40px;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinite-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinite-spinner svg {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive archive grid */
@media (max-width: 1024px) {
  .news-grid--static .news-card {
    flex: 0 0 calc((100% - var(--gap)) / 2);
    max-width: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 600px) {
  .news-grid--static {
    flex-direction: column;
  }
  .news-grid--static .news-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ============================
   About Page
   ============================ */

/* Intro block */
.about-intro {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 40px;
  margin-bottom: 28px;
  animation: fadeInUp 0.4s ease both;
}

.about-intro__text {
  flex: 1;
  min-width: 0;
}

.about-intro__lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.about-intro__text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-dark-alt);
  margin-bottom: 12px;
}

.about-intro__text p:last-child { margin-bottom: 0; }

.about-intro__since {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(251, 87, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
  min-width: 130px;
}

.about-intro__year {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.about-intro__year-label {
  font-size: 12px;
  color: var(--color-dark-alt);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Feature cards grid */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 8px;
  animation: fadeInUp 0.45s ease both;
}

.about-feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(251, 87, 0, 0.13);
}

.about-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(251, 87, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-feature-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.about-feature-card__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-dark-alt);
  margin: 0;
}

/* Requisites table */
.about-requisites {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 40px;
  animation: fadeInUp 0.5s ease both;
}

.about-req-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
}

.about-req-row:last-child { border-bottom: none; }

.about-req-row:hover { background: rgba(251, 87, 0, 0.03); }

.about-req-row__label {
  flex: 0 0 240px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-alt);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-req-row__value {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
}

.about-req-row__value a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.about-req-row__value a:hover { opacity: 0.75; }

/* Responsive */
@media (max-width: 1024px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }

  .about-intro__since {
    width: 100%;
    flex-direction: row;
    gap: 16px;
    padding: 16px 24px;
  }

  .about-intro__year { font-size: 40px; }

  .about-features { grid-template-columns: 1fr; }

  .about-req-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
  }

  .about-req-row__label { flex: none; font-size: 11px; }
  .about-req-row__value { font-size: 14px; }
}

/* ============================
   Section Heading — Breadcrumb (right side)
   ============================ */
.section-heading__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-dark-alt);
}

.section-heading__breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
  transition: opacity 0.2s;
}

.section-heading__breadcrumb a:hover { opacity: 0.7; }

.section-heading__breadcrumb .breadcrumb-sep {
  color: var(--color-dark-alt);
  opacity: 0.5;
}

/* Contract page short description */
.contract-desc {
  font-size: 15px;
  color: var(--color-dark-alt);
  line-height: 1.65;
  margin-bottom: 24px;
  padding: 0 4px;
}
