/* Contact Us — hand-written replacement for Elementor's post-42.css.
   Inherits site typography (Helvetica Now Display / Inter) from post-10.css. */

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

.contact-page {
    width: 100%;
    padding: 10px;          /* gutter so rounded hero is visible against page bg */
    box-sizing: border-box;
}

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

.contact-hero {
    position: relative;
    background: url('/wp-content/uploads/2025/12/Rectangle-34624811-min.jpg') no-repeat center left / cover;
    color: var(--hero-text);
    border-radius: 30px;
    min-height: 758px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

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

.contact-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 .btn-arrow {
    flex-shrink: 0;
}

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

/* ---- Lower section (contact info + form) ---------------------------- */

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

.contact-info {
    flex: 1 1 400px;
    max-width: 700px;
}

.brand-name {
    margin: 0;
    text-transform: capitalize;
}

.contact-info .contact-line {
    margin: 0;
    padding: 30px 0 0;
    line-height: 1.5;
}

.contact-info .contact-line + .contact-line {
    padding-top: 30px;
}

.contact-info .contact-line a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info .contact-line a:hover {
    color: var(--brand-red);
}

.contact-info .contact-line strong {
    font-weight: 600;
}

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

.contact-form-card {
    flex: 1 1 400px;
    background: linear-gradient(145deg, var(--brand-red) 12%, #FFFFFF 139%);
    border-radius: 30px;
    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'); }

/* ---- Visually-hidden labels (accessibility) ------------------------- */

.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) {
    .contact-hero { min-height: 700px; }
    .contact-hero .scroll-indicator { width: 170px; max-width: 170px; }
    .contact-hero .scroll-indicator img { max-height: 450px; }
    .contact-hero .hero-content { max-width: 600px; }
    .btn-light { font-size: 18px; padding: 18px 20px; }
    .field input, .field textarea { font-size: 16px; }
    .btn-submit { font-size: 18px; }
}

@media (max-width: 1036px) {
    .contact-hero { min-height: 500px; padding: 60px 10px; }
    .btn-light { font-size: 16px; }
    .contact-body { padding: 80px 20px 80px; flex-direction: column; gap: 24px; }
    .contact-info { max-width: none; text-align: start; }
    .contact-form-card { padding: 35px; }
}

@media (max-width: 767px) {
    .contact-hero .scroll-indicator { display: none; }
    .contact-hero .hero-content { padding: 0 10px; }
    .contact-hero p { margin-bottom: 30px; }
    .contact-info .contact-line { padding-top: 20px; }
    .contact-body { padding: 60px 16px 70px; gap: 24px; }
    .contact-form-card { padding: 28px 22px; }
}
