/* ALPHA HOMES FC LLC | HOUSTON LANDING PAGE
   CSS COMPLETO ORDENADO POR SECCIONES.
   Escudo del header: images/Alpha_Homes_Logo1.png
   El HTML debe contener .brand con img y .brand-text (b + small).
*/


/* ============================================================
   01. VARIABLES Y ESTILOS GLOBALES
   ============================================================ */

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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

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

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

button,input,textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.container {
    width: min(90%,1240px);
    margin-inline: auto;
}


/* ============================================================
   02. TIPOGRAFIA Y ENCABEZADOS
   ============================================================ */

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

h1,h2,h3 {
    font-weight: 900;
    line-height: .99;
}

/* ============================================================
   SECTION HEADINGS / MATCH HOME FONT SIZE
   ============================================================ */

h2 {
    font-size: clamp(36px, 3.2vw, 49px);
    font-weight: 900;
    line-height: 1;
    margin: 9px 0 28px;
}

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

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .15px;
}

.eyebrow:before {
    content: "";
    width: 42px;
    height: 3px;
    background: var(--red);
}

.eyebrow-light {
    color: #fff;
}


/* ============================================================
   03. HEADER / NAVEGACION
   ============================================================ */

.site-header {
    height: 88px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px #00000012;
}

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


/* ============================================================
   04. HEADER / COMPANY LOGO (ESCUDO + TEXTO)
   ============================================================ */

/* Escudo y nombre son DOS elementos, igual que en la Home. */
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--ink);
}

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

.brand-text {
    display: block;
    min-width: 0;
}

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

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

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



/* ============================================================
   05. HEADER / LINKS Y BOTONES
   ============================================================ */

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    font-weight: 800;
}

.nav-links a:hover {
    color: var(--red);
}

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

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    text-align: center;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    min-height: 48px;
    padding: 15px 23px;
    transition: background .2s,transform .2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 3px 0 #8e1319;
}

.btn-red:hover {
    background: #a81921;
}

.header-cta {
    font-size: 11px;
    white-space: nowrap;
    padding: 13px 16px;
    min-height: 43px;
}

.mobile-toggle {
    display: none;
}


/* ============================================================
   06. HERO / BANNER DE HOUSTON
   ============================================================ */

.hero {
    position: relative;
    background: linear-gradient(90deg,#0b1216 0%,#10171aea 38%,#10171a86 70%,#10171a39 100%),url("images/houston-roofing-hero.png") center 46%/cover no-repeat;
    color: #fff;
    min-height: 555px;
    display: flex;
    align-items: center;
}

.hero-inner {
    padding-top: 80px;
    padding-bottom: 78px;
}

.hero-copy {
    max-width: 790px;
}

.hero h1 {
    font-size: clamp(48px,5vw,79px);
    letter-spacing: .1px;
    margin: 14px 0 19px;
}

.hero h1 span {
    color: #e02b32;
}

.hero-subtitle {
    max-width: 520px;
    font-size: 20px;
    line-height: 1.45;
    margin: 0 0 28px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
    margin: 0 0 30px;
}

.hero-benefits>div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "Barlow Condensed",Impact,sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.15;
}

.hero-icon {
    width: 48px;
    height: 48px;
    border: 2px solid white;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 800 27px "Barlow Condensed",sans-serif;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    background: #0007;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: #ffffff20;
}


/* ============================================================
   07. SERVICIOS / CARDS
   ============================================================ */

.services-section {
    background: #f7f7f7;
    padding: 55px 0 65px;
    border-bottom: 3px solid var(--red);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    padding: 27px 30px 28px;
    border-radius: 12px;
    box-shadow: 0 3px 12px #00000013;
    border: 1px solid #eaeaea;
}

.service-mark {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    background: #fff0f1;
    color: var(--red);
    border-radius: 50%;
    font-weight: 900;
    font-size: 43px;
    line-height: 1;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 32px;
    margin: 0 0 13px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.57;
    color: #494949;
    margin: 0;
}


/* ============================================================
   08. ABOUT / CONTENIDO LOCAL
   ============================================================ */

.about-section {
    padding: 72px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 64px;
    align-items: center;
}

.about-copy h2 {
    margin: 13px 0 21px;
}

.about-copy p {
    font-size: 16px;
    line-height: 1.7;
    color: #404040;
    max-width: 600px;
    margin: 0 0 15px;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px 20px;
    margin-top: 27px;
    font-weight: 700;
    font-size: 13px;
}

.check-grid>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-grid span {
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 800;
}

.about-photo {
    margin: 0;
    align-self: stretch;
    min-height: 435px;
    position: relative;
    border-radius: 9px;
    overflow: hidden;
}

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

.about-photo figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 18px 14px;
    background: linear-gradient(transparent,#0009);
    color: #fff;
    font-size: 12px;
}


/* ============================================================
   09. CONTACTO / ESTIMATE FORM
   ============================================================ */

.contact-section {
    background: linear-gradient(90deg,#0b1117f5,#0b1117e8),url("images/houston-roofing-home1.png") center/cover;
    color: #fff;
    padding: 72px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-copy h2 {
    font-size: clamp(40,5vw,68px);
    margin: 15px 0 22px;
}

.contact-copy h2 span {
    color: #ee313b;
}

.contact-copy p {
    font-size: 17px;
    line-height: 1.65;
    max-width: 480px;
    color: #e6e6e6;
}

.contact-call {
    display: inline-block;
    margin-top: 15px;
    font-size: 15px;
}

.contact-call strong {
    display: block;
    font-size: 22px;
    margin-top: 5px;
}

.form-card {
    background: #fff;
    color: #181818;
    border-radius: 9px;
    padding: 31px 32px;
    box-shadow: 0 14px 50px #0003;
}

.form-card h3 {
    font-size: 28px;
    margin: 0 0 17px;
}

.form-card label {
    display: block;
    margin-bottom: 12px;
}

.form-card label span {
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-bottom: 7px;
}

.form-card input,.form-card textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 4px;
    padding: 12px 13px;
    font-size: 14px;
    color: #1b1b1b;
    outline-offset: 2px;
}

.form-card input:focus,.form-card textarea:focus {
    outline: 2px solid var(--red);
    border-color: var(--red);
}

.form-card textarea {
    resize: vertical;
    min-height: 95px;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.submit-btn {
    width: 100%;
    margin-top: 5px;
}

.form-card small {
    font-size: 11px;
    line-height: 1.5;
    color: #646464;
    display: block;
    margin-top: 10px;
}

.form-feedback {
    font-size: 13px;
    min-height: 0;
    line-height: 1.45;
    margin: 10px 0 0;
}

.form-feedback.success {
    color: #187344;
}

.form-feedback.error {
    color: #b01823;
}

.honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}



/* ============================================================
   10. FOOTER / COMPANY INFORMATION
   ============================================================ */

/* Footer background */

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

/* Footer main layout */

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


/* ============================================================
   10.1 FOOTER / COMPANY LOGO
   ============================================================ */

/* Logo container */

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

/* Shield image */

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

/* Company name */

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

/* Roofing Solutions subtitle */

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


/* ============================================================
   10.2 FOOTER / ADDRESS AND PHONE
   ============================================================ */

/* Contact information */

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

/* Contact icons */

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

/* Red location icon */

.footer-detail .location-icon {
    color: var(--red);
    font-size: 35px;
}


/* ============================================================
   10.3 FOOTER / SOCIAL MEDIA
   ============================================================ */

/* Social icons container */

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

/* Individual social icon */

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

    width: 40px;
    height: 40px;

    background: #111;
    color: #fff;

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

    transition: background 0.2s ease;
}

/* Social icon hover */

.footer-social a:hover {
    background: var(--red);
}


/* ============================================================
   10.4 FOOTER / TABLET RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {

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

}


/* ============================================================
   10.5 FOOTER / MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {

    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }

    /* Company logo */

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

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

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

    /* Contact details */

    .footer-detail {
        gap: 16px;
        font-size: 15px;
    }

    .footer-detail i {
        font-size: 25px;
    }

    .footer-detail .location-icon {
        font-size: 30px;
    }

    /* Social icons */

    .footer-social {
        gap: 15px;
    }

}


/* ============================================================
   11. RESPONSIVE / DESKTOP PEQUEÑO (1100px)
   ============================================================ */

@media (max-width:1100px) {
    /* El logo conserva el tamaño original en pantallas medianas. */

    .nav-inner {
        gap: 14px;
    }

    .nav-links {
        gap: 14px;
    }

    .header-phone {
        display: none;
    }

    .about-grid {
        gap: 32px;
    }

    .contact-grid {
        gap: 34px;
    }
}


/* ============================================================
   12. RESPONSIVE / TABLET (800px)
   ============================================================ */

@media (max-width:800px) {
    .brand img {
        width: 52px;
        height: 55px;
    }

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

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

    .site-header {
        height: 76px;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 12px;
        background: none;
        border: 0;
        margin-left: auto;
    }

    .mobile-toggle span {
        width: 26px;
        height: 3px;
        background: #171717;
        border-radius: 2px;
    }

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

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 0;
        border-bottom: 1px solid #eee;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 0;
    }

    .hero-inner {
        padding-top: 70px;
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: clamp(50px,8vw,72px);
    }

    .service-grid {
        gap: 13px;
    }

    .service-card {
        padding: 23px 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-photo {
        min-height: 440px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-copy h2 {
        max-width: 640px;
    }

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


/* ============================================================
   13. RESPONSIVE / MOVIL (600px)
   ============================================================ */

@media (max-width:600px) {
    .brand {
        gap: 6px;
    }

    .brand img {
        width: 45px;
        height: 48px;
    }

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

    .brand small {
        font-size: 12px;
        letter-spacing: .8px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .container {
        width: 90%;
    }

    .hero {
        background-position: 61% center;
    }

    .hero-inner {
        padding-top: 66px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(45px,12vw,64px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 17px;
    }

    .hero-benefits>div {
        font-size: 15px;
    }

    .hero-icon {
        width: 41px;
        height: 41px;
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-section {
        padding: 40px 0 48px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 62px 1fr;
        column-gap: 14px;
        padding: 20px;
    }

    .service-mark {
        width: 58px;
        height: 58px;
        font-size: 36px;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .service-card h3 {
        font-size: 28px;
        margin: 0 0 8px;
    }

    .service-card h3 br {
        display: none;
    }

    .service-card p {
        font-size: 14px;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-copy h2 {
        font-size: 43px;
    }

    .about-copy p {
        font-size: 15px;
    }

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

    .about-photo {
        min-height: 365px;
    }

    .contact-section {
        padding: 55px 0;
    }

    .contact-copy h2 {
        font-size: 46px;
    }

    .contact-copy p {
        font-size: 15px;
    }

    .form-card {
        padding: 24px 20px;
    }

    .two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer {
        padding: 30px 0;
    }

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

    .footer-logo img {
        width: 200px;
    }
}


/* ============================================================
   14. ACCESIBILIDAD / MENOS ANIMACIONES
   ============================================================ */

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}






/* ============================================================
   HERO / ICON ALIGNMENT FIX
   DESKTOP + TABLET + MOBILE
   ============================================================ */

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

    width: 48px;
    height: 48px;
    min-width: 48px;

    border: 2px solid #fff;
    border-radius: 50%;

    line-height: 1;
}

.hero-icon i {
    display: block;
    font-size: 22px;
    line-height: 1;
}


/* ============================================================
   SERVICES / ICON ALIGNMENT FIX
   ============================================================ */

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

    width: 65px;
    height: 65px;
    min-width: 65px;

    border-radius: 50%;
    background: #fff0f1;
    color: #c82229;

    padding: 0;
    line-height: 1;
}

.service-mark i {
    display: block;
    font-size: 27px;
    line-height: 1;
}


/* ============================================================
   MOBILE / ICON SIZES
   ============================================================ */

@media (max-width: 600px) {

    .hero-icon {
        width: 41px;
        height: 41px;
        min-width: 41px;
    }

    .hero-icon i {
        font-size: 19px;
    }

    .service-mark {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

    .service-mark i {
        font-size: 24px;
    }

}

