/* ======================================================================
   OTA Trip Categories — v2
   Discovery page for WP Travel Engine trip categories.
   ====================================================================== */

.ota-trip-categories-page {
    --otc-ink: #0e3b2e;
    --otc-ink-soft: #4d6358;
    --otc-muted: #889a90;
    --otc-accent: #1d7f5f;
    --otc-accent-strong: #145944;
    --otc-warm: #e9b949;
    --otc-warm-strong: #b6841b;
    --otc-bg: #f6f8f5;
    --otc-bg-alt: #ffffff;
    --otc-card: #ffffff;
    --otc-line: rgba(14, 59, 46, 0.10);
    --otc-line-strong: rgba(14, 59, 46, 0.18);
    --otc-shadow-sm: 0 1px 2px rgba(14, 59, 46, 0.04);
    --otc-shadow-md: 0 4px 14px rgba(14, 59, 46, 0.08), 0 1px 2px rgba(14, 59, 46, 0.04);
    --otc-shadow-lg: 0 18px 40px rgba(14, 59, 46, 0.12), 0 4px 10px rgba(14, 59, 46, 0.06);
    --otc-radius: 16px;
    --otc-radius-sm: 10px;

    background: var(--otc-bg);
    color: var(--otc-ink);
}

.ota-trip-categories-page,
.ota-trip-categories-page * {
    box-sizing: border-box;
}

.ota-trip-categories-page a {
    text-decoration: none;
}

.ota-trip-categories-page img {
    max-width: 100%;
    display: block;
}

/* ====== HERO ====== */
.otc-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
    color: #fff;
    isolation: isolate;
}

.otc-hero--compact {
    padding: 34px 0 38px;
}

.otc-hero--compact .otc-breadcrumb {
    margin-bottom: 18px;
}

/* ===== MINI HERO (clean / light) ===== */
.otc-hero--mini {
    padding: 22px 0 22px;
    background: #ffffff;
    color: var(--otc-ink);
    border-bottom: 1px solid var(--otc-line);
    isolation: auto;
}

.otc-hero--mini .otc-hero-bg,
.otc-hero--mini .otc-hero-overlay {
    display: none;
}

.otc-hero-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ota-trip-categories-page .otc-hero--mini .otc-h1 {
    margin: 0;
    color: var(--otc-ink);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1.2;
    text-shadow: none;
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.otc-h1-meta {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--otc-muted);
    letter-spacing: 0.02em;
    text-transform: none;
}

.otc-hero--mini .otc-search {
    background: #fff;
    border: 1px solid var(--otc-line-strong);
    box-shadow: var(--otc-shadow-sm);
}

.otc-hero--mini .otc-search:focus-within {
    border-color: var(--otc-accent);
    box-shadow: 0 0 0 3px rgba(29, 127, 95, 0.12);
}

.otc-hero--mini .otc-chips {
    margin-top: 12px;
}

.otc-hero--mini .otc-chip {
    padding: 5px 12px;
    font-size: 12.5px;
    border-color: var(--otc-line-strong);
    background: #fff;
    color: var(--otc-ink);
    backdrop-filter: none;
}

.otc-hero--mini .otc-chip em {
    background: rgba(233, 185, 73, 0.18);
    color: var(--otc-warm-strong);
}

.otc-hero--mini .otc-chip:hover {
    background: var(--otc-bg);
    border-color: var(--otc-ink);
    color: var(--otc-ink);
}

.otc-hero--mini .otc-chips-label {
    font-size: 11px;
    margin-right: 4px;
    color: var(--otc-muted);
}

.otc-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
    margin-bottom: 22px;
}

.otc-hero--compact .otc-kicker {
    margin-bottom: 10px;
    padding: 4px 12px;
}

.otc-hero--compact .otc-h1 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 8px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.otc-hero--compact .otc-sub {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 600px;
}

.otc-hero-stats--inline {
    margin: 0;
    grid-template-columns: repeat(3, auto);
    gap: 8px;
}

.otc-hero-stats--inline li {
    padding: 12px 18px;
    border-radius: 12px;
    text-align: left;
}

.otc-hero-stats--inline strong {
    font-size: 22px;
}

.otc-hero-stats--inline span {
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.otc-hero--compact .otc-search {
    margin: 0;
}

.otc-hero--compact .otc-chips {
    margin-top: 14px;
}

.otc-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/bg/hero_bg_6_1.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: -2;
}

.otc-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(20, 89, 68, 0.55), transparent 60%),
        radial-gradient(120% 80% at 100% 100%, rgba(233, 185, 73, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(8, 38, 28, 0.78) 0%, rgba(8, 38, 28, 0.88) 100%);
    z-index: -1;
}

.otc-hero-inner {
    position: relative;
}

.otc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.otc-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.otc-breadcrumb a:hover {
    color: #fff;
}

.otc-breadcrumb span {
    color: #fff;
}

.otc-breadcrumb i {
    font-size: 9px;
    opacity: 0.55;
}

.otc-hero-copy {
    max-width: 880px;
}

.otc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(233, 185, 73, 0.16);
    border: 1px solid rgba(233, 185, 73, 0.35);
    color: #ffd87d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.otc-kicker i {
    font-size: 11px;
}

.ota-trip-categories-page .otc-h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.4vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ota-trip-categories-page .otc-sub {
    max-width: 680px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.65;
}

/* Search */
.otc-search {
    display: flex;
    align-items: stretch;
    gap: 6px;
    max-width: 820px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.otc-search-input {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 8px 0 18px;
}

.otc-search-input i {
    color: var(--otc-accent-strong);
    font-size: 15px;
}

.otc-search-input input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 14px 4px;
    color: var(--otc-ink);
    font-size: 15px;
}

.otc-search-select {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-left: 1px solid var(--otc-line);
    padding: 0 6px 0 14px;
}

.otc-search-select select {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 14px 26px 14px 4px;
    color: var(--otc-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.otc-search-select i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--otc-ink-soft);
    font-size: 10px;
    pointer-events: none;
}

.otc-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: var(--otc-ink);
    color: #fff;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.otc-search-btn:hover {
    background: var(--otc-accent-strong);
    transform: translateY(-1px);
}

.otc-search-btn i {
    font-size: 11px;
}

/* Autosuggest */
.otc-search {
    position: relative;
}

.otc-search-input {
    position: relative;
}

.otc-search-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(14, 59, 46, 0.18);
    border-top-color: var(--otc-accent-strong);
    margin-right: 6px;
    opacity: 0;
    animation: otc-spin 0.7s linear infinite;
    transition: opacity 0.2s ease;
}

.otc-search-spinner.is-loading {
    opacity: 1;
}

@keyframes otc-spin {
    to { transform: rotate(360deg); }
}

.otc-suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 460px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--otc-line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(14, 59, 46, 0.18), 0 4px 12px rgba(14, 59, 46, 0.08);
    padding: 8px;
}

.otc-suggest[hidden] {
    display: none;
}

.otc-suggest-section + .otc-suggest-section {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--otc-line);
}

.otc-suggest-head {
    padding: 8px 12px 4px;
    color: var(--otc-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.otc-suggest ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.otc-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--otc-ink);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.otc-suggest-item:hover,
.otc-suggest-item:focus {
    background: rgba(29, 127, 95, 0.08);
    color: var(--otc-ink);
}

.otc-suggest-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.otc-suggest-group {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(14, 59, 46, 0.06);
    color: var(--otc-ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.otc-suggest-count {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(233, 185, 73, 0.18);
    color: var(--otc-warm-strong);
    font-size: 11px;
    font-weight: 800;
}

.otc-suggest-empty {
    padding: 18px 14px;
    color: var(--otc-ink-soft);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otc-suggest-empty[hidden] {
    display: none;
}

.otc-suggest-empty i {
    color: var(--otc-muted);
    font-size: 18px;
}

/* Chips */
.otc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 22px;
}

.otc-chips-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 6px;
}

.otc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.otc-chip em {
    font-style: normal;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(233, 185, 73, 0.30);
    color: #ffd87d;
    font-size: 11px;
    font-weight: 800;
}

.otc-chip:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.40);
    transform: translateY(-1px);
}

/* Hero actions */
.otc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.otc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--otc-warm);
    color: #2b1c00;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(233, 185, 73, 0.35);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.otc-btn-primary:hover {
    background: #f1c75c;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(233, 185, 73, 0.45);
}

.otc-btn-primary--lg {
    padding: 16px 30px;
    font-size: 15px;
}

.otc-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.otc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.otc-btn-ghost--dark {
    border-color: rgba(14, 59, 46, 0.25);
    color: var(--otc-ink);
}

.otc-btn-ghost--dark:hover {
    background: rgba(14, 59, 46, 0.06);
    border-color: rgba(14, 59, 46, 0.45);
    color: var(--otc-ink);
}

/* Stats strip */
.otc-hero-stats {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.otc-hero-stats li {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--otc-radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.otc-hero-stats strong {
    display: block;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.otc-hero-stats span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 600;
}

/* ====== TABS NAV ====== */
.otc-tabs-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--otc-line);
    transition: box-shadow 0.2s ease;
}

.otc-tabs-nav.is-stuck {
    box-shadow: 0 6px 18px rgba(14, 59, 46, 0.08);
}

.otc-tabs-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.otc-tabs-inner::-webkit-scrollbar {
    display: none;
}

.otc-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--otc-ink-soft);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.otc-tab i {
    font-size: 13px;
    opacity: 0.85;
}

.otc-tab em {
    font-style: normal;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(14, 59, 46, 0.08);
    color: var(--otc-ink-soft);
    font-size: 11px;
    font-weight: 800;
}

.otc-tab:hover {
    background: rgba(14, 59, 46, 0.06);
    color: var(--otc-ink);
    border-color: var(--otc-line);
}

.otc-tab.is-active {
    background: var(--otc-ink);
    color: #fff;
    border-color: var(--otc-ink);
}

.otc-tab.is-active i,
.otc-tab.is-active em {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    opacity: 1;
}

.otc-tab-cta {
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--otc-warm);
    color: #2b1c00;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.15s ease;
}

.otc-tab-cta:hover {
    background: #f1c75c;
    transform: translateY(-1px);
}

/* ====== TAB PANELS ====== */
.otc-tabs-wrap {
    padding: 14px 0 50px;
}

.otc-tab-panel { padding-top: 0; }

.otc-tab-panel {
    display: block;
    animation: otc-fade 0.25s ease;
}

.otc-tab-panel[hidden] {
    display: none;
}

@keyframes otc-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====== EDITOR CONTENT ====== */
.otc-editor-section {
    padding: 40px 0 0;
}

.otc-editor-content {
    background: #fff;
    border: 1px solid var(--otc-line);
    border-radius: var(--otc-radius);
    padding: 30px;
    color: var(--otc-ink-soft);
    box-shadow: var(--otc-shadow-sm);
}

.otc-editor-content > *:last-child {
    margin-bottom: 0;
}

/* ====== SHARED SECTION ====== */
.otc-section {
    padding: 40px 0;
}

.otc-section + .otc-section {
    padding-top: 16px;
}

.otc-section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.otc-section-head--center {
    justify-content: center;
    text-align: center;
}

.otc-section-head--center > div {
    max-width: 640px;
}

.otc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--otc-accent-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.otc-eyebrow i {
    color: var(--otc-warm-strong);
}

.ota-trip-categories-page .otc-section-head h2 {
    margin: 0 0 10px;
    color: var(--otc-ink);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.005em;
}

.ota-trip-categories-page .otc-section-head p {
    max-width: 620px;
    margin: 0;
    color: var(--otc-ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.otc-section-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--otc-line-strong);
    color: var(--otc-accent-strong);
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.otc-section-link:hover {
    background: var(--otc-ink);
    border-color: var(--otc-ink);
    color: #fff;
}

.otc-section-head-aside {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ====== VIEW TOGGLE ====== */
.otc-view-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--otc-line-strong);
    background: #fff;
    box-shadow: var(--otc-shadow-sm);
}

.otc-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--otc-ink-soft);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.otc-view-btn i {
    font-size: 13px;
}

.otc-view-btn:hover {
    color: var(--otc-ink);
}

.otc-view-btn.is-active {
    background: var(--otc-ink);
    color: #fff;
}

/* ====== MAP ====== */
.otc-map-wrap {
    margin-bottom: 28px;
}

.otc-map-wrap[hidden] {
    display: none;
}

.otc-map {
    width: 100%;
    height: 520px;
    border-radius: var(--otc-radius);
    overflow: hidden;
    border: 1px solid var(--otc-line);
    box-shadow: var(--otc-shadow-md);
    background: linear-gradient(135deg, rgba(29, 127, 95, 0.10), rgba(233, 185, 73, 0.10));
}

.otc-map-note {
    margin: 12px 0 0;
    color: var(--otc-ink-soft);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.otc-map-note i {
    color: var(--otc-accent-strong);
}

.otc-popup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    font-family: inherit;
}

.otc-popup strong {
    color: var(--otc-ink);
    font-size: 15px;
    font-weight: 800;
}

.otc-popup span {
    color: var(--otc-ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.otc-popup a {
    margin-top: 4px;
    color: var(--otc-accent-strong);
    font-size: 13px;
    font-weight: 800;
}

.otc-popup a:hover {
    color: var(--otc-ink);
}

.leaflet-container a.leaflet-popup-close-button {
    color: var(--otc-ink-soft);
}

@media (max-width: 767px) {
    .otc-map {
        height: 380px;
    }

    .otc-section-head-aside {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ====== FEATURED ====== */
.otc-featured {
    padding-top: 0;
}

.otc-featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    min-height: 520px;
}

.otc-feat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--otc-radius);
    color: #fff;
    box-shadow: var(--otc-shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
    min-height: 220px;
}

.otc-feat-card.is-hot {
    grid-row: span 2;
    min-height: 440px;
}

.otc-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--otc-shadow-lg);
}

.otc-feat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.otc-feat-card:hover img {
    transform: scale(1.06);
}

.otc-feat-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--otc-accent), var(--otc-accent-strong));
    color: #fff;
    font-size: 44px;
}

.otc-feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 59, 46, 0) 35%, rgba(14, 59, 46, 0.82) 100%);
}

.otc-feat-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    color: #fff;
}

.otc-feat-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.otc-feat-hot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--otc-warm);
    color: #2b1c00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.otc-feat-hot--new {
    background: #5ec98f;
    color: #0e3b2e;
}

.otc-feat-body h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.otc-feat-card.is-hot h3 {
    font-size: 30px;
}

.otc-feat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
}

.otc-feat-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.otc-feat-meta i {
    font-size: 12px;
    opacity: 0.85;
}

/* ====== CATEGORY GRID ====== */
.otc-sections-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.otc-cat-section + .otc-cat-section {
    margin-top: 0;
}

.otc-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(29, 127, 95, 0.10);
    color: var(--otc-accent-strong);
    font-size: 16px;
}

.otc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.otc-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--otc-line);
    border-radius: var(--otc-radius);
    background: var(--otc-card);
    box-shadow: var(--otc-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.otc-card:hover {
    transform: translateY(-4px);
    border-color: var(--otc-line-strong);
    box-shadow: var(--otc-shadow-md);
}

.otc-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(29, 127, 95, 0.18), rgba(233, 185, 73, 0.18));
}

.otc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.otc-card:hover .otc-card-media img {
    transform: scale(1.06);
}

.otc-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--otc-accent-strong);
    font-size: 38px;
}

.otc-card-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 59, 46, 0) 40%, rgba(14, 59, 46, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.otc-card:hover .otc-card-tint {
    opacity: 1;
}

.otc-card-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--otc-accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.otc-card-count {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--otc-warm);
    color: #2b1c00;
    font-size: 12px;
    font-weight: 800;
}

.otc-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.ota-trip-categories-page .otc-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.otc-card h3 a {
    color: var(--otc-ink);
    transition: color 0.2s ease;
}

.otc-card h3 a:hover {
    color: var(--otc-accent-strong);
}

.ota-trip-categories-page .otc-card p {
    margin: 0 0 14px;
    color: var(--otc-ink-soft);
    font-size: 14px;
    line-height: 1.55;
}

.otc-card-stats {
    list-style: none;
    margin: 0 0 14px;
    padding: 12px 0;
    border-top: 1px dashed var(--otc-line);
    border-bottom: 1px dashed var(--otc-line);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--otc-ink-soft);
    font-size: 13px;
}

.otc-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.otc-card-stats i {
    color: var(--otc-accent);
    font-size: 13px;
}

.otc-card-stats strong {
    color: var(--otc-ink);
    font-weight: 800;
    margin-left: 2px;
}

.otc-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--otc-accent-strong);
    font-size: 13px;
    font-weight: 800;
    transition: gap 0.2s ease, color 0.2s ease;
}

.otc-card-link:hover {
    gap: 12px;
    color: var(--otc-ink);
}

.otc-card-link i {
    font-size: 11px;
}

/* ====== EMPTY STATE ====== */
.otc-empty {
    max-width: 680px;
    margin: 40px auto;
    padding: 60px 30px;
    border: 1px solid var(--otc-line);
    border-radius: var(--otc-radius);
    background: #fff;
    text-align: center;
}

.otc-empty i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(29, 127, 95, 0.10);
    color: var(--otc-accent-strong);
    font-size: 24px;
}

.otc-empty h2 {
    margin: 0 0 10px;
    color: var(--otc-ink);
}

.otc-empty p {
    margin: 0;
    color: var(--otc-ink-soft);
}

/* ====== DURATION ====== */
.otc-duration {
    background: linear-gradient(180deg, var(--otc-bg) 0%, #eef3ee 100%);
}

.otc-duration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.otc-duration-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 22px;
    border: 1px solid var(--otc-line);
    border-radius: var(--otc-radius);
    background: #fff;
    color: var(--otc-ink);
    box-shadow: var(--otc-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.otc-duration-card:hover {
    transform: translateY(-3px);
    border-color: var(--otc-accent);
    box-shadow: var(--otc-shadow-md);
    color: var(--otc-ink);
}

.otc-duration-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(29, 127, 95, 0.10);
    color: var(--otc-accent-strong);
    font-size: 18px;
}

.otc-duration-card strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--otc-ink);
}

.otc-duration-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--otc-accent-strong);
    font-size: 13px;
    font-weight: 800;
}

.otc-duration-cta i {
    font-size: 11px;
}

/* ====== SEASON ====== */
.otc-season {
    background: var(--otc-bg-alt);
}

.otc-season-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.otc-season-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 24px;
    border-radius: var(--otc-radius);
    border: 1px solid var(--otc-line);
    background: #fff;
    color: var(--otc-ink);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.otc-season-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(29, 127, 95, 0.08), transparent 60%);
    pointer-events: none;
}

.otc-season-card--spring::before { background: linear-gradient(160deg, rgba(120, 195, 130, 0.20), transparent 60%); }
.otc-season-card--summer::before { background: linear-gradient(160deg, rgba(86, 158, 211, 0.20), transparent 60%); }
.otc-season-card--autumn::before { background: linear-gradient(160deg, rgba(229, 144, 67, 0.22), transparent 60%); }
.otc-season-card--winter::before { background: linear-gradient(160deg, rgba(160, 188, 220, 0.30), transparent 60%); }

.otc-season-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--otc-shadow-md);
    color: var(--otc-ink);
}

.otc-season-card.is-current {
    border-color: var(--otc-warm-strong);
    box-shadow: 0 0 0 2px rgba(233, 185, 73, 0.30), var(--otc-shadow-md);
}

.otc-season-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--otc-warm);
    color: #2b1c00;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 1;
}

.otc-season-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(14, 59, 46, 0.08);
    color: var(--otc-ink);
    font-size: 20px;
}

.otc-season-card strong {
    position: relative;
    font-size: 19px;
    font-weight: 800;
}

.otc-season-months {
    position: relative;
    color: var(--otc-warm-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ota-trip-categories-page .otc-season-card p {
    position: relative;
    margin: 0;
    color: var(--otc-ink-soft);
    font-size: 13px;
    line-height: 1.55;
    min-height: 60px;
}

.otc-season-cta {
    position: relative;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--otc-accent-strong);
    font-size: 13px;
    font-weight: 800;
}

.otc-season-cta i {
    font-size: 11px;
}

/* ====== EXPERT ====== */
.otc-expert {
    padding-top: 20px;
    padding-bottom: 110px;
}

.otc-expert-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 56px;
    border-radius: 24px;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(233, 185, 73, 0.18), transparent 55%),
        linear-gradient(135deg, #0e3b2e 0%, #145944 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(14, 59, 46, 0.25);
}

.otc-expert-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(233, 185, 73, 0.12);
    filter: blur(4px);
}

.otc-expert-copy {
    position: relative;
}

.otc-expert-copy .otc-eyebrow {
    color: #ffd87d;
}

.otc-expert-copy .otc-eyebrow i {
    color: #ffd87d;
}

.ota-trip-categories-page .otc-expert-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.15;
    font-weight: 800;
}

.ota-trip-categories-page .otc-expert-copy p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.65;
    max-width: 540px;
}

.otc-expert-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.otc-expert-points li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
}

.otc-expert-points i {
    color: var(--otc-warm);
    font-size: 16px;
}

.otc-expert-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.otc-expert-actions .otc-btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.otc-expert-actions .otc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: #fff;
}

/* ====== REVEAL ANIMATION ====== */
[data-otc-section],
.otc-feat-card,
.otc-duration-card,
.otc-season-card {
    opacity: 1;
}

.otc-fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.otc-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1199px) {
    .otc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .otc-featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        min-height: 0;
    }

    .otc-feat-card.is-hot {
        grid-column: span 2;
        grid-row: auto;
        min-height: 340px;
    }
}

@media (max-width: 991px) {
    .otc-hero {
        padding: 56px 0 80px;
    }

    .otc-hero--compact {
        padding: 30px 0 32px;
    }

    .otc-hero--mini {
        padding: 18px 0 20px;
    }

    .otc-hero-bar {
        margin-bottom: 10px;
    }

    .otc-h1-meta {
        font-size: 11.5px;
    }

    .otc-hero-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }

    .otc-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 40px;
    }

    .otc-hero-stats--inline {
        margin-top: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .otc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .otc-duration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .otc-season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .otc-expert-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .otc-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .otc-hero {
        padding: 44px 0 64px;
    }

    .ota-trip-categories-page .otc-h1 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .otc-search {
        flex-direction: column;
        border-radius: 18px;
        padding: 10px;
        gap: 8px;
    }

    .otc-search-input {
        padding: 4px 8px;
    }

    .otc-search-select {
        border-left: 0;
        border-top: 1px solid var(--otc-line);
        padding: 4px 8px;
        width: 100%;
    }

    .otc-search-select select {
        width: 100%;
        padding: 12px 26px 12px 4px;
    }

    .otc-search-btn {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
    }

    .otc-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .otc-hero-stats strong {
        font-size: 28px;
    }

    .otc-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .otc-grid {
        grid-template-columns: 1fr;
    }

    .otc-featured-grid {
        grid-template-columns: 1fr;
    }

    .otc-feat-card.is-hot {
        grid-column: auto;
        min-height: 320px;
    }

    .otc-feat-card.is-hot h3 {
        font-size: 24px;
    }

    .otc-duration-grid,
    .otc-season-grid {
        grid-template-columns: 1fr;
    }

    .otc-expert-card {
        padding: 32px 24px;
    }

    .ota-trip-categories-page .otc-card p {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .otc-chips {
        margin-top: 16px;
    }

    .otc-chips-label {
        display: block;
        width: 100%;
        margin-bottom: 4px;
    }
}
