/* Import Gilroy Font (similar to what Tilda uses) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables - Colors from Tilda */
:root {
    --color-primary: #ee0029;
    --color-primary-hover: #d70126;
    --color-text: #5b6770;
    --color-bg: #ffffff;
    --color-bg-secondary: #f7f8fb;
    --color-border: #cbccd2;
    --color-white: #ffffff;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section Divider (zcapital approach) */
.section-divider {
    height: 80px;
    background: #ffffff;
}

@media screen and (max-width: 959px) {
    .section-divider {
        height: 60px;
    }
}

@media screen and (max-width: 639px) {
    .section-divider {
        height: 40px;
    }
}

/* =========================
   Home page (index) styles
   ========================= */
.hero--home {
    padding-top: 140px;
    padding-bottom: 70px;
    background: #ffffff;
}

.hero--home .hero-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.hero-title--home {
    line-height: 1.05;
    margin-bottom: 22px;
}

.hero-description--home {
    font-size: 20px;
    line-height: 1.4;
    color: var(--color-text);
    opacity: 0.9;
    max-width: 620px;
}

.hero--home .hero-image {
    justify-content: flex-end;
}

.hero--home .hero-image img {
    max-width: 520px;
    object-fit: contain;
}

.page--home .home-products {
    padding: 0;
    background: #ffffff;
}

.page--home .home-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.page--home .home-product-card {
    background: var(--color-bg-secondary);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eff0f4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
    height: 100%;
}

.page--home .home-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.page--home .home-product-image {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    min-height: 150px;
}

.page--home .home-product-image img {
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.page--home .home-product-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.page--home .home-product-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

.page--home .home-product-desc {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    opacity: 0.85;
    min-height: 58px;
}

.page--home .home-product-link {
    /* CTA button like the original */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: auto;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1px;
}

.page--home .home-product-card:hover .home-product-link {
    background: var(--color-primary-hover);
}

.page--home .home-stats {
    padding: 0;
    background: #ffffff;
}

.page--home .home-stats-wrap {
    background: var(--color-bg-secondary);
    border-radius: 40px;
    padding: 50px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: center;
}

.page--home .home-stats-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.page--home .home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 28px;
}

.page--home .home-stat {
    background: #ffffff;
    border: 1px solid #eff0f4;
    border-radius: 24px;
    padding: 26px;
}

.page--home .home-stat-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.1;
}

.page--home .home-stat-desc {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    opacity: 0.85;
}

@media screen and (max-width: 1199px) {
    .page--home .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page--home .home-stats-wrap {
        grid-template-columns: 300px 1fr;
        padding: 40px;
    }
}

@media screen and (max-width: 959px) {
    .hero--home .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero--home .hero-image {
        justify-content: center;
    }
    .hero-title--home {
        font-size: 40px;
        letter-spacing: -0.5px;
    }
    .page--home .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page--home .home-stats-wrap {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .page--home .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 639px) {
    .page--home .home-products-grid {
        grid-template-columns: 1fr;
    }
    .hero-title--home {
        font-size: 32px;
    }
    .page--home .home-stats-grid {
        grid-template-columns: 1fr;
    }
    .page--home .home-stats-wrap {
        padding: 28px;
        border-radius: 28px;
    }
}

/* =========================
   Защищенный капитал page overrides
   (3 feature cards layout on desktop)
   ========================= */
.features-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 959px) {
    .features-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 639px) {
    .features-grid--3 {
        grid-template-columns: 1fr;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

/* Container */
.container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f7f8fb;
    height: 68px;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1290px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 44px;
    width: auto;
    display: block;
}

/* =========================
   FortKnox page overrides
   (prevent AlfaVygoda hero/form rules from breaking FortKnox)
   ========================= */
.hero--fortknox {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero--fortknox .hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.hero-badge {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #ee0029;
    border-radius: 60px;
    font-size: 24px;
    font-weight: 500;
    color: #5b6770;
    line-height: 1.25;
    width: fit-content;
}

.hero-badge strong {
    color: #ee0029;
    font-weight: 500;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-highlight__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-highlight__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* SVGs can have uneven viewBox padding; nudge for optical centering */
    transform: translateY(1px);
}

.hero-highlight__text {
    font-size: 24px;
    font-weight: 500;
    color: #5b6770;
    line-height: 40px;
}

.form-section--compact {
    padding: 0;
}

.form-container--even {
    border-radius: 32px;
    padding: 60px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-section--compact .form-image {
    justify-content: center;
}

.form-section--compact .form-image img {
    max-width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 0;
    background-color: #ffffff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; /* Center vertically for 50/50 look */
    gap: 80px;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #5b6770;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 20px;
    color: var(--color-text);
    line-height: 1.4;
    margin-top: 0;
    font-weight: 400;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px; /* Slightly larger for 50/50 */
    height: auto;
}

/* Form Section */
.form-section {
    padding: 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 40px;
}

.form-container {
    background-color: #f7f8fb;
    border-radius: 40px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.form-wrapper {
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    width: 100%;
}

.form-group input[type="tel"],
.form-group input[type="email"],
.form-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 60px;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

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

/* Phone input with flag (Zkapital-like) */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 60px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--color-primary);
}

.phone-flag {
    padding: 0 10px 0 20px;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    height: 50px;
}

.form-input--phone {
    border: none;
    border-radius: 0;
    padding-left: 5px;
    height: 50px;
}

.form-input--phone:focus {
    outline: none;
}

/* ===== Zcapital exact tweaks for HOME page form only ===== */
.form-section--flat .form-group input[type="tel"],
.form-section--flat .form-group input[type="email"] {
    border: none;
}

.form-section--flat .form-input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    border-color: transparent;
}

.form-section--flat .phone-input-wrapper {
    border: none;
}

.form-section--flat .phone-input-wrapper:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* Ensure phone input never draws its own "inner pill" border/radius */
.form-section--flat .form-group input.form-input--phone {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.form-section--flat .form-input--phone:focus {
    outline: none;
}

.form-section--flat .checkbox__text a {
    color: var(--color-primary);
    text-decoration: underline;
    border-bottom: none;
}

/* Checkbox (Zkapital-like) */
.form-group--checkbox {
    margin-top: 8px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox input {
    display: none;
}

.checkbox__mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox input:checked + .checkbox__mark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox input:checked + .checkbox__mark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.checkbox__text {
    color: var(--color-text);
}

.checkbox__text a {
    color: var(--color-primary);
    text-decoration: underline;
    border-bottom: none;
}

/* Error states + messages (Zkapital-like) */
.form-input.has-error,
.phone-input-wrapper.has-error {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(238, 0, 41, 0.12);
}

.checkbox.has-error .checkbox__mark {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(238, 0, 41, 0.12);
}

.field-error {
    color: var(--color-primary);
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
}

.form-message {
    padding: 14px 16px;
    border-radius: 16px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.form-message--success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.form-message--error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #e57373;
}

/* Back-compat (old checkbox styles; kept in case other markup exists) */
.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-text {
    color: var(--color-text);
}

.checkbox-text a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
}

.btn-submit {
    width: 100%;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 12px;
}

.btn-submit:hover {
    background-color: var(--color-primary-hover);
}

.form-note {
    font-size: 14px;
    color: var(--color-text);
    margin-top: 12px;
}

.form-image {
    display: flex;
    justify-content: flex-end;
}

.form-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

/* Product Details */
.product-details {
    padding: 0;
    background-color: var(--color-bg);
}

.tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-bottom: none;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 15px 40px;
    background: none;
    border: 1px dashed #5b6770;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-family);
    color: #5b6770;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-style: solid;
}

.tab-btn:not(.active):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn.active::after {
    display: none;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
    column-gap: 60px;
    margin-bottom: 40px;
}

.product-item {
    text-align: left;
}

.item-label {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.item-value {
    font-size: 28px;
    font-weight: 400;
    color: #5b6770;
}

.gss-note {
    display: inline-block;
    background-color: #f7f8fb;
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 14px;
    color: #5b6770;
    margin-top: 20px;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.event-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.event-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.event-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.event-content strong {
    font-weight: 600;
    color: var(--color-text);
}

/* How It Works */
.how-it-works {
    padding: 0;
    background-color: #ffffff;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 40px;
    border: 1px solid #eff0f4;
    border-radius: 20px;
    background-color: #ffffff;
}

.step-icon {
    width: 10px;
    height: 10px;
    background-color: #ee0029;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0;
}

.step-icon img {
    display: none;
}

.step-text p {
    font-size: 20px;
    line-height: 1.4;
    color: #5b6770;
    text-align: left;
}

/* Footer */
.footer {
    /* padding: 0 0 40px; */
    background-color: #ffffff;
}

.footer .container {
    max-width: 1290px;
    background-color: #5b6770;
    border-radius: 40px;
    padding: 60px;
    min-height: 312px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    width: 190px;
    height: 51px;
    margin-bottom: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-size: 36px;
    font-weight: 500;
    color: #f0f0f0;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #ef0029;
}

.footer-schedule {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.footer-info p {
    font-size: 12px;
    color: #f0f0f0;
    margin-bottom: 4px;
    line-height: 1.4;
    opacity: 0.7;
}

.footer-info .footer-copyright {
    font-size: 14px;
    margin-top: 12px;
    opacity: 1;
}

.footer-links {
    text-align: right;
}

.footer-link {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: #ef0029;
    border-color: #ef0029;
    opacity: 1;
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content {
        gap: 40px;
    }
}

@media screen and (max-width: 959px) {
    .header {
        height: 68px;
    }
    
    .hero {
        padding-top: 110px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-badge {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    /* Keep the form as 2 columns at this breakpoint (Tilda keeps the image inside the card) */
    .form-container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
        padding: 60px;
        align-items: center;
    }

    .form-image {
        justify-content: flex-end;
    }

    .form-image img {
        max-width: 280px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand, .footer-contact, .footer-info, .footer-links {
        grid-column: 1;
        text-align: left;
    }

    .footer-brand { grid-row: 1; }
    .footer-contact { grid-row: 2; }
    .footer-links { grid-row: 3; }
    .footer-info { grid-row: 4; }

    .footer-phone {
        font-size: 32px;
    }

    .footer-schedule, .footer-links {
        text-align: left;
    }
}

@media screen and (max-width: 639px) {
    .header {
        height: 60px;
    }
    
    .logo {
        height: 37px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-badge {
        font-size: 18px;
        padding: 12px 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Collapse to 1 column only on small screens */
    .form-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }

    .form-image {
        justify-content: center;
    }

    .form-image img {
        max-width: 280px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .item-value {
        font-size: 24px;
    }
    
    .tabs-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .tab-btn {
        text-align: center;
        padding: 12px 20px;
        width: 100%;
        max-width: 300px;
    }

    .footer-phone {
        font-size: 26px;
    }
    
    .step-text p {
        font-size: 16px;
    }
}

@media screen and (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 16px;
    }
    
    .form-container {
        padding: 20px;
    }
}

/* AlfaVygoda Specific Styles */

/* Features Section */
.features-section {
    padding: 0;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* matches the shown (tablet) layout */
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background-color: #f7f8fb; /* light-gray card background */
    border-radius: 24px;
    padding: 30px;
    text-align: left;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 500;
    color: #5b6770;
    margin-bottom: 12px;
    line-height: 1.25;
}

.feature-desc {
    font-size: 14px;
    color: #5b6770;
    line-height: 1.4;
    opacity: 0.8;
}

/* Protection Table */
.protection-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.protection-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 24px;
    background-color: var(--color-bg-secondary);
    border-radius: 16px;
}

.protection-risk {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.protection-payout {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.5;
}

/* Services Tab */
.services-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-block {
    background-color: var(--color-bg-secondary);
    border-radius: 24px;
    padding: 40px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-budget {
    /* font-size: 32px; */
    /* font-weight: 600; */
    color: var(--color-text);
    margin-top: 20px;
}

/* ZK/Put: sometimes `service-budget` is a description (not a big budget number) */
.service-budget--text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.85;
    margin-top: 8px;
}

/* ZK/Put: services tab is a single full-width card */
.services-content--single {
    grid-template-columns: 1fr;
}

/* Example Section */
.example-section {
    padding: 0;
    background-color: var(--color-bg);
}

.example-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.example-main-card {
    background-color: #f7f8fb;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.example-main-left {
    flex: 1;
    min-width: 280px;
}

.example-main-title {
    font-size: 24px;
    font-weight: 500;
    color: #5b6770;
    margin-bottom: 16px;
}

.example-pill {
    display: inline-block;
    background-color: #ffffff;
    border-radius: 60px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.3;
    color: #5b6770;
    opacity: 0.9;
    margin-bottom: 22px;
}

.example-kv {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.example-kv-label {
    font-size: 14px;
    color: #ee0029;
    margin-bottom: 8px;
}

.example-kv-value {
    font-size: 24px;
    color: #5b6770;
}

.example-main-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.example-main-right img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

.example-subcard {
    background-color: #ffffff;
    border: 1px solid #eff0f4;
    border-radius: 24px;
    padding: 32px;
}

.example-subcard h3 {
    font-size: 20px;
    font-weight: 500;
    color: #5b6770;
    margin-bottom: 12px;
}

.example-subcard p {
    font-size: 14px;
    color: #5b6770;
    line-height: 1.4;
    opacity: 0.85;
}

.example-subcard strong {
    font-weight: 600;
    opacity: 1;
}

/* Steps Section */
.steps-section {
    padding: 0;
    background-color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background-color: #ffffff;
    border: 1px solid #eff0f4;
    border-radius: 16px;
    padding: 20px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0;
    border: 1px solid #ee0029;
    border-radius: 999px;
    color: #ee0029;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.step-number img { display: none; }

.step-title {
    font-size: 24px;
    font-weight: 500;
    color: #5b6770;
    line-height: 1.25;
}

/* AlfaVygoda Responsive Adjustments */
@media screen and (max-width: 959px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep horizontal layout here (matches original screenshot) */
    .example-main-card {
        padding: 32px;
        gap: 20px;
    }

    .example-main-right img {
        max-width: 320px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 639px) {
    /* Stack only on small screens */
    .example-main-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .example-main-right {
        width: 100%;
        justify-content: center;
    }

    .example-main-right img {
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 20px;
        row-gap: 16px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .step-title {
        font-size: 20px;
    }
    
    .protection-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


