/* Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1.25fr 1.35fr 1.1fr 1.45fr;
    }

    .footer-contact-section {
        min-width: 260px;
    }

    .footer-quick-links {
        min-width: 220px;
    }
    
    .footer-logo {
        max-width: 300px;
    }
    
    /* Hide mobile Get In Touch button on desktop */
    .mobile-get-in-touch {
        display: none !important;
    }
    
    /* Show desktop Get In Touch button on desktop */
    .btn-get-in-touch {
        display: flex !important;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
    .carousel-nav {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 1.2rem;
        gap: 0.75rem;
        padding: 0;
        pointer-events: auto;
    }

    .nav-item.dropdown > .nav-link::before {
        content: none;
    }

    .nav-phone,
    .btn-get-in-touch {
        display: none;
    }
    
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 350px;
        min-width: 280px;
        height: 100vh;
        max-height: 100vh;
        background-image: url('../images/popup_image.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 1rem 1.25rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
        border-radius: 0 20px 20px 0;
        z-index: 1101;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        margin-top: 0;
        padding-top: 1rem;
        transform: translate3d(-110%, 0, 0);
        -webkit-transform: translate3d(-110%, 0, 0);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.85);
        z-index: 0;
        border-radius: 0 20px 20px 0;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 22, 18, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1100;
        backdrop-filter: blur(1.5px);
        -webkit-backdrop-filter: blur(1.5px);
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-item {
        margin: 0 0 0.5rem 0;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .nav-menu-header {
        width: 100%;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.2rem 0.25rem 0.75rem;
        margin-bottom: 0.45rem;
        border-bottom: 1px solid rgba(45, 90, 74, 0.16);
        position: sticky;
        top: 0;
        z-index: 3;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .mobile-menu-logo-link {
        display: inline-flex;
        align-items: center;
    }

    .mobile-menu-logo {
        width: 138px;
        height: auto;
        object-fit: contain;
    }

    .mobile-menu-close {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(45, 90, 74, 0.2);
        border-radius: 999px;
        background: #ffffff;
        color: var(--primary-green);
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.22s ease;
    }

    .mobile-menu-close:hover {
        background: var(--highlight);
        border-color: var(--highlight);
    }
    
    .nav-link {
        display: block;
        padding: 0.62rem 0.95rem;
        width: 100%;
        text-align: left;
        font-size: 0.88rem;
        border-radius: 10px;
        position: relative;
        z-index: 1;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        width: calc(100% - 0.9rem);
        margin-top: 0.35rem;
        margin-bottom: 0.25rem;
        margin-left: 0.9rem;
        display: none !important;
        background: linear-gradient(165deg, #f8f2dc, #efe4c1);
        border: 1px solid rgba(247, 195, 95, 0.45);
        border-radius: 10px;
        padding: 0.3rem 0.25rem;
        z-index: 1;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu li {
        margin: 0;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 0.9rem;
        color: var(--primary-green);
        font-weight: 600;
        font-size: 0.82rem;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        background-color: transparent;
        border-radius: 8px;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.65);
        color: var(--neutral-dark);
        padding-left: 1.05rem;
    }
    
    /* Nested Dropdown Submenu for Mobile */
    .dropdown-submenu {
        position: relative;
    }
    
    .dropdown-submenu > a::after {
        content: '▼';
        float: right;
        font-size: 0.7rem;
        margin-left: 0.5rem;
        color: var(--primary-green);
        transition: transform 0.3s ease;
    }
    
    .dropdown-submenu.active > a::after {
        transform: rotate(180deg);
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: calc(100% - 1rem);
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        margin-left: 1rem;
        display: none;
        background-color: rgba(247, 195, 95, 0.2);
        border-left: 3px solid var(--highlight);
        border-radius: 8px;
        padding: 0.25rem 0;
        z-index: 1;
    }
    
    .dropdown-submenu.active .submenu {
        display: block;
    }
    
    .submenu li {
        margin: 0;
    }
    
    .submenu a {
        padding: 0.5rem 1.5rem;
        color: var(--primary-green);
        font-weight: 600;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        background-color: transparent;
    }
    
    .submenu a:hover {
        background-color: var(--highlight);
        color: var(--neutral-dark);
        padding-left: 2rem;
    }
    
    .nav-item.dropdown .nav-link {
        position: relative;
        padding-right: 2rem;
    }
    
    .nav-item.dropdown .nav-link::after {
        content: '';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid var(--primary-green);
        transition: transform 0.3s ease;
    }
    
    .nav-item.dropdown.active .nav-link::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* Mobile-only Get In Touch Button */
    .mobile-get-in-touch {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-overlay {
        padding: 1.5rem 1rem;
    }
    
    .hero-title-top {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-logo {
        max-width: 250px;
        margin-top: -30px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        justify-content: center;
    }
    
    .footer-copy {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 0.5rem;
        word-wrap: break-word;
        text-align: center;
    }
    
    .footer-copy .no-break {
        white-space: nowrap;
    }
    
    .designer-link {
        font-size: 0.9rem;
    }

    .footer-legal-links {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* Small devices (phones, 767px and down) */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .navbar {
        padding: 0.5rem 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-wrapper {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0.5rem 0.75rem;
        border-radius: 30px;
        gap: 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .logo-img {
        height: 65px;
        max-width: 100%;
        width: auto;
    }
    
    .nav-logo {
        flex-shrink: 0;
        max-width: 60%;
    }
    
    .mobile-toggle {
        flex-shrink: 0;
    }
    
    .nav-phone,
    .btn-get-in-touch {
        display: none;
    }
    
    .nav-menu {
        top: 0;
        height: 100vh;
        max-height: 100vh;
        padding: 0.75rem 0.75rem 1rem;
        padding-top: 70px;
        background-image: url('../images/popup_image.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--white);
        width: 85%;
        max-width: 320px;
        min-width: 260px;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.85);
        z-index: 0;
        border-radius: 0 20px 20px 0;
        pointer-events: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Ensure nav items are readable */
    .nav-item {
        margin-bottom: 0.4rem;
        position: relative;
        z-index: 1;
    }
    
    .nav-item .nav-link {
        color: var(--neutral-dark);
        font-weight: 600;
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
        position: relative;
        z-index: 1;
    }
    
    /* Mobile-only Get In Touch Button */
    .mobile-get-in-touch {
        display: block;
        margin-top: 0.5rem;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    
    .btn-get-in-touch-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background-color: var(--primary-green);
        color: var(--white);
        padding: 0.875rem 1.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        width: 100%;
        margin: 0.5rem 0;
        box-shadow: 0 4px 12px rgba(45, 90, 74, 0.2);
        position: relative;
        z-index: 1;
    }
    
    .btn-get-in-touch-mobile:hover {
        background-color: var(--secondary-green);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(45, 90, 74, 0.3);
    }
    
    .btn-get-in-touch-mobile .arrow-icon {
        transition: transform 0.3s ease;
    }
    
    .btn-get-in-touch-mobile:hover .arrow-icon {
        transform: translate(3px, -3px);
    }
    
    .dropdown-menu {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
        padding: 0.2rem 0;
        background-color: rgba(247, 195, 95, 0.3);
        position: relative;
        z-index: 2;
        width: calc(100% - 0.75rem);
        margin-left: 0.75rem;
    }
    
    .dropdown-menu a {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        position: relative;
        z-index: 2;
    }
    
    .dropdown-menu li {
        position: relative;
        z-index: 2;
    }
    
    .hero {
        height: 72svh;
        min-height: 400px;
    }
    
    .hero-overlay {
        padding: 1rem 0.75rem;
        max-width: 95%;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-title-top {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.4rem;
        line-height: 1.4;
    }
    
    .hero-title-top::after {
        width: 70%;
        max-width: 200px;
        height: 6px;
        bottom: -6px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        display: flex;
        gap: 0;
        margin-top: 1.2rem;
        transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: transform;
    }
    
    .review-card {
        padding: 1.25rem;
        flex: 0 0 100%;
        margin: 0;
        border-radius: 1rem;
        box-shadow: 0 12px 22px rgba(20, 42, 34, 0.13);
    }

    .reviews-section .container {
        overflow: hidden;
    }

    .reviews-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .reviews-nav-btn {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(45, 90, 74, 0.2);
        border-radius: 999px;
        background: #ffffff;
        color: var(--primary-green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 8px 14px rgba(20, 42, 34, 0.08);
    }

    .reviews-nav-btn:hover {
        transform: translateY(-2px);
        background: var(--highlight);
        border-color: var(--highlight);
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.92rem 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 0.95rem;
        font-size: 0.94rem;
    }

    .faq-icon {
        width: 25px;
        height: 25px;
    }

    .reviews-dots {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }

    .review-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(45, 90, 74, 0.3);
        padding: 0;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .review-dot.active {
        width: 20px;
        background: var(--primary-green);
    }

    .page-hero.legal-hero {
        min-height: 50vh;
    }

    .page-hero-content {
        padding: 7rem 0 2.2rem;
    }

    .legal-content-section {
        padding: 2.2rem 0 3rem;
    }

    .legal-content-card {
        padding: 1.2rem 1rem;
    }

    .legal-content-card h2 {
        font-size: 1.08rem;
    }

    .legal-content-card p,
    .legal-content-card li {
        font-size: 0.93rem;
        line-height: 1.68;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-background img {
        opacity: 0.25;
    }
    
    .footer-overlay {
        background: linear-gradient(rgba(45, 90, 74, 0.75), rgba(45, 90, 74, 0.85));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        max-width: 200px;
        margin: 0 auto;
        margin-top: 0;
        display: block;
    }

    .footer-brand-description {
        max-width: 260px;
        margin: 0.7rem auto 0;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }

    .footer-contact-list {
        align-items: flex-start !important;
        max-width: 260px;
        margin: 0 auto;
    }

    .footer-contact-item {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .newsletter-form input {
        font-size: 0.9rem;
        padding: 0.65rem;
    }
    
    .newsletter-form button {
        font-size: 0.9rem;
        padding: 0.65rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        justify-content: center;
    }
    
    .footer-copy {
        font-size: 0.85rem;
        line-height: 1.7;
        padding: 0 1rem;
        word-wrap: break-word;
        display: block;
        text-align: center;
    }
    
    .footer-copy .no-break {
        white-space: nowrap;
    }
    
    .designer-link {
        font-size: 0.85rem;
        display: inline;
        word-wrap: break-word;
        white-space: normal;
    }

    .footer-legal-links {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-legal-link {
        white-space: normal;
        font-size: 0.85rem;
    }
    
    .product-card {
        flex-basis: 250px;
        margin: 0 0.55rem;
    }

    .product-image {
        height: 205px;
    }

    .product-content {
        min-height: 195px;
    }

    .carousel-filter-btn {
        font-size: 0.8rem;
        padding: 0.38rem 0.78rem;
    }

    .carousel-dots {
        gap: 0.38rem;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.5rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.5rem;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .nav-menu {
        width: 90%;
        max-width: 300px;
        min-width: 240px;
        padding: 0.5rem 0.75rem 0.75rem;
        padding-top: 0.65rem;
        box-sizing: border-box;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .mobile-menu-logo {
        width: 118px;
    }

    .mobile-menu-close {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .hero {
        height: 66svh;
        min-height: 360px;
    }

    .carousel-filters {
        gap: 0.45rem;
    }

    .carousel-filter-btn {
        font-size: 0.75rem;
        padding: 0.34rem 0.72rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 20px;
    }
    
    .hero-overlay {
        padding: 0.75rem 0.5rem;
    }
    
    .hero-title-top {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.35rem;
    }
    
    .hero-title-top::after {
        width: 75%;
        max-width: 180px;
        height: 5px;
        bottom: -5px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        max-width: 260px;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 1.1rem 1rem;
    }
    
    .stat-number {
        font-size: 1.7rem;
    }

    .stat-kicker {
        font-size: 0.68rem;
    }
    
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-background img {
        opacity: 0.2;
    }
    
    .footer-overlay {
        background: linear-gradient(rgba(45, 90, 74, 0.8), rgba(45, 90, 74, 0.9));
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        max-width: 180px;
        margin: 0 auto;
        display: block;
    }

    .footer-section:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-description {
        max-width: 240px;
        margin: 0.6rem auto 0;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-contact-list {
        align-items: flex-start !important;
        max-width: 250px;
        margin: 0 auto;
    }

    .footer-contact-item {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form input {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .newsletter-form button {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        justify-content: center;
    }
    
    .footer-copy {
        font-size: 0.8rem;
        line-height: 1.7;
        padding: 0 0.5rem;
        word-wrap: break-word;
        display: block;
        text-align: center;
    }
    
    .footer-copy .no-break {
        white-space: nowrap;
    }
    
    .designer-link {
        font-size: 0.8rem;
        display: inline;
        word-wrap: break-word;
        white-space: normal;
    }

    .footer-legal-links {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        gap: 0.7rem;
    }

    .footer-legal-link {
        font-size: 0.8rem;
        white-space: normal;
    }

    .cookie-banner {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.7rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 0.85rem;
    }

    .cookie-banner-text p {
        font-size: 0.84rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-btn {
        padding: 0.48rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* Contact Page Responsive Styles */

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-container {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 2.5rem;
        background-color: var(--neutral-light);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        box-sizing: border-box;
        visibility: visible;
        opacity: 1;
    }
    
    .contact-form-container {
        order: 2;
        padding: 2.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small devices (phones, 767px and down) */
@media (max-width: 767px) {
    .contact-hero {
        min-height: 350px;
        margin-top: 70px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-intro-section {
        padding: 3rem 0;
    }
    
    .contact-intro-content .lead-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .contact-main-section {
        padding: 3rem 0;
    }
    
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-container {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        background-color: var(--neutral-light);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        box-sizing: border-box;
        visibility: visible;
        opacity: 1;
    }
    
    .contact-form-container {
        order: 2;
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-header {
        margin-bottom: 1.5rem;
    }
    
    .contact-form-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-form {
        gap: 1.25rem;
        width: 100%;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
    }
    
    .form-group {
        width: 100%;
        gap: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .form-group select {
        padding-right: 2.5rem;
        background-size: 12px;
        background-position: right 1rem center;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        min-height: 48px;
        margin-top: 0.5rem;
    }
    
    .contact-info-header {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-info-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-info-items {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .contact-info-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
        width: 100%;
        box-sizing: border-box;
        background-color: var(--white);
        border-radius: var(--border-radius);
        border: 1px solid rgba(45, 90, 74, 0.1);
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-info-content {
        width: 100%;
    }
    
    .contact-info-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-content p {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        line-height: 1.6;
    }
    
    .contact-info-content a {
        display: inline-block;
        word-break: break-word;
    }
    
    .contact-map-section {
        padding: 0 0 3rem 0;
    }
    
    .map-container {
        height: 350px;
        border-radius: 12px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .contact-hero {
        min-height: 300px;
    }
    
    .contact-hero-title {
        font-size: 1.75rem;
    }
    
    .contact-hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.75rem;
    }
    
    .contact-intro-section {
        padding: 2.5rem 0;
    }
    
    .contact-intro-content .lead-text {
        font-size: 0.95rem;
    }
    
    .contact-main-section {
        padding: 2rem 0;
    }
    
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-container {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
        background-color: var(--neutral-light);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        margin: 0;
        box-sizing: border-box;
        visibility: visible;
        opacity: 1;
    }
    
    .contact-form-container {
        order: 2;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .contact-form-header {
        margin-bottom: 1.25rem;
    }
    
    .contact-form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-form {
        gap: 1rem;
        width: 100%;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .form-group {
        width: 100%;
        gap: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 0.875rem;
        font-size: 16px;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
        font-family: var(--body-font);
    }
    
    .form-group select {
        padding-right: 2.5rem;
        background-size: 12px;
        background-position: right 0.875rem center;
    }
    
    .btn-submit {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        width: 100%;
        min-height: 48px;
        margin-top: 0.5rem;
    }
    
    .contact-info-header {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-info-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-info-items {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
    }
    
    .contact-info-item {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        background-color: var(--white);
        border-radius: 12px;
        border: 1px solid rgba(45, 90, 74, 0.1);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-info-content {
        width: 100%;
    }
    
    .contact-info-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-content p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        line-height: 1.6;
    }
    
    .contact-info-content a {
        display: inline-block;
        word-break: break-word;
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Responsive WhatsApp Button */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}