/* Services — hand-written replacement for Elementor's post-41.css.
   Inherits site typography from post-10.css. */

:root {
    --brand-red: #ED1B24;
    --brand-amber: #FAA621;
    --hero-text: #FFFFFF;
    --form-radius: 15px;
    --btn-radius: 10px;
    --section-radius: 30px;
    --max-content: 1400px;
}

.services-page {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

/* ---- Hero section --------------------------------------------------- */

.services-hero {
    position: relative;
    background: url('/wp-content/uploads/2026/04/InqIf-1.jpg') no-repeat center left / cover;
    color: var(--hero-text);
    border-radius: var(--section-radius);
    min-height: 758px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero .scroll-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 280px;
    display: flex;
    align-items: center;
}

.services-hero .scroll-indicator img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 579px;
    object-fit: contain;
}

.services-hero .hero-content {
    max-width: 740px;
    text-align: center;
    padding: 0 20px;
}

.services-hero h1 {
    color: var(--hero-text);
    margin: 0 0 30px;
}

.services-hero h1 .accent {
    color: var(--brand-red);
}

.services-hero p {
    color: var(--hero-text);
    max-width: 727px;
    margin: 0 auto 40px;
}

/* ---- Buttons -------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.395px;
    line-height: 1;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-light {
    background: #FFFFFF;
    color: #000000;
    border-radius: var(--btn-radius);
    padding: 20px 24px;
    flex-direction: row-reverse;
}

.btn-light:hover,
.btn-light:focus {
    background: var(--brand-amber);
}

.btn-submit {
    background: var(--brand-red);
    color: #FFFFFF;
    border-radius: var(--btn-radius);
    padding: 20px 24px;
    flex-direction: row-reverse;
    width: 100%;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.39px;
    margin-top: 15px;
    filter: drop-shadow(0 14.798px 39.46px rgba(245, 123, 128, 0.50));
}

.btn-submit:hover,
.btn-submit:focus {
    background: #000000;
}

/* ---- Bullet tag ----------------------------------------------------- */

.bullet-tag {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bullet-tag li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bullet-tag .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-red);
    display: inline-block;
}

/* ---- Services list -------------------------------------------------- */

.services-list {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 100px 20px 0;
    display: flex;
    flex-direction: column;
}

.services-intro {
    margin-bottom: 40px;
    scroll-margin-top: 40px;
}

.services-intro h2 {
    margin: 0 0 20px;
}

.services-intro p {
    margin: 0;
    max-width: 1100px;
}

/* ---- Service row (alternating left/right) -------------------------- */

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #FFFFFF;
    border-radius: var(--section-radius);
    padding: 40px 50px;
    margin-top: 60px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 40px;
}

.service-row.image-right .service-image { order: 2; }
.service-row.image-right .service-text  { order: 1; }

.service-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
}

.service-text h2 {
    margin: 0 0 20px;
}

.service-text p {
    margin: 0 0 16px;
    line-height: 1.5;
}

.service-text p:last-child {
    margin-bottom: 0;
}

.service-text .core-strengths {
    margin-top: 20px;
}

.service-text .core-strengths .label {
    color: var(--brand-red);
    font-weight: 700;
}

/* ---- Final CTA + form ---------------------------------------------- */

.services-cta {
    background: url('/wp-content/uploads/2025/11/icon.png') no-repeat center left / contain;
    padding: 120px 20px 100px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--max-content);
    margin: 0 auto;
}

.services-cta .cta-text {
    flex: 1 1 400px;
}

.services-cta h2 {
    margin: 0 0 20px;
}

.services-cta .cta-text > p {
    margin: 0 0 30px;
}

.services-cta .cta-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Form card ----------------------------------------------------- */

.contact-form-card {
    flex: 1 1 400px;
    background: linear-gradient(145deg, var(--brand-red) 12%, #FFFFFF 139%);
    border-radius: var(--section-radius);
    padding: 57px;
    color: var(--hero-text);
}

.contact-form-card h3 {
    color: var(--hero-text);
    margin: 0;
}

.contact-form-card .form-intro {
    color: var(--hero-text);
    margin: 10px 0 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.field {
    position: relative;
}

.field input,
.field textarea {
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    color: #1a1a1a;
    border: 0;
    border-radius: var(--form-radius);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.36px;
    padding: 18px 60px 18px 22px;
}

.field textarea {
    resize: vertical;
    min-height: 200px;
    padding-top: 22px;
    padding-right: 22px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #999;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

.field.has-icon::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.field.icon-name::after  { background-image: url('/wp-content/uploads/2025/12/user.png'); }
.field.icon-email::after { background-image: url('/wp-content/uploads/2025/12/msg.png'); }
.field.icon-phone::after { background-image: url('/wp-content/uploads/2025/12/call.png'); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Responsive ----------------------------------------------------- */

@media (max-width: 1440px) {
    .services-hero { min-height: 700px; }
    .services-hero .scroll-indicator { width: 170px; max-width: 170px; }
    .services-hero .scroll-indicator img { max-height: 450px; }
    .services-hero .hero-content { max-width: 600px; }
    .btn-light { font-size: 18px; padding: 18px 20px; }
    .btn-submit { font-size: 18px; }
    .field input, .field textarea { font-size: 16px; }
}

@media (max-width: 1036px) {
    .services-hero { min-height: 500px; padding: 60px 10px; }
    .btn-light { font-size: 16px; }
    .services-list { padding: 60px 20px 0; }
    .service-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
        margin-top: 30px;
    }
    /* Image always on top when stacked, regardless of left/right side on desktop */
    .service-row.image-right .service-image { order: 1; }
    .service-row.image-right .service-text  { order: 2; }
    .services-cta { padding: 80px 20px; flex-direction: column; gap: 24px; }
    .contact-form-card { padding: 35px; }
}

@media (max-width: 767px) {
    .services-hero .scroll-indicator { display: none; }
    .services-hero .hero-content { padding: 0 10px; }
    .services-hero p { margin-bottom: 30px; }
    .services-list { padding: 40px 16px 0; }
    .service-row { padding: 24px; margin-top: 24px; }
    .services-cta { padding: 60px 16px; gap: 24px; }
    .contact-form-card { padding: 28px 22px; }
}
