/* Base Variables */
:root {
    --ser-primary: #1e3a8a;
    --ser-primary-foreground: #ffffff;
    --ser-accent: #dc2626;
    --ser-accent-foreground: #ffffff;
    --ser-card: #ffffff;
    --ser-secondary: #f9fafb;
    --ser-border: #e5e7eb;
    --ser-radius: 0.375rem;
    --ser-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --ser-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Layout */
.ser-section {
    padding: 10rem 0;
}

.ser-container {
    max-width: 1440px;
    margin: 0 auto;

}

/* Section Header */
.ser-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ser-section-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.ser-divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--ser-primary);
    margin: 0 auto 1.5rem;
}

.ser-section-description {
    color: #4b5563;

    margin: 0 auto;
    line-height: 1.625;
}

/* Services Grid */
.ser-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .ser-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cards */
.ser-card {
    background-color: var(--ser-card);
    border: 1px solid var(--ser-border);
    border-radius: var(--ser-radius);
    box-shadow: var(--ser-shadow);
}

.ser-card-header {
    padding: 3rem;
    border-bottom: 1px solid var(--ser-border);
    background-color: var(--ser-secondary);
}

.ser-card-content {
    padding: 3rem;
}

.ser-card-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Service Cards */
.ser-service-card {
    transition: box-shadow 0.3s ease-in-out;
}

.ser-service-card:hover {
    box-shadow: var(--ser-shadow-lg);
}

.ser-service-icon-wrapper {
    width: 52px;
    height: 52px;
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ser-service-icon {
    width: 36px;
    height: 36px;
}

.ser-service-info {
    flex: 1;
}

.ser-service-title {

    font-weight: 700;
    color: #111827;
    margin: 0;
}

.ser-service-subtitle {
    color: #4b5563;
    margin: 0;
}

.ser-service-description {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

/* Service Features */
.ser-service-features {
    margin-bottom: 1.5rem;
}

.ser-features-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.ser-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .ser-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ser-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ser-feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ser-feature-icon--success {
    color: #059669;
}

.ser-feature-text {
    color: #374151;
}

/* Service Meta */
.ser-service-meta {
    background-color: #f9fafb;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.ser-service-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.ser-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ser-stat-value {
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ser-stat-value--price {
    color: var(--ser-primary);
}

.ser-stat-value--guarantee {
    color: #059669;
}

.ser-stat-icon {
    width: 18px;
    height: 18px;
}

.ser-stat-label {
    color: #4b5563;
}

/* Buttons */
.ser-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--ser-radius);

    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    gap: 0.5rem;
}

.ser-btn--primary {
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
}

.ser-btn--primary:hover {
    background-color: rgba(30, 58, 138, 0.9);
}

.ser-btn--accent {
    background-color: var(--ser-accent);
    color: var(--ser-accent-foreground);
}

.ser-btn--accent:hover {
    background-color: rgba(220, 38, 38, 0.9);
}

.ser-btn:hover {
    color: white;
    background-color: #225fa2;
}

.ser-btn--outline {
    background-color: transparent;
    color: var(--ser-primary);
    border: 1px solid var(--ser-primary);
}

.ser-btn--outline:hover {
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
}

.ser-btn--full {
    width: 100%;
}

.ser-btn-icon {
    width: 1rem;
    height: 1rem;
}

.ser-btn-icon--lg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Consultation Block */
.ser-consultation-block {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 4rem;
}

.ser-consultation-content {
    text-align: center;
}

.ser-consultation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.ser-consultation-description {
    color: #374151;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.ser-consultation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .ser-consultation-actions {
        flex-direction: row;
    }
}

/* Company Section */
.ser-company-info {
    background-color: #f9fafb;
}

.ser-company-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ser-company-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ser-company-content {
    flex: 1;
}

.ser-company-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ser-company-intro {

    color: #374151;
    line-height: 1.625;
}

.ser-company-name {
    color: #111827;
}

.ser-company-description {
    color: #374151;
    line-height: 1.625;
}

/* Advantages */
.ser-advantages-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.ser-advantages-title {

    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.ser-advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .ser-advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ser-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.ser-advantage-icon {
    width: 24px;
    height: 24px;
    color: #059669;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.ser-advantage-text {

    color: #374151;
}

.ser-company-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ser-company-actions {
        flex-direction: row;
    }
}

/* Contact Info */
.ser-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ser-contact-card {
    border: 1px solid #d1d5db;
}

.ser-contact-title {

    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ser-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ser-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.ser-contact-icon {
    width: 28px;
    height: 28px;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.ser-contact-icon--address {
    color: var(--ser-primary);
}

.ser-contact-icon--phone {
    color: #059669;
}

.ser-contact-icon--hours {
    color: #2563eb;
}

.ser-contact-icon--consultation {
    color: #9333ea;
}

.ser-contact-content {
    flex: 1;
}

.ser-contact-label {
    font-weight: 600;
    color: #111827;
}

.ser-contact-value {
    color: #374151;
}

.ser-contact-phone {

    font-weight: 700;
    color: var(--ser-primary);
}

.ser-contact-note {

    color: #4b5563;
}

.ser-callback-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}



/*страница услуги*/
/* Breadcrumb */
.ser-breadcrumb {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;

}

.ser-breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 1rem;

}

.ser-breadcrumb-link {
    color: var(--ser-primary);
}

.ser-breadcrumb-link:hover {
    color: rgba(30, 58, 138, 0.8);
}

.ser-breadcrumb-divider {
    color: #6b7280;
}

.ser-breadcrumb-current {
    color: #374151;
}

/* Page Layout */
.ser-page-container {
    padding: 4rem 0;
}

.ser-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .ser-page-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main Content */
.ser-main-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Page Header */
.ser-page-header {
    margin-bottom: 2rem;
}

.ser-service-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ser-service-icon-large {
    width: 8rem;
    height: 8rem;
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ser-service-icon-large__icon {
    width: 4rem;
    height: 4rem;
}

.ser-service-info {
    flex: 1;
}

.ser-service-title {
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.ser-service-subtitle {
    color: #4b5563;
    line-height: 1.625;
    margin: 0;
}

.ser-header-divider {
    width: 100%;
    height: 0.5rem;
    background-color: var(--ser-primary);
}

/* Service Image */
.ser-service-image {
    margin: 2rem 0;
}

.ser-service-image__img {
    width: 100%;
    height: 40rem;
    object-fit: cover;
    border: 1px solid #d1d5db;
}

/* Content Sections */
.ser-content-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}



.ser-service-description {
    color: #374151;
    line-height: 1.625;
    margin: 0;
}

/* Features Grid */
.ser-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ser-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ser-feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.ser-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.ser-feature-icon--success {
    color: #059669;
}

.ser-feature-text {
    color: #374151;
    line-height: 1.5;
}

/* Process Steps */
.ser-process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ser-process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    background-color: white;
}

.ser-step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.ser-step-content {
    color: #374151;
    line-height: 1.625;
    margin: 0;
}

/* Problems List */
.ser-problems-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ser-problem-item {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid;
}

.ser-problem-item--warning {
    background-color: #fef2f2;
    border-color: #fecaca;
}

.ser-problem-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
    color: #dc2626;
}

.ser-problem-text {
    color: #374151;
    line-height: 1.5;
}

/* Advantages List */
.ser-advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ser-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
  //  border: 1px solid;
}

.ser-advantage-item--info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
}

.ser-advantage-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
    color: #2563eb;
}

.ser-advantage-text {
    color: #374151;
    line-height: 1.5;
}

/* CTA Block */
.ser-cta-block {
    padding: 3rem;
    border: 1px solid;
}

.ser-cta-block--accent {
    background-color: rgba(220, 38, 38, 0.1);
    border-color: var(--ser-accent);
}

.ser-cta-title {

    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.ser-cta-description {
    color: #374151;
    margin: 0 0 1rem 0;
    line-height: 1.625;
}

.ser-cta-highlight {
    font-weight: 600;
    color: var(--ser-primary);
    margin: 0;
}

/* Warranty Notice */
.ser-warranty-notice {
    background-color: #fefce8;
    border: 1px solid #fde047;
    padding: 1rem;
}

.ser-warranty-title {
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ser-warranty-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #d97706;
}

.ser-warranty-text {
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

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

/* Service Info Card */
.ser-service-info-card {
    border: 1px solid #d1d5db;
}

.ser-card-header--primary {
    background-color: var(--ser-primary);
    color: var(--ser-primary-foreground);
}

.ser-card-title {
    font-weight: 700;
    margin: 0;
}

.ser-service-meta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ser-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ser-meta-label {
    color: #4b5563;
}

.ser-meta-value {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ser-meta-value--price {
    color: var(--ser-primary);
}

.ser-meta-value--guarantee {
    color: #059669;
}

.ser-meta-icon {
    width: 2rem;
    height: 2rem;
}

/* CTA Card */
.ser-cta-card {
    border: 1px solid var(--ser-accent);
}

.ser-card-content--centered {
    text-align: center;
}

.ser-cta-icon {
    width: 3rem;
    height: 3rem;
    color: var(--ser-accent);
    margin: 0 auto 1rem;
}

.ser-cta-card-title {
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
}

.ser-cta-card-description {
    color: #4b5563;
    margin: 0 0 3rem 0;
    line-height: 1.5;
}

.ser-phone-info {
    margin-top: 2rem;
}

.ser-phone-number {

    font-weight: 700;
    color: #111827;
}

.ser-phone-note {

    color: #6b7280;
}

/* Advantages Compact */
.ser-advantages-list--compact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ser-advantage-item--compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ser-advantage-icon--compact {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.ser-advantage-icon--primary {
    color: var(--ser-primary);
}

.ser-advantage-icon--success {
    color: #059669;
}

.ser-advantage-icon--info {
    color: #2563eb;
}

.ser-advantage-icon--secondary {
    color: #9333ea;
}

.ser-advantage-text--compact {
    color: #374151;
}

.ser-card-header--secondary {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}


/*инжекция*/

.ser-contact-info-bar {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.ser-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ser-contact-icon {
    width: 2rem;
    height: 2rem;
}

.ser-phone-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ser-phone-link {
    color: white;
}

.ser-phone-link:hover {
    color: #d1d5db;
}

.ser-header-main {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ser-logo {
    display: flex;
    align-items: center;
}

.ser-logo-icon {
    background-color: var(--ser-primary);
    color: white;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;

    margin-right: 2rem;
}

.ser-company-name {

    font-weight: 700;
    color: #111827;
    margin: 0;
}

.ser-company-description {
    color: #4b5563;
    margin: 0;
}

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

.ser-nav-link {
    color: #374151;
    font-weight: 500;
}

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

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

.ser-header-actions {
    display: none;
}

.ser-mobile-menu-btn {
    color: #374151;
    display: block;
}

.ser-mobile-menu-icon {
    width: 3rem;
    height: 3rem;
}

.ser-mobile-menu {
    border-top: 1px solid #d1d5db;
    padding: 2rem 0;
    display: none;
}

.ser-mobile-menu--hidden {
    display: none;
}

.ser-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ser-mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    color: #374151;
}

.ser-mobile-nav-link:hover {
    background-color: #f9fafb;
}

.ser-mobile-nav-link--active {
    color: var(--ser-primary);
}

.ser-mobile-actions {
    padding: 1rem 1rem 0 1rem;
}



/* Responsive Design */
@media (min-width: 768px) {
    .ser-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ser-footer-bottom-content {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .ser-nav--desktop {
        display: flex;
    }

    .ser-header-actions {
        display: block;
    }

    .ser-mobile-menu-btn {
        display: none;
    }

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



/* Стили для модального окна */
.ser-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ser-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.ser-modal-content {
    position: relative;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
}

.ser-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.ser-modal-title {

    font-weight: 700;
    color: #111827;
    margin: 0;
}

.ser-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ser-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.ser-modal-close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.ser-modal-body {
    padding: 1.5rem;
}

/* Стили для формы */
.ser-callback-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.ser-form-label {
    font-weight: 500;
    color: #374151;
}

.ser-form-input,
.ser-form-textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;

    transition: border-color 0.2s;
}

.ser-form-input:focus,
.ser-form-textarea:focus {
    outline: none;
    border-color: var(--ser-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.ser-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.ser-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ser-checkbox {
    margin-top: 0.5rem;
    width: 2rem;
    height: 2rem;
}

.ser-checkbox-label {
    color: #4b5563;
    line-height: 1.4;
}

.ser-checkbox-label a {
    color: var(--ser-primary);
    text-decoration: underline;
}

.ser-checkbox-label a:hover {
    color: rgba(30, 58, 138, 0.8);
}

.ser-form-actions {
    margin-top: 0.5rem;
}

/* Анимация появления модального окна */
@keyframes ser-modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ser-modal-content {
    animation: ser-modal-fade-in 0.3s ease-out;
}

/* Адаптивность */
@media (max-width: 640px) {
    .ser-modal-content {
        width: 95%;
    }

    .ser-modal-header,
    .ser-modal-body {
        padding: 1rem;
    }
}
