* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Young Serif', serif;
}

.mobile-menu-wrapper {
    position: relative;
    z-index: 9999;
}

.menu-toggle-input {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #1c98e6 0%, #00679f 40%, #003f67 50%, #001224 100%);
    overflow: hidden;
}

.tentacle-left {
    position: absolute;
    top: 60px;
    left: -140px;
    width: 650px;
    opacity: .12;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

.tentacle-right {
    position: absolute;
    bottom: -80px;
    right: -140px;
    width: 700px;
    opacity: .6;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

.header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: #001224;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: auto;
    border-radius: 50%;
}

.logo h2 {
    color: #ffffff;
    font-size: 2.0rem;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: .3s;
}

nav a:hover {
    opacity: .7;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 40;
    position: relative;
}

.menu-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#menu-toggle:checked~.mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 18, 36, 0.85);
    cursor: pointer;
}

.mobile-nav-modal {
    position: relative;
    background: #001224;
    width: 85%;
    max-width: 400px;
    padding: 45px 30px 35px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#menu-toggle:checked~.mobile-nav-overlay .mobile-nav-modal {
    transform: scale(1);
}

.close-btn-mobile {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    font-family: 'Young Serif', serif;
}

.mobile-nav-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-nav-modal ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.6rem;
    transition: 0.3s;
}

.mobile-nav-modal ul li a:hover {
    color: #cb612e;
}

.overlay-btn-primary {
    background: #cb612e;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 35px;
    transition: 0.3s;
}

.overlay-btn-primary:hover {
    transform: translateY(-3px);
    background: #b35728;
}

.hero-content {
    position: relative;
    z-index: 20;
    min-height: calc(120vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-text {
    max-width: 850px;
}

.hero-text h1 {
    color: #f5eed7;
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    line-height: 1.2;
    font-weight: 400;
}

.hero-text h1 span {
    color: #cb612e;
}

.subtitle {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #d8c7a4;
    letter-spacing: 4px;
    text-transform: none;
    font-size: 1rem;
}

.subtitle::before,
.subtitle::after {
    content: "";
    width: 60px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0,5 Q15,0 30,5 T60,5' stroke='rgba(255,255,255,0.7)' stroke-width='2' fill='none' /%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}

.buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    width: 200px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    font-size: 1rem;
    transition: .3s;
}

.btn-primary {
    background: #cb612e;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .08);
}

.hero-glovo {
    display: none;
    margin-top: 22px;
}

.hero-glovo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5eed7;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.hero-glovo-link svg {
    width: 20px;
    height: 20px;
}

.glovo-logo {
    height: 20px;
    object-fit: contain;
}

.hero-glovo-link:hover {
    color: #cb612e;
}

.offer-section {
    background-color: #001224;
    padding: 60px 20px;
    text-align: center;
}

.offer-section .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #084466;
    border-radius: 20px;
    padding: 30px 25px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-glovo {
    display: none;
}

.card-icon {
    margin-bottom: 15px;
}

.card-icon svg {
    width: 50px;
    height: 50px;
    fill: #4bb6e8;
    stroke: #4bb6e8;
    stroke-width: 3;
}

.card-title {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-desc {
    color: #f5eed7;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 250px;
    margin-bottom: 25px;
    text-align: center;
}

.card-btn {
    border: 1px solid #cb612e;
    color: #cb612e;
    background: transparent;
    padding: 8px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.card-btn:hover {
    background: #cb612e;
    color: #ffffff;
}

.how-it-works-section {
    position: relative;
    background-color: #f5eed7;
    background-image:
        linear-gradient(180deg,
            rgba(245, 238, 215, 0) 0%,
            rgba(245, 238, 215, 0.72) 72%,
            rgba(230, 230, 230, 0.95) 100%),
        url("img/rettangolo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 40px 20px 50px;
    min-height: 350px;
    overflow: hidden;
}

.how-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.how-tentacle-left {
    position: absolute;
    top: 40%;
    left: -100px;
    width: 550px;
    opacity: 0.25;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-5deg);
    display: block;
}

.how-tentacle-right {
    position: absolute;
    top: 0px;
    right: -100px;
    width: 450px;
    opacity: 0.25;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
    transform: rotate(5deg);
    display: block;
}

.how-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-pre-title {
    color: #4bb6e8;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.how-main-title {
    color: #003f67;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.how-main-title span {
    color: #cb612e;
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.step-text {
    color: #003f67;
    font-size: 1.3rem;
    font-weight: 400;
}

.step-arrow svg {
    width: 35px;
    height: 65px;
    display: block;
    margin: 0 auto;
}

.how-order-btn {
    background: #cb612e;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 14px;
    font-size: 1.1rem;
    margin-top: 15px;
    display: inline-block;
    transition: 0.3s;
}

.how-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(203, 97, 46, 0.4);
}

.social-section {
    background-color: #e6e6e6;
    background-image: linear-gradient(180deg,
        #e6e6e6 0%,
        #ece9dd 38%,
        #e6e6e6 100%);
    padding: 60px 20px 70px;
    text-align: center;
}

.social-title {
    color: #003f67;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
}

.social-title-orange {
    color: #cb612e;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: 0.3s;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-glovo-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-link:hover {
    transform: scale(1.1);
}

.map-section {
    background-color: #001224;
    padding: 60px 20px 80px;
    text-align: center;
}

.map-pre-title {
    color: #4bb6e8;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.map-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.map-image-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-frame-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.map-consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 18, 36, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px;
    text-align: center;
}

.map-consent-overlay svg {
    width: 44px;
    height: 44px;
    color: #4bb6e8;
}

.map-consent-overlay p {
    color: #f5eed7;
    max-width: 400px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-section {
    background-color: #001224;
    padding: 40px 20px 60px;
    text-align: center;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 400;
}

.contact-text {
    color: #f5eed7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text.underlined {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #ffffff;
}

.contact-button-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-action-btn {
    display: inline-block;
    width: 100%;
    background: #cb612e;
    color: #ffffff;
    text-decoration: none;
    padding: 18px;
    border-radius: 14px;
    font-size: 1.2rem;
    text-align: center;
    transition: 0.3s;
}

.contact-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(203, 97, 46, 0.4);
}

.contact-action-btn-secondary {
    background: transparent;
    border: 2px solid #cb612e;
    color: #cb612e;
}

.contact-action-btn-secondary:hover {
    background: #cb612e;
    color: #ffffff;
}

.footer-section {
    background-color: #0a5c85;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-inner {
    max-width: 700px;
    margin: 0 auto;
}

.footer-top {
    margin-bottom: 30px;
}

.footer-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 400;
}

.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-divider {
    width: 100%;
    height: 2px;
    background-color: #001224;
    margin: 5px 0;
}

.footer-col-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-contact-item a {
    text-decoration: none;
    color: #f5eed7;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact-item a:hover {
    opacity: 0.7;
}

.footer-contact-item {
    color: #f5eed7;
    font-size: 0.95rem;
}

.footer-waves {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-wave {
    width: 220px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    color: #ffffff;
    font-size: 0.9rem;
    padding-top: 20px;
    margin-top: 10px;
}

.footer-credit {
    color: #f5eed7;
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-credit a {
    color: #4bb6e8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: 0.3s;
}

.footer-credit a:hover {
    opacity: 0.8;
}

/* Cookie shield button (fixed, follows scroll) */
.cookie-shield-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 500;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #001224;
    border: 2px solid #4bb6e8;
    color: #4bb6e8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: 0.3s;
}

.cookie-shield-btn svg {
    width: 24px;
    height: 24px;
}

.cookie-shield-btn:hover {
    transform: translateY(-3px);
}

.cookie-shield-btn.cookie-shield-accepted {
    border-color: #3fae5c;
    color: #3fae5c;
}

.cookie-shield-btn.cookie-shield-rejected {
    border-color: #cb612e;
    color: #cb612e;
}

.cookie-panel {
    position: fixed;
    bottom: 85px;
    left: 20px;
    z-index: 500;
    width: min(320px, calc(100vw - 40px));
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.cookie-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-panel-header h3 {
    color: #001224;
    font-size: 1.1rem;
    font-weight: 400;
}

.cookie-panel-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #001224;
    line-height: 1;
}

.cookie-panel-text {
    color: #333333;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cookie-panel-text a {
    color: #cb612e;
}

.cookie-panel-status {
    font-size: 0.8rem;
    color: #666666;
    margin-bottom: 14px;
    font-style: italic;
}

.cookie-panel-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Young Serif', serif;
    transition: 0.3s;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.cookie-btn-solid {
    background: #cb612e;
    color: #ffffff;
    border: 2px solid #cb612e;
}

.cookie-btn-solid:hover {
    background: #b35728;
}

.cookie-btn-outline {
    background: transparent;
    color: #001224;
    border: 2px solid #001224;
}

.cookie-btn-outline:hover {
    background: rgba(0, 0, 0, 0.06);
}

.map-consent-overlay .cookie-btn-solid {
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 600;
    background: #001224;
    color: #f5eed7;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.cookie-banner p {
    max-width: 600px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #4bb6e8;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
}

.cookie-banner .cookie-btn {
    flex: none;
    width: 120px;
}

/* Gestione attributo hidden */
[hidden] {
    display: none !important;
}

/* Pagine legali (Privacy / Cookie Policy) */
.legal-section {
    background-color: #001224;
    color: #f5eed7;
    padding: 160px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #001224;
    z-index: -1;
}

.legal-section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
}

.legal-section > p:first-of-type {
    text-align: center;
    color: #4bb6e8;
    font-size: 0.9rem;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(75, 182, 232, 0.3);
}

.legal-section h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 50px 0 20px;
    font-weight: 500;
    padding-bottom: 12px;
    border-bottom: 2px solid #4bb6e8;
    position: relative;
}

.legal-section h2::before {
    content: "§ ";
    color: #cb612e;
    margin-right: 8px;
    font-size: 1.3rem;
}

.legal-section h3 {
    color: #4bb6e8;
    font-size: 1.15rem;
    margin: 25px 0 12px;
    font-weight: 500;
    padding-left: 15px;
    border-left: 3px solid #cb612e;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
    text-align: justify;
}

.legal-section ul,
.legal-section ol {
    margin: 20px 0 20px 30px;
    line-height: 1.9;
}

.legal-section ul li,
.legal-section ol li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-section ul li::marker {
    color: #4bb6e8;
}

.legal-section ol li::marker {
    color: #cb612e;
    font-weight: 600;
}

.legal-section strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-section a {
    color: #4bb6e8;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #cb612e;
    text-decoration: underline;
}

.legal-section code {
    background-color: rgba(75, 182, 232, 0.1);
    color: #4bb6e8;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(75, 182, 232, 0.3);
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: rgba(75, 182, 232, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.legal-section table thead {
    background-color: #001f35;
}

.legal-section table th {
    color: #4bb6e8;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #4bb6e8;
    font-size: 0.95rem;
}

.legal-section table td {
    color: #f5eed7;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(75, 182, 232, 0.2);
    font-size: 0.9rem;
}

.legal-section table tbody tr:hover {
    background-color: rgba(75, 182, 232, 0.1);
}

.legal-section table tbody tr:last-child td {
    border-bottom: none;
}

.legal-section .info-box {
    background-color: rgba(75, 182, 232, 0.1);
    border-left: 4px solid #4bb6e8;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.legal-section .info-box strong {
    color: #4bb6e8;
}

.legal-section .warning-box {
    background-color: rgba(203, 97, 46, 0.1);
    border-left: 4px solid #cb612e;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.legal-section .warning-box strong {
    color: #cb612e;
}

@media(max-width:1200px) {
    .tentacle-left {
        width: 600px;
        left: -120px;
        top: 10%;
        opacity: .1;
    }

    .tentacle-right {
        width: 550px;
        right: -110px;
        bottom: -60px;
        opacity: .5;
    }

    .hero-text h1 {
        font-size: 4.5rem;
    }
}

@media(max-width:992px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding: 20px 25px;
        transition: .3s;
    }

    .hero-content {
        padding-top: 130px;
    }

    .logo img {
        width: 65px;
    }

    .logo h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 25px;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .tentacle-left {
        width: 600px;
        left: -140px;
        top: 60px;
        opacity: .12;
    }

    .tentacle-right {
        width: 550px;
        right: -180px;
        bottom: -70px;
        opacity: .45;
    }
}

@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-desc {
        max-width: 100%;
    }

    .footer-divider {
        display: none;
    }

    .footer-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        max-width: 700px;
        margin: 0 auto;
    }

    .contact-button-wrapper {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .hero-glovo {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .offer-section {
        padding: 80px 40px;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .card {
        padding: 40px 30px 50px;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .card-desc {
        font-size: 1rem;
    }

    .how-tentacle-left {
        width: 600px;
        left: -100px;
        top: 45%;
        transform: rotate(-5deg);
    }

    .how-tentacle-right {
        width: 450px;
        right: -100px;
        top: 0px;
        transform: rotate(5deg);
    }

    .how-main-title {
        font-size: 3rem;
    }

    .step-text {
        font-size: 1.8rem;
    }

    .step-arrow svg {
        width: 50px;
        height: 100px;
    }

    .social-icons {
        gap: 80px;
    }

    .social-link {
        width: 70px;
        height: 70px;
    }

    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:768px) {
    .header {
        padding: 20px 25px;
    }

    .logo img {
        width: 60px;
    }

    .logo h2 {
        font-size: 1.8rem;
    }

    nav {
        display: none !important;
    }

    .menu-toggle-label {
        display: flex !important;
    }

    .mobile-break {
        display: inline;
    }

    .hero-content {
        padding: 70px 20px 40px;
        min-height: calc(100vh - 100px);
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .subtitle {
        gap: 10px;
        letter-spacing: 2px;
        margin-top: 18px;
    }

    .subtitle::before,
    .subtitle::after {
        width: 35px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        height: 50px;
        font-size: 0.95rem;
    }

    .tentacle-left {
        width: 700px;
        height: auto;
        left: -190px;
        top: 95px;
        opacity: .18;
        transform: rotate(8deg);
    }

    .tentacle-right {
        width: 500px;
        right: -225px;
        bottom: -22%;
        opacity: .42;
        transform: rotate(-8deg);
    }

    .card-glovo {
        display: flex;
    }

    .how-it-works-section {
        padding: 20px 15px 30px;
        min-height: 300px;
    }

    .how-tentacle-left {
        display: block;
        top: 45%;
        left: -110px;
        width: 300px;
        height: auto;
        transform: rotate(-5deg);
    }

    .how-tentacle-right {
        display: block;
        top: 20px;
        right: -110px;
        width: 250px;
        height: auto;
        transform: rotate(5deg);
    }

    .how-main-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .step-text {
        font-size: 1.1rem;
    }

    .step-arrow svg {
        width: 30px;
        height: 55px;
    }

    .how-order-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        margin-top: 10px;
    }

    .social-title {
        font-size: 1.8rem;
    }

    .social-icons {
        gap: 30px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .map-title {
        font-size: 2rem;
    }

    .map-iframe {
        height: 250px;
    }

    .contact-wrapper {
        gap: 20px;
    }

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

    .contact-action-btn {
        max-width: 100%;
        font-size: 1rem;
        padding: 15px;
    }

    .footer-title {
        font-size: 1.8rem;
    }

    .footer-wave {
        width: 150px;
        height: 40px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .cookie-shield-btn {
        bottom: 15px;
        left: 15px;
        width: 46px;
        height: 46px;
    }

    .cookie-panel {
        bottom: 75px;
        left: 15px;
    }

    .legal-section {
        padding: 120px 20px 60px;
        max-width: 100%;
    }

    .legal-section h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
        margin: 35px 0 15px;
    }

    .legal-section h3 {
        font-size: 1rem;
    }

    .legal-section p {
        font-size: 0.9rem;
        text-align: left;
    }

    .legal-section ul,
    .legal-section ol {
        margin-left: 20px;
    }

    .legal-section table {
        font-size: 0.85rem;
    }

    .legal-section table th {
        padding: 12px 10px;
    }

    .legal-section table td {
        padding: 10px;
    }
}

@media(max-width:420px) {
    .tentacle-left {
        width: 500px;
        left: -175px;
        top: 70px;
    }

    .tentacle-right {
        width: 500px;
        right: -80%;
        bottom: -65px;
    }
}
