/* ==========================================================================
   Pool Covers Landing — ph-pool-covers.css
   All rules scoped under .ph-pc-content
   ========================================================================== */

.ph-pc-content *, .ph-pc-content *::before, .ph-pc-content *::after { box-sizing: border-box; }

.ph-pc-content {
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
    color: #4b5563;
    line-height: 1.75;
}

.ph-pc-content h1, .ph-pc-content h2 {
    font-family: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    margin-top: 0;
}

.ph-pc-content h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.ph-pc-content h2 {
    font-size: clamp(1.85rem, 2.4vw, 2.3rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: #333;
}

.ph-pc-content h3 {
    font-family: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: #555;
}

.ph-pc-content p { font-size: 1.05rem; line-height: 1.75; color: #4b5563; margin: 0 0 1rem; }
.ph-pc-content a { color: #1d439c; }
.ph-pc-content img { max-width: 100%; height: auto; display: block; }

.ph-pc-content .ph-pc-section { padding: 72px 0; }

.ph-pc-content .ph-pc-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ph-pc-content .ph-pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72em 1.9em;
    border-radius: 999px;
    font-family: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ph-pc-content .ph-pc-btn--primary {
    background: #1d439c;
    color: #fff;
    border: 2px solid #feb415;
}
.ph-pc-content .ph-pc-btn--primary:hover {
    background: #feb415;
    color: #0f172a;
    border-color: #1d439c;
    text-decoration: none;
}

.ph-pc-content .ph-pc-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.ph-pc-content .ph-pc-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    color: #fff;
}

.ph-pc-content .ph-pc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.ph-pc-content .ph-pc-hero {
    padding: 0;
    background:
        linear-gradient(180deg, rgba(8,19,44,0.48) 0%, rgba(8,19,44,0.68) 100%),
        url("https://poolheating.com.au/wp-content/uploads/2024/05/AES-Web-Cover2.jpg")
        center / cover no-repeat;
}

.ph-pc-content .ph-pc-hero .ph-pc-container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.ph-pc-content .ph-pc-hero__left  { flex: 0 0 55%; max-width: 55%; }
.ph-pc-content .ph-pc-hero__right { flex: 0 0 45%; max-width: 45%; }

.ph-pc-content .ph-pc-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ph-pc-content .ph-pc-hero .ph-pc-lead {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.ph-pc-content .ph-pc-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.ph-pc-content .ph-pc-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.ph-pc-content .ph-pc-bullets li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    min-width: 0.5rem;
    border-radius: 50%;
    background: #feb415;
}

/* ==========================================================================
   FORM CARD
   ========================================================================== */

.ph-pc-content .ph-pc-form-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 30px 70px rgba(0,0,0,0.22);
}
.ph-pc-content .ph-pc-form-card h3 {
    color: #1d439c;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}
.ph-pc-content .ph-pc-form-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* GravityForms overrides inside the card */
.ph-pc-form-card .gform_wrapper {
    --gf-color-primary:         #1d439c;
    --gf-color-primary-darker:  #152f6e;
    --gf-color-primary-lighter: #2d5ab5;
    --gf-ctrl-border-color:         #cbd5e1;
    --gf-ctrl-label-color-primary:  #0f172a;
    font-family: "Lato", sans-serif;
}

.ph-pc-form-card .gf_page_steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 1.5rem;
    padding: 0;
    border-bottom: none;
    position: relative;
}
.ph-pc-form-card .gf_page_steps::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0; right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}
.ph-pc-form-card .gf_step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
    flex: 1;
}
.ph-pc-form-card .gf_step_number {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.82rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s;
}
.ph-pc-form-card .gf_step_label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 600;
    transition: color 0.3s;
}
.ph-pc-form-card .gf_step_active .gf_step_number  { background: #1d439c; color: #fff; }
.ph-pc-form-card .gf_step_active .gf_step_label   { color: #1d439c; }
.ph-pc-form-card .gf_step_completed .gf_step_number { background: #22c55e; color: #fff; }
.ph-pc-form-card .gf_step_completed .gf_step_label  { color: #22c55e; }

.ph-pc-form-card .gfield_label {
    font-size: 0.82rem; font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}
.ph-pc-form-card .gfield_required { color: #ef4444; font-size: 0.75rem; }

.ph-pc-form-card .gfield_radio { display: flex; flex-direction: column; gap: 0.45rem; padding: 0; margin: 0; }
.ph-pc-form-card .gfield_radio .gchoice { margin: 0; }
.ph-pc-form-card .gfield_radio .gfield-choice-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.ph-pc-form-card .gfield_radio .gfield-choice-input + label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    font-size: 0.92rem; font-weight: 500;
    color: #334155;
    transition: border-color 0.15s, background 0.15s;
    line-height: 1.3;
}
.ph-pc-form-card .gfield_radio .gfield-choice-input + label::before {
    content: "";
    width: 1rem; height: 1rem; min-width: 1rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}
.ph-pc-form-card .gfield_radio .gfield-choice-input:checked + label {
    border-color: #1d439c; background: #eff6ff; color: #0f172a; font-weight: 600;
}
.ph-pc-form-card .gfield_radio .gfield-choice-input:checked + label::before {
    border-color: #1d439c; background: #1d439c; box-shadow: inset 0 0 0 3px #fff;
}
.ph-pc-form-card .gfield_radio .gfield-choice-input + label:hover {
    border-color: #1d439c; background: #f0f7ff;
}

.ph-pc-form-card .ginput_container input[type="text"],
.ph-pc-form-card .ginput_container input[type="email"],
.ph-pc-form-card .ginput_container input[type="tel"],
.ph-pc-form-card .ginput_container select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; appearance: none;
}
.ph-pc-form-card .ginput_container input:focus,
.ph-pc-form-card .ginput_container select:focus {
    border-color: #1d439c;
    box-shadow: 0 0 0 3px rgba(29,67,156,0.12);
}

.ph-pc-form-card .gform_next_button,
.ph-pc-form-card .gform_previous_button,
.ph-pc-form-card .gform_button {
    font-family: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.7em 1.75em;
    border-radius: 999px;
    cursor: pointer;
    border: 2px solid #feb415;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.ph-pc-form-card .gform_next_button,
.ph-pc-form-card .gform_button { background: #1d439c; color: #fff; }
.ph-pc-form-card .gform_next_button:hover,
.ph-pc-form-card .gform_button:hover { background: #feb415; color: #0f172a; border-color: #1d439c; }
.ph-pc-form-card .gform_previous_button { background: transparent; color: #4b5563; border-color: #e2e8f0; margin-right: 0.5rem; }
.ph-pc-form-card .gform_previous_button:hover { border-color: #1d439c; color: #1d439c; }

.ph-pc-form-card .gform_page_footer {
    display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem;
    padding-top: 1.25rem; margin-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.ph-pc-form-card .gfield_validation_message,
.ph-pc-form-card .validation_message { color: #ef4444; font-size: 0.8rem; margin-top: 0.3rem; padding: 0; background: none; border: none; }
.ph-pc-form-card .gfield_error input,
.ph-pc-form-card .gfield_error select { border-color: #ef4444 !important; }

.ph-pc-form-card .gform_confirmation_wrapper { text-align: center; padding: 1rem 0; }
.ph-pc-form-card .gform_confirmation_message h3 { font-family: "Rajdhani", sans-serif; font-size: 1.5rem; color: #1d439c; margin-bottom: 0.5rem; }
.ph-pc-form-card .gform_body { margin: 0; }
.ph-pc-form-card .gfield { padding: 0 0 1rem; margin: 0; }
.ph-pc-form-card .gfield:last-child { padding-bottom: 0; }

/* ==========================================================================
   DARK SPECIALISTS CARD
   ========================================================================== */

.ph-pc-content .ph-pc-dark-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.75rem;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.ph-pc-content .ph-pc-dark-card .ph-pc-content-col { flex: 0 0 55%; max-width: 55%; }
.ph-pc-content .ph-pc-dark-card h2 { color: #feb415; }
.ph-pc-content .ph-pc-dark-card h3 { color: rgba(255,255,255,0.75); font-size: 1rem; font-weight: 600; }
.ph-pc-content .ph-pc-dark-card p  { color: rgba(255,255,255,0.78); }

.ph-pc-content .ph-pc-icon-col {
    flex: 1;
    display: flex; flex-direction: column; gap: 0.9rem;
}
.ph-pc-content .ph-pc-icon-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.8rem 1.1rem;
    background: rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    border-left: 3px solid #feb415;
}
.ph-pc-content .ph-pc-icon {
    width: 2rem; min-width: 2rem;
    text-align: center;
    font-size: 1.25rem;
    color: #feb415;
}
.ph-pc-content .ph-pc-icon-text {
    font-family: "Rajdhani", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase;
    color: #e2e8f0;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.ph-pc-content .ph-pc-cta-banner { background: #1d439c; text-align: center; }
.ph-pc-content .ph-pc-cta-banner h2 { color: #feb415; text-align: center; margin-bottom: 0.75rem; }
.ph-pc-content .ph-pc-cta-banner p  { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.5rem; }

/* ==========================================================================
   FEATURE ROWS
   ========================================================================== */

.ph-pc-content .ph-pc-features-stack { display: flex; flex-direction: column; gap: 4rem; }

.ph-pc-content .ph-pc-feature-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.ph-pc-content .ph-pc-feature-content { flex: 1; }
.ph-pc-content .ph-pc-feature-img     { flex: 1; }

.ph-pc-content .ph-pc-feature-img img {
    width: 100%; height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.ph-pc-content .ph-pc-feature-content h2 { color: #1d439c; }
.ph-pc-content .ph-pc-feature-content h2 + h2 { margin-top: 2rem; }

.ph-pc-content .ph-pc-feature-img--double {
    display: flex; flex-direction: column; gap: 1.5rem;
}

.ph-pc-content .ph-pc-feature-img--logo img {
    max-width: 280px; margin: 0 auto;
    border-radius: 0; box-shadow: none;
}

/* ==========================================================================
   BOTTOM CTA CARD
   ========================================================================== */

.ph-pc-content .ph-pc-cta-card {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: 1.75rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.ph-pc-content .ph-pc-cta-card h2  { color: #feb415; text-align: center; }
.ph-pc-content .ph-pc-cta-card p   { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 1.5rem; }

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */

.ph-pc-content .ph-pc-testimonial {
    max-width: 680px; margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.ph-pc-content .ph-pc-stars { font-size: 1.5rem; color: #feb415; margin: 0 0 1rem; letter-spacing: 0.15em; }
.ph-pc-content .ph-pc-testimonial blockquote { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.75; color: #4b5563; font-style: italic; }
.ph-pc-content .ph-pc-testimonial cite { font-size: 0.9rem; color: #888; font-style: normal; font-weight: 600; }

/* ==========================================================================
   RESPONSIVE — max-width: 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .ph-pc-content .ph-pc-hero .ph-pc-container { flex-direction: column; }
    .ph-pc-content .ph-pc-hero__left,
    .ph-pc-content .ph-pc-hero__right { flex: 0 0 100%; max-width: 100%; }

    .ph-pc-content .ph-pc-dark-card { flex-direction: column; gap: 2rem; }
    .ph-pc-content .ph-pc-dark-card .ph-pc-content-col { flex: 0 0 100%; max-width: 100%; }

    .ph-pc-content .ph-pc-feature-row { flex-direction: column; }
    .ph-pc-content .ph-pc-feature-img img { margin: 0 auto; }
}

/* ==========================================================================
   RESPONSIVE — max-width: 767px
   ========================================================================== */

@media (max-width: 767px) {
    .ph-pc-content .ph-pc-section { padding: 48px 0; }
    .ph-pc-content .ph-pc-hero .ph-pc-container { padding-top: 3rem; padding-bottom: 3rem; }
    .ph-pc-content h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .ph-pc-content .ph-pc-dark-card { padding: 2rem 1.5rem; }
    .ph-pc-content .ph-pc-features-stack { gap: 2.5rem; }
    .ph-pc-content .ph-pc-buttons { flex-direction: column; }
    .ph-pc-content .ph-pc-btn { text-align: center; justify-content: center; }
}
