/* Main Styles */

/* Page Transition */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

body.no-transition {
    transition: none !important;
}

/* Global Loader */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-pink);
    border-top: 5px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility Focus */
:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-red);
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-icon[src*="whatsapp"] {
    width: 26px;
    height: 26px;
}

/* Header layout for homepage */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Site name - visible on homepage desktop */
.site-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.header-top {
    display: contents;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--primary-red);
}

.menu-toggle {
    display: none;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--light-gray);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* Enforce aspect ratio on container to prevent CLS during JS loading */
    aspect-ratio: 16/5;
    /* Removed background-color to avoid 'gray field' complaint */
    /* background-color: #f0f0f0; */
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    /* Ensure slide fills container */
    position: relative;
    display: none;
    /* Hide by default, JS will handle active state */
}

.hero-slide.active {
    display: block;
}

.hero-slide.animate {
    animation: fadeEffect 1s;
}

/* Fade animation for slides */
@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.hero-link {
    display: block;
    width: 100%;
    height: 100%;
    /* Fill slide */
    text-decoration: none;
    cursor: default;
}

.hero-link[href] {
    cursor: pointer;
}

.hero-image {
    width: 100%;
    height: 100%;
    /* Force image to fill container defined by aspect-ratio */
    display: block;
    object-fit: cover;
}

/* Slider Controls */
.slider-control {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    z-index: 2;
}

.slider-control.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slider-control.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.slider-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.slider-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: white;
}

/* Force hero section behind menu */
@media (min-width: 901px) and (max-width: 1200px) {
    .nav-menu {
        gap: 0.8rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 900px) {
    .hero {
        z-index: 0 !important;
    }

    .slider-control {
        padding: 10px;
        font-size: 14px;
    }
}

/* Hero banner styles removed - now using background images */

/* Main Content */
main {
    padding: 4rem 0;
}

/* Info Section */
.info-section {
    background: var(--light-gray);
    padding: 4rem 0;
    margin: 2rem 0;
}

/* Footer Redesign */
.site-footer {
    background-color: #1a1a1a;
    /* Dark background */
    color: #e0e0e0;
    padding: 4rem 0 0 0;
    margin-top: 4rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Brand Column */
.footer-logo {
    margin-bottom: 1.5rem;
}

.logo-image-footer {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-desc {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-social-links img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    color: #a0a0a0;
}

.contact-icon {
    font-size: 1.1rem;
}

.contact-list a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--primary-red);
}

/* Footer Bottom */
.footer-bottom {
    background-color: #111111;
    /* Darker shade */
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    /* Reset margin */
    color: #888;
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-credit {
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-photo-container {
    width: 180px;
    height: 180px;
    margin-bottom: 1.5rem;
    position: relative;
}

.teacher-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: var(--light-gray);
}

.teacher-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.teacher-role {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.teacher-subject {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
}

.reviewer-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    margin: 0;
}

.review-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

/* Responsive Design */
/* Tablet/Mobile Menu Breakpoint */
@media (max-width: 900px) {
    .top-bar {
        display: none;
    }

    .header-content {
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    /* Simple dropdown menu */
    .nav-menu {
        display: none;
        position: absolute;
        /* Changed from fixed to absolute relative to header */
        top: 100%;
        /* Position directly below header */
        left: 0;
        right: 0;
        width: 100%;
        transform: none;
        background: #ffffff !important;
        background-color: #ffffff !important;
        min-width: auto;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        /* Rounded corners only at bottom */
        overflow: hidden;
        z-index: 999;
        border: none;
        /* Removed red border */
        opacity: 1 !important;
        padding: 0.5rem 0;
    }

    .nav-menu.active {
        display: block !important;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav {
        position: static;
        /* Reset relative positioning */
        width: auto;
    }

    .nav-menu li {
        margin: 0;
        list-style: none;
        background: #ffffff !important;
        opacity: 1 !important;
    }

    .nav-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 1rem 2rem;
        /* Increased padding */
        font-size: 1rem;
        color: var(--text-dark) !important;
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid #f5f5f5;
        transition: all 0.2s ease;
        margin: 0;
        border-radius: 0;
        background: #ffffff !important;
        opacity: 1 !important;
        text-align: center;
    }

    .nav-menu a:hover {
        background: #f8f9fa !important;
        /* Light gray hover */
        color: var(--primary-red) !important;
        /* Removed padding-left to prevent movement */
    }

    .nav-menu a.active {
        position: relative;
        background: rgba(220, 53, 69, 0.05) !important;
        color: var(--primary-red) !important;
        font-weight: 600;
    }

    .nav-menu a.active::after {
        display: none;
        /* Remove underline for active state */
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 0;
        min-height: auto;
    }

    /* Removed old hero text styles */

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .cards-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .teacher-photo-container {
        width: 150px;
        height: 150px;
    }

    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        margin: 0.5rem;
        display: inline-block;
        width: auto;
        min-width: 120px;
    }

    /* Header mobile */
    header {
        background: var(--primary-red);
        /* Move background here for full width */
        color: var(--text-dark);
        padding: 0;
        width: 100%;
        margin: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        /* Ensure it stays on top */
        position: sticky;
        /* Make it sticky */
        top: 0;
    }

    .header-left,
    .header-top {
        border-radius: 0 !important;
    }

    /* Header mobile limpo e moderno */
    .header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: transparent;
        /* Remove background from here */
        padding: 0.5rem 0;
        margin: 0;
        width: 100%;
        /* Reset width */
        box-sizing: border-box;
        border-radius: 0 !important;
        /* Remove border radius */
        box-shadow: none !important;
        /* Remove shadow from inner element */
        position: static;
        /* Reset position */
        left: auto;
        right: auto;
        transform: none;
        padding-left: 0;
        /* Reset padding as container handles it */
        padding-right: 0;
        z-index: auto !important;
    }


    /* Força border-radius e sombra em todas as páginas */
    body:not(:has(.top-bar)) .header-content,
    .header-content {
        border-radius: 0 !important;
        box-shadow: none !important;
    }


    /* Logo + Nome como um grupo */
    .header-left,
    .header-top {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .header-left .logo-image,
    .header-top .logo-image {
        height: 65px;
        /* Reverted to original size */
        width: auto;
        filter: brightness(0) invert(1);
    }

    .site-name {
        color: white;
        font-size: 1.1rem;
        /* Reverted to original size */
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }

    /* Menu hamburger moderno - Estilo UFMG (Transparente) */
    .menu-toggle {
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        padding: 0.5rem 0.8rem;
        /* Reverted padding */
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: none;
        transition: all 0.3s ease;
        cursor: pointer;
        position: static;
        margin-left: auto;
        /* Force to right */
    }

    .menu-toggle .menu-icon {
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.6);
    }

    .menu-toggle:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.2);
    }

    .menu-toggle.active {
        background: rgba(255, 255, 255, 0.2);
        border-color: white;
    }

    /* For other pages - use same mobile layout as homepage */
    .header-top {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .header-top .logo-image {
        height: 40px;
        /* Consistent size */
        width: auto;
        filter: brightness(0) invert(1);
    }

    .nav-menu.active+.menu-toggle .menu-text,
    .menu-toggle.active .menu-text {
        display: none;
    }

    /* Container mobile */
    .container {
        padding: 0 1rem;
    }

    /* Sections mobile */
    main {
        padding: 1rem 0;
    }

    .section {
        padding: 1.5rem 0;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-content h3 {
        font-size: 1.3rem;
    }

    .footer-content p {
        font-size: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }

    /* Top bar mobile */
    .top-bar {
        padding: 0.5rem 0;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .social-icon[src*="whatsapp"] {
        width: 22px;
        height: 22px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    /* Removed old hero text styles for small devices */

    .section-title {
        font-size: 1.5rem;
    }

    .cards-grid {
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }


    .header-content {
        padding: 0.15rem 1rem;
    }

    .header-left,
    .header-top {
        gap: 0.6rem;
    }

    .header-left .logo-image,
    .header-top .logo-image {
        height: 45px;
    }

    .site-name {
        font-size: 0.95rem;
    }

    .menu-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        right: 1rem;
    }
}

/* Teachers Carousel */
.teachers-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 480px;
    /* Prevent CLS */
}

.teachers-track-container {
    overflow: hidden;
    width: 100%;
    /* Padding to avoid cutting off shadows */
    padding: 1rem 0;
}

.teachers-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    width: 100%;
}

.teacher-card {
    /* Fixed width for carousel items */
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Reset margin from grid */
    margin: 0;
}

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

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-red);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .teacher-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 per line on tablet landscape */
    }
}

@media (max-width: 600px) {
    .teachers-carousel-container {
        padding: 0 1rem;
    }

    .teacher-card {
        flex: 0 0 100%;
        /* 1 per line on mobile */
        min-width: unset;
    }
}

/* Reviews Carousel */
.reviews-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 350px;
    /* Prevent CLS */
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    width: 100%;
}

.reviews-track .review-card {
    /* Fixed width for carousel items */
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: 300px;
    margin: 0;
}

/* Responsive Reviews Carousel */
@media (max-width: 1024px) {
    .reviews-track .review-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 per line on tablet landscape */
    }
}

@media (max-width: 600px) {
    .reviews-carousel-container {
        padding: 0 1rem;
    }

    .reviews-track .review-card {
        flex: 0 0 100%;
        /* 1 per line on mobile */
        min-width: unset;
    }
}

/* Skeleton Loader */
.hero-skeleton {
    width: 100%;
    height: auto;
    /* Aspect ratio 1920/600 = 3.2 or 16/5 */
    aspect-ratio: 16/5;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    display: block;
}

.hero-skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

.skeleton-image {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-slides-container {
        aspect-ratio: 16/7;
        /* Wider than mobile, taller than desktop */
    }

    .hero-skeleton {
        aspect-ratio: 16/7;
    }
}

@media (max-width: 767px) {
    .hero-slides-container {
        aspect-ratio: 4/5;
    }

    .hero-skeleton {
        /* Mobile: 800x1000 = 0.8 or 4/5 */
        aspect-ratio: 4/5;
        min-height: auto;
    }
}