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

:root {
    /* Colors - HSL */
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(222, 47%, 11%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 47%, 11%);
    --primary: hsl(217, 91%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(217, 91%, 60%);
    --secondary: hsl(210, 20%, 95%);
    --secondary-foreground: hsl(222, 47%, 11%);
    --muted: hsl(210, 20%, 92%);
    --muted-foreground: hsl(215, 16%, 47%);
    --accent: hsl(32, 95%, 50%);
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-glow: hsl(32, 100%, 60%);
    --border: hsl(214, 32%, 91%);
    
    /* Shadows */
    --shadow-glow: 0 0 40px hsla(217, 91%, 60%, 0.3);
    --shadow-accent-glow: 0 0 30px hsla(32, 95%, 50%, 0.4);
    --shadow-card: 0 4px 20px hsla(222, 47%, 11%, 0.08);
    
    /* Other */
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary), hsl(217, 91%, 35%));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.logo-icon span {
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.dropdown-icon {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 50;
    min-width: 250px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 1rem;
    width: 25rem;
}

.dropdown-button {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
    color: black;
    text-decoration: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dropdown-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    text-decoration: none;
    color: inherit;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.dropdown-link:hover {
    background: var(--muted);
    color: var(--tech-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-link {
   /* display: none; */
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Mobile Menu Button (Burger) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background: var(--accent);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background: var(--accent);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 380px;
    background: linear-gradient(to bottom, var(--card), hsl(210, 20%, 97%));
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 15px 25px;
    gap: 2px;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, hsla(217, 91%, 25%, 0.08), hsla(32, 95%, 50%, 0.08));
    color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav-link.mobile-phone {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
    color: var(--accent-foreground);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px hsla(32, 95%, 50%, 0.25);
}

.mobile-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px hsla(32, 95%, 50%, 0.35);
}

.mobile-modal-btn .icon {
    width: 20px;
    height: 20px;
}

/* Mobile Dropdown */
.mobile-nav-item {
    position: relative;
}

.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-icon {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-left: 4px;
}

.mobile-dropdown-menu.active {
    max-height: 600px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
}

.mobile-dropdown-link {
    display: block;
    padding: 4px 0px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 1px 0;
}

.mobile-dropdown-link:hover {
    background: linear-gradient(135deg, hsla(217, 91%, 25%, 0.06), hsla(32, 95%, 50%, 0.06));
    color: var(--primary);
    transform: translateX(4px);
}

/* Desktop only class */
.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
    color: var(--accent-foreground);
}

.btn-accent:hover {
    box-shadow: var(--shadow-accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: hsl(210deg 26.01% 89.21%);
}

.btn-lg {
    padding: 1rem 1rem;
    font-size: 1rem;
    display: flex;
    width: 45%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(217, 91%, 35%));
    color: var(--primary-foreground);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        var(--background), 
        hsla(210, 20%, 98%, 0.95),
        hsla(210, 20%, 98%, 0.6));
}

.hero .container {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-content {
    max-width: 700px;
    animation: slideUp 0.8s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: hsla(32, 95%, 50%, 0.1);
    border: 1px solid hsla(32, 95%, 50%, 0.2);
    margin-bottom: 2rem;
}

.badge .icon {
    color: var(--accent);
}

.badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-primary {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-header .icon {
    color: var(--accent);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.decoration-1 {
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: hsla(217, 91%, 25%, 0.05);
}

.decoration-2 {
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: hsla(32, 95%, 50%, 0.05);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: hsla(210, 20%, 95%, 0.3);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.1s;
    height: 30rem;
}

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

.service-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        var(--card), 
        hsla(0, 0%, 100%, 0.6),
        transparent);
}

.service-content {
   
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    height: 3.5rem;
    line-height: 1.6rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
    height: 6rem;;
}

.cta-banner {
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, 
        hsl(217, 91%, 20%), 
        hsl(217, 91%, 30%) 50%, 
        hsl(32, 95%, 45%));
    box-shadow: var(--shadow-glow);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
}

.cta-text {
    color: hsla(0, 0%, 100%, 0.8);
}

/* Advantages Section */
.advantages {
    padding: 6rem 0;
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, hsla(217, 91%, 25%, 0.05), transparent);
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.advantage-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

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

.advantage-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: hsla(32, 95%, 50%, 0.05);
    border-radius: 50%;
    transform: translate(4rem, -4rem);
    transition: background 0.3s;
}

.advantage-card:hover .advantage-decoration {
    background: hsla(32, 95%, 50%, 0.1);
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: hsla(217, 91%, 25%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    transition: background 0.3s;
}

.advantage-card:hover .advantage-icon {
    background: hsla(217, 91%, 25%, 0.2);
}

.advantage-icon .icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 10;
}

.advantage-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.stats-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--secondary);
    border: 2px solid var(--border);
}

.izmerenie{
    text-decoration: none;
}

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

.stat-item .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 4rem;
    background: var(--border);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: hsla(210, 20%, 95%, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    background: var(--background);
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: none;
}

.form-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(217, 91%, 25%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-text {
    color: var(--foreground);
    font-weight: 500;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.company-info {
    margin-top: 4rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.company-card {
    background: linear-gradient(135deg, var(--primary), hsl(217, 91%, 35%));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    text-align: center;
    color: var(--primary-foreground);
}

.company-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.company-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.company-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Map */
.map-wrapper {
    margin-top: 4rem;
    max-width: 100%;
}

.map-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.zakaz{
    width: 45%;
}

/* Кнопка открытия */
        .open-modal-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 10px;
            background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
            color: #fff;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            font-size: 1rem;
            justify-content: center;
        }

        /* Чекбокс */
        #modal-toggle {
            display: none;
        }

        /* Модальное окно */
        .modal {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: 0.3s ease;
            z-index: 1000;
        }

        #modal-toggle:checked + .modal {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-content {
            background: #fff;
            padding: 24px;
            width: 95%;
            max-width: 500px;
            border-radius: 12px;
            position: relative;
        }

        .close-button {
            position: absolute;
            top: 10px;
            right: 14px;
            font-size: 24px;
            cursor: pointer;
        }

        .modal-header h2 {
            margin: 0 0 6px;
        }

        .modal-header p {
            margin: 0 0 16px;
            color: #555;
            font-size: 0.95rem;
        }

        .modal-form .form-group {
            margin-bottom: 12px;
        }

        .modal-form input,
        .modal-form select,
        .modal-form textarea {
            width: 100%;
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #ccc;
        }

        .modal-form-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
        }

        /* Сообщение об успехе */
        .success-toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #22c55e;
            color: #fff;
            padding: 14px 22px;
            border-radius: 10px;
            opacity: 0;
            pointer-events: none;
            transition: 0.3s ease;
            z-index: 2000;
        }

        .success-toast.show {
            opacity: 1;
        }

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }

    .logo-text h1 {
    font-size: 0.85rem;
}
    .header-actions {
        display: flex;
    gap: 0.25rem;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

.open-modal-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 5px;
            background: linear-gradient(135deg, var(--accent), hsl(38, 95%, 55%));
            color: #fff;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.8rem;
            justify-content: center;
        }

.desktop-only{
    display: none;
}

.header-content {
    padding: 0.5rem 0;
}
.zakaz{
    width: 100%;
    font-size: 1rem;
    padding: 10px 10px;
}

.btn-lg {
            padding: 0.7rem 0.7rem;
        font-size: 1rem;
        width: 100%;
        display: flex;

}

.data-table td {
    font-size: 0.6rem;
    color: var(--muted-foreground);
}

/* Mobile menu button visible on mobile */
.mobile-menu-btn {
    display: flex;
}

/* Hide desktop nav on mobile */
.nav {
    display: none;
}

.phone-link {
    display: none;
}
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), hsl(217, 91%, 35%));
    color: var(--primary-foreground);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-text {
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-services h4,
.footer-contacts h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-services ul,
.footer-contacts ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-services li {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-contacts a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-contacts a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transform: translateY(200%);
    transition: transform 0.3s;
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    border-color: hsl(142, 76%, 36%);
    background: hsl(142, 76%, 96%);
    color: hsl(142, 76%, 36%);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Media Queries */
@media (min-width: 768px) {
    
    
    .nav {
        display: flex;
    }
    
    .phone-link {
        display: flex;
    }
    
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-divider {
        display: block;
    }
}

@media (max-width: 767px) {
    .stat-divider {
        display: none;
    }
    
    .stats-banner {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ========================================
   SERVICE PAGE STYLES
   ======================================== */

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: var(--secondary);
    margin-top: 73px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--muted-foreground);
}

.breadcrumb-list a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-list a:hover {
    opacity: 0.8;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--muted-foreground);
}

/* Page Hero */
.page-hero {
    padding: 2rem 0;
    background: linear-gradient(135deg, 
        hsla(217, 91%, 25%, 0.03), 
        hsla(32, 95%, 50%, 0.03));
}

.page-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.page-hero-content {
    max-width: 600px;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--foreground);
}

.stat-badge .icon {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
}

.page-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-hero-image {
    display: none;
}

.page-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.main-content {
    max-width: 100%;
}

.main-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.main-content p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.main-content strong {
    color: var(--foreground);
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Numbered List */
.numbered-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    counter-reset: item;
}

.numbered-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    counter-increment: item;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: hsla(32, 95%, 50%, 0.08);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.warning-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.warning-content p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: hsla(217, 91%, 25%, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.info-icon {
    flex-shrink: 0;
}

.info-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.info-content p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Info Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.info-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(217, 91%, 25%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-card-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.info-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9375rem;
    margin: 0;
}

/* Data Table */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.data-table th,
.data-table td {
    padding: 0.15rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    font-size: 0.6rem;
}

.data-table td {
    font-size: 1rem;
    color: var(--muted-foreground);
}

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

.data-table tr:hover td {
    background: hsla(217, 91%, 25%, 0.02);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.sidebar-card > p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.order-card {
    background: linear-gradient(135deg, var(--primary), hsl(217, 91%, 35%));
    color: var(--primary-foreground);
    border: none;
}

.order-card h3 {
    color: var(--primary-foreground);
}

.order-card > p {
    color: hsla(0, 0%, 100%, 0.8);
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-form input,
.sidebar-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    border-radius: calc(var(--radius) - 2px);
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    background: var(--card);
}

.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder {
    color: var(--muted-foreground);
}

.order-card .form-note {
    color: hsla(0, 0%, 100%, 0.6);
    margin-top: 0.75rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--foreground);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* Contact Card in Sidebar */
.contact-card {
  
}

.phone-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin: 1rem 0;
    transition: opacity 0.3s;
}

.phone-big:hover {
    opacity: 0.8;
}

.phone-big .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.work-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.work-hours .icon {
    width: 1rem;
    height: 1rem;
}

/* Services List in Sidebar */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: opacity 0.3s;
}

.services-list a:hover {
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: hsla(210, 20%, 95%, 0.3);
}

.cta-large {
    background: linear-gradient(135deg, 
        hsl(217, 91%, 20%), 
        hsl(217, 91%, 30%) 50%, 
        hsl(32, 95%, 45%));
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-glow);
    text-align: center;
}

.cta-large-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.cta-large-content p {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-outline-light {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid hsla(0, 0%, 100%, 0.3);
}

.btn-outline-light:hover {
    background: hsla(0, 0%, 100%, 0.1);
}

/* Footer Links */
.footer-services a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-services a:hover {
    opacity: 1;
}

/* Responsive for Service Pages */
@media (min-width: 768px) {
    .page-hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-hero-image {
        display: block;
    }
    
    .content-grid {
        grid-template-columns: 1fr 1px;
    }
    
    .sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
}

@media (min-width: 1024px) {
    .cta-large {
        padding: 4rem;
    }


}

@media (max-width: 768px) {
    .data-table td {
        font-size: 0.6rem;
        color: var(--muted-foreground);
}
}