/* 
   MASTER STYLESHEET - 100% FIDELITY SYNC
   Based on service.html and location.html (Ignoring apple-for-business.html)
*/

:root {
    --burgundy: #4a1515;
    --orange: #f68d2d;
    --blue-light: #f0f7fc;
    --blue-medium: #6cace4;
    --blue-dark: #54a0ff;
    --gray-bg: #f4f4f4;
    --light-gray: #f5f5f5;
    --dark-gray: #52565a;
    --text: #333;
    --white: #fff;
    --input-text: #939598;
    --black: #000000;
}

/* Base resets within .afb-lp */
.afb-lp * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Divi specific overrides to ensure fidelity */
.afb-lp .et_pb_section, 
.afb-lp .et_pb_row, 
.afb-lp .et_pb_column {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Force zero margins for all custom F12 modules */
div[class*="et_pb_f12_"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.afb-lp {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    font-size: 1rem;
}

.afb-lp .container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem !important;
    position: relative;
}

.afb-lp .btn-primary {
    display: inline-block;
    background: var(--blue-medium);
    color: var(--white);
    padding: 0.75rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1.1;
}

.afb-lp .btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-0.125rem);
    color: var(--white) !important;
}

.afb-lp .link-arrow {
    color: var(--blue-medium);
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.afb-lp .link-arrow::after {
    content: " →";
}

.afb-lp .link-arrow:hover {
    text-decoration: underline;
}

.afb-lp .overflow-hidden {
    overflow: hidden;
}

/* HERO SECTION */
.afb-lp .hero {
    position: relative;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .afb-lp .hero .container {
        position: static !important;
    }
}

.afb-lp .hero .hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1200px) {
    .afb-lp .hero .hero-wrapper {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.afb-lp .hero .hero-content {
    padding: 2rem 0;
}

.afb-lp .hero h1 {
    font-size: 2.5rem !important;
    color: var(--burgundy) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.afb-lp .hero p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--orange);
    font-weight: 600;
}

.afb-lp .hero ul {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.afb-lp .hero ul li {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--black);
}

.afb-lp .hero ul li::marker {
    color: var(--blue-medium);
    font-size: 0.875rem;
}

.afb-lp .hero .hero-visual {
    position: relative;
}

@media (min-width: 1200px) {
    .afb-lp .hero .hero-visual {
        position: absolute;
/*        width: 50%;*/
        right: -125px;
        height: 100%;
        top: 0;
    }
}

.afb-lp .hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGES SECTION */
.afb-lp .badges {
    padding: 3rem 0;
    background-color: var(--light-gray);
    position: relative;
    z-index: 10;
}

.afb-lp .badges .badge-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    filter: grayscale(1);
    gap: 2rem;
}

.afb-lp .badges .badge-flex img {
    width: 8rem;
}

/* TOC SECTION */
.afb-lp .toc {
    background-color: var(--blue-medium);
    padding: 1rem 0;
}

.afb-lp .toc .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.afb-lp .toc a {
    padding: 0.5rem 1.5rem 0.5rem 0;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--white);
    text-align: center;
    text-decoration: none;
}

.afb-lp .toc a:not(:last-child) {
    border-right: 1px solid var(--white);
}

/* BRIDGE SECTION */
.afb-lp .bridge-section {
    position: relative;
    z-index: 10;
    background-color: var(--white);
    padding: 3rem 0;
}

.afb-lp .bridge-section h3 {
    color: var(--burgundy) !important;
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .bridge-section .desc p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    text-align: center;
}

.afb-lp .bridge-section .bridge-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
}

@media (min-width: 1200px) {
    .afb-lp .bridge-section .bridge-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.afb-lp .bridge-section .bridge-card {
    background: var(--light-gray);
    padding: 2.5rem 1.5rem;
    text-align: center;
/*    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);*/
    border-radius: 0.125rem;
}

.afb-lp .bridge-section .bridge-card .icon {
    width: 6.25rem;
    display: block;
    margin: 0 auto 1rem;
}

.afb-lp .bridge-section .bridge-card h4 {
    color: var(--orange) !important;
    font-size: 1.125rem !important;
    margin-bottom: 0.25rem !important;
    font-weight: 600 !important;
}

.afb-lp .bridge-section .bridge-card p {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* SERVICES SECTION */
.afb-lp .services {
    padding: 3rem 0;
    background-color: var(--light-gray); /* Default */
}

.afb-lp .services.bg-white { background-color: var(--white); }
.afb-lp .services.bg-light { background-color: var(--light-gray); }
.afb-lp .services.bg-blue { background-color: var(--blue-light); }

.afb-lp .services h2 {
    color: var(--burgundy) !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .services p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    text-align: center;
}

.afb-lp .services .info-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
    .afb-lp .services .info-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.afb-lp .services .info-card {
    background-color: var(--white);
    padding: 2rem;
}

.afb-lp .services .info-card .card-content p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.afb-lp .services .info-card .card-content p:last-child {
    margin-bottom: 1rem;
}

.afb-lp .services .info-card h3 {
    color: var(--orange) !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.afb-lp .services .info-card p {
    margin-bottom: 1rem;
    text-align: left;
}

/* SERVICES 2 VARIANT */
.afb-lp .services-2 {
    background-color: var(--white);
}

@media (min-width: 1200px) {
    .afb-lp .services-2 .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.afb-lp .services-2 .info-card {
    padding: 1.75rem;
    background-color: var(--light-gray);
}

.afb-lp .services-2.bg-blue {
    background-color: var(--blue-light);
}

.afb-lp .services-2.bg-light h2,
.afb-lp .services-2.bg-blue h2 {
    color: var(--black) !important;
}

.afb-lp .services-2.bg-light .info-card,
.afb-lp .services-2.bg-blue .info-card {
    background-color: var(--white);
}

/* MAP SECTION */
.afb-lp .map-section .map-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
    .afb-lp .map-section .map-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.afb-lp .map-section .map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.afb-lp .map-section .map-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

@media (min-width: 1200px) {
    .afb-lp .map-section .map-info {
        padding: 2.5rem 5rem;
    }
}

.afb-lp .map-section .map-info h2 {
    color: var(--black) !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
}

.afb-lp .map-section .map-info p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.afb-lp .map-section .map-info p a {
    color: var(--blue-medium);
    text-decoration: none;
    cursor: pointer;
}

.afb-lp .map-section .map-info p a::after {
    content: " →";
}

.afb-lp .map-section .map-info p a:hover {
    text-decoration: underline;
}

/* NUMBERS SECTION */
.afb-lp .numbers {
    padding: 3rem 0;
    background-color: var(--light-gray);
}


.afb-lp .numbers.bg-light {
    background-color: var(--white);
}

.afb-lp .numbers h2 {
    color: var(--burgundy) !important;
    font-size: 2rem !important;
    margin-bottom: 3rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .numbers .numbers-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
    .afb-lp .numbers .numbers-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.afb-lp .numbers .number img {
    width: 6.25rem;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
}

.afb-lp .numbers .number h3 {
    color: var(--black) !important;
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .numbers .number p {
    color: var(--black);
    font-size: 1.125rem;
    margin-bottom: 0;
    text-align: center;
}

/* SOCIAL PROOF SECTION */
.afb-lp .social-proof {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.afb-lp .social-proof h2 {
    color: var(--black) !important;
    font-size: 2rem !important;
    margin-bottom: 3rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .social-proof .proof-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
    .afb-lp .social-proof .proof-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.afb-lp .social-proof .quote-orange {
    background: var(--orange);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.afb-lp .social-proof .quote-orange .main-quote {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
}

.afb-lp .social-proof .quote-orange .quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--white);
}

.afb-lp .social-proof .quote-orange p {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--white);
}

.afb-lp .social-proof .quote-orange .quote-mark {
    width: 5rem;
}

.afb-lp .social-proof .case-blue {
    background: var(--blue-medium);
    padding: 3rem;
}

.afb-lp .social-proof .case-blue h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: var(--white) !important;
}

.afb-lp .social-proof .case-blue p {
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 300;
    color: var(--white);
}

/* PROCESS SECTION */
.afb-lp .process {
    padding: 3rem 0;
    background-color: var(--white);
}

.afb-lp .process h2 {
    color: var(--burgundy) !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.afb-lp .process p {
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 2rem;
    text-align: center;
}

.afb-lp .process .process-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .afb-lp .process .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .afb-lp .process .process-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.afb-lp .process .process-grid h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: var(--black) !important;
    text-align: left !important;
}

.afb-lp .process .process-grid p {
    margin-bottom: 0;
    text-align: left;
}

/* CONTACT SECTION */
.afb-lp .contact {
    background: var(--light-gray);
    padding: 3rem 0;
}

.afb-lp .contact .contact-grid {
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
    .afb-lp .contact .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.afb-lp .contact h2 {
    color: var(--burgundy) !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 500 !important;
}

.afb-lp .contact .contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
}

.afb-lp .contact .contact-form input, 
.afb-lp .contact .contact-form textarea {
    padding: 1rem;
    font-size: 1.125rem;
    border: 0;
    font-family: inherit;
    color: var(--input-text);
    font-weight: 300;
    width: 100%;
    display: block;
}

.afb-lp .contact .contact-form input:focus, 
.afb-lp .contact .contact-form textarea:focus {
    outline: 0.125rem solid var(--blue-medium);
    border-color: transparent;
}

.afb-lp .contact .contact-form textarea {
    height: 8rem;
    resize: none;
}
