
/* ============================================================
   01. GOOGLE FONTS / TYPOGRAPHY IMPORTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');


/* ============================================================
   02. ROOT VARIABLES / GLOBAL COLORS
   ============================================================ */

:root {
    --red: #c82229;
    --ink: #151515;
}


/* ============================================================
   03. GLOBAL RESET / GENERAL WEBSITE STYLES
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}


/* ============================================================
   04. MAIN CONTAINER / WEBSITE WIDTH
   ============================================================ */

.container {
    max-width: 1350px;
    width: 90%;
    margin: auto;
}


/* ============================================================
   05. HEADER / MAIN NAVIGATION
   ============================================================ */

/* Header container */

.header {
    height: 92px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 8px #0000000c;
}


/* Navigation layout */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}


/* ============================================================
   06. HEADER LOGO / COMPANY BRAND
   ============================================================ */

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


/* Company logo image */

.brand img {
    height: 70px;
    width: 65px;
    object-fit: cover;
    object-position: top;
}


/* Company name and subtitle */

.brand b,
.brand small {
    display: block;
    font-family: 'Barlow Condensed', Arial, sans-serif;
}


/* Company name */

.brand b {
    font-size: 23px;
    font-weight: 800;
    white-space: nowrap;
}


/* Roofing Solutions subtitle */

.brand small {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-top: 3px solid var(--red);
    padding-top: 3px;
}


/* ============================================================
   07. NAVIGATION LINKS / HEADER MENU
   ============================================================ */

.navlinks {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    font-weight: 700;
}


/* Individual navigation links */

.navlinks a {
    padding: 12px 0;
}


/* Active navigation link and hover effect */

.navlinks a:hover,
.navlinks .active {
    color: var(--red);
    border-bottom: 2px solid var(--red);
}


/* Header phone number */

.phone {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}


/* Mobile hamburger menu */

.hamburger {
    display: none;
}


/* ============================================================
   08. BUTTONS / GLOBAL BUTTON STYLES
   ============================================================ */

/* Default button */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 4px;
    padding: 17px 23px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}


/* Red button */

.red {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 0 #850f16;
}


/* Red button hover */

.red:hover {
    background: #a71b21;
}


/* Header estimate button */

.headercta {
    font-size: 12px;
    padding: 15px 18px;
    white-space: nowrap;
}


/* ============================================================
   09. HERO / MAIN BANNER BACKGROUND
   ============================================================ */

/* Main hero background image and overlay */

.hero {
    height: 540px;

    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 11, .88) 0%,
            rgba(4, 8, 11, .72) 39%,
            rgba(4, 8, 11, .10) 80%
        ),
        url('images/pic13.png') center 38% / cover;

    position: relative;
    color: white;
}


/* Hero content layout */

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Hero text container */

.herotext {
    padding: 24px 0;
}


/* ============================================================
   10. SECTION LABELS / OVERLINE TEXT
   ============================================================ */

.overline {
    font-family: 'Barlow Condensed';
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}


/* Red decorative line */

.overline:before {
    content: '';
    display: inline-block;
    width: 52px;
    height: 3px;
    background: var(--red);
}


/* White overline variation */

.overline.light {
    color: white;
}


/* ============================================================
   11. HERO TITLE / MAIN HEADLINE
   ============================================================ */

/* Global heading font */

.hero h1,
h2,
h3 {
    font-family:
        'Barlow Condensed',
        Impact,
        Arial,
        sans-serif;
}


/* Main hero title */

.hero h1 {
    font-size: clamp(48px, 5vw, 79px);
    line-height: .98;
    margin: 8px 0 12px;
    letter-spacing: 1px;
    font-weight: 900;
}


/* Red highlighted heading text */

.hero h1 span,
h2 span {
    color: var(--red);
}


/* Hero description */

.hero p {
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 25px;
}


/* ============================================================
   12. HERO BADGES / COMPANY FEATURES
   ============================================================ */


/* ============================================================
   HERO / COMPANY BENEFITS
   ============================================================ */

/* Benefits container */

.hero-badges {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}


/* Individual benefit */

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


/* Circular icon container */

.hero-badges .hero-benefit-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;
    min-width: 70px;

    border: 3px solid white;
    border-radius: 50%;
    color: white;
}


/* Font Awesome icons */

.hero-badges .hero-benefit-icon i {
    font-size: 34px;
    color: white;
    font-style: normal;
    border: none;
    width: auto;
    height: auto;
    display: inline-block;
}


/* Shield check positioning */

.hero-badges .hero-benefit-icon .shield-check {
    position: absolute;
    font-size: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
}


/* Benefit text */

.hero-badges .hero-benefit-text {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    color: white;
}



/* ============================================================
   13. HERO BUTTONS / CALL TO ACTION
   ============================================================ */

.hero-buttons {
    display: flex;
    gap: 20px;
}


/* Transparent outline button */

.outline {
    border: 1px solid #fff;
    background: #0004;
    color: #fff;
}


/* ============================================================
   14. HERO LOGO / RIGHT SIDE IMAGE
   ============================================================ */

/* ============================================================
   HERO / RIGHT SIDE COMPANY LOGO
   ============================================================ */

/* Logo container */

.hero-logo {
    position: absolute;

    right: 0%;
    bottom: 70px;

    background: white;
    border-radius: 10px;
    padding: 12px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);

    margin: 0;
}


/* Logo image */

.hero-logo img {
    display: block;

    width: 170px;
    height: 170px;

    object-fit: contain;
}


/* ============================================================
   RESPONSIVE / HERO LOGO
   ============================================================ */

@media (max-width: 1150px) {

    .hero-logo {
        display: none;
    }

}


/* ============================================================
   15. SERVICES / SERVICE SECTION
   ============================================================ */


/* Services section background */

/* ============================================================
   15. SERVICES / BACKGROUND COLOR
   ============================================================ */

.service-strip {
    background-color: #f2f2f2;
}

.services {
    background-color: transparent;
}


/* Services grid */

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 35px 0;
}


/* Individual service card */

.services article {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 15px 25px;

    border-right: 1px solid #ddd;
    min-height: 145px;
}


/* First service card */

.services article:first-child {
    padding-left: 0;
}


/* Last service card */

.services article:last-child {
    border-right: none;
}


/* ============================================================
   SERVICES / CIRCULAR ICONS
   ============================================================ */


/* Circular service icon */

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;
    min-width: 75px;

    background: #fff;
    border-radius: 50%;

    color: var(--red);
    flex-shrink: 0;
}


/* Font Awesome service icons */

.service-icon i {
    font-size: 38px;
    color: var(--red);
    line-height: 1;
}


/* ============================================================
   SERVICES / TEXT CONTENT
   ============================================================ */


/* Service titles */

.services h3 {
    font-size: 23px;
    line-height: 1;
    margin: 7px 0 12px;
}


/* Service descriptions and list items */

.services p,
.services li {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}


/* Roofing types list */

.services ul {
    margin: 0;
    padding-left: 17px;
}


/* ============================================================
   16. SECTION LAYOUT / SHARED SECTION STYLES
   ============================================================ */


/* General section spacing */

.block {
    padding: 35px 0 42px;
}


/* Section heading layout */

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}


/* Shared section titles */

.section-top h2,
.finance h2,
.bottom h2 {
    font-size: clamp(36px, 3.2vw, 49px);
    font-weight: 900;
    line-height: 1;
    margin: 4px 0;
}


/* Section description */

.section-top p {
    margin: 5px 0 0;
    color: #555;
    font-size: 16px;
}


/* Outlined section button */

.border-btn {
    border: 1px solid #333;
    border-radius: 3px;
    font-family: 'Barlow Condensed';
    font-size: 15px;
    font-weight: 800;
    padding: 12px 18px;
    white-space: nowrap;
}


/* ============================================================
   17. PROJECT GALLERY / GALLERY BACKGROUND
   ============================================================ */


/* Gallery background */

.projects {
    background: #fafafa;
}


/* Gallery carousel wrapper */

.gallery-wrap {
    position: relative;
}

/* ============================================================
   18. PROJECT GALLERY / IMAGE CAROUSEL
   ============================================================ */

/* Horizontal image carousel */

.gallery-track {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}


/* Hide carousel scrollbar */

.gallery-track::-webkit-scrollbar {
    display: none;
}


/* Individual gallery image container */

.gallery-track figure {
    position: relative;
    flex: 0 0 calc((100% - 28px) / 5);
    height: 255px;
    margin: 0;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 5px;
}


/* Gallery image dimensions */

.gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Gallery image captions */

.gallery-track figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, #0009);
    padding: 22px 10px 10px;
    color: white;
    font: 700 13px 'Barlow Condensed';
    opacity: 0;
    transition: .2s;
}


/* Show caption on hover */

.gallery-track figure:hover figcaption {
    opacity: 1;
}


/* ============================================================
   19. GALLERY CONTROLS / ARROWS AND DOTS
   ============================================================ */

/* Carousel navigation arrows */

.carousel-arrow {
    position: absolute;
    top: 43%;
    z-index: 3;
    border: 0;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 10px #0002;
    width: 45px;
    height: 45px;
    font-size: 27px;
    cursor: pointer;
}


/* Previous image arrow */

.prev {
    left: -27px;
}


/* Next image arrow */

.next {
    right: -27px;
}


/* Pagination dots container */

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
}


/* Individual pagination dot */

.dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #ccc;
    padding: 0;
    cursor: pointer;
}


/* Active pagination dot */

.dots button.selected {
    background: var(--red);
}


/* ============================================================
   20. BEFORE AND AFTER / SECTION LAYOUT
   ============================================================ */

/* Section background */

.before {
    background: #f2f2f2;
}


/* Comparison images grid */

.before-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


/* Individual comparison container */

.compare {
    height: 255px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background: #ddd;
}


/* Comparison images */

.compare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}


/* ============================================================
   21. BEFORE AND AFTER / COMPARISON SLIDER
   ============================================================ */


/* ============================================================
   21. BEFORE AND AFTER / STATIC COMPARISON
   ============================================================ */

/* Before image fixed at 50% */

.compare .before-img {
    clip-path: inset(0 50% 0 0) !important;
}


/* Vertical divider fixed in the center */

.compare .divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50% !important;
    border-left: 3px solid #fff;
    pointer-events: none;
}


/* Circular divider handle */

.divider-line b {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    height: 38px;
    width: 38px;
    display: grid;
    place-items: center;
}


/* Disable interactive slider */

.compare input {
    display: none;
}

/* ============================================================
   22. BEFORE AND AFTER / IMAGE LABELS
   ============================================================ */

/* Shared image label */

.tag {
    position: absolute;
    bottom: 13px;
    padding: 9px 12px;
    background: #222d;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}


/* Before label */

.tag.left {
    left: 12px;
}


/* After label */

.tag.right {
    right: 12px;
    background: var(--red);
}


/* Photo disclaimer */

.photo-note {
    font-size: 11px;
    color: #666;
    margin-bottom: 0;
}


/* ============================================================
   23. FINANCING / SECTION BACKGROUND
   ============================================================ */

.finance {
    background:
        linear-gradient(
            90deg,
            rgba(9, 9, 9, .91),
            rgba(16, 16, 16, .85)
        ),
        url('images/pic1.jpeg') center / cover;

    color: white;
    padding: 25px 0 32px;
}

.finance-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.finance h2 {
    font-size: 44px;
    line-height: 1;
    margin: 5px 0;
}

.finance p {
    font-size: 18px;
    margin: 5px 0 23px;
}


/* ============================================================
   24. FINANCING / FEATURES AND BUTTON
   ============================================================ */

/* FINANCING FEATURES CONTAINER */

.finance-points {
    display: flex;
    align-items: center;
    gap: 25px;
}


/* INDIVIDUAL FINANCING FEATURE */

.finance-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-right: 25px;
    border-right: 1px solid #ffffff40;
}


/* REMOVE LAST DIVIDER */

.finance-feature:last-child {
    border-right: none;
    padding-right: 0;
}


/* CIRCULAR FINANCING ICON */

.finance-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    min-width: 58px;

    border: 2px solid white;
    border-radius: 50%;

    color: white;
}


/* FONT AWESOME ICONS */

.finance-icon i {
    font-size: 27px;
    color: white;
}


/* FINANCING FEATURE TEXT */

.finance-feature span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}


/* FINANCING BUTTON */

.finance-inner > .btn {
    min-width: 280px;
    padding: 22px 30px;
}




/* ============================================================
   25. ABOUT US / BOTTOM SECTION LAYOUT
   ============================================================ */


/* ABOUT US AND CONTACT LAYOUT */

.bottom {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 0;
}


/* ============================================================
   ABOUT US / MAIN CONTAINER
   ============================================================ */

.why {
    background: #fff;
    display: flex;
    justify-content: flex-end;

    /* Required for watermark positioning */
    position: relative;
    overflow: hidden;
}




/* ============================================================
   ABOUT US / BULL LOGO WATERMARK
   ============================================================ */

.why::before {

    content: "";

    /* Watermark image */

    background-image:
        url('images/alpha-homes-watermark.png');

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* Watermark dimensions */

    width: 390px;
    height: 390px;

    /* Position on the far right */

    position: absolute;
    right: -190px;
    top: 50%;

    transform: translateY(-50%);

    /* Convert logo to grayscale */

    filter: grayscale(100%);

    /* Watermark transparency */

    opacity: 0.055;

    /* Keep watermark behind content */

    z-index: 0;
    pointer-events: none;

}


/* ============================================================
   ABOUT US / TEXT CONTENT
   ============================================================ */

.why-content {
    max-width: 760px;
    width: 100%;

    padding:
        35px
        40px
        35px
        max(35px, calc((100vw - 1350px) / 2));

    /* Keep text above watermark */
    position: relative;
    z-index: 1;
}


/* ============================================================
   ABOUT US / SECTION TITLE
   ============================================================ */

.why h2 {
    font-size: 43px;
    line-height: 1;
    margin: 0 0 17px;
}


/* ============================================================
   ABOUT US / DESCRIPTION
   ============================================================ */

.why p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    max-width: 580px;
}


/* ============================================================
   26. ABOUT US / COMPANY BENEFITS
   ============================================================ */

/* Benefits grid */

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
    margin-top: 30px;
}


/* Individual benefit */

.check-grid span {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    white-space: nowrap;
}


/* Red circular check icons */

.check-grid i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    min-width: 30px;

    background: #c82229;
    color: #fff;

    border-radius: 50%;

    font-size: 15px;
    box-shadow: 0 1px 3px #0002;
}



/* ============================================================
   27. CONTACT / FREE ESTIMATE SECTION
   ============================================================ */

.estimate {
    background:
        linear-gradient(
            rgba(17, 17, 17, .88),
            rgba(17, 17, 17, .88)
        ),
        url('images/pic3.jpeg') center / cover;

    color: white;
}

.estimate-inner {
    max-width: 675px;
    padding: 35px 45px 35px 45px;
}

.estimate h2 {
    font-size: 42px;
    line-height: 1;
    margin: 0 0 10px;
}

.estimate p {
    font-size: 14px;
    margin: 0 0 22px;
}


/* ============================================================
   28. CONTACT FORM / INPUT FIELDS
   ============================================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.estimate input,
.estimate textarea {
    width: 100%;
    padding: 14px 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.estimate textarea {
    margin: 8px 0;
    resize: vertical;
    min-height: 105px;
}


/* ============================================================
   CONTACT FORM / INPUT ICONS
   ============================================================ */

.input-icon {
    position: relative;
    width: 100%;
}


/* Font Awesome icons */

.input-icon i {
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}


/* Input spacing */

.estimate .input-icon input {
    width: 100%;
    padding-left: 48px;
}


/* Placeholder appearance */

.estimate input::placeholder,
.estimate textarea::placeholder {
    color: #777;
    opacity: 1;
}


/* ============================================================
   29. CONTACT FORM / SUBMIT BUTTON
   ============================================================ */

.estimate form .btn {
    width: 100%;
    padding: 19px;
    font-size: 14px;
}

.estimate small {
    display: block;
    font-size: 10px;
    color: #bbb;
    margin-top: 10px;
}


/* ============================================================
   30. FOOTER / COMPANY INFORMATION
   ============================================================ */

footer {
    background: #f8f9fa;
    padding: 25px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 14px;
    font-weight: 700;
}

footer .brand img {
    height: 90px;
    width: 85px;
    object-fit: contain;
}

footer .brand b {
    font-size: 23px;
}

footer .brand small {
    font-size: 16px;
}

.footer-end {
    font-size: 11px;
    color: #777;
}


/* ============================================================
   FOOTER / CONTACT AND SOCIAL MEDIA ICONS
   ============================================================ */

/* Footer background */

footer {
    background: #f8f9fa;
    padding: 25px 0;
}


/* Footer layout */

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Address and phone */

.footer-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}


/* Contact icons */

.footer-contact i {
    font-size: 25px;
    color: #111;
}


/* Red location icon */

.footer-contact .location-icon {
    color: #c82229;
    font-size: 35px;
}


/* Social media container */

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Circular social media icons */

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #111;
    color: white;

    border-radius: 50%;
    font-size: 20px;

    transition: background .2s ease;
}


/* Social media hover */

.footer-social a:hover {
    background: #c82229;
}


/* ============================================================
   FOOTER / RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {

    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

}


@media (max-width: 520px) {

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}



/* ============================================================
   31. RESPONSIVE / SMALL DESKTOP
   SCREEN WIDTH: 1150px AND BELOW
   ============================================================ */

@media (max-width: 1150px) {


    /* HEADER / NAVIGATION */

    .nav {
        gap: 12px;
    }

    .navlinks {
        gap: 11px;
    }

    .phone {
        display: none;
    }


    /* HERO */

    .hero-logo {
        display: none;
    }


    /* SERVICES */

    .services article {
        padding: 10px;
    }


    /* PROJECT GALLERY */

    .gallery-track figure {
        flex-basis: calc((100% - 21px) / 4);
    }

}


/* ============================================================
   32. RESPONSIVE / TABLET
   SCREEN WIDTH: 800px AND BELOW
   ============================================================ */

@media (max-width: 800px) {


    /* --------------------------------------------------------
       TABLET HEADER
       -------------------------------------------------------- */

    .header {
        height: 76px;
    }


    /* Tablet company logo */

    .brand img {
        height: 55px;
        width: 52px;
    }


    /* Tablet company name */

    .brand b {
        font-size: 19px;
    }


    /* Tablet company subtitle */

    .brand small {
        font-size: 13px;
    }


    /* --------------------------------------------------------
       TABLET MOBILE MENU
       -------------------------------------------------------- */

    .hamburger {
        display: block;
        margin-left: auto;
        background: none;
        border: 0;
        font-size: 26px;
    }


    /* Dropdown navigation menu */

    .navlinks {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 18px 5%;
        box-shadow: 0 10px 15px #0002;
        flex-direction: column;
        align-items: stretch;
    }


    /* Open mobile navigation */

    .navlinks.open {
        display: flex;
    }


    /* Hide header estimate button */

    .headercta {
        display: none;
    }


    /* --------------------------------------------------------
       TABLET HERO
       -------------------------------------------------------- */

    .hero {
        height: auto;
        min-height: 570px;
    }


    /* Hero content spacing */

    .hero-inner {
        padding: 45px 0;
    }


    /* Hero badges layout */

    .hero-badges {
        flex-wrap: wrap;
    }


    /* --------------------------------------------------------
       TABLET SERVICES
       -------------------------------------------------------- */

    .services {
        grid-template-columns: 1fr 1fr;
    }


    /* Remove second service card border */

    .services article:nth-child(2) {
        border-right: 0;
    }


    /* --------------------------------------------------------
       TABLET PROJECT GALLERY
       -------------------------------------------------------- */

    .gallery-track figure {
        flex-basis: calc((100% - 14px) / 3);
    }


    /* --------------------------------------------------------
       TABLET BEFORE AND AFTER
       -------------------------------------------------------- */

    .before-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* Hide third comparison */

    .before-grid .compare:last-child {
        display: none;
    }


    /* --------------------------------------------------------
       TABLET ABOUT AND CONTACT
       -------------------------------------------------------- */

    .bottom {
        grid-template-columns: 1fr;
    }


    /* About section alignment */

    .why {
        justify-content: center;
    }


    /* About and contact spacing */

    .why-content,
    .estimate-inner {
        max-width: none;
        padding: 35px 5%;
    }


    /* --------------------------------------------------------
       TABLET FOOTER
       -------------------------------------------------------- */

    .footer-inner {
        flex-wrap: wrap;
    }

}


/* ============================================================
   33. RESPONSIVE / MOBILE PHONES
   SCREEN WIDTH: 520px AND BELOW
   ============================================================ */

@media (max-width: 520px) {


    /* --------------------------------------------------------
       MOBILE MAIN CONTAINER
       -------------------------------------------------------- */

    .container {
        width: 90%;
    }


    /* --------------------------------------------------------
       MOBILE HERO
       -------------------------------------------------------- */

    /* Mobile hero heading */

    .hero h1 {
        font-size: 49px;
    }


    /* Mobile hero description */

    .hero p {
        font-size: 17px;
    }


    /* Mobile hero badges */

    .hero-badges {
        gap: 12px;
    }


    /* Mobile badge text */

    .hero-badges div {
        font-size: 12px;
    }


    /* Mobile badge icons */

    .hero-badges i {
        width: 36px;
        height: 36px;
        font-size: 23px;
    }


    /* Mobile hero buttons */

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }


    /* --------------------------------------------------------
       MOBILE SERVICES
       -------------------------------------------------------- */

    .services {
        grid-template-columns: 1fr;
    }


    /* Mobile service cards */

    .services article {
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }


    /* --------------------------------------------------------
       MOBILE PROJECT GALLERY
       -------------------------------------------------------- */

    /* Show two gallery images */

    .gallery-track figure {
        flex-basis: calc((100% - 7px) / 2);
        height: 205px;
    }


    /* Stack section headings and buttons */

    .section-top {
        align-items: flex-start;
        flex-direction: column;
    }


    /* --------------------------------------------------------
       MOBILE BEFORE AND AFTER
       -------------------------------------------------------- */

    /* Single-column comparison layout */

    .before-grid {
        grid-template-columns: 1fr;
    }


    /* Show third comparison on mobile */

    .before-grid .compare:last-child {
        display: block;
    }


    /* --------------------------------------------------------
       MOBILE FINANCING
       -------------------------------------------------------- */

    /* Stack financing content */

    .finance-inner {
        flex-direction: column;
        align-items: flex-start;
    }


    /* Financing features */

    .finance-points {
        gap: 15px;
        flex-wrap: wrap;
    }


    /* --------------------------------------------------------
       MOBILE CONTACT FORM
       -------------------------------------------------------- */

    /* Single-column form fields */

    .form-grid {
        grid-template-columns: 1fr;
    }


    /* --------------------------------------------------------
       MOBILE FOOTER
       -------------------------------------------------------- */

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }


    /* --------------------------------------------------------
       MOBILE ABOUT US
       -------------------------------------------------------- */

    .check-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* ============================================================
   MOBILE / BULL WATERMARK
   ============================================================ */

@media (max-width: 520px) {

    .why::before {
        width: 220px;
        height: 220px;

        right: -65px;
        top: 50%;

        opacity: 0.035;
    }

}


/* ============================================================
   MOBILE / SERVICES ICONS
   ============================================================ */

@media (max-width: 520px) {

    .services article {
        padding: 20px 0;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }

    .service-icon i {
        font-size: 32px;
    }

}

/* ============================================================
   HERO / SMALLER BENEFIT ICONS
   ============================================================ */

/* Reduce circular icon size */

.hero-badges .hero-benefit-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border: 2px solid white;
}

/* Reduce icon size */

.hero-badges .hero-benefit-icon i {
    font-size: 26px;
}

/* Adjust shield check */

.hero-badges .hero-benefit-icon .shield-check {
    font-size: 12px;
}

/* Reduce spacing between benefits */

.hero-badges {
    gap: 22px;
}

.hero-badges .hero-benefit {
    gap: 10px;
}

/* ============================================================
   MOBILE / HERO BENEFITS OPTIMIZATION
   ============================================================ */

@media (max-width: 520px) {

    .hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        row-gap: 22px;
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .hero-badges .hero-benefit {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
    }

    .hero-badges .hero-benefit-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-width: 2px;
    }

    .hero-badges .hero-benefit-icon i {
        font-size: 21px;
    }

    .hero-badges .hero-benefit-icon .shield-check {
        font-size: 10px;
    }

    .hero-badges .hero-benefit-text {
        font-size: 15px;
        line-height: 1.15;
    }

}

/* ============================================================
   MOBILE / HAMBURGER MENU COLOR
   ============================================================ */

@media (max-width: 800px) {

    .hamburger {
        color: #000000;
        background: transparent;
        border: none;
        font-size: 28px;
        cursor: pointer;
    }

}

/* ============================================================
   MOBILE / WHY CHOOSE US RESPONSIVE FIX
   ============================================================ */

@media (max-width: 600px) {

    /* About section */

    .bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .why {
        width: 100%;
        overflow: hidden;
    }

    .why-content {
        width: 100%;
        max-width: 100%;
        padding: 35px 20px;
    }

    /* Benefits: single column */

    .check-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    /* Individual benefits */

    .check-grid span {
        display: flex;
        align-items: center;
        gap: 12px;

        width: 100%;
        min-width: 0;

        font-size: 14px;
        line-height: 1.4;
    }

    /* Red check icons */

    .check-grid i {
        flex-shrink: 0;
    }

}

/* ============================================================
   END OF STYLESHEET
   ALPHA HOMES FC LLC
   ============================================================ */
   
   /* ============================================================
   34. FOOTER / FINAL MOBILE DESIGN
   ALPHA HOMES FC LLC
   ============================================================ */

@media (max-width: 600px) {

    /* Footer background */

    footer {
        background: #f8f9fa;
        padding: 30px 0;
    }

    /* Main footer layout */

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;

        gap: 24px;
        width: 100%;
    }

    /* Company logo */

    footer .brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    footer .brand img {
        width: 75px;
        height: 80px;
        object-fit: contain;
    }

    footer .brand b {
        font-size: 20px;
    }

    footer .brand small {
        font-size: 14px;
    }

    /* Address and phone */

    .footer-contact {
        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 16px;
        font-size: 15px;
        line-height: 1.4;
        text-align: left;
    }

    /* Contact icons */

    .footer-contact i {
        font-size: 25px;
        flex-shrink: 0;
        color: #111;
    }

    /* Red location icon */

    .footer-contact .location-icon {
        color: #c82229;
        font-size: 30px;
    }

    /* Social media */

    .footer-social {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #111;
        color: #fff;
        font-size: 20px;
    }

    /* Copyright */

    .footer-end {
        font-size: 11px;
        color: #777;
        text-align: left;
    }

}

/* ============================================================
   MOBILE FOOTER / ALIGNMENT CORRECTION
   ============================================================ */

@media (max-width: 600px) {

    footer {
        padding: 30px 0;
    }

    .footer-inner {
        width: 100%;
        box-sizing: border-box;
        padding-left: 22px;
        padding-right: 22px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    footer .brand,
    .footer-contact,
    .footer-social {
        margin-left: 0;
        padding-left: 0;
    }

    .footer-contact {
        gap: 16px;
    }

    .footer-social {
        gap: 15px;
    }

}
