﻿/* =============================================================
   AIRE.CSS — Aire Acondicionado page specific styles
   ENEFLIX — v=20260603
   ============================================================= */

/* ── AC Hero ─────────────────────────────────────────────── */
.ac-hero {
    background: #f2f6ff;
    padding-top: 0;
    padding-bottom: 1.35rem;
}

.ac-hero .container {
    padding-top: 1.35rem;
}

.ac-hero .hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.2rem;
    align-items: end;
}

.ac-hero-copy {
    padding-top: 0.4rem;
}

.page-aire .header {
    background: #004470;
    position: relative;
}

.page-aire .header-content {
    padding: 0.9rem 0;
    gap: 2rem;
}

.page-aire .logo-img {
    height: 44px;
    max-width: 175px;
    filter: none;
}

.page-aire .nav-list {
    gap: 2rem;
}

.page-aire .nav-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
}

.page-aire .nav-link--active {
    color: #fff;
    font-weight: 700;
}

.page-aire .header-cta {
    gap: 0.75rem;
}

.ac-badge {
    background: var(--secondary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.ac-badge-gift {
    background: transparent;
    color: #0d2e73;
    font-size: 2.65rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0.15rem;
}

.ac-hero-title {
    max-width: 720px;
    font-size: 4rem;
    line-height: 1.04;
    letter-spacing: -0.055em;
    margin-bottom: 1rem;
    color: #0d2e73;
}

.ac-hero-subtitle {
    margin-bottom: 1.4rem;
    color: #627593;
    font-size: 0.96rem;
    font-weight: 500;
}

.ac-hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.ac-hero-feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    color: #566b89;
    font-size: 0.92rem;
    font-weight: 500;
}

.ac-hero-feature-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.ac-hero-inline-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem 0.9rem;
    max-width: 780px;
}

.ac-hero-inline-form input,
.ac-hero-inline-form select {
    min-width: 0;
    height: 54px;
    border-radius: 999px;
    border: 1.5px solid #0b4b82;
    background: transparent;
    color: #0b4470;
    padding: 0 1.7rem;
    font-size: 0.95rem;
}

.ac-hero-inline-form input::placeholder {
    color: #0b4470;
    opacity: 1;
}

.ac-hero-inline-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #0b4470 50%), linear-gradient(135deg, #0b4470 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 19px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.ac-hero-inline-form input:focus,
.ac-hero-inline-form select:focus {
    border-color: #0b4470;
    box-shadow: 0 0 0 3px rgba(11, 68, 112, 0.08);
}

.ac-hero-submit {
    grid-column: 1 / -1;
    height: 54px;
    border-radius: 999px;
    font-size: 0.98rem;
    box-shadow: none;
}

.ac-hero-visual {
    min-height: 420px;
    overflow: hidden;
    border-radius: 0;
    padding-top: 0;
    justify-content: flex-end;
}

.ac-hero-visual::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 76%;
    background: #0b4f7e;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.ac-hero-img {
    inset: auto 0 0 auto;
    width: min(100%, 520px);
    height: 112%;
    max-height: none;
    object-fit: contain;
    object-position: right bottom;
    z-index: 1;
}

.ac-hero-visual::after {
    display: none;
}

.ac-hero-photo {
    transform: none;
}

/* ── AC Trust Strip ───────────────────────────────────────── */
.ac-trust-strip {
    background: #f2f6ff;
    border-top: none;
    border-bottom: 1px solid var(--border-light);
}
.ac-trust-item--primary {
    background: var(--secondary);
    color: #fff !important;
}
.ac-trust-item--primary span {
    color: #fff !important;
    font-weight: 700;
}
.ac-trust-item--primary .hero-trust-icon-img {
    filter: brightness(0) invert(1);
}

/* ── AC Models Grid ───────────────────────────────────────── */
.ac-models-section { background: #fff; }
.ac-models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 2.5rem;
}
.ac-model-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s;
}
.ac-model-card:hover { box-shadow: 0 6px 24px rgba(0,68,112,0.13); }
.ac-model-image {
    width: 100%;
    aspect-ratio: 380 / 350;
    overflow: hidden;
    background: #ffffff;
    padding: 0.25rem;
}
.ac-model-image img { width:100%; height:100%; object-fit:contain; object-position:center top; display:block; }
.ac-model-content {
    padding: 18px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ac-type-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.ac-model-content h3 { font-size:1.05rem; font-weight:700; color:var(--text-primary); margin:0; }
.ac-model-content p { font-size:0.86rem; color:var(--text-secondary); line-height:1.55; margin:0; flex:1; }
.ac-model-badges { display:flex; flex-direction:column; gap:4px; }
.ac-model-content .btn-boiler-offer { margin-top:8px; text-align:center; }

/* ── AC Services Grid ─────────────────────────────────────── */
.ac-services-section { background: #fff; padding: 5rem 0; }
.ac-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 2.5rem;
}
.ac-service-card {
    background: #f2f6ff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.22s, transform 0.22s;
}
.ac-service-card:hover {
    box-shadow: 0 8px 28px rgba(0,68,112,0.14);
    transform: translateY(-3px);
}
.ac-service-card-visual {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: var(--primary-darkest);
}
.ac-service-photo { width:100%; height:100%; object-fit:cover; object-position:center; display:block; transform:scale(1.03); }
.ac-service-card-visual--install .ac-service-photo { object-position: center 38%; }
.ac-service-card-visual--replace .ac-service-photo { object-position: center 30%; }
.ac-service-card-visual--maintain .ac-service-photo { object-position: 62% 45%; }
.ac-service-card-visual--repair .ac-service-photo { object-position: 82% 42%; }
.ac-service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,31,91,0.72) 0%, rgba(0,68,112,0.6) 100%);
}
.ac-service-card-num {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255,255,255,0.22);
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
}
.ac-service-card-body { padding:18px 18px 22px; flex:1; display:flex; flex-direction:column; gap:10px; }
.ac-service-card-body h3 { font-size:1.02rem; font-weight:700; color:var(--text-primary); margin:0; }
.ac-service-card-body p { font-size:0.86rem; color:var(--text-secondary); line-height:1.55; margin:0; flex:1; }
.ac-service-card-body .btn-boiler-offer { margin-top:auto; text-align:center; }

/* ── AC Highlight Split ───────────────────────────────────── */
.ac-highlight-section { width:100%; overflow:hidden; }
.ac-highlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}
.ac-highlight-photo { overflow:hidden; position:relative; min-height:300px; }
.ac-highlight-img { width:100%; height:100%; object-fit:cover; object-position:center 34%; display:block; }
.ac-highlight-content {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 48px 52px;
}
.ac-highlight-text { max-width: 460px; }
.ac-highlight-text h2 { font-size:1.9rem; font-weight:800; color:var(--text-primary); line-height:1.2; margin:0 0 1rem; }
.highlight-accent { color: var(--secondary); }
.ac-highlight-text > p { font-size:0.98rem; color:var(--text-secondary); line-height:1.65; margin:0 0 1.4rem; }
.ac-highlight-features { list-style:none; padding:0; margin:0 0 1.75rem; display:flex; flex-direction:column; gap:7px; }
.ac-highlight-features li { font-size:0.9rem; color:var(--text-primary); font-weight:500; }

/* ── AC Benefits Section ──────────────────────────────────── */
.ac-benefits-section { background: var(--primary); padding: 0; overflow: hidden; }
.ac-benefits-photo {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ac-benefits-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}
.ac-benefits-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,31,91,0.76) 0%, rgba(0,68,112,0.65) 100%);
}
.ac-benefits-photo-text {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}
.ac-benefits-photo-text .section-title { color: #fff; margin-bottom: 0.75rem; }
.ac-benefits-photo-text .benefits-intro { margin: 0 auto; max-width: 700px; }
.ac-benefits-content { padding: 4rem 0; }

/* ── Contact Section — light override for AC ─────────────── */
.ac-contact-section { background: #f2f6ff !important; }
.ac-contact-section .contact-info h2 { color: var(--text-primary) !important; }
.ac-contact-section .contact-info > p { color: var(--text-secondary) !important; }
.ac-contact-section .contact-detail strong { color: var(--text-primary) !important; }
.ac-contact-section .contact-detail p { color: var(--text-secondary) !important; }
.ac-contact-section .trust-badges img { filter:grayscale(100%); opacity:0.45; }
.ac-contact-section .trust-badges img:hover { filter:grayscale(0%); opacity:1; }

/* ── AC CTA Banner ────────────────────────────────────────── */
.ac-cta-banner { position:relative; overflow:hidden; background:var(--primary-dark); }
.ac-cta-bg { position:absolute; inset:0; z-index:0; }
.ac-cta-bgimg { width:100%; height:100%; object-fit:cover; object-position:center 22%; opacity:0.22; }
.ac-cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
}
.ac-cta-text-col h2 { font-size:2.2rem; font-weight:800; color:#fff; line-height:1.2; margin:0 0 1rem; }
.ac-cta-text-col p { font-size:1rem; color:rgba(255,255,255,0.82); line-height:1.65; margin:0 0 2rem; }
.ac-cta-buttons { display:flex; gap:14px; flex-wrap:wrap; }
.ac-cta-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.ac-cta-form-card h3 { font-size:1.25rem; font-weight:800; color:var(--text-primary); margin:0 0 0.3rem; }
.ac-cta-form-card > p { font-size:0.88rem; color:var(--text-muted); margin:0 0 1.2rem; }
.ac-cta-form-card form { display:flex; flex-direction:column; gap:0.7rem; }
.ac-cta-form-card input,
.ac-cta-form-card select {
    width: 100%;
    padding: 0.78rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 0.45rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.15s;
}
.ac-cta-form-card input:focus,
.ac-cta-form-card select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,68,112,0.1);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .page-aire .header-content {
        gap: 0.8rem;
    }

    .page-aire .nav-list {
        gap: 0.75rem;
    }

    .page-aire .header-cta {
        gap: 0.45rem;
    }

    .ac-hero .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ac-hero-title {
        max-width: 100%;
        font-size: 3.25rem;
    }

    .ac-hero-inline-form {
        max-width: 100%;
    }

    .ac-models-grid { grid-template-columns: repeat(2,1fr); }
    .ac-services-grid { grid-template-columns: repeat(2,1fr); }
    .ac-cta-content { grid-template-columns: 1fr; }

    .ac-hero-visual {
        min-height: 360px;
    }
}
@media (max-width: 768px) {
    .page-aire .header-content {
        padding: 0.55rem 0;
    }

    .page-aire .logo-img {
        height: 32px;
    }

    .ac-models-grid { grid-template-columns: 1fr 1fr; gap:14px; }
    .ac-services-grid { grid-template-columns: 1fr 1fr; }
    .ac-hero .container {
        padding-top: 1rem;
    }

    .ac-hero-copy {
        padding-top: 0;
    }

    .ac-badge-gift { font-size: 2.2rem; }
    .ac-hero-title { font-size: 2.75rem; margin-bottom: 0.8rem; }
    .ac-hero-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.25rem;
    }
    .ac-hero-feature-item {
        flex-direction: row;
        align-items: center;
    }
    .ac-hero-inline-form {
        grid-template-columns: 1fr;
    }
    .ac-hero-inline-form input,
    .ac-hero-inline-form select,
    .ac-hero-submit {
        height: 52px;
    }
    .ac-hero-visual { min-height: 310px; padding-top: 0; }
    .ac-hero-img {
        width: min(100%, 430px);
        height: 100%;
        object-position: center bottom;
    }
    .ac-highlight-inner { grid-template-columns: 1fr; }
    .ac-highlight-photo { min-height: 220px; }
    .ac-highlight-content { padding: 36px 24px; }
    .ac-highlight-text h2 { font-size: 1.5rem; }
    .ac-cta-text-col h2 { font-size: 1.65rem; }
    .ac-cta-content { padding-top:50px; padding-bottom:50px; }
    .ac-benefits-photo { min-height: 200px; }
}
@media (max-width: 520px) {
    .page-aire .nav-list {
        gap: 0.8rem 1rem;
    }

    .page-aire .btn-call,
    .page-aire .btn-primary {
        font-size: 0.78rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .ac-models-grid { grid-template-columns: 1fr; }
    .ac-services-grid { grid-template-columns: 1fr; }
    .ac-hero-title { font-size: 2.2rem; }
    .ac-hero-visual { min-height: 250px; }
    .ac-hero-img { width: min(100%, 340px); }
}
