/* ===== ROOT VARIABLES ===== */
:root {
  --blue: #e03030;
  --dark-blue: #b51f1f;
  --text-dark: #1a1a2e;
  --text-gray: #666;
  --bg-light: #f5f7fa;
  --white: #fff;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}

.logo-text { line-height: 1.2; }

.logo-text .l1 {
  display: block;
  font-weight: 900;
  font-size: 15px;
  color: var(--text-dark);
  letter-spacing: 1.5px;
}

.logo-text .l2 {
  display: block;
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 2.5px;
}

.header-city {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-city i { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s, opacity 0.2s;
}

.icon-btn.phone   { background: var(--blue); color: white; }
.icon-btn.form-btn { background: #f5a623; color: white; }
.icon-btn.menu-btn { background: none; color: #333; font-size: 24px; }
.icon-btn:hover   { opacity: 0.85; transform: scale(1.07); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #eee;
  padding: 0 20px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 15px;
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover      { color: var(--blue); }

/* ===== DESKTOP NAV ===== */
.header-nav {
  background: #f8f9fb;
  border-top: 1px solid #eee;
}

.nav-list {
  display: flex;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-list li a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}

.nav-list li a:hover { color: var(--blue); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  border: none;
  padding: 15px 38px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(62, 193, 232, 0.4);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 48px 20px 24px;
  background: white;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(22px, 5.5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.hero h1 .brand { color: var(--blue); }

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #666;
  margin-bottom: 20px;
}

.hero-image {
  max-width: 460px;
  width: 100%;
  display: block;
  margin: 0 auto 28px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-badge {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  line-height: 1.4;
  min-width: 138px;
  text-align: center;
}

.feature-badge strong {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.call-hint {
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
}

/* ===== SECTION COMMON ===== */
.section { padding: 64px 20px; }

.section-title {
  text-align: center;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 900;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 15px;
  margin-bottom: 40px;
}

/* ===== SERVICES ===== */
.services-section { background: var(--bg-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.service-card-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
}

.service-card-icon-fallback {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 60px;
  color: var(--blue);
}

.service-card-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.3;
}

.service-card-title::before {
  content: '';
  display: inline-block;
  min-width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-card ul { list-style: none; }

.service-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:last-child { border-bottom: none; }

.service-card ul li a {
  color: #444;
  font-size: 14px;
  transition: color 0.2s;
}

.service-card ul li a:hover { color: var(--blue); }

/* ===== CTA BAR ===== */
.cta-bar {
  text-align: center;
  padding: 40px 20px 0;
  max-width: 720px;
  margin: 0 auto;
}

.cta-bar p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.phone-block a {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}

.phone-block small {
  display: block;
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
  margin-top: 2px;
}

/* ===== VIDEO ===== */
.video-section {
  background: var(--bg-light);
  text-align: center;
}

.video-btn {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  border: none;
  padding: 18px 50px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
}

.video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62,193,232,0.45);
}

/* ===== ABOUT ===== */
.about-section { background: white; }

.about-inner {
  max-width: 820px;
  margin: 0 auto;
}

.about-text {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  text-align: center;
  margin-bottom: 16px;
}

/* ===== TEAM ===== */
.team-section { background: var(--bg-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 30px auto 0;
}

.team-card {
  background: white;
  border-radius: 18px;
  padding: 26px 16px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  margin-bottom: 14px;
}

.team-card h3 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.team-card p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 12px;
}

.team-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.team-rating {
  color: #f5a623;
  font-weight: 800;
  font-size: 14px;
}

/* ===== ADVANTAGES ===== */
.advantages-section { background: white; }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 18px;
  background: var(--bg-light);
  transition: transform 0.3s;
}

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

.advantage-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}

.advantage-card p { font-size: 14px; color: #666; line-height: 1.75; }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--bg-light); }

.rating-summary { text-align: center; margin-bottom: 40px; }

.rating-score {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-dark);
}

.stars { color: #f5a623; font-size: 30px; margin: 8px 0; }

.rating-count { color: #888; font-size: 14px; line-height: 1.8; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.review-card {
  background: white;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.review-stars  { color: #f5a623; font-size: 14px; margin-bottom: 10px; }
.reviewer      { font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.review-date   { font-size: 12px; color: #bbb; margin-bottom: 12px; }
.review-text   { font-size: 14px; color: #555; line-height: 1.75; }

/* ===== DISCOUNT ===== */
.discount-section {
  background: white;
  text-align: center;
  padding: 80px 20px;
}

.discount-title {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.4;
}

.discount-title .highlight { color: var(--blue); }

.discount-subtitle { font-size: 14px; color: #aaa; margin-bottom: 40px; }

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.countdown-item { text-align: center; }

.countdown-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-circle.active { border-color: var(--blue); }

.countdown-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.countdown-label { font-size: 11px; color: #aaa; }

.countdown-sep {
  font-size: 30px;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 18px;
}

/* ===== CONTACTS / FOOTER ===== */
.contacts-section { background: var(--bg-light); }

.contacts-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.contact-block h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaa;
  margin-bottom: 10px;
}

.contact-block p   { font-size: 15px; color: #333; line-height: 1.7; }
.contact-block a   { font-size: 20px; font-weight: 800; color: var(--blue); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid #e0e0e0;
}

.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaa;
  margin-bottom: 14px;
}

.footer-col h5 + h5 { margin-top: 20px; }

.footer-col ul         { list-style: none; }
.footer-col ul li      { margin-bottom: 8px; }
.footer-col ul li a    { font-size: 14px; color: #555; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--blue); }

.footer-logo-block { text-align: left; }

.footer-brand {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
}

.footer-brand span { color: var(--blue); }

.footer-socials { margin-top: 16px; display: flex; gap: 14px; }

.footer-socials a         { font-size: 24px; transition: transform 0.2s, opacity 0.2s; }
.footer-socials a:hover   { transform: scale(1.15); opacity: 0.85; }

.footer-copyright {
  text-align: center;
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
  color: #bbb;
}

/* ===== CONTACT FORM ===== */
.form-section {
  background: var(--text-dark);
  color: white;
  text-align: center;
}

.form-inner            { max-width: 500px; margin: 0 auto; }
.form-inner h2         { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.form-inner .form-hint { font-size: 14px; color: #aaa; margin-bottom: 32px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  background: rgba(255,255,255,0.07);
  color: white;
  outline: none;
  transition: background 0.2s;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #888; }

.contact-form input:focus,
.contact-form textarea:focus { background: rgba(255,255,255,0.12); }

.contact-form textarea { resize: none; }

.form-success {
  display: none;
  padding: 36px 20px;
  background: rgba(62,193,232,0.08);
  border-radius: 16px;
  border: 1px solid var(--blue);
}

.form-success i   { font-size: 44px; color: var(--blue); display: block; margin-bottom: 14px; }
.form-success h3  { font-size: 22px; margin-bottom: 8px; }
.form-success p   { font-size: 14px; color: #aaa; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

.whatsapp-float i { font-size: 34px; color: white; }

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #222;
  color: white;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #222;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== PHONES TOP BAR ===== */
.phones-top-bar {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.phones-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.phones-bar-item:hover { opacity: 0.85; }

.phones-bar-item i      { font-size: 14px; opacity: 0.85; }
.phones-bar-item strong { font-size: 17px; font-weight: 800; letter-spacing: 0.5px; }
.phones-bar-label       { font-size: 12px; opacity: 0.75; }

/* ===== PRICES ===== */
.prices-section { background: var(--bg-light); }

.prices-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.prices-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 2px solid #e0e0e0;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: all 0.2s;
}

.prices-tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.prices-table-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
}

.prices-table thead tr    { background: var(--text-dark); color: white; }
.prices-table thead th    { padding: 14px 20px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.prices-table thead th:last-child { text-align: right; }

.prices-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.prices-table tbody tr:hover     { background: var(--bg-light); }
.prices-table tbody tr.hidden-row { display: none; }
.prices-table-wrap.expanded tbody tr.hidden-row { display: table-row; }

.prices-table tbody td {
  padding: 13px 20px;
  font-size: 14px;
  color: #444;
}

.prices-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.prices-table tbody td.free { color: #27ae60; font-weight: 700; }

.prices-show-more {
  display: block;
  width: 100%;
  padding: 14px;
  background: none;
  border: none;
  border-top: 1px solid #f0f0f0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.prices-show-more:hover { background: var(--bg-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-nav        { display: none; }
  .header-city       { display: none; }
  .section           { padding: 44px 16px; }
  .team-grid         { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contacts-top      { grid-template-columns: 1fr; }
  .footer-cols       { grid-template-columns: 1fr 1fr; }
  .whatsapp-float    { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .whatsapp-float i  { font-size: 28px; }
  .phones-top-bar    { gap: 16px; padding: 10px 16px; }
  .phones-bar-item strong { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero              { padding: 28px 16px 16px; }
  .services-grid     { grid-template-columns: 1fr; }
  .advantages-grid   { grid-template-columns: 1fr; }
  .reviews-grid      { grid-template-columns: 1fr; }
  .footer-cols       { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .cta-actions       { flex-direction: column; }
  .phones-top-bar    { flex-direction: column; gap: 10px; }
  .prices-table tbody td { padding: 11px 14px; font-size: 13px; }
  .prices-table thead th { padding: 12px 14px; }
}
