* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: visible;
}
.container {
    overflow: visible !important;
    padding-left: 20px;
    padding-right: 20px;
}

.pricing-grid {
    overflow: visible;
}
body {
    font-family: 'e-Ukraine', sans-serif;
    color: #1f2a44;

font-weight: lighter;
}


ol,
ul {
  padding-left: 0rem;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
}

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

.required {
    color: #E53935; /* червоний */
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #000712;
    font-size: 19px;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}


.pricing-card {
    background: #f2fafd;
    border-radius: 16px;
    padding: 15px;

	display: flex;
    flex-direction: column;
}

.pricing-card .card-head {
    height: 185px;
    display: flex;
    flex-direction: column;
}

.pricing-card ul {
    flex: 1 0 auto; /* розтягується, але не стискається */
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
}

.pricing-card .tack {
    margin-top: 20px; /* відступ від списку до кнопки */
    align-self: flex-start; /* щоб не розтягувалася на всю ширину (якщо хочете по центру — змініть на center) */
}

.pricing-card--featured {
background: linear-gradient(90deg, #00A2E6 -50%, #2B3971 75%);
    color: #ffffff;
}
.pricing-card--featured h3 {
    color: #ffffff;
}
.pricing-card--featured ul li {
    color: #ffffff;
}
.pricing-card--featured ul li::before {
    color: #0c4459;
}
.pricing-card--featured .price span {
    color: #ffffff;
}
.pricing-card--featured .tack {
    background: #fff;
    color: #244796;
}
.pricing-card--featured .tack:hover {
    background: #e6f0ff;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    font-size: 12px;
    margin-bottom: 20px;
}
.price span {
    font-size: 20px;
    font-weight: 700;
    color: #00AEEF;
}
.tack,
.tack-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;          /* однакові внутрішні відступи */
    width: 220px;               /* фіксована ширина для всіх */
    min-width: 220px;
    max-width: 100%;            /* щоб не вилазили на мобільних */
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 999px;
    transition: .3s;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;     /* щоб padding не збільшував ширину */
}
.offer .tack {
    font-size: 13px;           /* трохи менший шрифт, щоб влізло */
}

.tack {
    border: none;
    background: linear-gradient(90deg, #00A2E6, #2B3971);
    color: #fff;
}
.tack:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 60, 139, .25);
}

.pricing-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 12px;
}
.pricing-card li::before {
    content: "✓";
    color: #00ADEF;
    position: absolute;
    left: 0;
    top: 0;
}

.tariff-desc {
    min-height: 50px;
	font-size: 12px;
}
.tariff-note {
    min-height: 35px;
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 20px;
    line-height: 1.4;
}
.included-plan {
    font-size: 12px;
    min-height: 40px;
    font-weight: lighter;
    margin: 20px 0;
    line-height: 1.4;
}

.offer {
    margin-top: 50px;
    background: #f2fafd;
    border-radius: 16px;
    padding: 50px;
    text-align: center;
}
.offer h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.offer p {
    color: #666;
    margin-bottom: 25px;
}

.services {
    margin-top: 70px;
}
.services .section-title {
    margin-bottom: 10px;
}
.services-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}
.service-item {
    background: #f2fafd;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}
.service-info {
    flex: 1;
}
.service-info h4 {
    margin-bottom: 8px;
    font-size: 18px;
}
.service-info p {
    color: #666;
    font-size: 14px;
}
.service-price {
    color: #00AEEF;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}
.tack-outline {
    background: linear-gradient(90deg, #00A2E6, #2B3971);
    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	    position: relative;
    border: 2px solid transparent; /* прозора рамка для псевдоелемента */
    background: transparent;
    color: #244796; /* базовий колір, але його перекриє градієнт */
    z-index: 0;
	    /* --- ГРАДІЄНТНИЙ ТЕКСТ --- */
    background: linear-gradient(90deg, #00A2E6, #2B3971);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback */
}

.tack-outline::before {
    content: '';
    position: absolute;
    inset: -2px; /* ширина рамки = 2px */
    border-radius: 999px;
    padding: 2px; /* товщина рамки */
    background: linear-gradient(90deg, #00A2E6, #2B3971);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, 
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1; /* ховаємо під текст і фон */
    transition: .3s;
}

/* --- ЕФЕКТ ПРИ НАВЕДЕННІ (заливка кнопки повністю) --- */
.tack-outline:hover {
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    background: linear-gradient(90deg, #00A2E6, #2B3971);
    background-clip: unset;
    -webkit-background-clip: unset;
}

.tack-outline:hover::before {
    opacity: 0; /* ховаємо рамку, коли кнопка заливається градієнтом */
}

.offer-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:9999;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.offer-modal.active{
    display:flex;
}

.offer-modal__content{
    width:100%;
    max-width:620px;
    background:#fff;
    border-radius:16px;
    padding:30px;
    position:relative;
    overflow-y:auto;
    max-height:90vh;
}

.offer-modal__close{
    position:absolute;
    top:12px;
    right:16px;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
    line-height:1;
}

.offer-modal h2{
    text-align:center;
    margin-bottom:28px;
    line-height:1.3;
}
.offer-field{
    margin-bottom:14px;
}

.offer-field label{
    display:block;
    margin-bottom:6px;
    font-size:15px;
    font-weight:500;
}

.offer-field input,
.offer-field textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d9d9d9;
    border-radius:14px;
    font-size:16px;
    margin-top:10px;
    box-sizing:border-box;
    resize:vertical;
}

.offer-field textarea{
    min-height: 90px;  
    resize: vertical;
}

.offer-modal .btn-gradient{
    display: flex;
    justify-content: center;
    align-items: center;
    width:320px;
    margin-top:15px;
    height: 52px;      
    font-size: 18px;
    max-width: 420px;  
    width: 100%;
    margin: 20px auto 0;
    display: block;
    line-height: 1;
    text-align: center;
    padding: 0;
}

@media(max-width:768px){

    .offer-modal{
        padding:15px;
    }

    .offer-modal__content{
        padding:25px;
    }

}

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

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card .card-head {
        min-height: unset;
    }
    .pricing-card ul {
        flex: 0 0 auto;
    }
    .pricing-card .tack {
        align-self: stretch;
        justify-content: center;
        margin-top: 20px;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-price {
        margin-top: 10px;
    }
 .tack,
    .tack-outline {
        width: 100%;            /* на всю ширину */
        min-width: unset;
        white-space: normal;    /* дозволяємо перенесення */
        padding: 12px 20px;
        font-size: 14px;        /* повертаємо нормальний шрифт */
    }
    .offer .tack {
        font-size: 14px;        /* на мобільних однаковий */
    }
}
@media (max-height: 800px) {

    .offer-modal{
        padding:12px;
    }

    .offer-modal__content{
        max-width:580px;
        padding:24px;
        max-height:95vh;
    }

    .offer-modal h2{
        font-size:24px;
        margin-bottom:18px;
    }

    .offer-field{
        margin-bottom:10px;
    }

    .offer-field label{
        font-size:14px;
        margin-bottom:4px;
    }

    .offer-field input,
    .offer-field textarea{
        padding:10px 12px;
        font-size:14px;
    }

    .offer-field textarea{
        min-height:70px;
    }
}
