/*Произвольные стили*/

/* Why Section Styles */
.s-why-section {
    padding: 80px 0;
}

.s-why-section .why-block {
    margin-bottom: 30px;
}

.s-why-section .why-block:last-child {
    margin-bottom: 0;
}

.s-why-section .why-block-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.s-why-section .why-image {
    flex: 0 0 45%;
    max-width: 45%;
}

/* Override theme's img-wrap height:0 */
.s-why-section .why-image.img-wrap {
    height: auto;
    padding-bottom: 0;
}

.s-why-section .why-image img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.s-why-section .why-image-placeholder {
    width: 100%;
    padding-bottom: 66.67%;
    background: linear-gradient(135deg, #e8f4fd 0%, #d1e8f8 100%);
    border-radius: 8px;
}

.s-why-section .why-content {
    flex: 1;
}

.s-why-section h2.why-title {
    margin-bottom: 24px;
    color: #1a1a2e;
    text-transform: none;
}

.s-why-section .why-descr {
    color: #4a4a68;
    line-height: 1.7;
}

/* Special wrapper for text blocks where strong acts as a heading */
.s-why-section .why-descr .why-text-blocks strong {
    display: block;
    margin-top: 24px;
    margin-bottom: 4px;
    color: #1a1a2e; /* Darker color for subheading emphasis */
}

.s-why-section .why-descr .why-text-blocks {
    padding-bottom: 10px;
}

/* Remove margin from the very first strong tag */
.s-why-section .why-descr .why-text-blocks > strong:first-child,
.s-why-section .why-descr .why-text-blocks > p:first-child > strong:first-child {
    margin-top: 0;
}

/* Fix WordPress auto-formatting gaps */
.s-why-section .why-descr .why-text-blocks p {
    margin-bottom: 0; /* Remove bottom margin from paragraphs so strong tags handle the vertical rhythm */
}

.s-why-section .why-descr .why-text-blocks strong + br {
    display: none; /* Hide <br> tags right after strong if WP injects them */
}

.s-why-section .why-descr ul {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.s-why-section .why-descr ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.s-why-section .why-descr ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232681db'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Why Section Pill Badges */
.s-why-section .why-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-bottom: 16px;
    background-color: #f0f7ff;
    border: 1px solid #d4e6f9;
    border-radius: 50px;
    color: #256dff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.s-why-section .why-pill svg {
    flex-shrink: 0;
}

/* Responsive styles */
@media (max-width: 991px) {
    .s-why-section {
        padding: 60px 0;
    }

    .s-why-section .why-block-inner {
        flex-direction: column;
        gap: 30px;
    }

    .s-why-section .why-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Why Section Divider/Bridge */
.s-why-section .why-divider {
    position: relative;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal line (behind banner) */
.s-why-section .why-divider-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: #e5e5e5;
}

/* Centered banner pill */
.s-why-section .why-divider-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 32px;
    background: linear-gradient(135deg, #256dff 0%, #3265ff 50%, #2d42aa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(37, 109, 255, 0.25);
}

.s-why-section .why-divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 28px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.s-why-section .why-divider-text {
    text-align: left;
}

.s-why-section .why-divider-headline {
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.s-why-section .why-divider-subtext {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

/* Divider Responsive */
@media (max-width: 991px) {
    .s-why-section .why-divider {
        margin: 20px 0;
    }

    .s-why-section .why-divider-line {
        display: none;
    }

    .s-why-section .why-divider-inner {
        flex-direction: column;
        padding: 20px 24px;
        gap: 10px;
        margin: 0 15px;
    }

    .s-why-section .why-divider-text {
        text-align: center;
    }

    .s-why-section .why-divider-headline {
        font-size: 15px;
    }
}

/* Founder-Led Delivery Section */
.s-founder-delivery {
    background-color: #266dfb;
    color: #fff;
    padding: 80px 0;
}

.s-founder-delivery .founder-delivery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.s-founder-delivery .founder-delivery-content {
    max-width: 620px;
}

.s-founder-delivery .founder-delivery-title {
    margin: 0 0 12px;
    color: #fff;
    text-align: left;
    text-transform: none;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 800;
}

.s-founder-delivery .founder-delivery-subtitle {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.s-founder-delivery .founder-delivery-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.65;
}

/* Rich-text typography inside description */
.s-founder-delivery .founder-delivery-description p {
    margin: 0 0 24px;
}

.s-founder-delivery .founder-delivery-description p:last-child {
    margin-bottom: 0;
}

.s-founder-delivery .founder-delivery-description a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.s-founder-delivery .founder-delivery-description a:hover {
    text-decoration-color: #fff;
}

.s-founder-delivery .founder-delivery-description strong {
    color: #fff;
    font-weight: 700;
}

.s-founder-delivery .founder-delivery-description ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.s-founder-delivery .founder-delivery-description ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.55;
}

.s-founder-delivery .founder-delivery-description ul li:last-child {
    margin-bottom: 0;
}

.s-founder-delivery .founder-delivery-description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.s-founder-delivery .founder-delivery-panel {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.s-founder-delivery .founder-delivery-panel-label {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1.3;
}

.s-founder-delivery .founder-delivery-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-founder-delivery .founder-delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.s-founder-delivery .founder-delivery-item:last-child {
    margin-bottom: 0;
}

.s-founder-delivery .founder-delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-top: 2px;
    border-radius: 50%;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.s-founder-delivery .founder-delivery-icon svg {
    width: 14px;
    height: 14px;
}

.s-founder-delivery .founder-delivery-item-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.45;
}

/* Founder-Led Delivery Gray Theme */
.s-founder-delivery.has-gray-bg {
    background-color: #F9FAFB;
    color: #0f172a;
}

.s-founder-delivery.has-gray-bg .founder-delivery-title {
    color: #0f172a;
}

.s-founder-delivery.has-gray-bg .founder-delivery-subtitle {
    color: #256dff;
}

.s-founder-delivery.has-gray-bg .founder-delivery-description {
    color: #334155;
}

.s-founder-delivery.has-gray-bg .founder-delivery-description a {
    color: #256dff;
    text-decoration-color: rgba(37, 109, 255, 0.3);
}

.s-founder-delivery.has-gray-bg .founder-delivery-description a:hover {
    text-decoration-color: #256dff;
}

.s-founder-delivery.has-gray-bg .founder-delivery-description strong {
    color: #0f172a;
}

.s-founder-delivery.has-gray-bg .founder-delivery-description ul li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23256dff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.s-founder-delivery.has-gray-bg .founder-delivery-panel {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.s-founder-delivery.has-gray-bg .founder-delivery-panel-label {
    color: #64748b;
}

.s-founder-delivery.has-gray-bg .founder-delivery-icon {
    color: #256dff;
    background-color: #dbeafe;
}

.s-founder-delivery.has-gray-bg .founder-delivery-item-text {
    color: #1e293b;
}

@media (max-width: 991px) {
    .s-founder-delivery {
        padding: 64px 0;
    }

    .s-founder-delivery .founder-delivery-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .s-founder-delivery .founder-delivery-title {
        font-size: 34px;
    }

    .s-founder-delivery .founder-delivery-subtitle {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .s-founder-delivery .founder-delivery-description {
        font-size: 17px;
    }

    .s-founder-delivery .founder-delivery-panel {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .s-founder-delivery {
        padding: 48px 0;
    }

    .s-founder-delivery .founder-delivery-content {
        text-align: center;
        margin: 0 auto;
    }

    .s-founder-delivery .founder-delivery-title {
        font-size: 30px;
        margin-bottom: 10px;
        text-align: center;
    }

    .s-founder-delivery .founder-delivery-subtitle {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .s-founder-delivery .founder-delivery-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .s-founder-delivery .founder-delivery-panel {
        padding: 22px;
    }

    .s-founder-delivery .founder-delivery-panel-label {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .s-founder-delivery .founder-delivery-item {
        gap: 12px;
        margin-bottom: 14px;
    }

    .s-founder-delivery .founder-delivery-icon {
        width: 24px;
        height: 24px;
    }

    .s-founder-delivery .founder-delivery-item-text {
        font-size: 17px;
    }
}

/* 3-Column Layout Overrides */
.s-founder-delivery.layout-3-column .founder-delivery-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.s-founder-delivery.layout-3-column .founder-delivery-title {
    text-align: center;
}

.s-founder-delivery.layout-3-column .founder-delivery-subtitle {
    text-align: center;
}

.s-founder-delivery.layout-3-column .founder-delivery-description.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.s-founder-delivery.layout-3-column .max-w-800 {
    max-width: 800px;
}

.founder-delivery-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.founder-delivery-col-card {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
}

.s-founder-delivery.has-gray-bg .founder-delivery-col-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.col-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.col-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.s-founder-delivery.has-gray-bg .col-card-icon {
    background-color: #dbeafe;
    color: #256dff;
}

.col-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-align: center;
}

.s-founder-delivery.has-gray-bg .col-card-title {
    color: #0f172a;
}

.col-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.col-card-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.col-card-list li:last-child {
    margin-bottom: 0;
}

.s-founder-delivery.has-gray-bg .col-card-list li {
    color: #1e293b;
}

.col-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.s-founder-delivery.has-gray-bg .col-card-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23256dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.col-card-list li strong {
    color: #fff;
    font-weight: 700;
}

.s-founder-delivery.has-gray-bg .col-card-list li strong {
    color: #0f172a;
}

@media (max-width: 991px) {
    .founder-delivery-3col-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


@media (max-width: 991px) {
.home .h0 {
font-size: 24px;
    line-height: 36px;
  }
}

/* Service Comparison Section */
.s-service-comparison {
    padding: 80px 0;
    background-color: #ffffff;
}
.s-service-comparison.alt-bg {
    background-color: #f6f6f8; /* Standard grey background used across the site */
}

/* We added helper classes in the template text-center, mx-auto, w-100 */
.s-service-comparison .comparison-title {
    margin-bottom: 24px;
    color: #1a1a2e;
    text-transform: none;
}

.s-service-comparison .comparison-text-content {
    color: #4a4a68;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
}
.s-service-comparison .comparison-text-content.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.s-service-comparison .comparison-post-table.w-100 {
    max-width: 100%;
}
.s-service-comparison .text-center {
    text-align: center;
}

/* Responsive Table */
.comparison-table-wrapper {
    margin-bottom: 50px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.comparison-table-wrapper.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px; /* guarantees nice sizing on mobile */
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.55;
    vertical-align: top;
}

.comparison-table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    color: #334155;
    font-size: 16px;
}

.comparison-table .feature-col strong {
    color: #1e293b;
    font-weight: 600;
}

/* Table hovering */
.comparison-table tbody tr:hover td {
    background-color: #f8fafc;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Branded List Section */
.comparison-list-wrapper {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.comparison-list-title {
    margin: 0 0 20px 0;
    color: #1a1a2e;
    font-size: 20px;
    line-height: 1.4;
}

.comparison-branded-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.comparison-branded-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: #334155;
    font-size: 17px;
    line-height: 1.6;
}

.comparison-branded-list li:last-child {
    margin-bottom: 0;
}

/* Icon matching the Why section */
.comparison-branded-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232681db'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* CTA */
.comparison-cta {
    margin-top: 40px;
}

.comparison-cta a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: #256dff;
    color: #ffffff;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 109, 255, 0.25);
}

.comparison-cta a.btn:hover {
    background-color: #1a4ccc;
    box-shadow: 0 6px 20px rgba(37, 109, 255, 0.4);
    color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .s-service-comparison {
        padding: 60px 0;
    }
    
    .comparison-list-wrapper {
        padding: 30px 24px;
    }
}

@media (max-width: 767px) {
    .s-service-comparison {
        padding: 48px 0;
    }

    .comparison-table th, 
    .comparison-table td {
        padding: 16px;
        font-size: 15px;
    }
    
    .comparison-branded-list li {
        font-size: 16px;
        line-height: 1.5;
    }
}

.item-descr__deliverables a {
	color: #3265ff;
 	border-bottom: 1px solid transparent;
}