:root {
    --brand-cream: #F8E4BE;
    --brand-sand: #F2CDAD;
    --brand-olive: #6E6F61;

    /* Override template theme colors (assets/css/style.min.css). */
    --bs-primary: #F8E4BE;
    --bs-primary-rgb: 248, 228, 190;
    --bs-secondary: #F2CDAD;
    --bs-secondary-rgb: 242, 205, 173;
    --bs-primary-bg-subtle: #F8E4BE;
    --bs-secondary-bg-subtle: #6E6F61;
    --bs-link-color: #6E6F61;
    --bs-link-color-rgb: 110, 111, 97;
    --bs-link-hover-color: #5f6055;
    --bs-link-hover-color-rgb: 95, 96, 85;
    --bs-highlight-bg: #F2CDAD;
}
#heading_1 > button {
    color: #6E6F61 !important;
}
#heading_2 > button, #heading_3 > button, #heading_4 > button {
    color: #6E6F61 !important;
}
#wpforms-912-field_2 {
    background: #fdfdfd !important;
}
.hero_image_wrap:before {
  top: 0;
  left: 0;
  background-color: #F8E4BE !important;
}
#wpforms-912-field_7 {
    background: #fdfdfd !important;
}
#wpforms-912-field_8 {
    background: #fdfdfd !important;
}
#main-content > section.work_process_section.tw-py-16 > div > div > div > div > div > div  {
    color: rgb(0, 0, 0) !important;
}
#main-content > section.work_process_section.tw-py-16 > div > div > div:nth-child(1) > div > div:nth-child(3) > div {
    color:black !important;
}
.container {
    max-width: 1200px;
    border-radius: 0;
    
}   

div.wpforms-container-full .wpforms-field-label {
    color: var(--brand-olive) !important;
}

div.wpforms-container-full input[type=date],
div.wpforms-container-full input[type=datetime],
div.wpforms-container-full input[type=datetime-local],
div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=month],
div.wpforms-container-full input[type=number],
div.wpforms-container-full input[type=password],
div.wpforms-container-full input[type=range],
div.wpforms-container-full input[type=search],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=time],
div.wpforms-container-full input[type=url],
div.wpforms-container-full input[type=week],
div.wpforms-container-full select,
div.wpforms-container-full textarea {
    background: var(--brand-cream) !important;
}

.collapse {
    visibility: visible !important;
}

/* Hero counters: 3 items in one row (like the reference screenshot) */
.hero_section_counter {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    padding-left: 0;
    margin: 22px 0 0;
    gap: 0;
}

.hero_section_counter > li {
    flex: 1 1 0;
    width: auto;
    padding: 0 22px;
}

.hero_section_counter > li:first-child {
    padding-left: 0;
}

.hero_section_counter > li:last-child {
    padding-right: 0;
}

.hero_section_counter > li:not(:last-child) .counter_item {
    border-right: none;
    padding-right: 0;
}

.hero_section_counter hr {
    display: none;
}

.hero_section_counter .counter_item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero_section_counter .counter_value {
    display: block;
    text-align: center;
    white-space: nowrap;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    color: #6E6F61;
    margin-bottom: 0;
}

.hero_section_counter .counter_value:after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: #F2CDAD;
    margin: 10px auto 8px;
    border-radius: 999px;
}

.hero_section_counter .counter_value .odometer {
    display: inline-block;
    line-height: 1;
}

.hero_section_counter .counter_value > span:not(.odometer) {
    font-size: 0.9em;
}

.hero_section_counter .counter_description {
    font-size: 13px;
    line-height: 1.2;
    color: #000;
    text-align: center;
    max-width: 140px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .hero_section_counter .counter_value {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .hero_section_counter {
        flex-wrap: wrap;
    }
    .hero_section_counter > li {
        flex: 0 0 50%;
        padding: 10px 12px;
    }
    .hero_section_counter > li:not(:last-child) .counter_item {
        border-right: none;
        padding-right: 0;
    }
}

/* Home (inicio_2) cards */
.home_services_cards {
    /* Override the Tailwind utility background to match the design */
    background-color: var(--brand-cream) !important;
    background-color: rgba(248, 228, 190, 0.40) !important;
    padding: 80px 0 90px;
}

.home_services_cards .section_heading {
    margin-bottom: 38px;
}

.home_services_cards .section_heading_text {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.home_services_cards .section_heading_description {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.65);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.home_services_cards .row {
    justify-content: center;
    row-gap: 34px;
}

.home_services_cards .row > [class*="col-"] {
    display: flex;
    justify-content: center;
}

.home_services_cards .service_item {
    width: 100%;
    max-width: 330px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 28px 22px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home_services_cards .service_item .item_icon {
    margin-bottom: 14px;
    line-height: 0;
}

.home_services_cards .service_item .item_icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.home_services_cards .service_item .item_title {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.home_services_cards .service_item p {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 0;
}

.home_services_cards .service_item .btn-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
}

.home_services_cards .service_item .btn-link .btn_text {
    line-height: 1;
}

.home_services_cards .service_item .btn-link .btn_icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(110, 111, 97, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home_services_cards .service_item .btn-link .btn_icon i {
    font-size: 9px;
    color: #fff;
    transform: translateY(-0.5px);
}

.home_services_cards .service_item .btn-link:hover {
    color: #000;
}

.home_services_cards .service_item .btn-link:hover .btn_icon {
    background: rgba(110, 111, 97, 0.85);
}

@media (max-width: 991px) {
    .home_services_cards {
        padding: 70px 0 80px;
    }
    .home_services_cards .section_heading_text {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .home_services_cards {
        padding: 60px 0 70px;
    }
    .home_services_cards .service_item {
        max-width: 360px;
    }
}

/* Home (inicio_5) form */
.home_consult_form {
    background: rgba(248, 228, 190, 0.35) !important;
}

.home_consult_form:before,
.home_consult_form:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 320px;
    height: 320px;
    transform: translateY(-50%);
    opacity: 0.12;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.home_consult_form:before {
    left: -120px;
    background-image: url("assets/images/shapes/shape_leaf_left_bottom.svg");
}

.home_consult_form:after {
    right: -120px;
    background-image: url("assets/images/shapes/shape_leaf_right_top.svg");
}

.home_consult_form .wpforms-container {
    margin: 0 !important;
}

.home_consult_form .wpforms-form {
    display: flex;
    flex-direction: column;
}

.home_consult_form .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home_consult_form .wpforms-field-label {
    display: block;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #000 !important;
    margin-bottom: 6px !important;
}

.home_consult_form input[type="text"],
.home_consult_form input[type="email"],
.home_consult_form input[type="tel"],
.home_consult_form select {
    background-color: #fff !important;
    border: 1px solid rgba(110, 111, 97, 0.55) !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    height: 42px !important;
    font-size: 13px !important;
    color: rgba(0, 0, 0, 0.65) !important;
}

.home_consult_form input::placeholder {
    color: rgba(0, 0, 0, 0.30) !important;
}

.home_consult_form .wpforms-submit-container {
    width: 100%;
    text-align: center;
    margin-top: 22px !important;
    padding: 0 !important;
}

.home_consult_form button.wpforms-submit {
    background-color: #6E6F61 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 34px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.home_consult_form button.wpforms-submit:hover {
    opacity: 0.9;
}

.home_consult_form .wpforms-field-description {
    display: none !important;
}

@media (max-width: 768px) {
    .home_consult_form .wpforms-field-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .home_consult_form:before,
    .home_consult_form:after {
        width: 220px;
        height: 220px;
        left: -140px;
        right: -140px;
        opacity: 0.10;
    }
}

/* Home (contacto_2) contact card */
.home_contact_card {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 22px 70px rgba(242, 205, 173, 0.35) !important;
}

.home_contact_section h2 {
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    color: #000 !important;
}

.home_contact_section p {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.60) !important;
}

.home_contact_form .wpforms-container {
    margin: 0 !important;
}

.home_contact_form .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.home_contact_form .wpforms-field-textarea {
    grid-column: span 2;
}

.home_contact_form .wpforms-field-label {
    display: block;
    font-weight: 800 !important;
    font-size: 11px !important;
    color: #000 !important;
    margin-bottom: 6px !important;
}

.home_contact_form input[type="text"],
.home_contact_form input[type="tel"],
.home_contact_form input[type="email"],
.home_contact_form textarea {
    background-color: #fff !important;
    border: 1px solid rgba(110, 111, 97, 0.55) !important;
    border-radius: 999px !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
    color: rgba(0, 0, 0, 0.65) !important;
    box-shadow: none !important;
}

.home_contact_form textarea {
    border-radius: 16px !important;
    min-height: 92px !important;
    resize: none;
}

.home_contact_form .wpforms-submit-container {
    text-align: left;
    padding-top: 12px !important;
}

.home_contact_form button.wpforms-submit {
    background-color: #6E6F61 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border: none !important;
    text-transform: none !important;
}

.home_contact_form button.wpforms-submit:hover {
    opacity: 0.92;
}

.home_contact_form .wpforms-field-description {
    display: none !important;
}

.home_contact_info li > div:first-child {
    width: 36px !important;
    height: 36px !important;
}

.home_contact_info span.tw-text-sm {
    font-size: 11px !important;
}

.home_contact_info span.tw-font-bold {
    font-size: 12px !important;
}

.home_contact_social a i {
    font-size: 13px;
}

@media (max-width: 991px) {
    .home_contact_card {
        max-width: 100%;
    }
    .home_contact_form .wpforms-field-container {
        grid-template-columns: 1fr;
    }
    .home_contact_form .wpforms-field-textarea {
        grid-column: auto;
    }
    .home_contact_form .wpforms-submit-container {
        text-align: center;
    }
}

/* Override theme utility background to always match brand */
.bg_primary_light,
.bg_primary_light[class*="shape"] {
    background-color: #F8E4BE !important;
}

/* Accessibility: ensure sufficient contrast for process step numbers */
.work_process_section .serial_number {
    color: #000 !important;
    opacity: 1 !important;
}

/* Accessibility: ensure sufficient contrast for "Cómo empezar el proceso" step numbers */
.work_process_section .tw-text-7xl.tw-font-black[class*="tw-text-[#D1D1CB]"] {
    color: #000 !important;
    opacity: 1 !important;
}
