/* 關於我們 / 聯絡我們獨立頁共用樣式 */

.info-page,
.info-page *,
.info-page *::before,
.info-page *::after {
    box-sizing: border-box;
}

.info-page {
    padding: 16px var(--site-content-pad-x, 16px) 48px;
    max-width: var(--site-max-width, 1024px);
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.info-page-intro {
    margin-bottom: 14px;
}

.info-page-title {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 8px;
    font-weight: 700;
    color: #333;
}

.info-page-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.info-section {
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.info-section h2 {
    font-size: 20px;
    color: #c45a00;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffe8d9;
}

.info-section p {
    margin: 0 0 12px;
    line-height: 1.75;
    color: #444;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-video-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    margin-top: 14px;
}

.info-video-wrap video {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.info-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 3px solid #ffd6a8;
}

.info-timeline li {
    position: relative;
    padding: 0 0 18px 18px;
    margin-left: 6px;
}

.info-timeline li:last-child {
    padding-bottom: 0;
}

.info-timeline li::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b00;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #ffd6a8;
}

.info-timeline__year {
    display: inline-block;
    font-weight: 800;
    color: #ff6b00;
    margin-bottom: 4px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.info-card {
    border: 1px solid #f0e0d4;
    border-radius: 14px;
    padding: 16px;
    background: #fffaf6;
}

.info-card i {
    color: #ff6b00;
    font-size: 22px;
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: 16px;
    margin: 0 0 6px;
    color: #333;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.info-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.info-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.info-btn--primary {
    background: linear-gradient(90deg, #ff6b00, #e05a00);
    color: #fff;
}

.info-btn--outline {
    background: #fff;
    color: #c45a00;
    border: 1px solid #ffc9a3;
}

.info-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

.info-contact-layout > * {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 900px) {
    .info-contact-layout {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: start;
    }
}

.info-quick-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f3ebe3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.info-quick-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    padding: 14px 16px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f0ebe6;
}

.info-quick-card:last-child {
    border-bottom: none;
}

.info-quick-card i {
    grid-column: 1;
    grid-row: 1 / span 2;
    color: #ff6b00;
    font-size: 18px;
    line-height: 1.35;
    margin-top: 1px;
}

.info-quick-card strong {
    grid-column: 2;
    grid-row: 1;
    display: block;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.info-quick-card a,
.info-quick-card span {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: normal;
}

.info-quick-card a {
    color: #0066b3;
    text-decoration: none;
}

.info-quick-card a:hover {
    text-decoration: underline;
}

.info-form {
    min-width: 0;
    max-width: 100%;
}

.info-form .form-group {
    margin-bottom: 14px;
    min-width: 0;
}

.info-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.info-form input,
.info-form select,
.info-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #e6ddd4;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.info-form select {
    background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

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

.info-form .field-error {
    display: block;
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.info-form .form-note {
    font-size: 12px;
    color: #777;
    line-height: 1.55;
    margin: 10px 0 14px;
    padding: 10px 12px;
    background: #fff8f2;
    border-radius: 10px;
    border: 1px solid #ffe0c2;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.info-form .info-btn--primary {
    max-width: 100%;
    box-sizing: border-box;
}

.info-form .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.info-form.is-submitting .info-btn--primary {
    opacity: 0.72;
    pointer-events: none;
}

.info-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ececec;
    min-height: 260px;
    background: #f5f5f5;
}

.info-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
}

.info-faq details {
    border: 1px solid #f0e6dc;
    border-radius: 12px;
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}

.info-faq summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 36px;
}

.info-faq summary::-webkit-details-marker {
    display: none;
}

.info-faq summary::after {
    content: '+';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b00;
    font-size: 18px;
    font-weight: 700;
}

.info-faq details[open] summary::after {
    content: '−';
}

.info-faq .faq-a {
    padding: 0 16px 14px;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

.info-alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
}

.info-alert--success {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.info-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 576px) {
    .info-contact-layout {
        grid-template-columns: 1fr;
    }
}
