/**
 * Arroyo Management Theme
 *
 * File: contact.css
 * Description: Contact page styling.
 */

/* ========================================
   Contact Page
======================================== */

.arroyo-contact-page .arroyo-section {
    padding-top: 48px;
}

.arroyo-contact-intro-header {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.arroyo-contact-intro-header h1 {
    margin: 0 0 12px;
}

.arroyo-contact-intro-header p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.arroyo-contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: stretch;
}

.arroyo-contact-card,
.arroyo-contact-form-card {
    background: var(--arroyo-light);
    border: 1px solid var(--arroyo-border);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.arroyo-contact-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--arroyo-border);
}

.arroyo-contact-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.arroyo-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 122, 85, 0.1);
    color: var(--arroyo-green);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.arroyo-contact-icon i {
    font-size: 18px;
}

.arroyo-contact-item h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.arroyo-contact-item h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--arroyo-green);
    margin-top: 8px;
}

.arroyo-contact-item p {
    margin: 0;
    line-height: 1.6;
}

.arroyo-contact-item a {
    color: var(--arroyo-green);
    font-weight: 600;
    text-decoration: none;
}

.arroyo-contact-form-card h1 {
    margin: 0 0 12px;
}

.arroyo-contact-intro {
    margin: 0 0 28px;
}

/* ========================================
   Contact Form 7
======================================== */

.arroyo-contact-form-card .wpcf7 p {
    margin-bottom: 18px;
}

.arroyo-contact-form-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.arroyo-contact-form-card input,
.arroyo-contact-form-card textarea,
.arroyo-contact-form-card select {
    width: 100%;
    border: 1px solid var(--arroyo-border);
    padding: 12px 14px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fff;
}

.arroyo-contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.arroyo-contact-form-card textarea.address {
    min-height: 80px;
    height: 80px;
}

.arroyo-contact-form-card textarea.message {
    min-height: 130px;
    height: 130px;
}

.arroyo-contact-form-card input:focus,
.arroyo-contact-form-card textarea:focus,
.arroyo-contact-form-card select:focus {
    outline: none;
    border-color: var(--arroyo-green);
}

.arroyo-contact-form-card input[type="submit"] {
    width: auto;
    background: var(--arroyo-green);
    color: #fff;
    border: 0;
    border-radius:8px;
    padding: 12px 26px;
    font-weight: 700;
    cursor: pointer;
}

.arroyo-contact-form-card input[type="submit"]:hover {
    background: var(--arroyo-dark);
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 900px) {
    .arroyo-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .arroyo-contact-page .arroyo-section {
        padding-top: 32px;
    }

    .arroyo-contact-card,
    .arroyo-contact-form-card {
        padding: 28px 22px;
    }

    .arroyo-contact-item {
        grid-template-columns: 38px 1fr;
        gap: 16px;
    }

    .arroyo-contact-icon {
        width: 38px;
        height: 38px;
    }
}