/**
 * Styles for the Warranty (Garantiya) page
 * Replicated from garantiya-etalon.html
 */

.garantiya-page {
    background-color: #E9E9E9;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 60px;
}

.warranty-page-container {
    max-width: 1300px !important;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    background-attachment: fixed;
    background-color: #E9E9E9;
    background-image: url(/wp-content/uploads/2023/05/logo_bg2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1000px auto;

}

.garantiya-page h1,
.garantiya-page h2,
.garantiya-page h3 {
    font-family: 'Montserrat', sans-serif;
    color: #242424;
}

/* Header Section with Watermark */
.warranty-header-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/*.warranty-header-section::before {
    content: "PROSMARTY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}*/

.warranty-header-section .container {
    position: relative;
    z-index: 2;
}

.warranty-header-section h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

/* Top Info Grid */
.warranty-top-grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.warranty-top-col {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    min-height: 350px;
    padding: 20px 20px 20px 20px;
    margin: 20px 20px 20px 20px;
    border-radius: 20px 20px 20px 20px;
}

.warranty-rules-section .rules-left,
.warranty-rules-section .rules-right {
    background-color: #FFFFFFA6;
    padding: 20px;
}

.warranty-top-col.col-phone {
    background-color: #C4C4C45E;
}

.warranty-top-col.col-address {
    background-color: #6161618C;
    color: #fff;
}

.warranty-top-col.col-hours {
    background-color: #000000B8;
    color: #fff;
}

.warranty-top-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: inherit;
}

.warranty-top-col.col-address h3,
.warranty-top-col.col-hours h3 {
    color: #fff;
}

.warranty-top-col .phone-large {
    font-size: 26px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.warranty-top-col p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Rules Section (2 Columns) */
.warranty-rules-section {
    padding: 80px 40px;
}

.warranty-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.warranty-rules-grid ul {
    list-style-type: circle;
    padding-left: 20px;
}

.warranty-rules-grid li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* Bottom Dark Cards */
.warranty-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 40px 60px;
}

.warranty-dark-card {
    background-color: #333;
    color: #fff;
    padding: 35px;
    border-radius: 5px;
}

.warranty-dark-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
}

.warranty-dark-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Form Styling */
.warranty-form-wrap {
    padding: 60px 0;
    text-align: center;
}

.warranty-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.warranty-form-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.warranty-form-container .subtitle {
    color: #777;
    margin-bottom: 30px;
    display: block;
}

/* CF7 Custom Layout */
.cf_kredit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: left;
}

.cf_kredit_item {
    flex: 1;
    min-width: 200px;
}

.input_credit {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.submit_credit {
    background-color: #333 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
}

.social-icons-mini {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social-icons-mini a {
    width: 40px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
}

@media (max-width: 991px) {

    .warranty-top-grid,
    .warranty-rules-grid,
    .warranty-bottom-grid {
        grid-template-columns: 1fr;
    }

    .warranty-top-col {
        min-height: auto;
    }

    .cf_kredit_item p {
        margin: 0;
    }

    .cf_kredit {
        gap: 0;
    }
}