/* =====================================
   SERVICE PAGE BASE
===================================== */

.service-page {
    overflow-x: hidden;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
    opacity: 0.8;
}

.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

/* =====================================
   BUTTONS
===================================== */

.btn {
    display: inline-block;
    padding: 14px 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #1e9e9e;
    color: #fff;
}

.btn-primary:hover {
    background: #158383;
    transform: translateY(-3px);
    color: #fff !important;
}

.btn-outline {
    border: 2px solid #1e9e9e;
    color: #1e9e9e;
}

.btn-outline:hover {
    background: #1e9e9e;
    color: #fff !important;
}

.featured a.btn.btn-outline {
    color: #fff;
    border: 2px solid #fff;
}

.featured a.btn.btn-outline:hover {
    background: #158383;
    transform: translateY(-3px);
    color: #fff !important;
}

/* =====================================
   HERO V2 (SaaS STYLE)
===================================== */

/* =====================================
    HERO V2 (SaaS STYLE)
===================================== */
.service-hero-v2 {
    padding: 140px 0 0;
    background: linear-gradient(to right, #e8f6f7 55%, #f5fafb 45%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-left h1 {
    line-height: 1.1;
    font-weight: 700;
    color: #1e9e9e;
}

.hero-left .hero-subtitle {
    font-size: 20px;
    margin: 20px 0;
    opacity: 0.8;
}

.hero-description {
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 500px;
}

.hero-right {
    position: relative;
}

.hero-right img {
    width: 100%;
    max-width: 550px;
    display: block;
    margin-left: auto;
}

/* ===============================
    HERO TELEGRAM BUTTON
================================= */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.08);
    color: #1b92d1;
    transition: 0.35s ease;
}

.btn-telegram:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.btn-icon {
    display: flex;
    align-items: center;
}

.tg-icon svg {
    width: 20px;
    height: 20px;
    fill: #1b92d1;
}

/* BADGES */
.hero-badge {
    position: absolute;
    background: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30,158,158,0.15);
    font-size: 14px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.hero-badge strong {
    display: block;
    font-weight: 700;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ===============================
    HERO FEATURES (SWIPER UPDATED)
================================= */
.hero-features {
    margin-top: 100px;
    background: #f5fafb;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* Эффект затухания по бокам */
.hero-features::before,
.hero-features::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 5;
    pointer-events: none;
}
.hero-features::before {
    left: 0;
    background: linear-gradient(to right, #f5fafb, transparent);
}
.hero-features::after {
    right: 0;
    background: linear-gradient(to left, #f5fafb, transparent);
}

.hero-features .container {
    /* Контейнер теперь просто ограничивает ширину, Swiper внутри */
    position: relative;
}

.hero-features-slider {
    overflow: visible; /* Чтобы логотипы не обрезались резко */
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    /* Убираем max-width для корректной работы слайдера */
    width: auto !important;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-feature img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.hero-feature span {
    white-space: nowrap;
    color: #2d3748;
}

@media (max-width: 991px) {
    .service-hero-v2 { padding-top: 100px; }
    .hero-features { margin-top: 50px; padding: 25px 0; }
    .hero-features::before, .hero-features::after { width: 60px; }
    .hero-feature span { font-size: 14px; }
	.hero-badge { position: relative; }
}

/* =====================================
   GRID SYSTEM
===================================== */

.help-grid,
.pricing-grid,
.why-grid,
.cases-grid {
    display: grid;
    gap: 40px;
}

.help-grid,
.why-grid {
    grid-template-columns: repeat(3, 1fr);
}

.cases-grid {
    grid-template-columns: repeat(2, 1fr);
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* =====================================
   PRICING
===================================== */

.service-pricing {
    background: linear-gradient(to right, #e8f6f7 55%, #f5fafb 45%);
    padding: 120px 0;
}

.pricing-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 20px 50px rgba(30,158,158,0.08);
    border: 1px solid rgba(30,158,158,0.08);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(30,158,158,0.18);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e9e9e, #158383);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 30px 90px rgba(21,131,131,0.4);
}

.price {
    font-size: 38px;
    font-weight: 700;
    margin: 25px 0;
    color: #1e9e9e;
}

.pricing-card.featured .price {
    color: #ffffff;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    margin-left: 0;
}

.pricing-features li {
    margin-bottom: 12px;
    padding-left: 22px;
    font-size: 16px;
    position: relative;
}

.pricing-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #1e9e9e;
    font-size: 14px;
}

.pricing-card.featured .pricing-features li::before {
    color: #ffffff;
}

/* =====================================
   PREMIUM HOVER CARDS
===================================== */

.service-page .help-item,
.service-page .why-item,
.service-page .case-card,
.service-page .testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(30,158,158,0.08);
    border: 1px solid rgba(30,158,158,0.08);
}

.service-page .help-item:hover,
.service-page .why-item:hover,
.service-page .case-card:hover,
.service-page .testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(30,158,158,0.18);
}

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

/* =====================================
   FAQ – PREMIUM ACCORDION
===================================== */

.service-faq {
    background: linear-gradient(to right, #e8f6f7 55%, #f5fafb 45%);
    padding: 120px 0;
    position: relative;
}

.service-faq .section-title {
    text-align: center;
    margin-bottom: 70px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CARD */

.faq-item {
    background: #fff;
    border-radius: 18px;
    padding: 30px 35px;
    box-shadow: 0 10px 40px rgba(21,131,131,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(21,131,131,0.15);
}

/* HEADER */

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    margin: 0;
    font-size: 24px;
}

/* TOGGLE ICON */

.faq-toggle {
    width: 28px;
    height: 28px;
    position: relative;
    transition: transform 0.4s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background: #1e9e9e;
    border-radius: 2px;
}

.faq-toggle::before {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-toggle::after {
    width: 3px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

/* ANSWER */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.faq-answer-inner {
    padding-top: 20px;
    line-height: 1.7;
    opacity: 0.8;
}

/* ACTIVE STATE */

.faq-item.active {
    background: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
}

/* =====================================
   SCROLL ANIMATIONS
===================================== */

.service-page .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(.215,.61,.355,1);
}

.service-page .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-page .stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-page .stagger-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================
   BACKGROUND SHAPES
===================================== */

.service-page section {
    position: relative;
}

.service-page section::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,158,158,0.05), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
}

/* =====================================
   SCROLL PROGRESS
===================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #1e9e9e;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* =====================================
   SEO SCROLL BLOCK
===================================== */

.seo-scroll {
   max-height: 400px;
   overflow-y: auto;
}

/* =====================================
   HOW HELP V2 (AI STYLE)
===================================== */

.service-help-v2 {
    background: #f5fafb;
}

.section-head {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 70px;
}

.help-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.help-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* subtle gradient glow */
.help-card::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,120,0,0.08), transparent 70%);
    top: -60px;
    right: -60px;
    z-index: 0;
}

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

/* ICON */
.help-icon {
    margin-bottom: 30px;
}

.help-icon img {
    max-height: 60px;
    width: auto;
}

/* TITLE */
.help-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* TEXT */
.help-text {
    font-size: 16px;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 992px) {

    .help-grid-v2 {
        grid-template-columns: 1fr;
    }

    .help-card {
        text-align: center;
    }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 992px) {

    .hero-grid,
    .help-grid,
    .help-grid-v2,
    .pricing-grid,
    .why-grid,
    .cases-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-right img {
        margin: 40px auto 0;
    }

    .hero-features .container {
        flex-direction: column;
        text-align: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .section-padding {
        padding: 70px 0;
    }

}

/* ===============================
    CTA SECTION BASE
================================= */
.service-cta-premium {
    position: relative;
    padding: 140px 0;
    background: linear-gradient(to right, #e8f6f7 55%, #f5fafb 45%);
    overflow: hidden;
}

.cta-premium-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 6vw, 100px);
    align-items: center;
}

.cta-title {
    margin: 20px 0;
}

.cta-text {
    opacity: 0.8;
    margin-bottom: 50px;
}

.cta-contact-card {
    padding: 20px 25px;
    border-radius: 20px;
    background: #f8f9fb;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.cta-contact-card a {
    display: block;
    font-weight: 600;
    margin-top: 5px;
    color: #1e9e9e;
}

.cta-form-glass {
    padding: clamp(24px, 5vw, 60px);
    border-radius: 30px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* FIX iOS */
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    padding: 5px 0;
}

.form__contact-title {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
}

.cta-direct-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    align-items: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: 0.35s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-btn-call {
    background: #1e9e9e;
    color: #fff !important;
    box-shadow: 0 15px 40px rgba(30,158,158,0.35);
}

.cta-btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(30,158,158,0.45);
}

.cta-btn-tg {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    color: #1b92d1 !important;
}

.cta-btn-tg:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon svg {
    width: 20px;
    height: 20px;
}

.tg-icon svg {
    width: 20px;
    height: 20px;
    fill: #1b92d1;
}

.modern-form-switch {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}

.switch-pill {
    position: relative;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.switch-pill input {
    display: none;
}

.pill-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 15px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.35s ease;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.switch-pill-call .pill-content {
    background: #f3f5f7;
    color: #1e9e9e;
    border: 2px solid transparent;
}

.switch-pill-call input:checked + .pill-content {
    background: #1e9e9e;
    color: #fff;
    box-shadow: 0 15px 40px rgba(30,158,158,0.35);
}

.switch-pill-tg .pill-content {
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(0,0,0,0.08);
    color: #1b92d1;
}

.switch-pill-tg input:checked + .pill-content {
    background: #ffffff;
    border-color: #1b92d1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.switch-pill:hover .pill-content {
    transform: translateY(-2px);
}

.pill-icon {
    display: flex;
    align-items: center;
}


@media(max-width: 992px){
    .service-cta-premium {
        padding: 80px 0;
        background: #e8f6f7;
    }
    .cta-premium-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width: 480px){
    .cta-direct-contact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-btn {
        width: 100%;
    }

    .modern-form-switch {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pill-content {
        padding: 14px 8px;
        font-size: 14px;
        gap: 6px;
    }

    .pill-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .switch-pill {
        width: 100%;
    }
}

@media(max-width: 360px) {
    .pill-content {
        font-size: 13px;
        padding: 12px 5px;
    }
}

/* =====================================
   WHY PREMIUM V3
===================================== */

.service-why-v2 {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to right, #e8f6f7 55%, #f5fafb 45%);
    overflow: hidden;
}

/* subtle floating background shape */

.service-why-v2::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,158,158,0.08), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.why-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* LEFT SIDE */

.why-left .section-title {
    margin-bottom: 30px;
}

.why-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 60px;
}

/* LIST */

.why-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ROW */

.why-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding-left: 20px;
    border-left: 2px solid rgba(30,158,158,0.2);
    transition: all 0.4s ease;
}

.why-row:hover {
    transform: translateX(10px);
    border-color: #1e9e9e;
}

/* ICON */

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

.why-icon img {
    width: 55px;
}

/* HIGHLIGHT */

.why-highlight {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1e9e9e;
    margin-bottom: 8px;
}

/* CONTENT */

.why-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-content p {
    line-height: 1.6;
}

/* RIGHT IMAGE */

.why-right {
    position: relative;
}

.why-right img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin-left: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(21,131,131,0.15);
}

/* floating glow */

.why-right::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(30,158,158,0.2), transparent 70%);
    bottom: -80px;
    right: -80px;
    z-index: -1;
}

/* WHY SCROLL ANIMATION */

.service-why-v2 .stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-why-v2 .stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .why-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-right img {
        margin: 0 auto;
    }
}

/* =====================================
PROCESS – PREMIUM TIMELINE
===================================== */

.service-process{
position:relative;
padding:140px 0;
background:linear-gradient(to right,#e8f6f7 55%,#f5fafb 45%);
overflow:hidden;
}

/* subtle glow */

.service-process::before{
content:"";
position:absolute;
width:700px;
height:700px;
background:radial-gradient(circle,rgba(30,158,158,0.08),transparent 70%);
bottom:-250px;
left:-250px;
z-index:0;
}

.service-process .container{
position:relative;
z-index:2;
}

.service-process .section-title{
text-align:center;
margin-bottom:100px;
}


/* =====================================
TIMELINE
===================================== */

.process-timeline{
position:relative;
max-width:1200px;
margin:0 auto;
}

/* central line */

.process-timeline::before{
content:"";
position:absolute;
left:50%;
top:0;
height:100%;
width:3px;

background:linear-gradient(
to bottom,
rgba(30,158,158,0.1),
#1e9e9e,
#158383,
rgba(30,158,158,0.1)
);

transform:translateX(-50%);
z-index:1;
}


/* =====================================
ITEM
===================================== */

.process-item{
position:relative;
width:50%;
padding:30px 70px;
}

/* left side */

.process-item:nth-child(odd){
left:0;
}

/* right side */

.process-item:nth-child(even){
left:50%;
}


/* =====================================
STEP DOT
===================================== */

.process-dot{
position:absolute;
top:40px;

width:74px;
height:74px;

border-radius:50%;

background:linear-gradient(135deg,#1e9e9e,#158383);

display:flex;
align-items:center;
justify-content:center;

color:#fff;
font-weight:700;
font-size:20px;

box-shadow:
0 15px 35px rgba(21,131,131,0.35),
0 0 0 8px rgba(255,255,255,0.6);

z-index:3;
}

.process-item:nth-child(odd) .process-dot{
right:-37px;
}

.process-item:nth-child(even) .process-dot{
left:-37px;
}

/* glow */

.process-dot::after{
content:"";
position:absolute;

width:120px;
height:120px;

border-radius:50%;

background:radial-gradient(circle,rgba(30,158,158,0.25),transparent 70%);

z-index:-1;
}


/* =====================================
CONNECTOR LINE
===================================== */

.process-item::after{

content:"";

position:absolute;

top:75px;

width:45px;
height:2px;

background:#1e9e9e;

}

.process-item:nth-child(odd)::after{
right: 45px;
}

.process-item:nth-child(even)::after{
left: 45px;
}


/* =====================================
CONTENT CARD
===================================== */

.process-content{

position:relative;

padding:40px 45px;

border-radius:22px;

background:rgba(255,255,255,0.55);

backdrop-filter:blur(18px);
-webkit-backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,0.6);

box-shadow:
0 20px 50px rgba(0,0,0,0.06),
inset 0 1px 0 rgba(255,255,255,0.6);

transition:all .35s ease;

}

/* glass reflection */

.process-content::before{

content:"";

position:absolute;

inset:0;

border-radius:22px;

background:linear-gradient(
120deg,
rgba(255,255,255,0.6),
rgba(255,255,255,0.05)
);

opacity:.6;

pointer-events:none;

}


/* TITLE */

.process-content h3{
font-size:22px;
font-weight:700;
margin-bottom:14px;
color:#1c2b33;
}

/* TEXT */

.process-content p{
font-size:16px;
line-height:1.7;
opacity:.85;
}


/* =====================================
HOVER EFFECT
===================================== */

.process-item:hover .process-content{

transform:translateY(-8px);

box-shadow:
0 35px 80px rgba(0,0,0,0.12),
0 10px 30px rgba(30,158,158,0.12);

}

.process-item:hover .process-dot{

transform:scale(1.08);

}


/* =====================================
RESPONSIVE
===================================== */

@media(max-width:1100px){

    .process-item{
    padding:30px 50px;
    }

}


@media(max-width:900px){

    .process-item{
    padding:30px 40px;
    }

    .process-content{
    padding:35px;
    }

}

@media(max-width:768px){


    .process-timeline::before{
    display:none;
    }


    .process-item{
    width:100%;
    padding:0;
    margin-bottom:40px;
    left:0 !important;
    }


    .process-item::after{
    display:none;
    }


.process-dot{

    position:relative;

    top:auto;
    left:auto !important;
    right:auto !important;

    margin:0 auto 18px;

    width:60px;
    height:60px;

    font-size:18px;

    box-shadow:
    0 10px 25px rgba(21,131,131,0.35),
    0 0 0 6px rgba(255,255,255,0.6);

}


.process-content{

    padding:30px;

}

}


@media(max-width:480px){

    .process-content{
    padding:26px;
    }

    .process-content h3{
    font-size:20px;
    }

    .process-content p{
    font-size:15px;
    }

}


/* =====================================
   CASES PREMIUM LAYOUT
===================================== */

.cases-premium {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.case-premium-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8f9fb;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(30,158,158,0.1);
    transition: 0.5s ease;
}

.case-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(30,158,158,0.2);
}

/* LEFT */

.case-premium-left h3 {
    font-size: 28px;
    margin: 25px 0;
}

.case-meta {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.case-meta div {
    margin-bottom: 8px;
}

/* RIGHT */

.case-premium-right img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* RESPONSIVE */

@media(max-width: 992px){
    .case-premium-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

/* SECTION */
.service-advantages {
    background: #f5fafb;
}

/* GRID */
.cards-section__layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* CARD */
.cards-section__card {
    background: rgba(255,255,255,0.55);
    padding: 50px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;

    display: flex;
    flex-direction: column;
}

/* ACCENT CARD */
.cards-section__card--accent {
    background: linear-gradient(90deg, #158383, #1E9E93);
    color: #fff;
}

.cards-section__card--accent .cards-section__card-title,
.cards-section__card--accent .cards-section__card-description {
    color: #fff;
}

/* NUMBER */
.cards-section__card-number {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(90deg, #158383, #1E9E93);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 20px;
}

.cards-section__card--accent .cards-section__card-number {
    background: linear-gradient(90deg, #fff, #e8f6f7);
    -webkit-background-clip: text;
    background-clip: text;
}

.cards-section__card-number img {
    max-width: 60px;
    height: auto;
}

/* TITLE */
.cards-section__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

/* CONTENT WRAPPER */
.cards-section__card-content {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

/* открытое состояние */
.cards-section__card.is-open {
    height: auto;
}

/* DESCRIPTION */
.cards-section__card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.cards-section__card.is-open .cards-section__card-description {
    max-height: 2000px;
}

/* READ MORE BUTTON */
.cards-section__toggle {
    margin-top: 15px;
    padding: 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #158383;
    transition: opacity 0.2s ease;

    align-self: flex-start; /* кнопка внизу */
}

.cards-section__card--accent .cards-section__toggle {
    color: #fff;
}

.cards-section__toggle:hover {
    opacity: 0.7;
}

/* HOVER */
.cards-section__card:hover {
    transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .cards-section__layout {
        grid-template-columns: 1fr;
    }

    .cards-section__card {
        padding: 35px;  
        min-height: 400px;
    }
}

/* =====================================
    TESTIMONIALS SLIDER (UPDATED)
===================================== */

/* Контейнер слайдера с компенсацией для теней */
.testimonials-slider {
    padding: 20px 20px 60px !important;
    margin: -20px -20px 0;
    overflow: hidden;
}

/* Принудительная одинаковая высота всех карточек */
.testimonials-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonial-card {
    background: #f8f9fb;
    border-radius: 24px;
    padding: 35px;
    display: flex !important; /* Swiper Slide должен быть flex */
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Позволяет карточке растягиваться через flex-stretch */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid transparent;
    box-sizing: border-box;
}

/* Контентная часть (текст + звезды) */
.testimonial-content {
    flex-grow: 1;
}

/* Эффект ховера - только для десктопа (устройства с мышью) */
@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-8px);
        background: #ffffff;
        border-color: rgba(30, 158, 158, 0.1);
        box-shadow: 0 25px 60px rgba(30, 158, 158, 0.1);
    }
}

/* Исправляем вид на мобильных (убираем ховер-прыжки) */
@media (max-width: 991px) {
    .testimonial-card {
        padding: 25px;
        transform: none !important;
    }
}

/* TOP SECTION: Rating & Brand */
.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-weight: 600;
    color: #333;
}

.star {
    color: #ddd;
    font-size: 14px;
}

.star.filled {
    color: #ffb400;
}

.testimonial-brand img {
    height: 32px;
    max-width: 100px;
    object-fit: contain;
}

/* TEXT SECTION */
.testimonial-text {
font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #f8f9fb);
    transition: opacity 0.3s ease;
}

/* Когда отзыв открыт */
.testimonial-card.is-open .testimonial-text {
    max-height: 1000px;
}

.testimonial-card.is-open .testimonial-text::after {
    opacity: 0;
}

/* Стили кнопки */
.testimonial-toggle-btn {
    background: none;
    border: none;
    color: #1e9e9e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s;
}

.testimonial-toggle-btn:hover {
    color: #157e7e;
    text-decoration: underline;
}

/* Если карточка на десктопе в белом фоне при ховере, меняем градиент */
@media (hover: hover) {
    .testimonial-card:hover .testimonial-text::after {
        background: linear-gradient(to bottom, transparent, #ffffff);
    }
}

/* AUTHOR SECTION (всегда прижат к низу) */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Толкает автора вниз если текста мало */
    padding-top: 10px;
}

.author-photo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    display: block;
    color: #222;
}

.author-position {
    font-size: 14px;
    color: #777;
    display: block;
}

/* PAGINATION: Современные точки-черточки */
.testimonials-slider .swiper-pagination {
    bottom: 10px !important;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #1e9e9e;
    opacity: 0.2;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.testimonials-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px; /* Эффект растянутой точки */
    background: #1e9e9e;
}

/* ===============================
   INLINE PRICING
================================= */

.inline-pricing-box {
    background: #f7f9fb;
    border-radius: 28px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;

    position: relative;
    overflow: hidden;
}

/* subtle accent circle */

.inline-pricing-box::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(30,158,158,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;

    pointer-events: none;   /* ← фикс клика */
    z-index: 0;             /* декоративный слой */
}

/* гарантируем что контент выше декоративного круга */
.inline-pricing-left,
.inline-pricing-right {
    position: relative;
    z-index: 2;
}

/* LEFT */

.inline-pricing-left {
    max-width: 600px;
}

.inline-pricing-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.inline-pricing-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* RIGHT */

.inline-pricing-right {
    text-align: right;
    min-width: 260px;
}

.inline-pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: #1e9e9e;
    margin-bottom: 10px;
}

.inline-pricing-note {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

/* responsive */

@media (max-width: 992px) {
    .inline-pricing-box {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .inline-pricing-price {
        font-size: 28px;
    }

    .inline-pricing-right {
        text-align: center;
    }
}

/* Slider Trusted us */
.trusted-companies-slider {
    text-align: center;
    padding: 60px 0;
    background-color: inherit;
    overflow: hidden; /* Важно, чтобы слайды не вылезали за края */
}

.trusted-companies-slider h3 {
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: 600;
}

.trusted-slider-slider {
    padding: 20px 0 !important;
}

.logo-grid-slider.swiper-wrapper {
    display: flex;
    align-items: center;
    gap: 0; 
}

.trusted-client-logo-slider {
    background: linear-gradient(90deg, #158383, #1E9E93);
    border-radius: 20px;
    padding: 20px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
}

.logo-grid-slider img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trusted-client-logo-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.trusted-client-logo-slider:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media only screen and (max-width: 600px) {
    .logo-grid-slider img {
        max-width: 110px;
        max-height: 40px;
    }
    .trusted-client-logo-slider {
        padding: 15px 25px;
    }
}