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

/* ========================================
   Hero Section - Contact Page
   ======================================== */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-white) 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

.contact-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(190, 18, 60, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(190, 18, 60, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.contact-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.contact-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-hero-subtitle {
    font-size: 18px;
    color: var(--color-secondary);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.response-highlight {
    color: var(--color-accent);
    font-weight: 600;
}

/* ========================================
   Contact Cards Section
   ======================================== */
.contact-cards-section {
    padding: 60px 0 80px;
    background: var(--color-white);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-accent);
    transition: var(--transition-base);
}

.contact-card:hover .contact-card-icon {
    background: var(--color-accent);
    color: white;
    transform: scale(1.1);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.contact-card-content {
    font-size: 15px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-card-note {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition-base);
}

.contact-card-link:hover {
    gap: 10px;
}

.contact-card-link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   Inquiry Form Section
   ======================================== */
.inquiry-section {
    padding: 80px 0 100px;
    background: var(--color-background);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Form Styles */
.inquiry-form-wrapper {
    background: var(--color-white);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--color-border);
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--color-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--color-accent);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--color-primary);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(38, 38, 38, 0.08);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    color: white;
    background: var(--color-accent);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(190, 18, 60, 0.3);
}

.form-submit:disabled {
    background: var(--color-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-submit svg {
    width: 18px;
    height: 18px;
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 20px;
}

/* Form Success/Error Messages */
.form-message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Process Info Side */
.process-info {
    padding: 20px 0;
}

.process-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.5;
}

/* Commitment Section */
.commitment-box {
    background: var(--color-white);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--color-border);
}

.commitment-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.commitment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-secondary);
}

.commitment-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.commitment-item strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
    padding: 0 0 100px;
    background: var(--color-background);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-white);
}

.map-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.map-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-title svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.map-address {
    font-size: 14px;
    color: var(--color-secondary);
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-footer {
    padding: 16px 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.map-note {
    font-size: 13px;
    color: var(--color-muted);
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 50px;
    transition: var(--transition-base);
}

.map-directions-btn:hover {
    background: var(--color-accent);
    color: white;
}

.map-directions-btn svg {
    width: 16px;
    height: 16px;
}

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

/* Tablet */
@media (max-width: 991px) {
    .contact-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-info {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .contact-hero-subtitle {
        font-size: 16px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .inquiry-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .process-steps {
        gap: 20px;
    }

    .map-iframe {
        height: 280px;
    }

    .map-header,
    .map-footer {
        padding: 20px 24px;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
