

/* =============================================================
   DRIVING HERO
   ============================================================= */
.driving-hero {
    --hero-primary: var(--primary);
    --hero-primary-dark: var(--primary-dark);
    --hero-primary-light: rgba(230, 57, 70, 0.35);
    --hero-accent: var(--accent);
    --hero-accent-light: rgba(244, 162, 97, 0.35);
    --hero-dark: var(--dark-bg);

    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    max-height: 900px;
    overflow: hidden;
    isolation: isolate;
    background: var(--hero-dark);
    color: #fff;
}

.driving-hero__slides {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.driving-hero__slide {
    position: absolute;
    inset: -20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.045);
    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 7s ease;
}

.driving-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.driving-hero__light {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(
        ellipse at 70% 50%,
        rgba(230, 57, 70, 0.08),
        rgba(244, 162, 97, 0.05),
        transparent 70%
    );
    pointer-events: none;
    animation: lightPulse 6s ease-in-out infinite alternate;
}

@keyframes lightPulse {
    0%   { opacity: 0.4; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.2); }
}

.driving-hero__container {
    position: relative;
    z-index: 5;
    width: min(1280px, calc(100% - 70px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    padding-top: 55px;
}

.driving-hero__content {
    flex: 0 0 48%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    min-width: 0;
}

.driving-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.driving-hero__eyebrow-line {
    width: 28px;
    height: 2px;
    background: var(--hero-primary);
    flex-shrink: 0;
}

.driving-hero__title {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-size: clamp(46px, 5.1vw, 74px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.055em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: opacity 0.4s ease;
}

.driving-hero__text {
    max-width: 530px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    transition: opacity 0.4s ease;
}

.driving-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 30px;
    min-width: 0;
}

.driving-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 21px 5px 5px;
    min-height: 54px;
    border-radius: 100px;
    background: #fff;
    color: #121212;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 100%;
}

.driving-hero__cta > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.driving-hero__cta-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hero-primary);
    color: #fff;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.driving-hero__cta:hover .driving-hero__cta-icon {
    transform: rotate(-35deg);
}

.driving-hero__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 0;
}

.driving-hero__location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__location i {
    color: var(--hero-accent);
    flex-shrink: 0;
}

.driving-hero__licenses {
    flex: 0 0 48%;
    max-width: 620px;
    margin-top: auto;
    margin-bottom: 38px;
    min-width: 0;
}

.driving-hero__licenses-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 3px;
    gap: 10px;
    min-width: 0;
}

.driving-hero__licenses-title div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.driving-hero__licenses-title span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driving-hero__licenses-title strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.driving-hero__licenses-title > i {
    color: var(--hero-accent);
    font-size: 11px;
    animation: heroArrowDown 1.8s infinite;
    flex-shrink: 0;
}

@keyframes heroArrowDown {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(4px); opacity: 1; }
}

.driving-hero__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    perspective: 1200px;
}

/* =============================================================
   LICENSE CARD
   ============================================================= */
.license-card {
    position: relative;
    min-width: 0;
    padding: 22px 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    background: rgba(18, 22, 28, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
}

.license-card:nth-child(1) { animation-delay: 0.10s; border-color: rgba(230, 57, 70, 0.3); }
.license-card:nth-child(2) { animation-delay: 0.25s; border-color: rgba(244, 162, 97, 0.3); }
.license-card:nth-child(3) { animation-delay: 0.40s; border-color: rgba(230, 57, 70, 0.3); }
.license-card:nth-child(4) { animation-delay: 0.55s; border-color: rgba(244, 162, 97, 0.3); }

.license-card:nth-child(1) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.15), transparent 70%);
}
.license-card:nth-child(2) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(244, 162, 97, 0.15), transparent 70%);
}
.license-card:nth-child(3) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.15), transparent 70%);
}
.license-card:nth-child(4) .license-card__glow {
    background: radial-gradient(circle at 30% 30%, rgba(244, 162, 97, 0.15), transparent 70%);
}

@keyframes cardEntrance {
    0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0)    scale(1);    }
}

.license-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px var(--hero-primary-light);
    border-color: var(--hero-primary);
    background: rgba(24, 28, 35, 0.92);
}

.license-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 6px;
    min-width: 0;
}

.license-card__label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.license-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.05em;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.license-card:nth-child(1) .license-card__number { color: var(--hero-primary); }
.license-card:nth-child(2) .license-card__number { color: var(--hero-accent); }
.license-card:nth-child(3) .license-card__number { color: var(--hero-primary); }
.license-card:nth-child(4) .license-card__number { color: var(--hero-accent); }

.license-card:hover .license-card__number {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.license-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.license-card__bottom strong {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.license-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.3s ease, gap 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.license-card:hover .license-card__more {
    color: var(--hero-accent);
    gap: 10px;
}

.license-card__more i {
    font-size: 9px;
    flex-shrink: 0;
}

.license-card__glow {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 50%;
    filter: blur(40px);
}

.license-card:hover .license-card__glow { opacity: 1; }

.license-card__accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--hero-primary);
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.license-card:hover .license-card__accent { width: 100%; }

/* =============================================================
   HERO NAVIGATION
   ============================================================= */
.driving-hero__navigation {
    position: absolute;
    left: max(35px, calc((100% - 1280px) / 2));
    bottom: 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 9px;
}

.driving-hero__nav {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.driving-hero__nav:hover {
    background: var(--hero-primary);
    border-color: var(--hero-primary);
    transform: translateY(-2px);
}

.driving-hero__dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.driving-hero__dots .dot {
    width: 18px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.driving-hero__dots .dot.active {
    width: 38px;
    background: var(--hero-primary);
}

/* =============================================================
   LICENSE MODAL
   ============================================================= */
.license-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.license-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.license-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 9, 0.8);
    backdrop-filter: blur(15px);
}

.license-modal__box {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: #111419;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(25px) scale(0.96);
    transition:
        opacity 0.4s ease,
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.license-modal.is-open .license-modal__box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.license-modal__close {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.license-modal__close:hover {
    background: var(--hero-primary);
    color: #fff;
    transform: rotate(90deg);
}

.license-modal__header {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 27px 60px 25px 27px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.license-modal__class {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--hero-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.16);
}

.license-modal__header span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.license-modal__header h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.license-modal__content { padding: 25px 27px 28px; }

.license-modal__content > p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.license-modal__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.license-modal__info-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    min-width: 0;
}

.license-modal__info-item span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.license-modal__info-item strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.4;
    display: block;
    overflow-wrap: anywhere;
}

.license-modal__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 100px;
    background: var(--hero-primary);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.license-modal__cta:hover { transform: translateY(-2px); }

/* =============================================================
   WHO & WHY
   ============================================================= */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: nowrap;
}

.info-row.reverse { flex-direction: row-reverse; }

.info-image { flex: 0 0 45%; }

.info-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}

.info-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.info-row .info-text {
    flex: 0 0 50%;
    max-width: 600px;
}

.info-row .info-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--light-heading);
}

body.dark-mode .info-row .info-text h2 { color: var(--dark-heading); }

.info-row .info-text p {
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
}

body.dark-mode .info-row .info-text p { color: var(--dark-text); }

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    color: var(--light-text);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

body.dark-mode .check-list li { color: var(--dark-text); }

.check-list i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .info-row,
    .info-row.reverse { gap: 2rem; }
    .info-row .info-text h2 { font-size: 1.75rem; }
    .info-row .info-text p,
    .check-list li { font-size: 1rem; }
}

@media (max-width: 768px) {
    .info-row,
    .info-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    .info-image,
    .info-row .info-text {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .info-row .info-text h2 { font-size: 1.6rem; }
    .info-row .info-text p {
        text-align: left;
        font-size: 1rem;
        line-height: 1.8;
    }
    .check-list li { justify-content: flex-start; text-align: left; }
}

@media (max-width: 480px) {
    .info-row .info-text h2 { font-size: 1.4rem; }
    .info-row .info-text p,
    .check-list li { font-size: 0.95rem; line-height: 1.7; }
}

/* =============================================================
   FEATURES
   ============================================================= */
.features-section {
    padding: 4rem 1rem;
    background: linear-gradient(
        145deg,
        rgba(230, 57, 70, 0.03),
        rgba(244, 162, 97, 0.02)
    );
    overflow-x: hidden;
}

.features-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
   background: linear-gradient(135deg, #dc2626 0%, #c1121f 50%, #991b1b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body.dark-mode .features-section .section-title {
     background: linear-gradient(135deg, #dc2626 0%, #c1121f 50%, #991b1b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-radial {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
    align-items: center;
    justify-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.feature-radial-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
    max-width: 320px;
    height: 450px;
    min-width: 0;
    perspective: 1600px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.3rem;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    will-change: transform;
}

.feature-radial-item.flipped .flip-card {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.3rem;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    overflow: hidden;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: rotateY(0deg);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
    justify-content: center;
}

.flip-card-back .feature-icon {
    color: #fff;
    background: none;
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    flex-shrink: 0;
}

.flip-card-back h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.25;
    max-width: 100%;
}

.flip-card-back .short-desc {
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 500;
    opacity: 0.95;
    max-width: 100%;
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(230, 57, 70, 0.3);
    box-shadow: 0 18px 28px -10px rgba(0, 0, 0, 0.1);
    transform: rotateY(180deg);
    overflow: hidden;
    justify-content: flex-start;
}

.flip-card-front > *:first-child { margin-top: auto; }
.flip-card-front > *:last-child  { margin-bottom: auto; }

.feature-radial-item.flipped .flip-card-front {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 57, 70, 0.35) transparent;
}

.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar { width: 5px; }
.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-track { background: transparent; }
.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.35);
    border-radius: 999px;
}
.feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb:hover {
    background: rgba(230, 57, 70, 0.55);
}

body.dark-mode .flip-card-front {
    background: rgba(17, 34, 64, 0.92);
    border-color: rgba(244, 162, 97, 0.4);
}

body.dark-mode .feature-radial-item.flipped .flip-card-front {
    scrollbar-color: rgba(244, 162, 97, 0.4) transparent;
}

body.dark-mode .feature-radial-item.flipped .flip-card-front::-webkit-scrollbar-thumb {
    background: rgba(244, 162, 97, 0.4);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

.flip-card-front h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    color: var(--light-heading);
    max-width: 100%;
    flex-shrink: 0;
}

body.dark-mode .flip-card-front h3 { color: var(--dark-heading); }

.full-desc {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
    color: var(--light-text);
    font-weight: 500;
    max-width: 100%;
}

body.dark-mode .full-desc { color: var(--dark-text); }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 14px auto 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--light-text);
    overflow-wrap: break-word;
}

body.dark-mode .feature-list li { color: var(--dark-text); }

.feature-list li i {
    width: 18px;
    min-width: 18px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 2px;
    color: var(--primary);
}

.feature-list li.no-icon { padding-left: 28px; }

.feature-list li.no-icon::before {
    content: "+";
    color: var(--primary);
    font-weight: bold;
}

.center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    z-index: 10;
    margin-bottom: 2rem;
    min-width: 0;
}

.round-image-center {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: visible;
    border: 4px solid transparent;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 auto;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    max-width: 100%;
}

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

.hint-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    white-space: nowrap;
    pointer-events: none;
    color: #0f60ae;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 96, 174, 0.12);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 20;
    transition: all 0.3s ease;
}

body.dark-mode .hint-badge {
    background: rgba(17, 34, 64, 0.82);
    color: #6bb6ff;
    border-color: rgba(255, 255, 255, 0.08);
}

.hint-badge i {
    font-size: 1rem;
    animation: spinHint 3s linear infinite;
}

@keyframes spinHint {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.pos-1 { grid-column: 1 / 2; grid-row: 1 / 2; justify-self: end; }
.pos-2 { grid-column: 3 / 4; grid-row: 1 / 2; justify-self: start; }
.pos-3 { grid-column: 1 / 2; grid-row: 2 / 3; justify-self: end; }
.pos-4 { grid-column: 3 / 4; grid-row: 2 / 3; justify-self: start; }

@media (min-width: 901px) and (max-width: 1280px) {
    .features-section { padding: 3rem 0.75rem; }
    .features-radial { gap: 1rem; }
    .feature-radial-item { max-width: 270px; height: 420px; }
    .round-image-center { width: 180px; height: 180px; }
    .hint-badge {
        transform: translateY(-140px);
        font-size: 0.9rem;
        padding: 7px 14px;
    }
    .flip-card-front,
    .flip-card-back { padding: 1.3rem; }
    .feature-icon { font-size: 2.1rem; margin-bottom: 0.55rem; }
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    .full-desc,
    .short-desc { font-size: 0.85rem; line-height: 1.42; }
    .feature-list li { font-size: 0.82rem; margin-bottom: 6px; }
}

@media (max-width: 900px) {
    .features-radial {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .center-item { order: -1; margin-bottom: 3rem; }
    .feature-radial-item {
        max-width: 100%;
        height: 370px;
        min-height: unset;
    }
    .flip-card { height: 100%; display: block; }
    .flip-card-front,
    .flip-card-back {
        position: absolute;
        inset: 0;
        height: 100%;
        padding: 1.3rem;
        border-radius: 1.2rem;
    }
    .flip-card-front {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }
    body.dark-mode .flip-card-front {
        background: rgba(17, 34, 64, 0.98);
    }
    .feature-icon { font-size: 2.2rem; margin-bottom: 0.45rem; }
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
        line-height: 1.2;
    }
    .full-desc,
    .short-desc {
        font-size: 0.86rem;
        line-height: 1.4;
        margin-bottom: 0.45rem;
    }
    .flip-card-front ul { margin: 0.3rem 0 0; padding: 0; }
    .flip-card-front li {
        font-size: 0.82rem;
        line-height: 1.4;
        margin-bottom: 4px;
    }
    .feature-details { font-size: 0.72rem; margin-top: 0.4rem; }
    .round-image-center { width: 170px; height: 170px; }
    .hint-badge {
        bottom: -34px;
        font-size: 0.88rem;
        padding: 7px 14px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .features-section { padding: 3rem 0.75rem; }
    .features-radial { gap: 0.8rem; }
    .feature-radial-item { height: 355px; }
    .flip-card-front,
    .flip-card-back { padding: 1.1rem; }
    .feature-icon { font-size: 2rem; margin-bottom: 0.4rem; }
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.18rem;
        margin-bottom: 0.3rem;
    }
    .full-desc,
    .short-desc { font-size: 0.8rem; line-height: 1.35; }
    .flip-card-front ul { margin-top: 0.25rem; }
    .flip-card-front li {
        font-size: 0.77rem;
        line-height: 1.35;
        margin-bottom: 3px;
    }
    .flip-card-front li i {
        width: 16px;
        font-size: 0.82rem;
        margin-right: 6px;
    }
    .feature-details { font-size: 0.68rem; padding: 0.25rem 0.65rem; }
    .round-image-center { width: 145px; height: 145px; }
    .hint-badge {
        bottom: -30px;
        font-size: 0.78rem;
        padding: 6px 12px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .feature-radial-item { height: 340px !important; }
    .flip-card-front,
    .flip-card-back { padding: 1.15rem; }
    .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.25rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    .full-desc,
    .short-desc {
        font-size: 0.82rem;
        line-height: 1.35;
        margin-bottom: 0.45rem;
    }
    .flip-card-front ul { margin-top: 0.25rem; padding: 0; }
    .flip-card-front li {
        font-size: 0.79rem;
        line-height: 1.35;
        margin-bottom: 3px;
    }
    .flip-card-front li i {
        width: 16px;
        font-size: 0.82rem;
        margin-right: 6px;
        flex-shrink: 0;
    }
    .round-image-center { width: 160px; height: 160px; }
}

@media (min-width: 1281px) {
    .hint-badge { transform: translateY(-170px); }
}

/* =============================================================
   OCTAGON CARDS
   ============================================================= */
.octagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.octagon-card {
    width: 255px;
    height: 275px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.6rem;
    color: #fff;
    transition:
        transform 0.75s cubic-bezier(0.2, 0.9, 0.4, 1.1),
        box-shadow 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    will-change: transform;
    transform: translateZ(0) rotate(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.octagon-card i {
    font-size: 2.9rem;
    margin-bottom: 0.9rem;
}

.octagon-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.octagon-card p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    max-width: 90%;
    word-break: break-word;
}

@media (max-width: 768px) {
    .octagon-grid { gap: 1.2rem; }
    .octagon-card {
        width: 200px;
        height: 220px;
        padding: 1.3rem;
    }
    .octagon-card i { font-size: 2.2rem; margin-bottom: 0.6rem; }
    .octagon-card h3 { font-size: 1rem; margin-bottom: 0.45rem; }
    .octagon-card p {
        font-size: 0.82rem;
        line-height: 1.35;
        max-width: 88%;
    }
}

@media (max-width: 480px) {
    .octagon-grid { gap: 1rem; }
    .octagon-card {
        width: 185px;
        height: 210px;
        padding: 1.15rem;
    }
    .octagon-card i { font-size: 2rem; }
    .octagon-card h3 { font-size: 0.95rem; }
    .octagon-card p { font-size: 0.75rem; line-height: 1.3; }
}

/* =============================================================
   VIDEO SECTION
   ============================================================= */
.video-section { padding: 3rem 0; }

.video-preview-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.video-wrapper {
    position: relative;
    width: 300px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    isolation: isolate;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: background 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-overlay { background: rgba(0, 0, 0, 0.45); }
.video-wrapper:hover .play-overlay i { transform: scale(1.08); }

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-modal.active { display: flex; opacity: 1; }

.video-modal .modal-content {
    position: relative;
    width: min(90vw, 360px);
    aspect-ratio: 9 / 16;
    max-height: 88vh;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.video-modal.active .modal-content { transform: scale(1); }

.video-modal .modal-content iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .video-section { padding: 2.5rem 0; }
    .video-wrapper { width: 280px; border-radius: 16px; }
    .play-overlay i { font-size: 3.5rem; }
    .video-modal { padding: 15px; }
    .video-modal .modal-content {
        width: min(88vw, 350px);
        max-height: 85vh;
        border-radius: 16px;
    }
    .video-modal .modal-content iframe { border-radius: 16px; }
}

@media (max-width: 480px) {
    .video-section { padding: 2rem 0; }
    .video-wrapper { width: 250px; border-radius: 14px; }
    .play-overlay i { font-size: 3.2rem; }
    .video-modal { padding: 10px; }
    .video-modal .modal-content {
        width: min(88vw, 330px);
        max-height: 82vh;
        border-radius: 14px;
    }
    .video-modal .modal-content iframe { border-radius: 14px; }
}

@media (max-height: 650px) {
    .video-modal .modal-content {
        height: 78vh;
        width: auto;
        aspect-ratio: 9 / 16;
        max-height: none;
    }
}

@media (max-height: 500px) {
    .video-modal .modal-content { height: 74vh; }
}

@media (prefers-reduced-motion: reduce) {
    .video-modal,
    .video-modal .modal-content,
    .play-overlay,
    .play-overlay i {
        transition: none;
    }
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonial-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 50px;
}

.testimonial-slider-container {
    overflow: hidden;
    border-radius: 2rem;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-6px); }

.card-inner {
    background: var(--light-card, #ffffff);
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.testimonial-card:hover .card-inner {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light, #e63946);
}

.quote-icon-wrapper {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: var(--primary, #e63946);
    opacity: 0.15;
    pointer-events: none;
}

.avatar-wrapper { margin-bottom: 1rem; }

.avatar-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary, #e63946), var(--accent, #f4a261));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
}

.avatar-circle i {
    font-size: 3.2rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.testimonial-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.4rem 0 0.2rem;
    color: var(--light-heading);
}

body.dark-mode .testimonial-card h3 { color: var(--dark-heading); }


.stars {
    color: var(--accent, #f4a261);
    font-size: 1.05rem;
    margin: 0.5rem 0 0.3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
}

.stars i {
    display: inline-block;
    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    font-size: 1.05rem;
}

.stars i.fa-star { color: var(--accent, #f4a261); }
.stars i.far.fa-star { color: var(--gray, #adb5bd); opacity: 0.6; }

.testimonial-card:hover .stars i.fa-star {
    transform: scale(1.15);
}


.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--gray, #6c757d);
    margin: 0.8rem 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-badge {
    font-size: 0.75rem;
    color: var(--secondary, #2a9d8f);
    background: rgba(42, 157, 143, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin: 0.5rem auto 0.8rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1.4rem;
    background: var(--primary, #e63946);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: pointer;
    align-self: center;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s;
}

.read-more-btn:hover {
    background: var(--primary-dark, #c1121f);
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

.read-more-btn:hover i { transform: translateX(5px); }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--slider-btn-bg, #ffffff);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
    z-index: 10;
    color: var(--slider-btn-color, #1a1a2e);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary, #e63946);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray, #adb5bd);
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 0.5;
}

.slider-dots .dot.active {
    opacity: 1;
    background: var(--primary, #e63946);
    width: 28px;
    border-radius: 10px;
}

/* =============================================================
   TESTIMONIAL MODAL
   ============================================================= */
.testimonial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1.5rem;
}

.testimonial-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-modal-box {
    background: var(--light-card, #ffffff);
    max-width: 640px;
    width: 100%;
    border-radius: 2.5rem;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
    scrollbar-width: thin;
    scrollbar-color: var(--primary, #e63946) rgba(0, 0, 0, 0.04);
}

.testimonial-modal-box::-webkit-scrollbar { width: 7px; }
.testimonial-modal-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    margin: 0.8rem 0;
}
.testimonial-modal-box::-webkit-scrollbar-thumb {
    background: var(--primary, #e63946);
    border-radius: 20px;
    transition: background 0.2s;
}
.testimonial-modal-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #c1121f);
}

.testimonial-modal-overlay.active .testimonial-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.testimonial-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    font-size: 1.5rem;
    color: var(--gray, #6c757d);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-modal-close:hover {
    background: var(--primary, #e63946);
    color: #fff;
    transform: rotate(90deg);
}

.modal-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, var(--primary, #e63946), var(--accent, #f4a261));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
    color: #fff;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.2);
}

.modal-name {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light-heading);
    margin: 0.1rem 0 0.1rem;
    letter-spacing: -0.3px;
}

body.dark-mode .modal-name { color: #f8f9fa; }

/* ---- Modal stars (icon-based) ---- */
.modal-stars {
    text-align: center;
    color: var(--accent, #f4a261);
    margin: 0.3rem 0 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}

.modal-stars i {
    font-size: 1.35rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.modal-stars i.fa-star { color: var(--accent, #f4a261); }
.modal-stars i.far.fa-star { color: var(--gray, #adb5bd); opacity: 0.6; }

.modal-full-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--gray, #343a40);
    text-align: left;
    padding: 1.5rem 1.2rem 1rem;
    margin: 0.8rem 0 0.5rem;
    background: rgba(230, 57, 70, 0.02);
    border-radius: 1.2rem;
    border-left: 4px solid var(--primary, #e63946);
    position: relative;
    font-style: normal;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.modal-full-text::before {
    content: '\201C';
    font-size: 4.5rem;
    color: var(--primary, #e63946);
    opacity: 0.12;
    position: absolute;
    top: -0.2rem;
    left: 0.2rem;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.modal-full-text::after {
    content: '—';
    display: block;
    text-align: right;
    font-size: 2rem;
    color: var(--primary, #e63946);
    opacity: 0.2;
    margin-top: 0.5rem;
    font-family: Georgia, serif;
}

.modal-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 157, 143, 0.1);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary, #2a9d8f);
    margin: 0.8rem auto 0;
    width: fit-content;
    justify-content: center;
}

body.dark-mode .testimonial-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

body.dark-mode .card-inner {
    background: var(--dark-card, #2d2d44);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .testimonial-card:hover .card-inner {
    border-color: var(--primary-light, #e63946);
}

body.dark-mode .testimonial-modal-box {
    background: var(--dark-card, #2d2d44);
    border-color: rgba(255, 255, 255, 0.06);
    scrollbar-color: var(--primary-light, #e63946) rgba(255, 255, 255, 0.05);
}

body.dark-mode .testimonial-modal-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
body.dark-mode .testimonial-modal-box::-webkit-scrollbar-thumb {
    background: var(--primary-light, #e63946);
}
body.dark-mode .testimonial-modal-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary, #e63946);
}

body.dark-mode .modal-full-text {
    color: #e9ecef;
    background: rgba(255, 255, 255, 0.03);
    border-left-color: var(--primary-light, #e63946);
}

body.dark-mode .modal-full-text::before {
    color: var(--primary-light, #e63946);
}

body.dark-mode .testimonial-modal-close {
    background: rgba(255, 255, 255, 0.08);
    color: #ced4da;
}

body.dark-mode .testimonial-modal-close:hover {
    background: var(--primary, #e63946);
    color: #fff;
}

body.dark-mode .modal-verified {
    background: rgba(42, 157, 143, 0.2);
}

body.dark-mode .slider-btn {
    background: var(--dark-card, #2d2d44);
    color: #f8f9fa;
}

body.dark-mode .slider-btn:hover {
    background: var(--primary, #e63946);
    color: #fff;
}

@media (max-width: 992px) {
    .testimonial-card { flex: 0 0 calc(50% - 1rem); }
}

@media (max-width: 768px) {
    .testimonial-slider-wrapper { padding: 0 30px; }
    .testimonial-card { flex: 0 0 100%; }
    .slider-btn { width: 40px; height: 40px; font-size: 1rem; }
    .slider-prev { left: -10px; }
    .slider-next { right: -10px; }

    .testimonial-modal-box {
        padding: 1.8rem 1.5rem 1.5rem;
        border-radius: 2rem;
        max-width: 95%;
    }
    .modal-avatar { width: 70px; height: 70px; font-size: 2.8rem; }
    .modal-name { font-size: 1.3rem; }
    .modal-stars i { font-size: 1.15rem; }
    .modal-full-text { font-size: 1rem; padding: 1rem 0.8rem; line-height: 1.8; }
    .modal-full-text::before { font-size: 3rem; }
}

@media (max-width: 480px) {
    .testimonial-modal-box {
        padding: 1.2rem 1rem 1.2rem;
        border-radius: 1.5rem;
    }
    .modal-avatar { width: 60px; height: 60px; font-size: 2.4rem; }
    .modal-full-text { font-size: 0.95rem; padding: 0.8rem 0.6rem; }
}

/* =============================================================
   DRIVING HERO RESPONSIVE
   ============================================================= */
@media (min-width: 1001px) and (max-width: 1280px) {
    .driving-hero__container { width: calc(100% - 50px); gap: 30px; }
    .driving-hero__licenses { max-width: 560px; flex: 0 0 50%; }
    .driving-hero__cards { gap: 10px; }
    .license-card { padding: 20px 12px 16px; border-radius: 14px; }
    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .driving-hero {
        min-height: 750px;
        max-height: none;
        height: auto;
    }
    .driving-hero__container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: calc(100% - 40px);
        gap: 30px;
        padding: 90px 0 60px;
        height: auto;
        min-height: 750px;
    }
    .driving-hero__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: block;
        margin-top: 0;
    }
    .driving-hero__title { font-size: clamp(40px, 6vw, 54px); }
    .driving-hero__licenses {
        flex: 0 0 auto;
        width: 100%;
        max-width: 720px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
    .license-card {
        padding: 18px 12px 16px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }
    .license-card:hover { transform: translateY(-8px) scale(1.02); }
}

@media (max-width: 768px) {
    .driving-hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }
    .driving-hero__container {
        width: calc(100% - 30px);
        padding: 90px 0 90px;
        gap: 28px;
        min-height: 100vh;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    .driving-hero__content {
        width: 100%;
        margin: 0;
        flex: 0 0 auto;
        display: block;
    }
    .driving-hero__title { font-size: clamp(36px, 9vw, 46px); }
    .driving-hero__text { font-size: 14px; margin-top: 18px; }
    .driving-hero__actions { margin-top: 25px; gap: 16px; flex-wrap: nowrap; }
    .driving-hero__cta {
        font-size: 12.5px;
        min-height: 50px;
        padding: 4px 18px 4px 4px;
    }
    .driving-hero__cta-icon { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__location { font-size: 11px; }
    .driving-hero__licenses {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        flex: 0 0 auto;
        width: 100%;
    }
    .driving-hero__licenses-title strong { font-size: 15px; }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .license-card {
        padding: 18px 16px 16px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
        padding: 0 6px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 14px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }
    .license-card:hover { transform: translateY(-6px) scale(1.02); }
    .driving-hero__navigation { left: 15px; bottom: 20px; }
}

@media (max-width: 600px) {
    .driving-hero__container {
        width: calc(100% - 30px);
        padding: 95px 0 90px;
        gap: 20px;
        min-height: 100vh;
        justify-content: flex-start;
    }
    .driving-hero__eyebrow { margin-bottom: 14px; font-size: 9.5px; }
    .driving-hero__title {
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }
    .driving-hero__text {
        font-size: 13px;
        margin-top: 14px;
        line-height: 1.6;
    }
    .driving-hero__actions { margin-top: 20px; gap: 12px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta {
        font-size: 12px;
        min-height: 46px;
        padding: 4px 16px 4px 4px;
        gap: 10px;
    }
    .driving-hero__cta-icon { width: 38px; height: 38px; font-size: 13px; }
    .driving-hero__location { font-size: 10.5px; gap: 6px; }
    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__licenses-title span   { font-size: 9px;  }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .license-card {
        padding: 16px 14px 14px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; }
    .license-card__more i        { font-size: 8px;  }
    .license-card:hover { transform: translateY(-4px) scale(1.02); }

    .license-modal__info { grid-template-columns: 1fr; }
    .license-modal__box { border-radius: 18px; max-height: calc(100vh - 30px); }
    .license-modal__header { padding: 22px 55px 20px 22px; gap: 14px; }
    .license-modal__class {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        font-size: 16px;
        border-radius: 13px;
    }
    .license-modal__header h2 { font-size: 18px; }
    .license-modal__content { padding: 20px 22px 24px; }
}

@media (max-width: 480px) {
    .driving-hero__container {
        width: calc(100% - 24px);
        padding: 100px 0 90px;
        gap: 18px;
        justify-content: flex-start;
    }
    .driving-hero__eyebrow {
        font-size: 9px;
        margin-bottom: 12px;
        gap: 8px;
    }
    .driving-hero__eyebrow-line { width: 22px; }
    .driving-hero__title {
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }
    .driving-hero__text {
        font-size: 12.5px;
        line-height: 1.6;
        margin-top: 12px;
    }
    .driving-hero__actions {
        margin-top: 18px;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }
    .driving-hero__cta {
        font-size: 11.5px;
        min-height: 42px;
        padding: 3px 14px 3px 3px;
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location {
        font-size: 10px;
        gap: 5px;
        flex-shrink: 1;
        min-width: 0;
    }
    .driving-hero__location i { font-size: 10px; }
    .driving-hero__licenses-title { margin-bottom: 12px; gap: 8px; }
    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    .license-card { padding: 14px 12px 12px; border-radius: 13px; }
    .license-card__label { font-size: 6.5px; letter-spacing: 0.12em; }
    .license-card__number {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        padding: 0 5px;
        border-radius: 9px;
    }
    .license-card__top { margin-bottom: 8px; }
    .license-card__bottom strong { font-size: 13px; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }
    .driving-hero__navigation { left: 12px; bottom: 16px; gap: 7px; }
    .driving-hero__nav { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }

    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 24px); }
    .license-modal__close { top: 12px; right: 12px; width: 32px; height: 32px; }
    .license-modal__header { padding: 20px 50px 16px 18px; gap: 12px; }
    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }
    .license-modal__header h2   { font-size: 16px; }
    .license-modal__header span { font-size: 7px;  }
    .license-modal__content { padding: 18px 18px 22px; }
    .license-modal__content > p { font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
    .license-modal__info-item { padding: 12px; border-radius: 10px; }
    .license-modal__info-item strong { font-size: 10.5px; }
    .license-modal__cta {
        font-size: 10.5px;
        padding: 11px 16px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .driving-hero__container {
        width: calc(100% - 20px);
        padding: 90px 0 80px;
        gap: 14px;
    }
    .driving-hero__title {
        font-size: clamp(23px, 7.5vw, 28px);
        letter-spacing: -0.03em;
    }
    .driving-hero__text {
        font-size: 11.5px;
        margin-top: 10px;
        line-height: 1.55;
    }
    .driving-hero__eyebrow {
        font-size: 8px;
        gap: 7px;
        margin-bottom: 12px;
    }
    .driving-hero__eyebrow-line { width: 20px; }
    .driving-hero__actions {
        margin-top: 16px;
        gap: 9px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 10.5px;
        min-height: 38px;
        padding: 3px 11px 3px 3px;
        gap: 6px;
    }
    .driving-hero__cta-icon { width: 30px; height: 30px; font-size: 10px; }
    .driving-hero__location { font-size: 9px; gap: 4px; }
    .driving-hero__location i { font-size: 8.5px; }
    .driving-hero__licenses-title strong { font-size: 12px; }
    .driving-hero__licenses-title span   { font-size: 7.5px; }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .license-card { padding: 11px 9px 9px; border-radius: 12px; }
    .license-card__label { font-size: 6px; letter-spacing: 0.1em; }
    .license-card__number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 5px;
        border-radius: 8px;
    }
    .license-card__bottom strong { font-size: 11.5px; }
    .license-card__more          { font-size: 9px;  }
    .license-card__more i        { display: none;   }
    .driving-hero__navigation { left: 10px; bottom: 14px; }
    .driving-hero__nav { width: 32px; height: 32px; font-size: 11px; }
    .license-modal__class {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        font-size: 13px;
    }
    .license-modal__header h2 { font-size: 15px; }
    .license-modal__content > p { font-size: 11.5px; }
}

@media (max-width: 320px) {
    .driving-hero__container {
        width: calc(100% - 16px);
        padding: 85px 0 75px;
        gap: 12px;
    }
    .driving-hero__title { font-size: 21px; }
    .driving-hero__text  { font-size: 11px; }
    .driving-hero__licenses-title strong { font-size: 11px; }
    .driving-hero__licenses-title span   { font-size: 7px;  }
    .driving-hero__actions {
        gap: 8px;
        margin-top: 14px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 10px;
        min-height: 36px;
        padding: 3px 10px 3px 3px;
        gap: 6px;
    }
    .driving-hero__cta-icon { width: 28px; height: 28px; font-size: 10px; }
    .driving-hero__location { font-size: 8.5px; gap: 3px; }
    .driving-hero__location i { font-size: 8px; }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
    .license-card { padding: 10px 8px 9px; }
    .license-card__number { min-width: 30px; height: 30px; font-size: 11px; }
    .license-card__bottom strong { font-size: 11px; }
    .license-card__more          { font-size: 8.5px; }
}

@media (max-width: 480px) and (max-height: 700px) {
    .driving-hero__container { padding: 90px 0 80px; gap: 14px; }
    .driving-hero__title {
        font-size: clamp(24px, 7.5vw, 30px);
        line-height: 1.08;
    }
    .driving-hero__text {
        font-size: 12px;
        margin-top: 10px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__actions { margin-top: 14px; gap: 10px; }
    .license-card { padding: 12px 10px 10px; }
    .license-card__number { min-width: 34px; height: 34px; font-size: 13px; }
    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9.5px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .driving-hero {
        min-height: 100vh;
        height: auto;
        max-height: none;
    }
    .driving-hero__container {
        padding: 70px 0 50px;
        gap: 18px;
        min-height: 100vh;
    }
    .driving-hero__title { font-size: clamp(24px, 4.5vw, 34px); }
    .driving-hero__text {
        font-size: 12px;
        margin-top: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__actions { margin-top: 12px; gap: 14px; flex-wrap: nowrap; }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .driving-hero__navigation { bottom: 12px; }
    .license-card { padding: 12px 10px 10px; }
    .license-card__number { min-width: 34px; height: 34px; font-size: 13px; }
    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9px;  }
}

@media (hover: none) and (pointer: coarse) {
    .license-card:hover {
        transform: none;
        border-color: inherit;
        background: rgba(18, 22, 28, 0.75);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    .license-card:hover .license-card__number { transform: none; }
    .license-card:hover .license-card__glow   { opacity: 0;    }
    .license-card:hover .license-card__accent { width: 0;      }
    .license-card:hover .license-card__more   {
        color: rgba(255, 255, 255, 0.35);
        gap: 6px;
    }
    .license-card:active {
        transform: scale(0.98);
        background: rgba(24, 28, 35, 0.92);
    }
    .driving-hero__cta:hover,
    .driving-hero__nav:hover,
    .license-modal__close:hover,
    .license-modal__cta:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .driving-hero__light,
    .driving-hero__slide,
    .license-card,
    .driving-hero__licenses-title > i,
    .license-modal,
    .license-modal__box {
        animation: none !important;
        transition: none !important;
    }
    .license-card { opacity: 1; transform: none; }
}

@media only screen
    and (min-width: 390px)
    and (max-width: 500px)
    and (min-height: 800px)
    and (orientation: portrait) {
    .driving-hero__container {
        width: calc(100% - 32px);
        padding: 110px 0 100px;
        gap: 26px;
        justify-content: flex-start;
    }
    .driving-hero__eyebrow { font-size: 10.5px; margin-bottom: 16px; gap: 10px; }
    .driving-hero__eyebrow-line { width: 26px; }
    .driving-hero__title { font-size: 42px; line-height: 1.05; letter-spacing: -0.04em; }
    .driving-hero__text {
        font-size: 15px;
        line-height: 1.65;
        margin-top: 18px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions { margin-top: 26px; gap: 18px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta {
        font-size: 14px;
        min-height: 54px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
    }
    .driving-hero__cta-icon { width: 44px; height: 44px; font-size: 15px; }
    .driving-hero__location { font-size: 12.5px; gap: 7px; }
    .driving-hero__location i { font-size: 12px; }
    .driving-hero__licenses-title { margin-bottom: 18px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 17px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 12px; }
    .driving-hero__cards { gap: 14px; }
    .license-card { padding: 20px 18px 18px; border-radius: 16px; }
    .license-card__top { margin-bottom: 12px; gap: 8px; }
    .license-card__label { font-size: 8px; letter-spacing: 0.14em; }
    .license-card__number {
        min-width: 48px;
        height: 48px;
        font-size: 18px;
        padding: 0 7px;
        border-radius: 12px;
    }
    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more          { font-size: 12px;   gap: 7px; }
    .license-card__more i        { font-size: 10px; }
    .driving-hero__navigation { left: 16px; bottom: 22px; gap: 9px; }
    .driving-hero__nav { width: 40px; height: 40px; font-size: 13px; }
    .driving-hero__dots .dot        { width: 16px; }
    .driving-hero__dots .dot.active { width: 32px; }

    .license-modal { padding: 18px; }
    .license-modal__box { border-radius: 20px; max-height: calc(100vh - 36px); }
    .license-modal__header { padding: 24px 56px 22px 24px; gap: 15px; }
    .license-modal__class {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        font-size: 16px;
        border-radius: 14px;
    }
    .license-modal__header h2   { font-size: 20px; }
    .license-modal__header span { font-size: 9px;  }
    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
    .license-modal__info-item { padding: 15px; border-radius: 12px; }
    .license-modal__info-item span   { font-size: 9px;    }
    .license-modal__info-item strong { font-size: 12.5px; }
    .license-modal__cta { font-size: 12.5px; padding: 13px 22px; }
}

@media only screen
    and (min-width: 390px)
    and (max-width: 500px)
    and (max-height: 799px)
    and (orientation: portrait) {
    .driving-hero__container { padding: 95px 0 85px; gap: 22px; }
    .driving-hero__title     { font-size: 36px; line-height: 1.05; }
    .driving-hero__text      { font-size: 14px; margin-top: 14px; }
    .driving-hero__cta { font-size: 13px; min-height: 50px; padding: 4px 18px 4px 4px; }
    .driving-hero__cta-icon { width: 40px; height: 40px; font-size: 14px; }
    .driving-hero__location { font-size: 11.5px; }
    .license-card { padding: 17px 15px 15px; }
    .license-card__number { min-width: 44px; height: 44px; font-size: 17px; }
    .license-card__bottom strong { font-size: 14.5px; }
    .license-card__more          { font-size: 11px;   }
}

@media only screen
    and (min-width: 360px)
    and (max-width: 375px)
    and (max-height: 667px)
    and (orientation: portrait) {
    .driving-hero__container { padding: 100px 0 80px; gap: 16px; justify-content: flex-start; }
    .driving-hero__title {
        font-size: 28px;
        line-height: 1.05;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .driving-hero__text {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__eyebrow { font-size: 8.5px; margin-bottom: 12px; gap: 8px; }
    .driving-hero__eyebrow-line { width: 22px; }
    .driving-hero__actions { margin-top: 16px; gap: 10px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 11px; min-height: 40px; padding: 3px 14px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10px; gap: 5px; }
    .driving-hero__location i { font-size: 10px; }
    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }
    .driving-hero__licenses-title        { margin-bottom: 12px; gap: 8px; }
    .driving-hero__cards { gap: 9px; }
    .license-card { padding: 13px 11px 11px; border-radius: 12px; }
    .license-card__label { font-size: 6.5px; letter-spacing: 0.12em; }
    .license-card__number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }
    .license-card__top { margin-bottom: 8px; }
    .license-card__bottom strong { font-size: 12px; line-height: 1.2; }
    .license-card__more          { font-size: 9.5px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }
    .driving-hero__navigation { left: 12px; bottom: 14px; gap: 7px; }
    .driving-hero__nav { width: 32px; height: 32px; font-size: 11px; }
    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }

    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 24px); }
    .license-modal__header { padding: 20px 48px 16px 18px; gap: 12px; }
    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }
    .license-modal__header h2 { font-size: 16px; }
    .license-modal__header span { font-size: 7px; }
    .license-modal__content { padding: 18px 18px 22px; }
    .license-modal__content > p { font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
    .license-modal__info-item { padding: 12px; border-radius: 10px; }
    .license-modal__info-item strong { font-size: 10.5px; }
    .license-modal__cta {
        font-size: 10.5px;
        padding: 11px 16px;
        width: 100%;
        justify-content: center;
    }
}

@media only screen
    and (max-width: 320px)
    and (max-height: 568px)
    and (orientation: portrait) {
    .driving-hero__container { padding: 90px 0 70px; gap: 14px; }
    .driving-hero__title { font-size: 24px; line-height: 1.08; }
    .driving-hero__text  { font-size: 11.5px; -webkit-line-clamp: 3; }
    .driving-hero__cta { font-size: 10.5px; min-height: 38px; padding: 3px 12px 3px 3px; }
    .driving-hero__cta-icon { width: 30px; height: 30px; font-size: 11px; }
    .driving-hero__location { font-size: 9.5px; }
    .license-card { padding: 11px 9px 9px; }
    .license-card__number { min-width: 32px; height: 32px; font-size: 12px; }
    .license-card__bottom strong { font-size: 11.5px; }
    .license-card__more          { font-size: 9px; }
}

@media only screen
    and (min-width: 740px)
    and (max-width: 900px)
    and (min-height: 1000px)
    and (orientation: portrait) {
    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 60px;
    }
    .driving-hero__container {
        width: calc(100% - 80px);
        max-width: 780px;
        height: auto;
        min-height: auto;
        padding: 120px 0 60px;
        gap: 44px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .driving-hero__content { flex: 0 0 auto; width: 100%; max-width: 100%; display: block; margin-top: 0; }
    .driving-hero__eyebrow { font-size: 11px; margin-bottom: 20px; gap: 11px; letter-spacing: 0.19em; }
    .driving-hero__eyebrow-line { width: 30px; height: 2px; }
    .driving-hero__title { font-size: clamp(46px, 6vw, 62px); line-height: 1.03; letter-spacing: -0.045em; }
    .driving-hero__text {
        font-size: 16px;
        line-height: 1.7;
        margin-top: 20px;
        max-width: 640px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions { margin-top: 28px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 14px; min-height: 56px; padding: 5px 24px 5px 5px; gap: 13px; }
    .driving-hero__cta-icon { width: 46px; height: 46px; font-size: 15px; }
    .driving-hero__location { font-size: 13px; gap: 8px; }
    .driving-hero__location i { font-size: 13px; }
    .driving-hero__licenses { flex: 0 0 auto; width: 100%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 20px; gap: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }
    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 10px; gap: 7px; }
    .license-card__label { font-size: 8px; letter-spacing: 0.15em; }
    .license-card__number {
        min-width: 52px;
        height: 52px;
        font-size: 19px;
        padding: 0 8px;
        border-radius: 13px;
    }
    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more { font-size: 12px; gap: 7px; }
    .license-card__more i { font-size: 10px; }
    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }
    .driving-hero__nav { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__dots .dot        { width: 18px; height: 2.5px; }
    .driving-hero__dots .dot.active { width: 38px; }

    .license-modal { padding: 34px; }
    .license-modal__box { width: min(720px, 100%); border-radius: 22px; max-height: calc(100vh - 68px); }
    .license-modal__header { padding: 28px 70px 26px 28px; gap: 20px; }
    .license-modal__class {
        width: 68px;
        height: 68px;
        flex: 0 0 68px;
        font-size: 20px;
        border-radius: 16px;
    }
    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info { gap: 10px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; gap: 11px; }
}

@media only screen
    and (min-width: 901px)
    and (max-width: 1100px)
    and (min-height: 1200px)
    and (orientation: portrait) {
    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 80px;
    }
    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1200px;
        height: auto;
        min-height: auto;
        padding: 130px 0 60px;
        gap: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .driving-hero__content { flex: 0 0 46%; max-width: 560px; display: flex; flex-direction: column; justify-content: center; }
    .driving-hero__eyebrow { font-size: 12px; margin-bottom: 22px; gap: 12px; }
    .driving-hero__eyebrow-line { width: 32px; height: 2px; }
    .driving-hero__title { font-size: clamp(52px, 5.5vw, 68px); line-height: 1.03; letter-spacing: -0.05em; }
    .driving-hero__text { font-size: 16px; line-height: 1.7; margin-top: 22px; }
    .driving-hero__actions { margin-top: 30px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 14px; min-height: 56px; padding: 5px 24px 5px 5px; gap: 13px; }
    .driving-hero__cta-icon { width: 46px; height: 46px; font-size: 15px; }
    .driving-hero__location { font-size: 13px; gap: 8px; }
    .driving-hero__location i { font-size: 13px; }
    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 20px; gap: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }
    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__number {
        min-width: 50px;
        height: 50px;
        font-size: 18px;
        padding: 0 8px;
        border-radius: 12px;
    }
    .license-card__bottom strong { font-size: 15px; line-height: 1.25; }
    .license-card__more          { font-size: 11.5px; }
    .license-card__more i        { font-size: 10px; }
    .driving-hero__navigation { position: absolute; left: 50px; bottom: 30px; gap: 10px; }
    .driving-hero__nav { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }

    .license-modal { padding: 40px; }
    .license-modal__box { width: min(760px, 100%); border-radius: 22px; max-height: calc(100vh - 80px); }
    .license-modal__header { padding: 30px 74px 28px 30px; gap: 20px; }
    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }
    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; }
}

@media only screen
    and (min-width: 1000px)
    and (max-width: 1400px)
    and (max-height: 1100px)
    and (min-height: 700px)
    and (orientation: landscape) {
    .driving-hero {
        height: 100vh;
        min-height: 700px;
        max-height: 100vh;
    }
    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1300px;
        height: 100%;
        padding: 60px 0 60px;
        gap: 50px;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
    }
    .driving-hero__content { flex: 0 0 46%; max-width: 580px; display: flex; flex-direction: column; justify-content: center; margin-top: 0; }
    .driving-hero__eyebrow { font-size: 11px; margin-bottom: 20px; gap: 11px; }
    .driving-hero__eyebrow-line { width: 30px; height: 2px; }
    .driving-hero__title { font-size: clamp(42px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -0.05em; }
    .driving-hero__text {
        font-size: 15px;
        line-height: 1.7;
        margin-top: 20px;
        max-width: 540px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions { margin-top: 26px; gap: 22px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 13.5px; min-height: 54px; padding: 5px 22px 5px 5px; gap: 12px; }
    .driving-hero__cta-icon { width: 44px; height: 44px; font-size: 14px; }
    .driving-hero__location { font-size: 12.5px; gap: 7px; }
    .driving-hero__location i { font-size: 12px; }
    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: auto; margin-bottom: 40px; }
    .driving-hero__licenses-title { margin-bottom: 18px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 17px; }
    .driving-hero__licenses-title span   { font-size: 10.5px; }
    .driving-hero__licenses-title > i    { font-size: 12px; }
    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .license-card {
        padding: 20px 14px 16px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 10px; gap: 6px; }
    .license-card__label { font-size: 7.5px; letter-spacing: 0.14em; }
    .license-card__number {
        min-width: 46px;
        height: 46px;
        font-size: 17px;
        padding: 0 7px;
        border-radius: 11px;
    }
    .license-card__bottom strong { font-size: 14.5px; line-height: 1.25; }
    .license-card__more          { font-size: 11px; gap: 6px; }
    .license-card__more i        { font-size: 9px; }
    .driving-hero__navigation { left: max(40px, calc((100% - 1300px) / 2)); bottom: 26px; gap: 10px; }
    .driving-hero__nav { width: 42px; height: 42px; font-size: 13px; }
    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }

    .license-modal { padding: 30px; }
    .license-modal__box { width: min(720px, 100%); border-radius: 22px; max-height: calc(100vh - 60px); }
    .license-modal__header { padding: 28px 70px 26px 28px; gap: 20px; }
    .license-modal__class {
        width: 66px;
        height: 66px;
        flex: 0 0 66px;
        font-size: 20px;
        border-radius: 16px;
    }
    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info { gap: 10px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; gap: 11px; }
}

@media only screen
    and (min-width: 1300px)
    and (max-width: 1450px)
    and (max-height: 1100px)
    and (min-height: 900px)
    and (orientation: landscape) {
    .driving-hero__container { width: calc(100% - 120px); max-width: 1300px; gap: 60px; }
    .driving-hero__title     { font-size: clamp(52px, 4.2vw, 66px); }
    .driving-hero__text      { font-size: 15.5px; }
    .driving-hero__cards     { gap: 16px; }
    .license-card            { padding: 22px 16px 18px; }
    .license-card__number    { min-width: 52px; height: 52px; font-size: 19px; }
    .license-card__bottom strong { font-size: 15.5px; }
    .license-card__more          { font-size: 12px; }
    .driving-hero__licenses-title strong { font-size: 18px; }
}

@media only screen
    and (min-width: 320px)
    and (max-width: 380px)
    and (orientation: portrait) {
    .driving-hero { height: auto; min-height: 100vh; max-height: none; }
    .driving-hero__container {
        width: calc(100% - 28px);
        padding: 100px 0 80px;
        gap: 18px;
        min-height: 100vh;
        justify-content: flex-start;
    }
    .driving-hero__eyebrow { font-size: 8.5px; gap: 8px; margin-bottom: 12px; }
    .driving-hero__eyebrow-line { width: 22px; }
    .driving-hero__title { font-size: clamp(26px, 8vw, 32px); line-height: 1.08; letter-spacing: -0.03em; }
    .driving-hero__text {
        font-size: 12.5px;
        line-height: 1.55;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__actions { margin-top: 18px; gap: 10px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 11.5px; min-height: 42px; padding: 3px 14px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10px; gap: 5px; }
    .driving-hero__licenses-title { margin-bottom: 12px; gap: 8px; }
    .driving-hero__licenses-title strong { font-size: 13px; }
    .driving-hero__licenses-title span   { font-size: 8px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }
    .driving-hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .license-card { padding: 13px 11px 11px; border-radius: 12px; }
    .license-card__label { font-size: 6.5px; letter-spacing: 0.1em; }
    .license-card__number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }
    .license-card__bottom strong { font-size: 12px; line-height: 1.2; }
    .license-card__more          { font-size: 9.5px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }
    .driving-hero__navigation { left: 12px; bottom: 16px; gap: 7px; }
    .driving-hero__nav { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__dots .dot        { width: 14px; }
    .driving-hero__dots .dot.active { width: 28px; }
    .license-modal { padding: 12px; }
    .license-modal__box { border-radius: 16px; }
    .license-modal__class {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 14px;
        border-radius: 12px;
    }
    .license-modal__header { padding: 20px 48px 16px 18px; gap: 12px; }
    .license-modal__header h2 { font-size: 16px; }
    .license-modal__info { grid-template-columns: 1fr; }
}

@media only screen
    and (min-width: 660px)
    and (max-width: 820px)
    and (orientation: portrait) {
    .driving-hero { height: auto; min-height: auto; max-height: none; padding-bottom: 60px; }
    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 720px;
        padding: 110px 0 50px;
        gap: 30px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .driving-hero__content { flex: 0 0 auto; width: 100%; max-width: 100%; display: block; margin-top: 0; }
    .driving-hero__eyebrow { font-size: 10px; gap: 10px; margin-bottom: 16px; }
    .driving-hero__eyebrow-line { width: 26px; }
    .driving-hero__title { font-size: clamp(38px, 6vw, 48px); line-height: 1.03; letter-spacing: -0.04em; }
    .driving-hero__text {
        font-size: 14.5px;
        line-height: 1.65;
        margin-top: 16px;
        max-width: 100%;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions { margin-top: 24px; gap: 18px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 13px; min-height: 50px; padding: 4px 20px 4px 4px; gap: 11px; }
    .driving-hero__cta-icon { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__location { font-size: 11.5px; gap: 7px; }
    .driving-hero__location i { font-size: 11.5px; }
    .driving-hero__licenses { width: 100%; max-width: 100%; margin-top: 0; margin-bottom: 0; }
    .driving-hero__licenses-title { margin-bottom: 16px; gap: 10px; }
    .driving-hero__licenses-title strong { font-size: 16px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 11px; }
    .driving-hero__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .license-card {
        padding: 18px 12px 15px;
        border-radius: 14px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 8px; gap: 5px; }
    .license-card__label { font-size: 7px; letter-spacing: 0.13em; }
    .license-card__number {
        min-width: 42px;
        height: 42px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 13px; line-height: 1.22; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }
    .driving-hero__navigation { left: 20px; bottom: 20px; gap: 8px; }
    .driving-hero__nav { width: 38px; height: 38px; font-size: 12px; }
    .driving-hero__dots .dot        { width: 16px; }
    .driving-hero__dots .dot.active { width: 32px; }
    .license-modal { padding: 22px; }
    .license-modal__box { border-radius: 20px; }
    .license-modal__header { padding: 24px 56px 22px 24px; gap: 16px; }
    .license-modal__class {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        font-size: 17px;
        border-radius: 14px;
    }
    .license-modal__header h2 { font-size: 20px; }
    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 14px; margin-bottom: 18px; }
    .license-modal__cta { font-size: 12px; padding: 12px 20px; }
}

@media only screen
    and (min-width: 660px)
    and (max-width: 820px)
    and (max-height: 560px)
    and (orientation: landscape) {
    .driving-hero { height: 100vh; min-height: 500px; max-height: 100vh; }
    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 780px;
        height: 100%;
        padding: 50px 0 40px;
        gap: 30px;
        flex-direction: row;
        align-items: stretch;
    }
    .driving-hero__content { flex: 0 0 46%; max-width: 380px; display: flex; flex-direction: column; justify-content: center; }
    .driving-hero__title { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.05; }
    .driving-hero__text {
        font-size: 12px;
        line-height: 1.55;
        margin-top: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__actions { margin-top: 16px; gap: 14px; flex-wrap: nowrap; align-items: center; }
    .driving-hero__cta { font-size: 11.5px; min-height: 42px; padding: 3px 16px 3px 3px; gap: 8px; }
    .driving-hero__cta-icon { width: 34px; height: 34px; font-size: 12px; }
    .driving-hero__location { font-size: 10.5px; gap: 5px; }
    .driving-hero__licenses { flex: 0 0 50%; max-width: 100%; margin-top: auto; margin-bottom: 20px; }
    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .license-card { padding: 12px 10px 10px; border-radius: 12px; }
    .license-card__number { min-width: 36px; height: 36px; font-size: 13px; }
    .license-card__bottom strong { font-size: 12px; }
    .license-card__more          { font-size: 9px;  }
    .driving-hero__navigation { left: 20px; bottom: 14px; }
    .driving-hero__nav { width: 32px; height: 32px; font-size: 11px; }
}

@media only screen
    and (min-width: 380px)
    and (max-width: 432px)
    and (min-height: 800px)
    and (orientation: portrait) {
    .driving-hero__container { padding: 105px 0 95px; gap: 22px; }
    .driving-hero__title     { font-size: clamp(36px, 9vw, 44px); }
    .driving-hero__text      { font-size: 14.5px; line-height: 1.65; }
    .driving-hero__cta { font-size: 13.5px; min-height: 52px; padding: 4px 20px 4px 4px; }
    .driving-hero__cta-icon { width: 42px; height: 42px; font-size: 14px; }
    .driving-hero__location { font-size: 12px; }
    .license-card { padding: 18px 16px 16px; }
    .license-card__number { min-width: 46px; height: 46px; font-size: 17px; }
    .license-card__bottom strong { font-size: 15px; }
    .license-card__more          { font-size: 11.5px; }
}

@media only screen
    and (min-width: 1281px)
    and (max-width: 1500px)
    and (min-height: 850px)
    and (max-height: 1050px)
    and (orientation: landscape) {
    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    .driving-hero__container {
        width: calc(100% - 80px);
        max-width: 1300px;
        height: 100%;
        padding: 50px 0 70px;
        gap: 44px;
        flex-direction: row;
        align-items: stretch;
    }
    .driving-hero__content {
        flex: 0 0 46%;
        max-width: 620px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }
    .driving-hero__title {
        font-size: clamp(46px, 4.7vw, 62px);
        line-height: 1.03;
        letter-spacing: -0.05em;
    }
    .driving-hero__text {
        font-size: 14.5px;
        line-height: 1.68;
        margin-top: 20px;
        max-width: 540px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions {
        margin-top: 26px;
        gap: 22px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 13px;
        min-height: 52px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
    }
    .driving-hero__cta-icon {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
    .driving-hero__location {
        font-size: 12px;
        gap: 7px;
    }
    .driving-hero__location i { font-size: 12px; }
    .driving-hero__licenses {
        flex: 0 0 50%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 40px;
    }
    .driving-hero__licenses-title {
        margin-bottom: 16px;
        gap: 10px;
    }
    .driving-hero__licenses-title strong { font-size: 16px; }
    .driving-hero__licenses-title span   { font-size: 10px; }
    .driving-hero__licenses-title > i    { font-size: 11px; }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
    .license-card {
        padding: 20px 14px 16px;
        border-radius: 15px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 9px; gap: 6px; }
    .license-card__label { font-size: 7.5px; letter-spacing: 0.14em; }
    .license-card__number {
        min-width: 46px;
        height: 46px;
        font-size: 16px;
        padding: 0 7px;
        border-radius: 11px;
    }
    .license-card__bottom strong { font-size: 13.5px; line-height: 1.25; }
    .license-card__more          { font-size: 10.5px; gap: 6px; }
    .license-card__more i        { font-size: 8.5px; }
    .driving-hero__navigation {
        left: max(40px, calc((100% - 1300px) / 2));
        bottom: 24px;
        gap: 10px;
    }
    .driving-hero__nav {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    .driving-hero__dots .dot        { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }
    .license-modal { padding: 30px; }
    .license-modal__box {
        width: min(700px, 100%);
        border-radius: 22px;
        max-height: calc(100vh - 60px);
    }
    .license-modal__header {
        padding: 26px 66px 24px 26px;
        gap: 18px;
    }
    .license-modal__class {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        font-size: 19px;
        border-radius: 15px;
    }
    .license-modal__header h2   { font-size: 22px; }
    .license-modal__header span { font-size: 9.5px; }
    .license-modal__content { padding: 26px 28px 30px; }
    .license-modal__content > p { font-size: 14px; line-height: 1.78; margin-bottom: 20px; }
    .license-modal__info-item { padding: 15px; border-radius: 13px; }
    .license-modal__info-item span   { font-size: 9px;    }
    .license-modal__info-item strong { font-size: 12.5px; }
    .license-modal__cta { font-size: 12.5px; padding: 13px 20px; }
}

@media only screen
    and (min-width: 880px)
    and (max-width: 950px)
    and (min-height: 1300px)
    and (orientation: portrait) {
    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 70px;
    }
    .driving-hero__container {
        width: calc(100% - 90px);
        max-width: 820px;
        height: auto;
        min-height: auto;
        padding: 130px 0 60px;
        gap: 48px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .driving-hero__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: block;
        margin-top: 0;
    }
    .driving-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 20px;
        gap: 11px;
    }
    .driving-hero__eyebrow-line { width: 30px; height: 2px; }
    .driving-hero__title {
        font-size: clamp(50px, 5.8vw, 64px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }
    .driving-hero__text {
        font-size: 16px;
        line-height: 1.72;
        margin-top: 22px;
        max-width: 720px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions {
        margin-top: 28px;
        gap: 22px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 14px;
        min-height: 56px;
        padding: 5px 24px 5px 5px;
        gap: 13px;
    }
    .driving-hero__cta-icon {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }
    .driving-hero__location {
        font-size: 13px;
        gap: 8px;
    }
    .driving-hero__location i { font-size: 13px; }
    .driving-hero__licenses {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .driving-hero__licenses-title {
        margin-bottom: 20px;
        gap: 12px;
    }
    .driving-hero__licenses-title strong { font-size: 18px; }
    .driving-hero__licenses-title span   { font-size: 11px; }
    .driving-hero__licenses-title > i    { font-size: 13px; }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
    .license-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__number {
        min-width: 52px;
        height: 52px;
        font-size: 19px;
        padding: 0 8px;
        border-radius: 13px;
    }
    .license-card__bottom strong { font-size: 15.5px; line-height: 1.25; }
    .license-card__more          { font-size: 12px; gap: 7px; }
    .license-card__more i        { font-size: 10px; }
    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }
    .driving-hero__nav {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
    .driving-hero__dots .dot        { width: 18px; height: 2.5px; }
    .driving-hero__dots .dot.active { width: 38px; }
    .license-modal { padding: 40px; }
    .license-modal__box { width: min(760px, 100%); border-radius: 22px; max-height: calc(100vh - 80px); }
    .license-modal__header { padding: 30px 74px 28px 30px; gap: 20px; }
    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }
    .license-modal__header h2   { font-size: 24px; }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .license-modal__info-item { padding: 16px; border-radius: 14px; }
    .license-modal__info-item span   { font-size: 9.5px; }
    .license-modal__info-item strong { font-size: 13px;  }
    .license-modal__cta { font-size: 13px; padding: 14px 22px; }
}

@media only screen
    and (min-width: 900px)
    and (max-width: 1100px)
    and (max-height: 650px)
    and (orientation: landscape) {
    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    .driving-hero__container {
        width: calc(100% - 50px);
        max-width: 1024px;
        height: 100%;
        padding: 40px 0 50px;
        gap: 30px;
        flex-direction: row;
        align-items: stretch;
    }
    .driving-hero__content {
        flex: 0 0 44%;
        max-width: 440px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }
    .driving-hero__eyebrow {
        font-size: 9.5px;
        gap: 8px;
        margin-bottom: 12px;
    }
    .driving-hero__eyebrow-line { width: 22px; }
    .driving-hero__title {
        font-size: clamp(34px, 3.8vw, 44px);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }
    .driving-hero__text {
        font-size: 12px;
        line-height: 1.55;
        margin-top: 12px;
        max-width: 420px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .driving-hero__actions {
        margin-top: 16px;
        gap: 14px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 11.5px;
        min-height: 42px;
        padding: 3px 16px 3px 3px;
        gap: 8px;
    }
    .driving-hero__cta-icon {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .driving-hero__location {
        font-size: 10.5px;
        gap: 5px;
    }
    .driving-hero__location i { font-size: 10px; }
    .driving-hero__licenses {
        flex: 0 0 52%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 20px;
    }
    .driving-hero__licenses-title {
        margin-bottom: 10px;
        gap: 8px;
    }
    .driving-hero__licenses-title strong { font-size: 14px; }
    .driving-hero__licenses-title span   { font-size: 9px;  }
    .driving-hero__licenses-title > i    { font-size: 10px; }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .license-card {
        padding: 13px 9px 11px;
        border-radius: 12px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 6px; gap: 4px; }
    .license-card__label { font-size: 6px; letter-spacing: 0.1em; }
    .license-card__number {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 5px;
        border-radius: 9px;
    }
    .license-card__bottom strong { font-size: 11.5px; line-height: 1.2; }
    .license-card__more          { font-size: 9px;   gap: 4px; }
    .license-card__more i        { font-size: 7.5px; }
    .driving-hero__navigation {
        left: 20px;
        bottom: 12px;
        gap: 7px;
    }
    .driving-hero__nav {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .driving-hero__dots .dot        { width: 12px; }
    .driving-hero__dots .dot.active { width: 26px; }
    .license-modal { padding: 16px; }
    .license-modal__box { border-radius: 16px; max-height: calc(100vh - 32px); }
    .license-modal__header {
        padding: 16px 48px 14px 18px;
        gap: 12px;
    }
    .license-modal__class {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 14px;
        border-radius: 11px;
    }
    .license-modal__header h2   { font-size: 16px; }
    .license-modal__header span { font-size: 7px;  }
    .license-modal__content { padding: 16px 18px 20px; }
    .license-modal__content > p { font-size: 12px; line-height: 1.65; margin-bottom: 14px; }
    .license-modal__info { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .license-modal__info-item { padding: 10px; border-radius: 9px; }
    .license-modal__info-item span   { font-size: 7.5px; }
    .license-modal__info-item strong { font-size: 10.5px; }
    .license-modal__cta { font-size: 10.5px; padding: 10px 16px; margin-top: 16px; }
}

@media only screen
    and (min-width: 1150px)
    and (max-width: 1350px)
    and (min-height: 750px)
    and (max-height: 850px)
    and (orientation: landscape) {
    .driving-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    .driving-hero__container {
        width: calc(100% - 70px);
        max-width: 1220px;
        height: 100%;
        padding: 50px 0 60px;
        gap: 38px;
        flex-direction: row;
        align-items: stretch;
    }
    .driving-hero__content {
        flex: 0 0 46%;
        max-width: 560px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }
    .driving-hero__eyebrow {
        font-size: 10px;
        gap: 10px;
        margin-bottom: 16px;
    }
    .driving-hero__eyebrow-line { width: 26px; }
    .driving-hero__title {
        font-size: clamp(40px, 4.2vw, 54px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }
    .driving-hero__text {
        font-size: 13.5px;
        line-height: 1.65;
        margin-top: 16px;
        max-width: 500px;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .driving-hero__actions {
        margin-top: 22px;
        gap: 18px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .driving-hero__cta {
        font-size: 12.5px;
        min-height: 48px;
        padding: 4px 18px 4px 4px;
        gap: 10px;
    }
    .driving-hero__cta-icon {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .driving-hero__location {
        font-size: 11px;
        gap: 6px;
    }
    .driving-hero__location i { font-size: 11px; }
    .driving-hero__licenses {
        flex: 0 0 50%;
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 30px;
    }
    .driving-hero__licenses-title {
        margin-bottom: 14px;
        gap: 10px;
    }
    .driving-hero__licenses-title strong { font-size: 15px; }
    .driving-hero__licenses-title span   { font-size: 9.5px; }
    .driving-hero__licenses-title > i    { font-size: 10.5px; }
    .driving-hero__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
    .license-card {
        padding: 16px 12px 13px;
        border-radius: 13px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .license-card__top { margin-bottom: 8px; gap: 5px; }
    .license-card__label { font-size: 7px; letter-spacing: 0.12em; }
    .license-card__number {
        min-width: 40px;
        height: 40px;
        font-size: 15px;
        padding: 0 6px;
        border-radius: 10px;
    }
    .license-card__bottom strong { font-size: 13px; line-height: 1.22; }
    .license-card__more          { font-size: 10px; gap: 5px; }
    .license-card__more i        { font-size: 8px;  }
    .driving-hero__navigation {
        left: max(35px, calc((100% - 1220px) / 2));
        bottom: 20px;
        gap: 8px;
    }
    .driving-hero__nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .driving-hero__dots .dot        { width: 15px; }
    .driving-hero__dots .dot.active { width: 30px; }
    .license-modal { padding: 24px; }
    .license-modal__box { width: min(680px, 100%); border-radius: 20px; max-height: calc(100vh - 48px); }
    .license-modal__header {
        padding: 22px 60px 20px 22px;
        gap: 16px;
    }
    .license-modal__class {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        font-size: 16px;
        border-radius: 14px;
    }
    .license-modal__header h2   { font-size: 20px; }
    .license-modal__header span { font-size: 9px;  }
    .license-modal__content { padding: 22px 24px 26px; }
    .license-modal__content > p { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
    .license-modal__info-item { padding: 13px; border-radius: 11px; }
    .license-modal__info-item span   { font-size: 8.5px; }
    .license-modal__info-item strong { font-size: 12px;  }
    .license-modal__cta { font-size: 11.5px; padding: 12px 18px; }
}

@media only screen
    and (min-width: 950px)
    and (max-width: 1100px)
    and (min-height: 1200px)
    and (orientation: portrait) {
    .driving-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-bottom: 80px;
        overflow: visible;
    }
    .driving-hero__container {
        width: calc(100% - 100px);
        max-width: 1000px;
        height: auto;
        min-height: auto;
        padding: 125px 0 70px;
        gap: 55px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .driving-hero__content {
        width: 100%;
        max-width: 900px;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
        min-width: 0;
    }
    .driving-hero__eyebrow {
        font-size: 12px;
        margin-bottom: 22px;
        gap: 12px;
        letter-spacing: 0.18em;
    }
    .driving-hero__eyebrow-line { width: 34px; height: 2px; }
    .driving-hero__title {
        max-width: 900px;
        font-size: clamp(52px, 6vw, 68px);
        line-height: 1.04;
        letter-spacing: -0.045em;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .driving-hero__text {
        width: 100%;
        max-width: 760px;
        font-size: 17px;
        line-height: 1.72;
        margin-top: 22px;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .driving-hero__actions {
        width: 100%;
        margin-top: 30px;
        gap: 24px;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }
    .driving-hero__cta {
        min-width: 0;
        min-height: 58px;
        padding: 5px 25px 5px 5px;
        gap: 13px;
        font-size: 14px;
        flex-shrink: 1;
    }
    .driving-hero__cta-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        font-size: 16px;
    }
    .driving-hero__cta > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .driving-hero__location {
        min-width: 0;
        max-width: 360px;
        font-size: 13px;
        gap: 8px;
        flex-shrink: 1;
    }
    .driving-hero__location span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .driving-hero__licenses {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        margin: 0;
        min-width: 0;
    }
    .driving-hero__licenses-title {
        width: 100%;
        margin-bottom: 20px;
        padding: 0 4px;
        gap: 12px;
    }
    .driving-hero__licenses-title div { min-width: 0; }
    .driving-hero__licenses-title span {
        font-size: 11px;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .driving-hero__licenses-title strong {
        font-size: 19px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }
    .driving-hero__licenses-title > i {
        flex-shrink: 0;
        font-size: 13px;
    }
    .driving-hero__cards {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        perspective: 1200px;
    }
    .license-card {
        width: 100%;
        min-width: 0;
        min-height: 175px;
        padding: 22px 20px 19px;
        border-radius: 17px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }
    .license-card__top {
        width: 100%;
        min-width: 0;
        margin-bottom: 14px;
        gap: 10px;
    }
    .license-card__label {
        min-width: 0;
        max-width: calc(100% - 62px);
        font-size: 8px;
        line-height: 1.35;
        letter-spacing: 0.13em;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .license-card__number {
        min-width: 52px;
        width: auto;
        height: 52px;
        flex: 0 0 auto;
        padding: 0 9px;
        border-radius: 13px;
        font-size: 19px;
        line-height: 1;
    }
    .license-card__bottom {
        width: 100%;
        min-width: 0;
        gap: 8px;
    }
    .license-card__bottom strong {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        line-height: 1.35;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }
    .license-card__more {
        max-width: 100%;
        min-width: 0;
        font-size: 12px;
        line-height: 1.35;
        gap: 7px;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .license-card__more i {
        flex-shrink: 0;
        font-size: 10px;
    }
    .driving-hero__navigation {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        align-self: flex-start;
        gap: 10px;
    }
    .driving-hero__nav {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 14px;
    }
    .driving-hero__dots .dot {
        width: 20px;
        height: 3px;
    }
    .driving-hero__dots .dot.active { width: 40px; }
    .license-modal { padding: 32px; }
    .license-modal__box {
        width: min(780px, 100%);
        max-height: calc(100vh - 64px);
        border-radius: 22px;
    }
    .license-modal__header {
        padding: 30px 72px 28px 30px;
        gap: 20px;
    }
    .license-modal__class {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        font-size: 20px;
        border-radius: 16px;
    }
    .license-modal__header h2 {
        min-width: 0;
        font-size: 24px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }
    .license-modal__header span { font-size: 10px; }
    .license-modal__content { padding: 30px 32px 34px; }
    .license-modal__content > p {
        font-size: 15px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }
    .license-modal__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .license-modal__info-item {
        min-width: 0;
        padding: 17px;
        border-radius: 14px;
    }
    .license-modal__info-item span {
        font-size: 9.5px;
        line-height: 1.35;
        overflow-wrap: break-word;
    }
    .license-modal__info-item strong {
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .license-modal__cta {
        font-size: 13px;
        padding: 14px 24px;
    }
}

@media only screen
    and (min-width: 1200px)
    and (max-width: 1450px)
    and (min-height: 850px)
    and (max-height: 1100px)
    and (orientation: landscape) {
    .driving-hero {
        height: 100vh;
        min-height: 850px;
        max-height: 100vh;
    }
    .driving-hero__container {
        width: calc(100% - 110px);
        max-width: 1300px;
        height: 100%;
        padding: 70px 0 75px;
        gap: 55px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .driving-hero__content {
        flex: 0 0 45%;
        max-width: 580px;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }
    .driving-hero__eyebrow {
        font-size: 11.5px;
        margin-bottom: 20px;
        gap: 11px;
    }
    .driving-hero__title {
        max-width: 580px;
        font-size: clamp(48px, 4.5vw, 62px);
        line-height: 1.04;
        letter-spacing: -0.05em;
        overflow-wrap: break-word;
    }
    .driving-hero__text {
        max-width: 540px;
        font-size: 15.5px;
        line-height: 1.7;
        margin-top: 20px;
        overflow-wrap: break-word;
    }
    .driving-hero__actions {
        margin-top: 26px;
        gap: 20px;
        flex-wrap: nowrap;
        min-width: 0;
    }
    .driving-hero__cta {
        min-width: 0;
        min-height: 54px;
        padding: 5px 22px 5px 5px;
        gap: 12px;
        font-size: 13.5px;
        flex-shrink: 1;
    }
    .driving-hero__cta-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 15px;
    }
    .driving-hero__location {
        min-width: 0;
        max-width: 320px;
        font-size: 12px;
        gap: 7px;
    }
    .driving-hero__location span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .driving-hero__licenses {
        flex: 0 0 50%;
        width: 50%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }
    .driving-hero__licenses-title {
        margin-bottom: 18px;
        gap: 10px;
    }
    .driving-hero__licenses-title strong {
        font-size: 17px;
        line-height: 1.3;
    }
    .driving-hero__licenses-title span { font-size: 10px; }
    .driving-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }
    .license-card {
        min-width: 0;
        min-height: 150px;
        padding: 20px 18px 17px;
        border-radius: 16px;
        background: rgba(14, 17, 22, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }
    .license-card__top {
        min-width: 0;
        margin-bottom: 11px;
        gap: 8px;
    }
    .license-card__label {
        min-width: 0;
        max-width: calc(100% - 58px);
        font-size: 7.5px;
        line-height: 1.35;
        letter-spacing: 0.12em;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .license-card__number {
        min-width: 48px;
        width: auto;
        height: 48px;
        flex: 0 0 auto;
        padding: 0 8px;
        border-radius: 12px;
        font-size: 18px;
    }
    .license-card__bottom {
        min-width: 0;
        gap: 7px;
    }
    .license-card__bottom strong {
        min-width: 0;
        font-size: 15px;
        line-height: 1.32;
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }
    .license-card__more {
        min-width: 0;
        max-width: 100%;
        font-size: 11px;
        line-height: 1.35;
        gap: 6px;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .license-card__more i {
        flex-shrink: 0;
        font-size: 9px;
    }
    .driving-hero__navigation {
        left: max(40px, calc((100% - 1300px) / 2));
        bottom: 26px;
        gap: 9px;
    }
    .driving-hero__nav {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 13px;
    }
    .driving-hero__dots .dot { width: 18px; }
    .driving-hero__dots .dot.active { width: 36px; }
    .license-modal { padding: 30px; }
    .license-modal__box {
        width: min(740px, 100%);
        max-height: calc(100vh - 60px);
        border-radius: 22px;
    }
    .license-modal__header {
        padding: 28px 70px 26px 28px;
        gap: 18px;
    }
    .license-modal__class {
        width: 66px;
        height: 66px;
        flex: 0 0 66px;
        font-size: 19px;
        border-radius: 15px;
    }
    .license-modal__header h2 {
        min-width: 0;
        font-size: 23px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }
    .license-modal__content { padding: 28px 30px 32px; }
    .license-modal__content > p {
        font-size: 14px;
        line-height: 1.78;
        overflow-wrap: break-word;
    }
    .license-modal__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .license-modal__info-item {
        min-width: 0;
        padding: 15px;
    }
    .license-modal__info-item strong {
        font-size: 12.5px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }
    .license-modal__cta {
        font-size: 12.5px;
        padding: 13px 22px;
    }
}
