/*
Theme Name: Ural 1
Theme URI: https://it.geokov.ru
Author: Георгий Коваленко
Author URI: https://it.geokov.ru
Description: Minimal, extensible WordPress theme with 503 maintenance mode.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

	html {
  overflow-x: hidden;
  max-width: 100vw;
}



  :root {
      --glass-bg: rgba(255, 255, 255, 0.65);
      --glass-border: rgba(255, 255, 255, 0.4);
      --text-dark: #1a1a1a;
      --text-blue: #1a237e;
      --primary: #05003b;
      --accent-hover: #6a2cb7;
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --radius: 16px;
      --header-bg: rgba(255, 255, 255, 0.85);
    } 

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
/*	max-width: 100%; */
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: white;
      color: black;
      line-height: 1.6;
		overflow-x: hidden;
  max-width: 100vw;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .container p {
      color: black;
    }


    header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 20px 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
      transition: background 0.3s ease;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }


    .header-top-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }

    .header-logo a {
      font-size: 15px;
      font-weight: 800;
      color: #fff;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
	
	.header-logo {
		width: 250px;
	}
    
    .header-logo span {
      color: red; 
    }

    .header-info-block {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .header-contacts {
      text-align: right;
      line-height: 1.4;
    }

    .header-phone {
      display: block;
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      text-decoration: none;
      transition: color 0.2s;
    }

    .header-phone:hover {
      color: var(--primary);
    }

    .header-address {
      display: block;
      color: rgba(255,255,255,0.8);
      font-size: 12px;
      margin-top: 4px;
    }

    .header-btn {
      display: inline-block;
      padding: 10px 25px;
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      border-radius: 4px;
      transition: all 0.3s ease;
      white-space: nowrap;
    }

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

    .header-socials {
      display: flex;
      gap: 15px;
    }

    .header-social-link {
      color: #fff;
      font-size: 20px;
      transition: color 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
    }

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


    .header-nav-row {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 15px;
    }

    .main-menu {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      gap: 30px;
      justify-content: center;
    }

    .main-menu li {
      position: relative;
    }

    .main-menu a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 10px 0;
      display: block;
      transition: color 0.2s;
    }

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

    
    .has-submenu > a::after {
      content: '▼';
      font-size: 8px;
      margin-left: 6px;
      vertical-align: middle;
      opacity: 0.7;
    }

    .submenu {
      position: absolute;
      top: 100%;
      left: -15px;
      background: #fff;
      min-width: 220px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      border-radius: 4px;
      padding: 10px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      list-style: none;
    }

    .menu-item-has-children:hover .sub-menu {
      display: block;
		opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .submenu li a {
      color: #333;
      padding: 8px 20px;
      font-size: 13px;
      text-transform: none;
    }

    .submenu li a:hover {
      background: #f5f5f5;
      color: var(--primary);
    }

   
    @media (max-width: 991px) {
      .header-top-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
      }
      
      .header-info-block {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
      }

      .main-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
      }
      
      .main-menu a {
        font-size: 12px;
      }
    }

   
    .hero {
      position: relative;
  /*    min-height: 85vh; */
      height: auto;
      padding-top: 280px; 
      padding-bottom: 4rem;
      background: url('/wp-content/uploads/2026/04/photo_lar-scaled.jpg') no-repeat center/cover;
      background-size: cover;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      color: white;
      overflow: hidden;
    }

    .hero-block {
      display: flex;
      width: 1160px;
    }

    .hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); 
}

    .hero-content {
      display: flex;
      position: relative;
      z-index: 2;
      max-width: 800px;
      text-align: left;
      flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    margin-top: 100px;
    }
	
	.hero-content2 {
      margin-left: 10px;
    }

    .hero h1 {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 1rem;
      line-height: 1.1;
    }

    .hero p {
      font-size: 15px;
      opacity: 0.95;
      margin-bottom: 2rem;
      max-width: 650px;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      margin-bottom: 2.5rem;
    }

    .btn-hero {
      padding: 0.85rem 1.75rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-hero.primary {
      background: var(--primary);
      color: white;
    }

    .btn-hero.secondary {
      background: transparent;
      color: white;
      border: 2px solid white;
    }

    .hero-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
      max-width: 800px;
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: var(--radius);
      padding: 1.5rem;
      display: flex;
      justify-content: flex-start;
      min-height: 100px;
      color: white;
    }

    .hero-card-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1.1rem;
      margin-bottom: 0.75rem;
    }

    .hero-card-title {
      font-weight: 600;
      font-size: 14px;
      
    }

    .hero-card-desc {
      font-size: 12px;
      opacity: 0.9;
    }
	
.sub-services-nav {
    width: 100%;
    margin-top: 15px; 
    padding: 0;
    background-color: #333333; 
    border-radius: 4px;
}

.sub-services-list {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.sub-services-list li {
    position: relative;
}

.sub-services-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2); 
}

.sub-services-list li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}


.sub-services-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}


@media (max-width: 991px) {
    .sub-services-nav {
        background-color: transparent; 
        padding: 0;
        margin-top: 10px;
    }
    
    .sub-services-list {
        justify-content: flex-start; 
        overflow-x: auto; 
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .sub-services-list li a {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    
    .sub-services-list li:not(:last-child)::after {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

    
    .glass-card {
      background-color: white;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background: url('/wp-content/uploads/2026/04/photo_lar-scaled.jpg') no-repeat center/cover;
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      padding: 2rem;
      margin: 1.25rem 0;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
    }

 /*   .glass-card::before {
      content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); 
	border-radius: 10px;
    } */

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

    .glass-card p {
      color: white;
      z-index: 1;
    }

    .glass-card a {
      z-index: 1;
      color: white;
    }

    .glass-card ul {
      color: white;
      z-index: 1;
    }

    .glass-card form {
      z-index: 1;
    }

    h2.section-title {
      font-size: 3rem;
      margin: 2.5rem 0 1.5rem;
      text-align: center;
      color: black;
		padding-top: 10px;
    }

    h3.card-title {
      font-size: 1.35rem;
      margin-bottom: 0.75rem;
      color: white;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      z-index: 1;
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }
	
	.cards-grid2 {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }

    
    .popular-badge {
      background: var(--primary);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 1rem;
      z-index: 1;
    }

    .tariff-card.popular {
      border: 2px solid var(--primary);
    }

.tariff-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
    /* Добавляем это: */
    image-rendering: -webkit-optimize-contrast; /* Для Chrome/Safari */
    image-rendering: crisp-edges; /* Стандарт */
}

   
    .reviews-carousel {
      display: flex;
      overflow-x: auto;
      gap: 1.5rem;
      padding: 1rem 0;
      scroll-snap-type: x mandatory;
    }

    .review-card {
      scroll-snap-align: start;
      min-width: 320px;
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      padding: 1.75rem;
      box-shadow: var(--shadow);
    }

    .review-card p {
      color: black;
    }

    .avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .stars {
      color: gold;
      margin-bottom: 0.75rem;
    }

    
    .booking-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    .map-placeholder {
      background: #eee;
      border-radius: var(--radius);
      height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
    }

    
    .cream-form-section {
      background-color: #f9f7f2; 
      padding: 3rem 0;
    }

	.cream-form-section2 {
      background-color: #f9f7f2; 
      padding: 1rem 0;
    }

    .cream-form-card {
      background: transparent;
      border: none;
      box-shadow: none;
      backdrop-filter: none;
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
    }

    .cream-form-card:hover {
      transform: none !important;
      box-shadow: none !important;
    }

    .cream-form-group {
      margin-bottom: 1.5rem;
      position: relative;
    }

    .cream-label {
      display: block;
      font-size: 14px;
      color: #555;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .cream-input, 
    .cream-select {
      width: 100%;
      background-color: transparent;
      border: none;
      border-bottom: 1px solid #ccc; 
      padding: 10px 0;
      font-size: 16px;
      color: #333;
      font-family: 'Inter', sans-serif;
      outline: none;
      border-radius: 0;
      appearance: none; 
      -webkit-appearance: none;
    }


    .cream-input:focus, 
    .cream-select:focus,
    .cream-input:hover,
    .cream-select:hover {
      border-bottom-color: #ccc; 
      background-color: transparent;
    }

    
    .select-wrapper {
      position: relative;
    }
    
    
    .select-wrapper::after {
      content: '▼';
      font-size: 10px;
      color: #999;
      position: absolute;
      right: 0;
      top: 12px;
      pointer-events: none;
    }

    
    .radio-group {
      display: flex;
      gap: 20px;
      margin-top: 5px;
    }

    .radio-label {
      display: flex;
      align-items: center;
      cursor: pointer;
      font-size: 15px;
      color: #333;
    }

    .radio-label input {
      width: auto;
      margin-right: 8px;
      accent-color: var(--primary); 
      cursor: pointer;
    }

   
    .cream-submit-btn {
      width: 100%;
      padding: 15px;
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 1rem;
      transition: none; 
    }

    .cream-submit-btn:hover {
      background-color: var(--primary); 
      opacity: 0.95; 
    }

   
    .form-row-two {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }

    @media (max-width: 600px) {
      .form-row-two {
        grid-template-columns: 1fr;
        gap: 0;
      }
    }

        
    .site-footer {
        position: relative;
        color: #fff;
        padding: 60px 0 20px;
        font-size: 15px;
        line-height: 1.6;
        
        
        background: url('/wp-content/uploads/2026/04/photo_lar-scaled.jpg') no-repeat center bottom/cover;
        background-size: cover;
        background-position: center;
        overflow: hidden; 
    }

    
    .site-footer::before {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: linear-gradient(to bottom, rgba(5, 0, 59, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .footer-container {
        position: relative;
        z-index: 2;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }


    .footer-col h4 {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

 
    .footer-logo img {
        max-width: 160px;
        height: auto;
        margin-bottom: 20px;
        display: block;
        
    }

    .footer-desc {
        margin-bottom: 25px;
        color: rgba(255, 255, 255, 0.8); 
    }

    .footer-youtube-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #ff0000;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: bold;
        margin-bottom: 20px;
        transition: background-color 0.3s;
        text-decoration: none;
    }

    .footer-youtube-btn:hover {
        background-color: #cc0000;
    }

    .footer-youtube-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
        margin-right: 8px;
    }

 
    .footer-nav ul,
    .footer-services ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav ul li,
    .footer-services ul li {
        margin-bottom: 10px;
    }

    .footer-nav ul li a,
    .footer-services ul li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s, padding-left 0.3s;
    }

    .footer-nav ul li a:hover,
    .footer-services ul li a:hover {
        color: #fff;
        padding-left: 5px; 
    }

   
    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .contact-icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-right: 15px;
        margin-top: 3px;
    }

    .contact-icon svg {
        width: 100%;
        height: 100%;
        fill: #fff; 
        opacity: 0.8;
    }

    .contact-info p {
        margin: 0;
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
    }

    .contact-info a {
        color: #fff;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        display: block;
        margin-top: 5px;
    }

    .contact-info a:hover {
        color: #ccc;
    }

    .route-link {
        color: #fff !important;
        text-decoration: underline;
        font-size: 14px;
    }

    
    .footer-floating-buttons {
        display: flex;
        gap: 10px;
        margin-top: 25px;
    }

    .floating-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: white;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        text-decoration: none;
    }
    
    .floating-btn2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: white;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,1);
        text-decoration: none;
    }

    .floating-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    }

    .floating-btn.phone { background-color: #28a745; }
    .floating-btn.telegram { background-color: #0088cc; }
    .floating-btn.max { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
    
    .floating-btn.phone2 { background-color: transparent; border: 1px solid rgba(255,255,255,0.3); }
    .floating-btn.telegram2 { background-color: transparent; border: 1px solid rgba(255,255,255,0.3); }
    .floating-btn.max2 { background-color: transparent; border: 1px solid rgba(255,255,255,0.3); }

    .floating-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    
    .footer-bottom {
        margin-top: 50px;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); 
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-bottom-left p {
        margin: 5px 0;
    }

    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.6);
        margin-left: 20px;
        text-decoration: none;
    }

    .footer-bottom-links a:hover {
        color: #fff;
    }

    .developer-link b {
        color: #fff;
    }

    .footer-social-icons {
        display: flex;
        gap: 15px;
    }

    .footer-social-icons a {
        color: rgba(255, 255, 255, 0.6);
        transition: color 0.3s;
    }

    .footer-social-icons a:hover {
        color: #fff;
    }

    .footer-social-icons svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

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

    @media (max-width: 767px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .footer-bottom {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }

        .footer-bottom-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .footer-bottom-links a {
            margin-left: 0;
        }
    }
	
	

.glass-card.service-card {
  background: url('/wp-content/uploads/2026/04/photo_lar-scaled.jpg') no-repeat center/cover; 
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}


.glass-card.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 0;
}

.glass-card.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.card-header,
.card-description,
.card-features,
.card-btn {
  position: relative;
  z-index: 1;
}


.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(106, 44, 183, 0.2); 
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff; 
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white; 
  margin: 0;
}


.card-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9); 
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem 1.5rem;
}

.card-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background-color: white; 
  border-radius: 50%;
}


.card-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background-color: #05003b; 
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.card-btn:hover {
  background-color: #05003b;
}

@media (max-width: 768px) {
  .glass-card.service-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

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

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start; 
}

.new-tariff-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333;
}

.new-tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}


.new-tariff-card.popular {
    border: 2px solid var(--primary); 
    z-index: 2;
}


.popular-badge-new {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8e44ad; 
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(142, 68, 173, 0.4);
}


.tariff-image-wrapper {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tariff-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}


.tariff-overlay-text {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    z-index: 2;
}

.tariff-car-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.tariff-car-model {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
}

.tariff-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.tariff-prices-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-item {
    text-align: center;
    flex: 1;
}

.price-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.price-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}


.tariff-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; 
}

.tariff-features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.4;
}


.tariff-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -1px;
    color: #27ae60; 
    font-weight: bold;
    font-size: 16px;
}


.tariff-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #05003b;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.tariff-btn:hover {
    background-color: #732d91;
}


@media (max-width: 768px) {
    .tariff-prices-row {
        flex-direction: column;
        gap: 15px;
    }
    .price-item {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

	

.tooltip-wrapper {
  position: relative; 
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  vertical-align: middle;
  cursor: pointer;
}

.tooltip-icon {
  width: 22px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.2); 
  color: #ff0000; 
  border: 1px solid #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  transition: all 0.3s ease;
  z-index: 5;
}


.tooltip-wrapper:hover .tooltip-icon {
  background-color: #fff;
/*  color: var(--primary);*/
  border-color: #fff;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  
  position: fixed; 
  z-index: 99999; 
  
  width: 280px;
  background-color: #fff;
  color: #333;
  text-align: left;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
  border: 1px solid #eee;
	text-shadow: 0 0 black;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -120%); 
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  bottom: -6px; 
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -130%); 
}

.tooltip-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}

.tooltip-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 10px 0;
}

.tooltip-list li {
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
}

.tooltip-list li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}


.new-tariff-card {
  overflow: visible !important; 
}
.tariff-image-wrapper {
  overflow: visible !important;
}
.tariff-overlay-text {
    overflow: visible;
}



@media (max-width: 991px) {
    header {
        padding: 10px 0;
    }
    
    .header-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .header-logo {
        width: 180px;
        margin-bottom: 10px;
    }

    .header-info-block {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .header-contacts {
        text-align: center;
    }

    .header-phone {
        font-size: 16px;
    }

    .header-btn {
        width: 100%;
        text-align: center;
        padding: 8px 20px;
    }

    .header-socials {
        justify-content: center;
    }

    .header-nav-row {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .main-menu {
        justify-content: flex-start;
        min-width: max-content;
        padding: 0 10px;
    }
    
    .main-menu li {
        margin-right: 15px;
    }


    .sub-services-nav {
        background: transparent;
    }
    
    .sub-services-list {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
	.body {
		width: 100%;
	}
	
	.hero {
        padding-top: 500px;
        padding-bottom: 2rem;
        min-height: auto;
        height: auto;
        background-position: center center;
    }

    .hero-block {
        width: 100%;
        padding: 0 15px;
    }

    .hero-content {
        margin-top: 0;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .hero-cards {
        grid-template-columns: 1fr; 
        width: 100%;
        gap: 15px;
    }

    .hero-card {
        padding: 1rem;
        min-height: auto;
    }

    .cards-grid, 
    .cards-grid2,
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    h2.section-title {
        font-size: 24px;
        margin: 1.5rem 0 1rem;
    }

    .glass-card.service-card {
        padding: 1.5rem;
        min-height: auto;
    }

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

    .new-tariff-card {
        margin-bottom: 20px;
    }

    .tariff-image-wrapper {
        height: 180px;
    }

    .tariff-car-name {
        font-size: 20px;
    }

    .tariff-body {
        padding: 15px;
    }

    .tariff-prices-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .price-item {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .price-label {
        margin-bottom: 0;
    }

    .cream-form-card {
        padding: 15px;
    }

    .form-row-two {
        grid-template-columns: 1fr; 
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-floating-buttons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom-links a {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .header-logo {
        width: 140px;
    }
    
    .header-phone {
        font-size: 14px;
    }
    
    .tooltip-text {
        width: 240px;
        font-size: 12px;
    }
}



/* =========================================
   Секция "Остались вопросы?"
   ========================================= */

.questions-section {
    padding: 80px 0;
    background-color: #f9fafb; /* Светло-серый фон, как в примере */
}

.questions-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.questions-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.questions-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка контакта */
.q-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.q-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Иконка в карточке */
.q-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(5, 0, 59, 0.05); /* Очень светлый вариант primary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.q-card:hover .q-icon-wrapper {
    background-color: rgba(5, 0, 59, 0.1);
}

.q-icon-svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary); /* Используем основной цвет темы для обводки */
    stroke-width: 2;
    fill: none;
}

/* Заголовок карточки */
.q-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Ссылка или текст внутри карточки */
.q-card-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    word-break: break-all; /* Чтобы длинные email не ломали верстку */
}

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

.q-card-text {
    color: #4b5563;
    font-size: 1rem;
}

/* Специфичные цвета для соцсетей (опционально, если хотите брендовые цвета) */
.q-card.social-tg .q-icon-svg { stroke: #0088cc; }
.q-card.social-wa .q-icon-svg { stroke: #25D366; }
.q-card.social-vk .q-icon-svg { stroke: #0077FF; fill: #0077FF; } /* VK часто требует заливки */

/* Адаптивность */
@media (max-width: 991px) {
    .questions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .questions-section {
        padding: 50px 0;
    }
    
    .questions-title {
        font-size: 2rem;
    }

    .questions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .q-card {
        padding: 30px 20px;
    }
}


.uslugi-card-description p {
	color: white;
}

/* 1. Скрываем подменю по умолчанию */
    .main-menu .sub-menu {
      position: absolute;
      top: 100%;
      left: -15px;
      background: #fff;
      min-width: 220px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      border-radius: 4px;
      padding: 10px 0;
      
      /* Механизм скрытия */
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      
      /* Важно: z-index, чтобы меню было поверх остального контента */
      z-index: 9999; 
      
      list-style: none;
      margin: 0;
      
      /* Плавность */
      transition: all 0.3s ease;
    }

    /* 2. Показываем подменю при наведении на родительский li */
    /* WordPress добавляет класс menu-item-has-children */
    .main-menu li.menu-item-has-children:hover > .sub-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    /* 3. Стрелочка для пунктов с подменю */
    .main-menu li.menu-item-has-children > a::after {
      content: '▼';
      font-size: 8px;
      margin-left: 6px;
      vertical-align: middle;
      opacity: 0.7;
      display: inline-block;
    }

    /* 4. Стили ссылок внутри выпадающего меню */
    .main-menu .sub-menu li a {
      color: #333;
      padding: 8px 20px;
      font-size: 13px;
      text-transform: none;
      display: block;
      white-space: nowrap; /* Чтобы текст не переносился некрасиво */
    }

    .main-menu .sub-menu li a:hover {
      background: #f5f5f5;
      color: var(--primary);
    }
    
    /* Убираем старые классы, если они где-то остались, чтобы не мешали */
    .submenu {
        display: none; 
    }



    @media (max-width: 991px) {
        /* На планшетах убираем разделительную линию */
        .container > div[style*="backdrop-filter"] > div {
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }
        .container > div[style*="backdrop-filter"] > div > div:first-child {
            border-right: none !important;
            padding-right: 0 !important;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            padding-bottom: 2rem;
        }
    }
    @media (max-width: 600px) {
        /* На телефонах делаем сетку контактов в 1 колонку */
        .container > div[style*="backdrop-filter"] > div > div:last-child > div {
            grid-template-columns: 1fr !important;
        }
        .container > div[style*="backdrop-filter"] {
            padding: 1.5rem !important;
        }
    }
    
    
    /* Формы обратной связи глобальные*/
    
    /* Основной контейнер */
.page--text .panel {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;
}

/* Заголовок вопроса (кликабельная область) */
.page--text .panel-faq {
    padding: 15px 20px;
    cursor: pointer;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
    position: relative;
}

.page--text .panel-faq:hover {
    background: #e9ecef;
}

/* Ссылка внутри заголовка */
.page--text .panel-faq a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding-right: 30px; /* Место для плюсика */
    font-size: 16px;
    line-height: 1.4;
    outline: none;
}

/* Плюсик справа */
.page--text .panel-faq a::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #666;
    transition: transform 0.3s ease;
}

/* Минусик при открытом состоянии (класс active добавляется JS) */
.page--text .panel.active .panel-faq a::after {
    content: '−';
}

/* Скрытый блок с ответом */
.page--text .panel-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* Открытый блок с ответом */
.page--text .panel.active .panel-collapse {
    max-height: 2000px; /* Достаточно большое значение для любого текста */
    transition: max-height 0.5s ease-in;
}

/* Текст ответа */
.page--text .panel-body {
    padding: 15px 20px 20px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.page--text .panel-body p {
    margin: 0 0 12px;
}

.page--text .panel-body p:last-child {
    margin-bottom: 0;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .page--text .panel-faq {
        padding: 12px 15px;
    }
    .page--text .panel-faq a {
        font-size: 15px;
    }
    .page--text .panel-body {
        padding: 12px 15px 18px;
        font-size: 14px;
    }
}

.consent-text a { 
            color: #0073aa !important; /* Яркий синий цвет */
            text-decoration: underline; 
            font-weight: 500;
        }
        .consent-text a:hover { 
            color: #005177 !important; /* Темно-синий при наведении */
            text-decoration: none; 
        }