/* ======================================
   BYOL R - Responsive Design
   ====================================== */

/* Extra Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
    .hero h1 {
        font-size: 5rem;
    }
    
    .product-card {
        padding: 80px;
    }
    
    .certification-block {
        padding: 80px;
    }
}

/* Extra Large devices (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero h1 {
        font-size: 4rem;
    }
}

/* Large devices (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 40px;
    }
    
    .product-title {
        font-size: 3rem;
    }
    
    .certification-block {
        padding: 40px;
        gap: 40px;
    }
    
    .certification-block img {
        max-width: 250px;
    }
    
    .solution-content {
        gap: 50px;
    }
}

/* Medium devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    header {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .sec-link {
        font-size: 12px;
        padding: 8px 12px !important;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 25px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image img {
        max-height: 400px;
    }
    
    .section-header {
        padding: 60px 0 40px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .product-section {
        padding: 60px 0;
    }
    
    .product-card {
        padding: 40px 30px;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .product-image-wrapper img {
        max-height: 350px;
    }
    
    .advantages-list li {
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .advantage-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .stats-banner .stat-value {
        font-size: 2.5rem;
    }
    
    .risk-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .risk-card {
        padding: 30px 20px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solution-text {
        text-align: center;
    }

    .solution-text h2 {
        font-size: 2rem;
    }

    .certification-block {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
        text-align: center;
    }
    
    .certification-block img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    footer {
        padding: 60px 0 30px;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
}

/* Small devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Container padding */
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    header {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 35px;
    }

    .sec-link {
        font-size: 14px;
        padding: 10px 0 !important;
    }
    
    .lang-flags {
        margin-top: 15px;
        justify-content: center;
    }
    
    .lang-dropdown {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: auto;
        padding: 110px 0 70px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 35px;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 7px 20px;
    }
    
    .hero-cta {
        font-size: 13px;
        padding: 16px 35px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 35px;
        margin-top: 45px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image {
        margin-top: 45px;
    }
    
    .hero-image img {
        max-height: 350px;
    }
    
    .section-header {
        padding: 55px 0 35px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        margin-top: 12px;
    }
    
    /* About section */
    .about-section {
        padding: 50px 0;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .about-badges {
        justify-content: center;
    }
    
    .about-image {
        margin-top: 35px;
    }
    
    /* Features section */
    .features-section {
        padding: 50px 0;
    }
    
    .feature-block {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .feature-block h3 {
        font-size: 1.25rem;
    }
    
    .health-benefits {
        padding: 35px 25px;
        margin-top: 35px !important;
    }
    
    .health-benefits h3 {
        font-size: 1.4rem;
    }
    
    .technical-performance {
        margin-top: 35px !important;
    }
    
    .technical-performance h3 {
        font-size: 1.4rem;
    }
    
    .performance-block {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .automation-section {
        padding: 35px 25px;
        margin-top: 35px !important;
    }
    
    .automation-section h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .automation-section p {
        text-align: center;
    }
    
    .automation-image {
        margin-bottom: 30px;
    }
    
    /* Products section */
    .products-section {
        padding: 50px 0;
    }
    
    .product-section {
        padding: 50px 0;
    }
    
    .product-card {
        padding: 30px 25px;
    }
    
    .product-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .product-tagline {
        text-align: center;
        font-size: 1rem;
    }
    
    .product-image-wrapper {
        padding: 20px;
    }
    
    .product-image-wrapper img {
        max-height: 300px;
    }
    
    .advantages-list li {
        font-size: 0.95rem;
        padding: 12px 0;
    }
    
    .advantage-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .product-detail-block h3 {
        font-size: 1.3rem;
    }
    
    .product-detail-block p {
        font-size: 0.95rem;
    }
    
    /* Promo banner */
    .promo-banner {
        padding: 30px 25px;
        text-align: center;
    }
    
    .promo-banner h3 {
        font-size: 1.3rem;
    }
    
    .promo-banner .hero-cta {
        margin-top: 20px;
    }
    
    /* Video section */
    .video-section {
        padding: 30px 20px;
        margin-top: 35px !important;
    }
    
    .video-section h3 {
        font-size: 1.3rem;
    }
    
    .stats-banner {
        padding: 40px 20px;
    }
    
    .stats-banner .stat-value {
        font-size: 1.8rem;
    }
    
    .stats-banner .stat-text {
        font-size: 0.75rem;
    }
    
    .why-section {
        padding: 60px 0;
    }
    
    .why-intro p {
        font-size: 1rem;
    }
    
    .risk-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .risk-card {
        padding: 25px 15px;
    }
    
    .risk-card img {
        width: 50px;
        height: 50px;
    }
    
    .risk-card p {
        font-size: 0.85rem;
    }
    
    .solution-section {
        padding: 60px 0;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-text {
        text-align: center;
    }
    
    .solution-text h2 {
        font-size: 1.8rem;
    }
    
    .solution-text p {
        font-size: 1rem;
    }
    
    /* Partnership section */
    .partnership-section {
        padding: 50px 0;
    }
    
    .partner-card {
        padding: 35px 25px;
        margin-bottom: 20px;
    }
    
    .conclusion-text .lead {
        font-size: 1.1rem;
    }
    
    /* Certification section */
    .certification-section {
        padding: 50px 0;
    }
    
    .certification-block {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
        text-align: center;
    }
    
    .certification-block img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .certification-text h3 {
        font-size: 1.3rem;
    }
    
    .certification-text p {
        font-size: 0.95rem;
    }
    
    /* Footer */
    footer {
        padding: 55px 0 30px;
    }
    
    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        height: 50px;
    }
    
    footer .mt-3 {
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-title {
        font-size: 1.5rem;
        text-align: center;
        margin-top: 15px;
    }
    
    footer > .container > .row > .col-lg-8 > p {
        text-align: center;
    }
    
    .contact-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .col-lg-4.mb-5 {
        margin-bottom: 2.5rem !important;
    }
}

/* Gallery responsive */
@media (max-width: 991.98px) {
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
    
    /* General mobile improvements */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Fix for columns stacking */
    .col-lg-6:last-child,
    .col-lg-4:last-child,
    .col-lg-8:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better touch targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Fix text overflow */
    h1, h2, h3, h4, h5, h6, p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

/* Language dropdown responsive */
@media (max-width: 991.98px) {
    .lang-dropdown {
        margin-top: 20px;
        justify-content: center;
    }
    
    .lang-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        display: none;
    }
    
    .lang-dropdown:hover .lang-dropdown-menu,
    .lang-dropdown.show .lang-dropdown-menu {
        display: block;
    }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
    /* Container padding fix for mobile */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .gallery-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-item p {
        font-size: 0.8rem;
        margin-top: 10px;
    }
    
    .gallery-title {
        font-size: 1.3rem;
    }
    
    header {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-toggler {
        padding: 6px 10px;
        width: 44px;
        height: 44px;
    }

    .sec-link {
        font-size: 14px;
        padding: 12px 0 !important;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .lang-flags {
        margin-top: 20px;
        justify-content: center;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .lang-dropdown {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }
    
    .lang-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .hero-badge {
        font-size: 9px;
        padding: 6px 16px;
        letter-spacing: 0.12em;
        margin-bottom: 20px;
    }
    
    .hero-cta {
        font-size: 12px;
        padding: 16px 30px;
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 40px;
        align-items: center;
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .hero-image img {
        max-height: 280px;
        max-width: 100%;
    }
    
    .section-header {
        padding: 50px 0 30px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .section-header p {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-top: 15px;
    }
    
    /* About section mobile */
    .about-section {
        padding: 40px 0;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .about-badges {
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
    }
    
    .badge-item {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .about-image {
        margin-top: 30px;
        border-radius: 15px;
    }
    
    /* Features section mobile */
    .features-section {
        padding: 40px 0;
    }
    
    .feature-block {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .feature-block h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 10px 0;
        padding-left: 22px;
    }
    
    /* Health benefits mobile */
    .health-benefits {
        padding: 30px 20px;
        margin-top: 30px !important;
        border-radius: 15px;
    }
    
    .health-benefits h3 {
        font-size: 1.3rem;
        margin-bottom: 15px !important;
    }
    
    .health-benefits > p {
        font-size: 0.9rem;
        margin-bottom: 25px !important;
    }
    
    .benefit-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .benefit-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    /* Technical performance mobile */
    .technical-performance {
        margin-top: 30px !important;
    }
    
    .technical-performance h3 {
        font-size: 1.3rem;
        margin-bottom: 20px !important;
    }
    
    .performance-block {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .performance-block h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .performance-block ul li {
        font-size: 0.9rem;
        padding: 6px 0;
        padding-left: 18px;
    }
    
    /* Automation section mobile */
    .automation-section {
        padding: 30px 20px;
        margin-top: 30px !important;
        border-radius: 15px;
    }
    
    .automation-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .automation-section p {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .automation-section .feature-list {
        margin-top: 15px;
    }
    
    .automation-image {
        margin-bottom: 25px;
        border-radius: 15px;
    }
    
    /* Products section mobile */
    .products-section {
        padding: 40px 0;
    }
    
    .product-section {
        padding: 40px 0;
    }
    
    .product-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .product-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .product-tagline {
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .product-image-wrapper {
        padding: 15px;
    }
    
    .product-image-wrapper img {
        max-height: 250px;
    }
    
    .product-glow {
        width: 200px;
        height: 200px;
    }
    
    .advantages-list {
        margin: 20px 0;
    }
    
    .advantages-list li {
        font-size: 0.9rem;
        padding: 10px 0;
        gap: 12px;
    }
    
    .advantage-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .product-detail-block {
        margin-bottom: 25px;
    }
    
    .product-detail-block h3 {
        font-size: 1.2rem;
    }
    
    .product-detail-block h3::before {
        height: 20px;
        width: 3px;
    }
    
    .product-detail-block p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Promo banner mobile */
    .promo-banner {
        padding: 25px 20px;
        margin-top: 30px !important;
        border-radius: 15px;
        text-align: center;
    }
    
    .promo-banner h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .promo-banner p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .promo-banner .hero-cta {
        width: 100%;
        margin-top: 15px;
    }
    
    /* Video section mobile */
    .video-section {
        padding: 25px 15px;
        margin-top: 30px !important;
        border-radius: 15px;
    }
    
    .video-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px !important;
    }
    
    .stats-banner {
        padding: 35px 15px;
        margin-top: 50px;
    }
    
    .stats-banner .row {
        gap: 15px;
    }
    
    .stats-banner .stat-box {
        padding: 15px 10px;
    }
    
    .stats-banner .stat-value {
        font-size: 1.5rem;
    }
    
    .stats-banner .stat-text {
        font-size: 0.65rem;
        letter-spacing: 0.03em;
    }
    
    .why-section {
        padding: 50px 0;
    }
    
    .why-intro p {
        font-size: 0.95rem;
    }
    
    .risk-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 40px 0;
    }
    
    .risk-card {
        padding: 20px 12px;
        border-radius: 10px;
    }
    
    .risk-card img {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .risk-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .solution-section {
        padding: 50px 0;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .solution-text {
        text-align: center;
    }
    
    .solution-text h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .solution-text p {
        font-size: 0.95rem;
    }
    
    .solution-image img {
        border-radius: 15px;
    }
    
    /* Partnership section mobile */
    .partnership-section {
        padding: 40px 0;
    }
    
    .partner-card {
        padding: 30px 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .partner-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .partner-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .partner-card p {
        font-size: 0.9rem;
    }
    
    .conclusion-text {
        margin-top: 30px !important;
        padding: 0 10px;
    }
    
    .conclusion-text .lead {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Certification section mobile */
    .certification-section {
        padding: 40px 0;
    }
    
    .certification-block {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
        text-align: center;
        margin-top: 0;
        border-radius: 15px;
    }
    
    .certification-block img {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .certification-text h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .certification-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Footer mobile */
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand img {
        height: 45px;
        margin-bottom: 15px;
    }
    
    footer .mt-3 {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-info li {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    
    .footer-info li a {
        color: inherit;
    }
    
    .footer-title {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 15px;
        margin-top: 10px;
    }
    
    footer > .container > .row > .col-lg-8 > p {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 25px !important;
    }
    
    /* Contact form mobile */
    .contact-form {
        margin-top: 10px;
    }
    
    .contact-form .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .contact-form .row > div {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .contact-form .mb-3 {
        margin-bottom: 15px !important;
    }
    
    .contact-form .form-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .contact-form .form-control {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 13px;
        margin-top: 10px;
    }
    
    .footer-bottom {
        margin-top: 35px;
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Row spacing fixes */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    /* Fix column margins */
    .col-lg-4.mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* Landscape orientation on small devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 30px;
        margin-top: 30px;
    }
    
    .stat-item {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-image img {
        max-height: 250px;
    }
    
    .risk-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .risk-card {
        padding: 15px 10px;
    }
    
    .risk-card img {
        width: 35px;
        height: 35px;
    }
    
    .risk-card p {
        font-size: 0.7rem;
    }
    
    .section-header {
        padding: 40px 0 25px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    header {
        position: static;
        background: #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .hero-cta,
    .submit-btn,
    .lang-flags,
    .navbar-toggler {
        display: none !important;
    }
    
    .hero {
        padding-top: 20px;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .section-header,
    .product-card,
    .stats-banner {
        break-inside: avoid;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-image {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #FFD700;
        --text-muted: #FFFFFF;
    }
    
    .sec-link::after {
        height: 3px;
    }
    
    .product-card,
    .risk-card,
    .certification-block {
        border-width: 2px;
    }
}
