/**
 * Travelnet About – scoped module styles
 */

.tn-about {
    --tn-blue: #0b3c6d;
    --tn-cyan: #00c6d5;
    --tn-ink: #1a2b3c;
    --tn-muted: #5a6b7c;
    --tn-line: rgba(11, 60, 109, 0.1);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 4.5rem 1.25rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--tn-ink);
    background: #ffffff;
    overflow: hidden;
}

.tn-about *,
.tn-about *::before,
.tn-about *::after {
    box-sizing: border-box;
}

.tn-about img {
    max-width: 100% !important;
    height: auto !important;
    border: 0;
    vertical-align: middle;
}

.tn-about__wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.tn-about__layout {
    display: grid;
    grid-template-columns: minmax(280px, 44%) 1fr;
    gap: 3rem;
    align-items: center;
}

/* Visual / photo */
.tn-about__visual {
    position: relative;
    min-width: 0;
}

.tn-about__visual-accent {
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 72%;
    height: 72%;
    background: linear-gradient(145deg, var(--tn-blue), #0e5a9e);
    border-radius: 20px;
    z-index: 0;
    box-shadow: 0 24px 60px rgba(11, 60, 109, 0.18);
}

.tn-about__figure {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 60, 109, 0.15);
}

.tn-about__photo {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@supports not (aspect-ratio: 4 / 3) {
    .tn-about__photo {
        min-height: 280px;
    }
}

.tn-about__location {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tn-ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(11, 60, 109, 0.12);
    backdrop-filter: blur(6px);
}

.tn-about__location-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tn-cyan);
    box-shadow: 0 0 0 4px rgba(0, 198, 213, 0.2);
    flex-shrink: 0;
}

/* Content */
.tn-about__content {
    min-width: 0;
}

.tn-about__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tn-cyan);
}

.tn-about__title {
    margin: 0 0 1rem;
    padding: 0;
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--tn-ink);
    border: 0;
}

.tn-about__lead {
    margin: 0 0 1rem;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--tn-ink);
    font-weight: 500;
}

.tn-about__body {
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--tn-muted);
}

.tn-about__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tn-about__stat {
    padding: 0.85rem 0.75rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    border: 1px solid var(--tn-line);
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tn-about__stat:hover {
    border-color: rgba(0, 198, 213, 0.35);
    box-shadow: 0 8px 24px rgba(11, 60, 109, 0.08);
}

.tn-about__stat-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tn-blue);
    margin-bottom: 0.2rem;
}

.tn-about__stat-label {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--tn-muted);
}

.tn-about__regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.tn-about__region {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tn-blue);
    background: rgba(11, 60, 109, 0.06);
    border: 1px solid rgba(11, 60, 109, 0.1);
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tn-about__region:hover {
    background: rgba(0, 198, 213, 0.1);
    border-color: rgba(0, 198, 213, 0.3);
}

.tn-about__values {
    margin: 0 0 1.5rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--tn-line);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--tn-blue);
}

.tn-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--tn-blue), #0e5a9e);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(11, 60, 109, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tn-about__cta:hover,
.tn-about__cta:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(11, 60, 109, 0.3);
}

.tn-about__cta-arrow {
    display: inline-block;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 991px) {
    .tn-about {
        padding: 3.5rem 1rem;
    }

    .tn-about__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tn-about__visual-accent {
        right: -0.75rem;
        bottom: -0.75rem;
    }

    .tn-about__stats {
        grid-template-columns: 1fr;
    }

    .tn-about__stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .tn-about__stat-value {
        margin-bottom: 0;
        font-size: 1.15rem;
        min-width: 4rem;
    }
}

@media (max-width: 575px) {
    .tn-about__regions {
        gap: 0.35rem;
    }

    .tn-about__region {
        font-size: 0.72rem;
    }

    .tn-about__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tn-about__stat,
    .tn-about__region,
    .tn-about__cta {
        transition: none;
    }
}
