/* Safety — hand-written replacement for Elementor's post-39.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;
}

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

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

.safety-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;
}

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

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

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

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

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

.safety-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;
}

/* ---- "Safety Is Our Foundation" section ----------------------------- */

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

.foundation-image {
    flex: 1 1 400px;
    max-width: 589px;
}

.foundation-image img {
    display: block;
    width: 100%;
    height: auto;
}

.foundation-text {
    flex: 1 1 400px;
}

.foundation-text h2 {
    margin: 0 0 20px;
    scroll-margin-top: 40px;
}

.foundation-text p {
    margin: 0 0 20px;
}

.foundation-text p:last-of-type {
    margin-bottom: 40px;
}

.photo-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.photo-strip img {
    flex: 1 1 0;
    min-width: 150px;
    max-width: 246px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ---- "Our Commitment" banner CTA ----------------------------------- */

.commitment-banner {
    margin: 60px auto;
    max-width: var(--max-content);
    background: url('/wp-content/uploads/2025/11/ban-2-min-scaled.jpg') no-repeat center / cover;
    border-radius: var(--section-radius);
    color: var(--hero-text);
    position: relative;
    overflow: hidden;
}

.commitment-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.20) 60%, transparent 100%);
    pointer-events: none;
}

.commitment-inner {
    position: relative;
    padding: 100px 60px;
    max-width: 720px;
}

.commitment-banner h2 {
    color: var(--hero-text);
    margin: 0 0 20px;
}

.commitment-banner p {
    color: var(--hero-text);
    margin: 0 0 40px;
}

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

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

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

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

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

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

/* ---- Form card (shared design with other pages) -------------------- */

.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) {
    .safety-hero { min-height: 700px; }
    .safety-hero .scroll-indicator { width: 170px; max-width: 170px; }
    .safety-hero .scroll-indicator img { max-height: 450px; }
    .safety-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; }
    .commitment-inner { padding: 80px 50px; }
}

@media (max-width: 1036px) {
    .safety-hero { min-height: 500px; padding: 60px 10px; }
    .btn-light { font-size: 16px; }
    .safety-foundation { padding: 60px 20px 20px; flex-direction: column; align-items: flex-start; gap: 30px; }
    .foundation-image { max-width: 100%; }
    .commitment-banner { margin: 40px auto; }
    .commitment-inner { padding: 60px 30px; max-width: none; }
    .safety-cta { padding: 80px 20px; flex-direction: column; gap: 24px; }
    .contact-form-card { padding: 35px; }
}

@media (max-width: 767px) {
    .safety-hero .scroll-indicator { display: none; }
    .safety-hero .hero-content { padding: 0 10px; }
    .safety-hero p { margin-bottom: 30px; }
    .safety-foundation { padding: 40px 16px 10px; }
    .photo-strip img { min-width: 0; flex-basis: calc(50% - 5px); }
    .commitment-banner { margin: 30px auto; }
    .commitment-inner { padding: 40px 22px; }
    .safety-cta { padding: 60px 16px; gap: 24px; }
    .contact-form-card { padding: 28px 22px; }
}
