/* ==========================================================================
   CONTACT PAGE STYLES
   Toivo Estate Theme — contact.css
   ========================================================================== */

/* CONTACT MAIN
   ========================================================================== */
.te-contact-main { padding: 100px 0; }
.te-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.te-contact-info { position: sticky; top: 100px; }
.te-contact-info .te-label { margin-bottom: 16px; }
.te-contact-info h2 { font-size: 1.6rem; margin-bottom: 12px; }
.te-contact-info > p { font-size: 0.95rem; margin-bottom: 40px; }

/* Info Cards */
.te-info-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.te-info-card { display: flex; gap: 16px; padding: 20px; background: var(--te-sand); border-radius: var(--te-radius-lg); transition: all 0.3s var(--te-ease); }
.te-info-card:hover { background: var(--te-white); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.te-info-icon { width: 48px; height: 48px; min-width: 48px; background: var(--te-white); border-radius: var(--te-radius); display: flex; align-items: center; justify-content: center; }
.te-info-card:hover .te-info-icon { background: var(--te-copper-muted); }
.te-info-icon svg { width: 22px; height: 22px; color: var(--te-copper-dark); }
.te-info-text h4 { font-size: 0.92rem; margin-bottom: 4px; }
.te-info-text p { font-size: 0.85rem; margin: 0; line-height: 1.6; }
.te-info-text a { color: var(--te-copper-dark); font-weight: 500; }
.te-info-text a:hover { color: var(--te-copper); }

/* Office Hours */
.te-office-hours { background: var(--te-charcoal); border-radius: var(--te-radius-xl); padding: 28px; }
.te-office-hours h4 { color: var(--te-white); font-size: 0.92rem; margin-bottom: 16px; }
.te-hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.te-hours-row:last-child { border-bottom: none; }
.te-hours-row span:first-child { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.te-hours-row span:last-child { font-size: 0.85rem; color: var(--te-white); font-weight: 500; }
.te-hours-note { margin-top: 14px; font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6; }


/* FORM
   ========================================================================== */
.te-contact-form-card { background: var(--te-white); border: 1px solid var(--te-gray-200); border-radius: var(--te-radius-xl); padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.te-contact-form-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.te-contact-form-card > p { font-size: 0.88rem; margin-bottom: 32px; }
.te-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.te-form-row.te-full { grid-template-columns: 1fr; }
.te-form-group { display: flex; flex-direction: column; }
.te-form-group label { font-size: 0.82rem; font-weight: 600; color: var(--te-charcoal); margin-bottom: 8px; }
.te-form-group label .te-required { color: var(--te-copper-dark); margin-left: 2px; }
.te-form-group input,
.te-form-group select,
.te-form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--te-gray-200);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.88rem;
    color: var(--te-charcoal);
    background: var(--te-white);
    transition: all 0.3s;
    resize: vertical;
}
.te-form-group input::placeholder,
.te-form-group textarea::placeholder { color: var(--te-gray-400); }
.te-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239E9A94' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.te-form-group input:focus,
.te-form-group select:focus,
.te-form-group textarea:focus {
    outline: none;
    border-color: var(--te-copper);
    box-shadow: 0 0 0 3px var(--te-copper-muted);
}
.te-form-group textarea { min-height: 120px; }

/* Checkbox */
.te-form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 28px; }
.te-form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--te-copper); cursor: pointer; }
.te-form-checkbox label { font-size: 0.82rem; color: var(--te-gray-500); line-height: 1.5; cursor: pointer; }
.te-form-checkbox label a { color: var(--te-copper-dark); font-weight: 500; }

/* Submit & Note */
.te-form-submit { width: 100%; padding: 16px; font-size: 0.92rem; }
.te-form-note { text-align: center; margin-top: 16px; font-size: 0.78rem; color: var(--te-gray-400); }
.te-form-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--te-green); }


/* QUICK CONNECT
   ========================================================================== */
.te-quick-connect { padding: 80px 0; background: var(--te-off-white); }
.te-quick-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.te-quick-header h2 { margin-bottom: 14px; font-size: 1.8rem; }
.te-quick-header p { font-size: 0.95rem; }
.te-quick-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.te-quick-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--te-ease);
    position: relative;
    overflow: hidden;
}
.te-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--te-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--te-ease);
}
.te-quick-card:hover::before { transform: scaleX(1); }
.te-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: transparent;
}
.te-quick-card-icon {
    width: 60px;
    height: 60px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}
.te-quick-card-icon svg { width: 24px; height: 24px; color: var(--te-copper-dark); }
.te-quick-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.te-quick-card p { font-size: 0.85rem; margin-bottom: 20px; line-height: 1.7; }
.te-quick-card a { font-size: 0.85rem; font-weight: 600; color: var(--te-copper-dark); display: inline-flex; align-items: center; gap: 6px; }
.te-quick-card a:hover { color: var(--te-copper); }
.te-quick-card a::after { content: '\2192'; transition: transform 0.3s; }
.te-quick-card a:hover::after { transform: translateX(4px); }


/* MAP SECTION
   ========================================================================== */
.te-map-section { padding: 100px 0; }
.te-map-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.te-map-header h2 { margin-bottom: 14px; }
.te-map-header p { font-size: 0.95rem; }
.te-map-container {
    border-radius: var(--te-radius-xl);
    overflow: hidden;
    border: 1px solid var(--te-gray-200);
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, var(--te-sand) 0%, var(--te-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.te-map-placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.te-map-placeholder svg { width: 48px; height: 48px; color: var(--te-gray-300); }
.te-map-placeholder span { font-size: 0.88rem; color: var(--te-gray-400); font-weight: 500; }
.te-map-placeholder small { font-size: 0.78rem; color: var(--te-gray-400); }

/* Animated Pin */
.te-map-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--te-copper);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(184,115,51,0.3);
    animation: te-pinBounce 2s ease-in-out infinite;
}
.te-map-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--te-white);
    border-radius: 50%;
}
@keyframes te-pinBounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-6px); }
}

/* Address Items */
.te-map-address { display: flex; justify-content: center; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.te-map-address-item { display: flex; align-items: center; gap: 12px; }
.te-map-address-icon {
    width: 40px;
    height: 40px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.te-map-address-icon svg { width: 18px; height: 18px; color: var(--te-copper-dark); }
.te-map-address-text { font-size: 0.88rem; color: var(--te-gray-600); }
.te-map-address-text strong { display: block; font-size: 0.82rem; color: var(--te-charcoal); }


/* PARENT BANNER SIMPLE
   ========================================================================== */
.te-parent-banner-simple { padding: 80px 0; background: var(--te-sand); }
.te-parent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 36px 40px;
    gap: 32px;
    flex-wrap: wrap;
}
.te-parent-left { display: flex; align-items: center; gap: 20px; }
.te-parent-logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C9A84C, #A8882E);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-white);
    font-family: var(--te-serif);
    font-size: 1.5rem;
}
.te-parent-left h4 { font-size: 1rem; margin-bottom: 2px; }
.te-parent-left p { font-size: 0.82rem; color: var(--te-gray-400); margin: 0; }


/* RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .te-contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .te-contact-info { position: static; }
    .te-quick-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .te-contact-main { padding: 60px 0; }
    .te-form-row { grid-template-columns: 1fr; }
    .te-contact-form-card { padding: 28px 20px; }
    .te-map-address { flex-direction: column; align-items: center; gap: 20px; }
    .te-map-container { aspect-ratio: 16/9; }
    .te-parent-inner { flex-direction: column; text-align: center; }
    .te-parent-left { flex-direction: column; }
    .te-quick-connect { padding: 60px 0; }
    .te-map-section { padding: 60px 0; }
    .te-parent-banner-simple { padding: 60px 0; }
}
