/* Y Transportation LLC — design system (Bootstrap 5)
   Concept: warm canvas, deep forest-teal brand, crisp UI — distinct from generic “corporate blue” */

:root {
    --bs-primary: #0d9488;
    --bs-primary-rgb: 13, 148, 136;

    --yt-font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --yt-font-display: "Outfit", var(--yt-font-sans);

    /* Brand: deep teal (headings, key UI) — class name .yt-navy kept for compatibility */
    --yt-navy: #134e4a;
    --yt-navy-2: #0f3d3a;
    --yt-accent: #0d9488;
    --yt-accent-bright: #2dd4bf;
    --yt-sky: #ccfbf1;
    --yt-green: #059669;
    --yt-green-dark: #047857;
    --yt-muted: #64748b;
    --yt-text: #1e293b;

    --yt-canvas: #f5f3ef;
    --yt-surface: #ffffff;
    --yt-surface-muted: #eef2f1;

    --yt-radius: 12px;
    --yt-radius-sm: 8px;
    --yt-radius-lg: 20px;
    --yt-cut: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
    --yt-chamfer-btn: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --yt-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
    --yt-shadow-hover: 0 4px 12px rgba(15, 23, 42, 0.08), 0 16px 40px rgba(15, 23, 42, 0.1);

    --yt-page-bg: #042f2e;
    --yt-footer-bg: #eef2f1;
    --yt-footer-text: #334155;
    --yt-footer-muted: #64748b;
}

html {
    scroll-behavior: smooth;
}

body.yt-site {
    font-family: var(--yt-font-sans);
    color: var(--yt-text);
    background: var(--yt-canvas);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* —— Client portal sidebar —— */
.yt-portal-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .yt-portal-shell {
        grid-template-columns: 1fr;
    }
}

.yt-portal-nav {
    position: sticky;
    top: 96px;
}

@media (max-width: 991.98px) {
    .yt-portal-nav {
        position: static;
        top: auto;
    }
}

.yt-portal-card {
    border-radius: var(--yt-radius-lg);
    background: var(--yt-surface);
    box-shadow: var(--yt-shadow);
    border: 1px solid rgba(19, 78, 74, 0.10);
    overflow: hidden;
}

.yt-portal-nav__head {
    padding: 0.9rem 1rem;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.14), rgba(180, 83, 9, 0.10));
    border-bottom: 1px solid rgba(19, 78, 74, 0.10);
}

.yt-portal-nav__title {
    font-family: var(--yt-font-display);
    font-weight: 800;
    color: var(--yt-navy);
    letter-spacing: -0.02em;
    margin: 0;
}

.yt-portal-nav__list a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    color: var(--yt-navy);
    font-weight: 650;
    border-radius: 0.9rem;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    border: 1px solid transparent;
}

.yt-portal-nav__list a:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.22);
}

.yt-portal-nav__list a.is-active {
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffa 100%);
    border-color: rgba(13, 148, 136, 0.45);
    transform: translateY(-1px);
}

.yt-portal-nav__list .small {
    font-weight: 600;
    color: var(--yt-muted);
}

/* —— Admin shell polish —— */
.yt-admin-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(19, 78, 74, 0.1);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.yt-admin-header__top {
    padding-block: 0.65rem;
}

.yt-admin-subnav {
    border-top: 1px solid rgba(19, 78, 74, 0.10);
    background: rgba(255, 255, 255, 0.92);
}

.yt-admin-subnav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-block: 0.6rem;
}

.yt-admin-subnav__inner .btn {
    border-radius: 999px;
}

.yt-admin-subnav__inner .btn.btn-outline-secondary {
    border-color: rgba(19, 78, 74, 0.22);
    color: var(--yt-navy);
    background: #fff;
}

.yt-admin-subnav__inner .btn.btn-outline-secondary:hover {
    border-color: rgba(13, 148, 136, 0.5);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffa 100%);
}

.yt-admin-subnav__inner .btn.is-active {
    border-color: rgba(13, 148, 136, 0.7);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffa 100%);
}

.yt-admin-nav .btn {
    border-radius: 999px;
    padding-inline: 0.75rem;
}

.yt-admin-nav .btn.btn-outline-secondary {
    border-color: rgba(19, 78, 74, 0.22);
    color: var(--yt-navy);
    background: #fff;
}

.yt-admin-nav .btn.btn-outline-secondary:hover {
    border-color: rgba(13, 148, 136, 0.5);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffa 100%);
}

.yt-admin-nav .btn.btn-outline-danger {
    border-radius: 999px;
}

.yt-admin-page-title {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.yt-admin-kicker {
    font-family: var(--yt-font-display);
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(19, 78, 74, 0.75);
}

.yt-admin-card {
    border-radius: var(--yt-radius-lg);
    background: var(--yt-surface);
    box-shadow: var(--yt-shadow);
    border: 1px solid rgba(19, 78, 74, 0.08);
}

.yt-admin-card:hover {
    box-shadow: var(--yt-shadow-hover);
}

.yt-admin-table .table {
    border-radius: var(--yt-radius-lg);
    overflow: hidden;
}

.yt-admin-table .table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(51, 65, 85, 0.9);
}

.yt-admin-empty {
    border-radius: var(--yt-radius-lg);
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 60%);
    border: 1px solid rgba(19, 78, 74, 0.12);
}

/* Admin forms */
.yt-admin-form {
    border-radius: var(--yt-radius-lg);
    background: var(--yt-surface);
    box-shadow: var(--yt-shadow);
    border: 1px solid rgba(19, 78, 74, 0.08);
    overflow: hidden;
}

.yt-admin-form__head {
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.12), rgba(180, 83, 9, 0.10));
    border-bottom: 1px solid rgba(19, 78, 74, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.yt-admin-form__title {
    margin: 0;
    font-family: var(--yt-font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--yt-navy);
    font-size: 1rem;
}

.yt-admin-form__body {
    padding: 1rem;
}

@media (min-width: 992px) {
    .yt-admin-form__body {
        padding: 1.25rem;
    }
}

.yt-admin-form--compact .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}

.yt-admin-form--compact .fw-semibold {
    font-weight: 600 !important;
}

.yt-admin-form--compact .yt-admin-form__title {
    font-weight: 750;
}

.yt-admin-form--compact .yt-admin-section-title {
    font-weight: 700;
}

.yt-admin-form--compact .form-control,
.yt-admin-form--compact .form-select {
    padding: 0.4rem 0.65rem;
    font-size: 0.92rem;
}

.yt-admin-form--compact textarea.form-control {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.yt-admin-form--compact .yt-admin-section-sub {
    margin-bottom: 0.65rem;
}

.yt-admin-form--compact .yt-admin-divider {
    margin: 0.85rem 0;
}

.yt-admin-section-title {
    font-family: var(--yt-font-display);
    font-weight: 800;
    color: var(--yt-navy);
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.yt-admin-section-sub {
    color: var(--yt-muted);
    font-size: 0.82rem;
    margin: 0 0 0.9rem;
}

.yt-admin-divider {
    height: 1px;
    background: rgba(19, 78, 74, 0.10);
    margin: 1rem 0;
}

.yt-admin-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: rgba(245, 243, 239, 0.88);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(19, 78, 74, 0.10);
    padding: 0.75rem 1rem;
    margin-inline: -1rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .yt-admin-actions {
        margin-inline: -1.25rem;
    }
}

.yt-money-input {
    font-variant-numeric: tabular-nums;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.55);
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--yt-font-display);
    letter-spacing: -0.02em;
}

.yt-skip:focus {
    position: fixed !important;
    clip: auto !important;
    width: auto !important;
    height: auto !important;
}

/* Skip link: keep readable shape (no chamfer clip) */
a.yt-skip.btn-yt-primary {
    clip-path: none !important;
    filter: none !important;
    border-radius: 0.35rem !important;
}

/* —— Top bar —— */
.yt-topbar {
    background: #e8ebe9;
    color: var(--yt-navy);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(19, 78, 74, 0.12);
}

.yt-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.yt-topbar-meta {
    opacity: 0.92;
    font-weight: 500;
}

.yt-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.yt-topbar-link {
    color: var(--yt-navy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.yt-topbar-link:hover {
    color: var(--yt-accent);
    text-decoration: underline;
}

.yt-topbar-sep {
    opacity: 0.35;
    user-select: none;
    color: var(--yt-muted);
}

/* —— Page shell —— */
.yt-main {
    flex: 1 0 auto;
}

.yt-page {
    display: block;
}

.yt-band {
    position: relative;
}

.yt-band--pad {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.yt-band--pad-sm {
    padding-block: clamp(1.25rem, 3vw, 2rem);
}

.yt-band--surface {
    background: var(--yt-surface);
}

.yt-band--muted {
    background: var(--yt-surface-muted);
}

.yt-band--canvas {
    background: var(--yt-canvas);
}

.yt-band--border-b {
    border-bottom: 1px solid rgba(19, 78, 74, 0.08);
}

/* —— Header —— */
.yt-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(19, 78, 74, 0.1);
    border-left: 6px solid var(--yt-accent);
    transition: box-shadow 0.2s ease;
}

.yt-header--scrolled {
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
}

.yt-header .navbar {
    --bs-navbar-padding-y: 0.35rem;
}

@media (max-width: 991.98px) {
    .yt-header .navbar-toggler {
        margin-left: auto;
        border-color: rgba(19, 78, 74, 0.2);
    }
}

.yt-navy {
    color: var(--yt-navy) !important;
}

.yt-muted {
    color: var(--yt-muted);
}

.yt-kicker {
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 700;
    color: #b45309;
    text-transform: uppercase;
    font-family: var(--yt-font-display);
}

.yt-brand-lockup {
    border-left: 3px solid rgba(13, 148, 136, 0.45);
    padding-left: 0.85rem;
}

.yt-brand-text {
    font-family: var(--yt-font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: var(--yt-navy);
    line-height: 1.15;
    display: inline-block;
}

@media (max-width: 575.98px) {
    .yt-brand-text {
        font-size: 1.2rem;
        max-width: min(220px, 62vw);
    }
}

.yt-footer-brand-text {
    font-family: var(--yt-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--yt-navy);
    line-height: 1.2;
}

.yt-footer-brand-divider {
    height: 3px;
    max-width: 140px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--yt-accent) 0%, #b45309 100%);
    opacity: 0.9;
}

/* Nav: underline active state, no pill */
.yt-nav-links .nav-link {
    color: var(--yt-navy);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 0.35rem;
    margin: 0 0.5rem;
    transition: color 0.15s ease, border-color 0.15s ease;
    background: transparent !important;
}

.yt-nav-links .nav-link:hover {
    color: var(--yt-accent);
    border-bottom-color: rgba(13, 148, 136, 0.35);
}

.yt-nav-links .nav-link.active {
    color: var(--yt-accent);
    border-bottom-color: var(--yt-accent);
}

@media (max-width: 991.98px) {
    .yt-nav-links .nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 0.65rem;
        margin-left: 0;
    }

    .yt-nav-links .nav-link:hover {
        border-bottom-color: transparent;
        border-left-color: rgba(13, 148, 136, 0.35);
    }

    .yt-nav-links .nav-link.active {
        border-bottom-color: transparent;
        border-left-color: var(--yt-accent);
    }
}

.btn.btn-yt-primary,
.btn.btn-yt-outline {
    border-radius: 0.5rem !important;
}

.btn-yt-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--yt-accent);
    --bs-btn-border-color: var(--yt-accent);
    --bs-btn-hover-bg: #0f766e;
    --bs-btn-hover-border-color: #0f766e;
    --bs-btn-focus-shadow-rgb: 13, 148, 136;
    font-weight: 600;
    padding-inline: 1.15rem;
    box-shadow: none;
    clip-path: var(--yt-chamfer-btn);
    filter: drop-shadow(0 3px 10px rgba(13, 148, 136, 0.35));
}

.btn-yt-primary:hover {
    filter: drop-shadow(0 4px 14px rgba(13, 148, 136, 0.45));
}

.btn-yt-outline {
    --bs-btn-color: var(--yt-navy);
    --bs-btn-border-color: rgba(19, 78, 74, 0.35);
    --bs-btn-hover-bg: var(--yt-sky);
    --bs-btn-hover-border-color: var(--yt-accent);
    --bs-btn-hover-color: var(--yt-navy);
    font-weight: 600;
    padding-inline: 1.15rem;
    border-width: 2px;
    clip-path: var(--yt-chamfer-btn);
}

.yt-phone-pill {
    border-radius: var(--yt-radius-sm);
    background: var(--yt-surface-muted);
    border: 1px solid rgba(19, 78, 74, 0.12);
}

.yt-header .text-success {
    color: var(--yt-accent) !important;
}

.yt-header-phone-ic {
    color: var(--yt-accent);
}

/* —— Hero —— */
.yt-hero {
    position: relative;
    background: linear-gradient(165deg, #115e59 0%, #042f2e 48%, #022c22 100%);
    color: #fff;
    overflow: hidden;
}

.yt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(105deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
        linear-gradient(105deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 48px 48px;
    opacity: 0.5;
    pointer-events: none;
}

.yt-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 50%);
    pointer-events: none;
}

.yt-hero .container-xl {
    position: relative;
    z-index: 1;
}

.yt-hero h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.yt-hero .text-sky {
    color: var(--yt-accent-bright);
}

.yt-hero-pill {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--yt-radius-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* —— Cards —— */
.yt-card {
    border: 1px solid rgba(19, 78, 74, 0.1);
    border-radius: var(--yt-radius);
    box-shadow: var(--yt-shadow);
    background: var(--yt-surface);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.yt-card--interactive:hover {
    box-shadow: var(--yt-shadow-hover);
    border-color: rgba(13, 148, 136, 0.35);
    transform: translateY(-2px);
}

/* Flat “slab” cards — thick left accent, minimal radius */
.yt-card--slab {
    border-radius: 0 6px 6px 0;
    border: 1px solid rgba(19, 78, 74, 0.12);
    border-left: 5px solid var(--yt-accent);
    box-shadow: 4px 8px 0 rgba(19, 78, 74, 0.06);
}

.yt-card--slab:hover {
    transform: translate(2px, -2px);
    box-shadow: 6px 12px 0 rgba(19, 78, 74, 0.08);
}

.yt-icon-tile {
    width: 48px;
    height: 48px;
    border-radius: var(--yt-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.yt-stat-strip {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.yt-stat-card {
    border-radius: var(--yt-radius);
    border: 1px solid rgba(19, 78, 74, 0.08);
    box-shadow: var(--yt-shadow);
    background: var(--yt-surface);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.yt-stat-card:hover {
    box-shadow: var(--yt-shadow-hover);
    transform: translateY(-3px);
}

.yt-wave {
    position: relative;
}

.yt-wave::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 48px;
    background: var(--yt-surface);
    clip-path: ellipse(78% 100% at 50% 100%);
}

.yt-city-pill {
    border: 1px solid rgba(19, 78, 74, 0.12);
    background: var(--yt-surface);
    border-radius: var(--yt-radius-sm);
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yt-city-pill:hover {
    border-color: rgba(13, 148, 136, 0.45);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

/* —— Footer (light, editorial) —— */
.yt-footer {
    position: relative;
    background: var(--yt-footer-bg);
    color: var(--yt-footer-text);
    border-top: 1px solid rgba(19, 78, 74, 0.1);
    margin-top: auto;
}

.yt-footer-inner {
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .yt-footer-inner {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}

.yt-footer-grid {
    --bs-gutter-y: 2.5rem;
}

@media (min-width: 1200px) {
    .yt-footer-grid {
        --bs-gutter-x: 2.75rem;
    }
}

.yt-footer-brand .yt-footer-brand-text {
    font-size: 1.65rem;
}

.yt-footer-lead {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--yt-footer-muted);
    max-width: 22rem;
}

.yt-footer-heading {
    font-family: var(--yt-font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yt-navy);
    margin-bottom: 1.35rem;
}

.yt-footer-list li {
    margin-bottom: 0.65rem;
}

.yt-footer-list li:last-child {
    margin-bottom: 0;
}

.yt-footer-list a {
    color: var(--yt-footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.yt-footer-list a:hover {
    color: var(--yt-accent);
    text-decoration: underline;
}

.yt-footer-list a.is-active {
    color: var(--yt-accent);
    font-weight: 700;
}

.yt-footer-contact > li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.yt-footer-contact > li:last-of-type {
    margin-bottom: 0;
}

.yt-footer-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--yt-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.yt-footer-icon--blue {
    background: rgba(13, 148, 136, 0.15);
    color: var(--yt-accent);
}

.yt-footer-icon--green {
    background: rgba(5, 150, 105, 0.12);
    color: var(--yt-green);
}

.yt-footer-icon--amber {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

.yt-footer-contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--yt-footer-muted);
    padding-top: 0.15rem;
}

a.yt-footer-contact-link {
    color: var(--yt-navy);
    text-decoration: none;
    font-weight: 600;
}

a.yt-footer-contact-link:hover {
    color: var(--yt-accent);
    text-decoration: underline;
}

.yt-footer-cta {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--yt-accent);
    --bs-btn-border-color: var(--yt-accent);
    --bs-btn-hover-bg: #0f766e;
    --bs-btn-hover-border-color: #0f766e;
    --bs-btn-hover-color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
}

.yt-footer-bottom {
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(19, 78, 74, 0.12);
}

@media (min-width: 992px) {
    .yt-footer-bottom {
        margin-top: 3.25rem;
        padding-top: 2rem;
    }
}

.yt-footer-note,
.yt-footer .text-white-50 {
    color: var(--yt-footer-muted) !important;
}

.yt-back-top {
    color: var(--yt-footer-muted) !important;
}

.yt-back-top:hover {
    color: var(--yt-accent) !important;
}

.yt-social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--yt-radius-sm);
    background: #fff;
    border: 1px solid rgba(19, 78, 74, 0.12);
    color: var(--yt-navy);
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.yt-social:hover {
    background: var(--yt-sky);
    border-color: rgba(13, 148, 136, 0.35);
    color: var(--yt-accent);
    transform: translateY(-2px);
}

.yt-cta-navy {
    background: linear-gradient(180deg, #134e4a 0%, #0f3d3a 100%);
    color: #fff;
}

section.yt-cta-navy {
    border-radius: 0;
}

.yt-step-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid var(--yt-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yt-surface);
    font-size: 1.75rem;
    color: var(--yt-navy);
    box-shadow: var(--yt-shadow);
}

.yt-step-line {
    height: 2px;
    background: #cbd5e1;
    flex: 1;
    margin: 0 0.5rem;
    margin-top: 44px;
}

.service-card .yt-check {
    color: var(--yt-green);
}

.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.yt-placeholder-img {
    min-height: 280px;
    background: linear-gradient(135deg, #e0f2f1, #ccfbf1);
    border-radius: var(--yt-radius);
    border: 1px solid rgba(19, 78, 74, 0.08);
}

@media (max-width: 991.98px) {
    .yt-step-line {
        display: none;
    }
}

.yt-choice-card {
    display: block;
    border: 2px solid #e2e8f0;
    border-radius: var(--yt-radius-sm);
    padding: 1rem 1.1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    background: var(--yt-surface);
}

.yt-choice-card:hover {
    border-color: rgba(13, 148, 136, 0.4);
}

.yt-choice-card.is-selected {
    border-color: var(--yt-accent);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffa 100%);
    box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.yt-captcha-demo {
    border-color: #a7f3d0 !important;
    background: #ecfdf5 !important;
}

.terms-content {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.terms-content p,
.terms-content li {
    line-height: 1.75;
    color: #475569;
}

.terms-content ul {
    padding-left: 1.25rem;
}

.terms-content ul li {
    margin-bottom: 0.35rem;
}

body.yt-book-page .yt-footer {
    margin-top: 2rem !important;
}

body.yt-book-page .yt-book-form .yt-choice-card {
    padding: 0.55rem 0.8rem;
}

body.yt-book-page .yt-book-form .yt-choice-card .small {
    font-size: 0.78rem;
    line-height: 1.35;
}

body.yt-book-page .yt-book-form .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.2rem;
}

body.yt-book-page .yt-book-form .form-control,
body.yt-book-page .yt-book-form .form-select {
    font-size: 0.9rem;
    padding: 0.35rem 0.65rem;
    min-height: 2.2rem;
}

body.yt-book-page .yt-book-form .input-group-text {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
}

.yt-book-captcha-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.yt-manage-card-wrap {
    max-width: 720px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.yt-manage-page .yt-manage-card-head {
    background: linear-gradient(90deg, #115e59, #134e4a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.yt-manage-page .yt-footer {
    margin-top: 2rem !important;
}

body.yt-manage-page .yt-manage-card-wrap .form-control {
    font-size: 0.9rem;
    padding: 0.35rem 0.65rem;
    min-height: 2.2rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.12);
}

.yt-auth-shell {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.yt-auth-shell--sm {
    max-width: 480px;
}

.yt-book-shell {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* —— Home —— */
.yt-home-hero {
    min-height: min(88vh, 920px);
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .yt-home-hero {
        min-height: 0;
    }
}

.yt-home-hero__title {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.yt-home-hero__chips {
    gap: 0.5rem;
}

.yt-home-hero__chips .badge {
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: var(--yt-radius-sm) !important;
}

.yt-home-hero__trust {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
}

.yt-home-quick {
    border-radius: var(--yt-radius-lg);
    border: 1px solid rgba(19, 78, 74, 0.1);
    box-shadow: var(--yt-shadow-hover);
    position: relative;
    overflow: hidden;
}

.yt-home-quick::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yt-accent), #b45309);
}

.yt-home-quick .form-label {
    letter-spacing: 0.06em;
}

.yt-home-stat-bar {
    background: var(--yt-surface);
    border: 1px solid rgba(19, 78, 74, 0.1);
    border-radius: var(--yt-radius-lg);
    box-shadow: var(--yt-shadow);
}

@media (min-width: 992px) {
    .yt-home-stat-bar .col-lg-3:not(:last-child) {
        border-right: 1px solid rgba(19, 78, 74, 0.08);
    }
}

.yt-section-head {
    max-width: 42rem;
}

.yt-section-head--wide {
    max-width: none;
}

@media (min-width: 992px) {
    .yt-section-head--split {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1.5rem;
        text-align: left;
    }

    .yt-section-head--split .yt-section-head {
        margin-bottom: 0;
    }
}

.yt-audience-grid .yt-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-audience-grid .yt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--yt-shadow-hover);
}

.yt-home-area-panel {
    background: linear-gradient(145deg, var(--yt-surface-muted) 0%, var(--yt-surface) 100%);
    border: 1px solid rgba(19, 78, 74, 0.08);
    border-radius: var(--yt-radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.yt-home-cta-inline {
    border-radius: var(--yt-radius-lg);
}

/* Manage booking hero kicker */
.yt-manage-page .yt-hero .text-success {
    color: var(--yt-accent-bright) !important;
}

/* Replace pill-shaped hero / quick-book CTAs — chamfered, not pills */
.yt-hero .btn.rounded-pill,
.yt-home-quick .btn.rounded-pill {
    border-radius: 0 !important;
}

/* —— Structural layout system (v2): shapes & composition —— */

/* Diagonal seam between hero and canvas */
.yt-hero--slant {
    overflow: visible;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.yt-hero-slantbridge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: min(72px, 12vw);
    background: var(--yt-canvas);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
    pointer-events: none;
}

.yt-manage-page .yt-hero-slantbridge {
    background: var(--yt-surface-muted);
}

.yt-home-hero .container-xl {
    z-index: 3;
}

/* Ribbon label (replaces floating pill) */
.yt-ribbon-kicker {
    display: inline-block;
    padding: 0.35rem 0 0.5rem;
    border-bottom: 3px solid var(--yt-accent-bright);
    letter-spacing: 0.08em;
}

.yt-ribbon-kicker__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--yt-accent-bright);
    margin-right: 0.5rem;
    vertical-align: middle;
    transform: rotate(45deg);
}

/* Sharp service chips on hero */
.yt-chip-line {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 3px solid var(--yt-accent-bright);
}

/* Chamfered light buttons on dark hero */
.yt-btn-chamfer-light {
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    border: none;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.25));
}

.yt-btn-chamfer-ghost {
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    border-width: 2px !important;
}

.yt-btn-soft-outline {
    border-radius: 0 !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn-outline-light.yt-btn-on-dark {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.55);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: #fff;
}

/* Quick-book “docked” panel — cut corner + offset frame */
.yt-dock-wrap {
    position: relative;
}

@media (min-width: 992px) {
    .yt-dock-wrap {
        padding-left: 1.25rem;
    }

    .yt-dock-wrap::before {
        content: "";
        position: absolute;
        inset: 0.75rem -0.5rem -0.75rem 0.25rem;
        border: 2px dashed rgba(255, 255, 255, 0.28);
        z-index: 0;
        pointer-events: none;
    }
}

.yt-home-quick {
    position: relative;
    z-index: 1;
    border-radius: 0;
    clip-path: var(--yt-cut);
    border: none;
    box-shadow: 12px 18px 0 rgba(15, 23, 42, 0.12);
}

.yt-home-quick::before {
    height: 5px;
    background: linear-gradient(90deg, var(--yt-accent), #b45309);
}

/* Staggered stat slabs */
.yt-stat-section {
    position: relative;
    z-index: 4;
    margin-top: -3.5rem;
}

.yt-stat-slab {
    background: var(--yt-surface);
    border: 1px solid rgba(19, 78, 74, 0.12);
    border-left: 5px solid var(--yt-accent);
    padding: 1.35rem 1rem;
    min-height: 100%;
    box-shadow: 6px 6px 0 rgba(19, 78, 74, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-stat-slab:hover {
    transform: translate(-2px, -3px);
    box-shadow: 8px 10px 0 rgba(19, 78, 74, 0.09);
}

.yt-stat-slab .yt-icon-tile {
    border-radius: 2px;
    transform: rotate(-3deg);
}

@media (min-width: 992px) {
    .yt-stat-slab--shift-up {
        transform: translateY(-10px);
    }

    .yt-stat-slab--shift-down {
        transform: translateY(10px);
    }

    .yt-stat-slab--shift-up:hover,
    .yt-stat-slab--shift-down:hover {
        transform: translate(-2px, -13px);
    }
}

/* Vertical timeline (replaces circular step row) */
.yt-timeline {
    text-align: start;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

.yt-timeline__item {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem 1.25rem;
    position: relative;
    padding-bottom: 2rem;
    align-items: start;
}

.yt-timeline__item:last-child {
    padding-bottom: 0;
}

.yt-timeline__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 3.1rem;
    bottom: 0.25rem;
    width: 2px;
    background: linear-gradient(180deg, var(--yt-accent), rgba(13, 148, 136, 0.15));
}

.yt-timeline__mark {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yt-accent), #0f766e);
    color: #fff;
    transform: rotate(45deg);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    margin-top: 0.25rem;
    box-shadow: 3px 3px 0 rgba(19, 78, 74, 0.2);
    justify-self: center;
}

.yt-timeline__mark i {
    font-size: 1.05rem;
    transform: rotate(-45deg);
}

/* Audience: masonry-style offsets */
.yt-audience-grid .yt-card {
    border-radius: 0;
    border-left: 4px solid rgba(13, 148, 136, 0.45);
}

@media (min-width: 992px) {
    .yt-audience-grid .row > div:nth-child(2) .yt-card {
        transform: translateY(12px);
    }

    .yt-audience-grid .row > div:nth-child(4) .yt-card {
        transform: translateY(8px);
    }
}

/* CTA band — angled top */
.yt-cta-navy.yt-cta--cut {
    clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%);
    margin-top: 2rem;
    padding-top: 3rem !important;
}

/* Inner promo card — notch */
.yt-promo-notch {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* Contact / auth framed form */
.yt-form-frame {
    border: 1px solid rgba(19, 78, 74, 0.12);
    border-top: 5px solid var(--yt-accent);
    box-shadow: 8px 12px 0 rgba(19, 78, 74, 0.06);
    border-radius: 0 0 8px 8px;
    background: var(--yt-surface);
}

/* Services zig-zag rows */
.yt-card.yt-service-zigzag {
    border-radius: 0 10px 10px 0;
    border-left-width: 5px;
    border-left-color: var(--yt-accent);
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.08), transparent 42%);
}

.yt-card.yt-service-zigzag--alt {
    border-left-color: #b45309;
    background: linear-gradient(90deg, rgba(180, 83, 9, 0.09), transparent 48%);
}

/* Diamond icon tile */
.yt-icon-diamond {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    border-radius: 4px;
    background: rgba(13, 148, 136, 0.12);
    color: var(--yt-accent);
}

.yt-icon-diamond i {
    transform: rotate(-45deg);
    font-size: 1.2rem;
}

/* Manage booking card — stepped silhouette */
.yt-manage-stack {
    box-shadow: 10px 14px 0 rgba(19, 78, 74, 0.1);
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.yt-manage-card-head {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    padding: 0.65rem 1rem !important;
}

/* Client dashboard trip table */
.yt-dash-table-wrap {
    border: 1px solid rgba(19, 78, 74, 0.12);
    border-radius: 0 8px 8px 0;
    border-left: 4px solid var(--yt-accent);
    overflow: hidden;
    background: var(--yt-surface);
}

.yt-dash-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--yt-font-display);
    color: var(--yt-navy);
}

.yt-dash-table tbody td {
    font-size: 0.9rem;
}

/* Footer spectrum bar */
.yt-footer__spectrum {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--yt-accent), #b45309, var(--yt-navy));
}

/* Mission step numbers */
.yt-num-slab {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yt-accent), #0f766e);
    color: #fff;
    font-family: var(--yt-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    box-shadow: 3px 3px 0 rgba(19, 78, 74, 0.15);
}

/* About: photo frame */
.yt-photo-frame {
    position: relative;
    padding: 1rem 1rem 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), transparent 50%);
}

.yt-photo-frame__inner {
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    overflow: hidden;
    box-shadow: 12px 12px 0 rgba(19, 78, 74, 0.1);
}
