/* ===========================
   About Page — Page-specific CSS
   =========================== */

/* Tighter section spacing for about page */
body .section:not(.page-banner) {
    padding: 4rem 0;
}

body .page-banner {
    padding-bottom: 3rem;
}

/* About Accent Bar */
.about-accent {
    width: 48px;
    height: 4px;
    background: var(--color-primary);
    margin-bottom: 1rem;
}

/* Sub Navigation */
.subnav {
    background: var(--white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: calc(var(--banner-height) + var(--header-height));
    z-index: 99;
}

.subnav__inner {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
    display: none;
}

.subnav__link {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.subnav__link:hover {
    color: var(--black-900);
}

.subnav__link.active {
    color: var(--color-primary);
    box-shadow: inset 0 -2px 0 var(--color-primary);
}

/* About Content (text + image 2-col) */
.content-body {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .content-body {
        grid-template-columns: 1fr auto;
        gap: 3rem;
        align-items: start;
    }
}

.content-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.content-callout {
    position: relative;
    background: transparent;
    padding: 1.5rem 0 1rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.content-callout::before {
    content: '\201C';
    display: block;
    font-size: 5rem;
    line-height: 0.5;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.content-callout::after {
    content: '\201D';
    display: block;
    font-size: 5rem;
    line-height: 0.4;
    font-weight: 900;
    color: var(--color-primary);
    margin-top: 0.5rem;
    text-align: right;
    font-family: Georgia, 'Times New Roman', serif;
}

.content-callout .callout-quote-mark {
    display: none;
}

.content-text .content-callout p {
    color: var(--black-900);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 600;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: -0.02em;
    margin: 0;
}

.content-image {
    text-align: center;
}

.content-image img {
    max-height: 260px;
    width: auto;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.12));
}

@media (max-width: 767px) {
    .content-image {
        order: -1;
    }
    .content-image img {
        max-height: 180px;
        margin: 0 auto;
    }
}

/* About Travel Weekly sub-section */
.about-tw {
    max-width: 1100px;
    margin: 2.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.about-tw p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
}

/* Benefits Grid (Why Enter) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    transition: all 0.25s;
}

.benefit-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.benefit-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

.benefit-card__icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
}

/* Testimonial */
.testimonial {
    max-width: 1100px;
    margin: 2.5rem auto 0;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.testimonial__bar {
    width: 48px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 1.5rem;
}

.testimonial__quote {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--black-900);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial__author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
}

/* Timeline — horizontal */
.timeline {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

/* Connecting line across the top */
.timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    right: 7px;
    height: 2px;
    background: var(--gray-200);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 1.5rem 0 0;
    border-bottom: none;
    position: relative;
}

.timeline-item:first-child {
    padding-top: 0;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    padding-right: 0;
}

.timeline-item__marker {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.timeline-item__marker::after {
    display: none;
}

.timeline-item__content {
    flex: 1;
}

.timeline-item__date {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black-900);
    margin-bottom: 0.25rem;
}

.timeline-item__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.timeline-item__note {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .timeline::before {
        top: 7px;
        left: 6px;
        right: auto;
        width: 2px;
        height: calc(100% - 2rem - 7px);
    }
    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 0 0 2rem 0;
    }
    .timeline-item:last-child {
        padding-bottom: 0;
    }
    .timeline-item__marker {
        margin-bottom: 0;
        margin-top: 0.2rem;
    }
    .timeline-item__date {
        font-size: 1.0625rem;
    }
}

/* Pricing Table */
.pricing-table-wrapper {
    max-width: 1100px;
    margin: 2rem auto 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead th {
    background: var(--black-800);
    color: var(--white);
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
}

.pricing-table thead th:first-child {
    width: 40%;
}

.pricing-table tbody td {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table tbody td:first-child {
    font-weight: 600;
    color: var(--black-900);
}

.pricing-table tbody td:not(:first-child) {
    color: var(--gray-500);
}

.pricing-table tbody tr:hover {
    background: var(--gray-100);
}

@media (max-width: 767px) {
    .pricing-table thead {
        display: none;
    }
    .pricing-table tbody tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--color-border);
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    .pricing-table tbody tr:hover {
        background: var(--white);
    }
    .pricing-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .pricing-table tbody td:first-child {
        display: block;
        padding-bottom: 0.75rem;
        margin-bottom: 0.25rem;
        border-bottom: 2px solid var(--color-primary);
        font-size: 1rem;
    }
    .pricing-table tbody td:last-child {
        border-bottom: none;
    }
    .pricing-table tbody td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--black-900);
        font-size: 0.8125rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
}

/* Step Columns (How to Enter — dark bg) */
.steps-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .steps-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

.step-col {
    position: relative;
    padding: 0 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .step-col:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255,255,255,0.1);
    }

    .step-col:first-child {
        padding-left: 0;
    }

    .step-col:last-child {
        padding-right: 0;
    }
}

.step-col__number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,0.12);
    letter-spacing: -0.04em;
    margin-bottom: -0.5rem;
    position: relative;
}

.step-col__accent {
    width: 32px;
    height: 3px;
    background: var(--color-primary);
    margin-bottom: 1rem;
}

.step-col__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step-col__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 767px) {
    .steps-columns {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding-bottom: 1rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) transparent;
    }
    .steps-columns::-webkit-scrollbar {
        height: 4px;
    }
    .steps-columns::-webkit-scrollbar-track {
        background: transparent;
    }
    .steps-columns::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 2px;
    }
    .step-col {
        flex: 0 0 280px;
        scroll-snap-align: start;
        padding: 0 1.5rem;
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .step-col:first-child {
        padding-left: 0;
    }
    .step-col:last-child {
        border-right: none;
    }
}

/* Text Content (Entry Requirements prose) */
.text-content {
    max-width: 1100px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.text-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.text-content a:hover {
    opacity: 0.8;
}

.text-content ol,
.text-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--gray-500);
}

.text-content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.text-content ol li {
    list-style-type: decimal;
}

.text-content ul li {
    list-style-type: disc;
}

.text-content ol li strong {
    color: var(--black-900);
    font-weight: 600;
}

.text-content .info-box {
    background: var(--gray-100);
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.text-content .info-box a {
    font-weight: 600;
}

/* Mobile overrides — subnav & page-specific */
@media (max-width: 768px) {
    .subnav__inner {
        justify-content: flex-start;
        padding: 0 1.25rem;
    }
    .subnav__link {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .subnav__link {
        padding: 0.75rem 0.625rem;
        font-size: 0.75rem;
    }
}

/* Scroll Hint — mobile only */
.scroll-hint { display: none; }
@media (max-width: 768px) {
    .scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--gray-400);
        margin-top: 0.75rem;
        transition: opacity 0.4s ease;
    }
    .scroll-hint__arrow {
        animation: hint-bounce 1.5s ease-in-out infinite;
    }
    @keyframes hint-bounce {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(5px); }
    }
    .scroll-hint.is-hidden {
        opacity: 0;
        pointer-events: none;
    }
    .section--dark .scroll-hint,
    .section--cream .scroll-hint {
        color: rgba(255, 255, 255, 0.4);
    }
}
