/* =========================
   1. VARIABLES Y RESET
========================= */
:root {
    --yellow: #FFD200;
    --dark: #333333;
    --gray: #777777;
    --white: #ffffff;
    --bg-light: #f7f7f7;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--dark);
    line-height: 1.6;
    padding-top: 90px;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   2. HEADER
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 10px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu a:hover {
    color: var(--yellow);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: rgba(0, 0, 0, 0.78);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgba(0, 0, 0, 0.65);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--yellow);
    color: #000;
    border-color: var(--yellow);
    box-shadow: 0 6px 20px rgba(255, 210, 0, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--yellow);
    background: #fff9d6;
}

/* =========================
   HEADER MÓVIL / HAMBURGUESA
========================= */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: rgba(0, 0, 0, 0.82);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.18);
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: linear-gradient(180deg, #2b2b2b 0%, #1f1f1f 100%);
    color: var(--white);
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 140px;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-contact p,
.footer-links ul li a,
.footer-social a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--yellow);
    position: relative;
}

.footer h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 10px;
    margin-top: 8px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--yellow);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--yellow);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

/* =========================
   3. HERO SERVICIO
========================= */
.delivery-hero {
    position: relative;
    min-height: 780px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #f5a000 0%, #f7a600 45%, #ef9500 100%);
}

/* Brillos de fondo */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    width: 280px;
    height: 280px;
    top: 80px;
    right: 140px;
}

.glow-2 {
    width: 180px;
    height: 180px;
    bottom: 120px;
    left: 45%;
}

/* =========================
   NUBES CON IMAGEN (MEJORADAS)
========================= */

.cloud-img {
    position: absolute;
    left: -300px;
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;

    animation: cloudMove linear infinite;
}

/* Nube 1 (lejana - lenta) */
.cloud-a {
    top: 60px;
    width: 180px;
    opacity: 0.65;
    animation-duration: 38s;
}

/* Nube 2 (media) */
.cloud-b {
    top: 130px;
    width: 240px;
    opacity: 0.8;
    animation-duration: 30s;
}

/* Nube 3 (cercana - rápida) */
.cloud-c {
    top: 200px;
    width: 160px;
    opacity: 0.7;
    animation-duration: 26s;
}

/* Movimiento horizontal */
@keyframes cloudMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 600px));
    }
}
@media (max-width: 768px) {
    .cloud-a {
        width: 140px;
        top: 40px;
    }

    .cloud-b {
        width: 180px;
        top: 90px;
    }

    .cloud-c {
        width: 130px;
        top: 150px;
    }
}

/* Contenido */
.delivery-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 70px 150px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    align-items: center;
}

.delivery-text {
    max-width: 580px;
}

.delivery-badge {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.delivery-text h1 {
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.95;
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px;
}

.delivery-text p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 34px;
}

.delivery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 34px;
    border-radius: 999px;
    background: #2f2f2f;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.delivery-btn:hover {
    transform: translateY(-3px);
    background: #222;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

/* Escena */
.delivery-scene {
    position: relative;
    min-height: 430px;
    height: 430px;
    z-index: 3;
}

/* Repartidor */
.rider-wrap {
    position: absolute;
    right: clamp(18px, 6vw, 90px);
    bottom: -170px;
    width: min(410px, 38vw);
    z-index: 3;
}

.rider-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.20));
    animation: riderFloat 3s ease-in-out infinite;
}

/* Carretera */
.road {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 135px;
    background: #393939;
    z-index: 1;
    box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.05);
}

.road::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.08), rgba(255,255,255,0.2), rgba(255,255,255,0.08));
}

.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 10px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(
        to right,
        #ffffff 0 60px,
        transparent 60px 120px
    );
    animation: roadMove 1.2s linear infinite;
}

/* Animaciones */
@keyframes roadMove {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-120px);
    }
}

@keyframes riderFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes cloudPass {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 340px));
    }
}

@keyframes cloudFloat {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -10px;
    }
}

@keyframes speedPulse {
    0%, 100% {
        opacity: 0.35;
        transform: translateX(0) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-8px) scaleX(1.08);
    }
}

@keyframes dustPulse {
    0%, 100% {
        opacity: 0.18;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.45;
        transform: scale(1.08);
    }
}

/* Responsive delivery */
@media (max-width: 992px) {
    .delivery-hero {
        min-height: 700px;
    }

    .delivery-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 105px 24px 120px;
        gap: 18px;
    }

    .delivery-text {
        max-width: 100%;
    }

    .delivery-text p {
        font-size: 1.08rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .delivery-scene {
        min-height: 300px;
        height: 300px;
    }

    .rider-wrap {
        left: 50%;
        right: auto;
        bottom: -132px;
        transform: translateX(-50%);
        width: min(290px, 62vw);
    }

    .road {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .delivery-hero {
        min-height: 620px;
    }

    .delivery-content {
        padding: 92px 20px 100px;
        gap: 12px;
    }

    .delivery-badge {
        font-size: 0.92rem;
        padding: 10px 18px;
    }

    .delivery-text h1 {
        font-size: 2.7rem;
    }

    .delivery-text p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }

    .delivery-btn {
        padding: 16px 28px;
    }

    .delivery-scene {
        min-height: 215px;
        height: 215px;
    }

    .rider-wrap {
        left: 50%;
        right: auto;
        bottom: -98px;
        transform: translateX(-50%);
        width: min(250px, 72vw);
    }

    .road {
        height: 86px;
    }

    .road-lines {
        height: 8px;
    }
}

@media (max-width: 420px) {
    .delivery-hero {
        min-height: 590px;
    }

    .delivery-content {
        padding: 88px 16px 92px;
    }

    .delivery-text h1 {
        font-size: 2.35rem;
    }

    .delivery-text p {
        max-width: 290px;
    }

    .delivery-scene {
        min-height: 195px;
        height: 195px;
    }

    .rider-wrap {
        left: 50%;
        right: auto;
        bottom: -88px;
        transform: translateX(-50%);
        width: min(220px, 74vw);
    }

    .road {
        height: 78px;
    }
}
.rider-anim {
    animation: riderEntrance 1s ease-out forwards;
    opacity: 0;
}

.rider-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.20));
    animation: riderFloat 3s ease-in-out 1s infinite;
}

@keyframes riderEntrance {
    0% {
        opacity: 0;
        transform: translateX(-100vw);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes riderFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* =========================
   4. SECCIONES GENERALES
========================= */
.info-section,
.benefits-section,
.steps-section,
.conditions-section,
.faq-section,
.final-cta {
    padding: 85px 0;
}

.section-narrow {
    max-width: 900px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a6a00;
    background: rgba(255, 210, 0, 0.18);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.15;
    color: var(--dark);
}

.lead-text {
    font-size: 18px;
    color: var(--gray);
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

/* =========================
   5. INFO SECTION
========================= */
.info-section {
    background: #ffffff;
}

/* =========================
   6. BENEFITS
========================= */
.benefits-section {
    background: linear-gradient(180deg, #fffef8 0%, #f8f8f8 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.benefit-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: #fff8d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.benefit-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 15px;
    color: var(--gray);
}

/* =========================
   7. PASOS
========================= */
.steps-section {
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--yellow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 210, 0, 0.2);
    color: #6e5400;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray);
    font-size: 15px;
}

/* =========================
   8. CONDICIONES
========================= */
.conditions-section {
    background: linear-gradient(135deg, #2f2f2f 0%, #1f1f1f 100%);
    color: var(--white);
}

.conditions-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.conditions-section .section-label {
    background: rgba(255, 210, 0, 0.18);
    color: var(--yellow);
}

.conditions-section .section-heading h2 {
    color: var(--white);
}

.conditions-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.conditions-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,0.82);
    font-size: 16px;
}

.conditions-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--yellow);
    font-weight: 700;
}

.conditions-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.conditions-box h3 {
    font-size: 28px;
    margin-bottom: 14px;
    color: var(--white);
}

.conditions-box p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 22px;
    font-size: 16px;
}

/* =========================
   9. FAQ
========================= */
.faq-section {
    background: #ffffff;
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 500;
    color: var(--yellow);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item[open] summary {
    background: #fffaf0;
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--gray);
    font-size: 15px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
    .hero-grid,
    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .benefits-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .final-cta-box h2 {
        font-size: 34px;
    }
}

/* =========================
   MÓVIL
========================= */
@media (max-width: 768px) {
    .hero-servicio,
    .info-section,
    .benefits-section,
    .steps-section,
    .conditions-section,
    .faq-section,
    .final-cta {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .hero-image img {
        border-radius: 22px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .lead-text {
        font-size: 16px;
    }

    .benefits-grid,
    .steps-grid,
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .step-card,
    .conditions-box {
        border-radius: 22px;
    }

    .benefit-card h3,
    .step-card h3 {
        font-size: 19px;
    }

    .conditions-box {
        padding: 28px 22px 30px;
    }

    .conditions-box h3 {
        font-size: 24px;
    }

    .conditions-box .btn-primary,
    .conditions-box .btn-secondary {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        min-height: 56px;
    }

    .conditions-box .btn-primary {
        margin-bottom: 14px;
    }

    .faq-item summary {
        font-size: 16px;
        padding: 18px 20px;
    }

    .faq-item p {
        padding: 0 20px 18px;
        font-size: 14px;
    }

    .final-cta-box {
        padding: 36px 22px;
        border-radius: 24px;
    }

    .final-cta-box h2 {
        font-size: 28px;
    }

    .final-cta-box p {
        font-size: 15px;
    }

    .center-buttons {
        flex-direction: column;
    }

    html,
    body {
        overflow-x: hidden;
    }

    body {
        padding-top: 82px;
    }

    .container {
        width: 92%;
    }

    .header {
        padding: 8px 0;
    }

    .nav {
        height: 60px;
    }

    .logo img {
        height: 42px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 12px;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        z-index: 1001;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 15px;
    }

    .menu a:hover {
        background: #fff8cc;
        transform: none;
    }

    .hero-sucursales {
        padding: 45px 0 35px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-sucursales h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-sucursales > .container > .hero-content > p {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-box input,
    .search-box button,
    .btn-primary {
        width: 100%;
    }

    .nearest-branch-box {
        max-width: 100%;
        padding: 18px;
        border-radius: 18px;
    }

    .nearest-branch-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .nearest-branch-image {
        width: 100%;
        height: 190px;
    }

    .nearest-branch-info .branch-name {
        font-size: 22px;
    }

    .sucursales-section {
        padding: 35px 0 55px;
    }

    .sucursales-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sucursales-list h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .map-container {
        position: static;
        top: auto;
        height: 360px;
        order: -1;
    }

    .sucursal-card {
        padding: 14px;
        margin-bottom: 16px;
    }

    .sucursal-image {
        height: 180px;
    }

    .sucursal-card h3 {
        font-size: 17px;
    }

    .sucursal-card p {
        font-size: 14px;
    }

    .sucursal-card button {
        width: 100%;
        margin-top: 10px;
    }

    .footer {
        padding-top: 50px;
        margin-top: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-logo {
        width: 120px;
        margin: 0 auto 16px;
    }

    .footer h4::after {
        margin: 8px auto 0;
    }

    .footer-brand p,
    .footer-contact p,
    .footer-links ul li a,
    .footer-social a {
        font-size: 14px;
        line-height: 1.7;
    }

    .social-icons {
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 29px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .tag,
    .section-label {
        font-size: 12px;
    }

    .benefit-icon {
        width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 16px;
    }

    .final-cta-box h2 {
        font-size: 24px;
    }

    .logo img {
        height: 38px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-sucursales h1 {
        font-size: 28px;
    }

    .map-container {
        height: 300px;
        border-radius: 18px;
    }

    .nearest-branch-image {
        height: 170px;
    }

    .footer-logo {
        width: 105px;
    }

    .footer h4 {
        font-size: 17px;
    }

    .footer-brand p,
    .footer-contact p,
    .footer-links ul li a,
    .footer-social a {
        font-size: 13px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .conditions-box .btn-primary {
        margin-bottom: 16px;
    }
}

@media (max-width: 420px) {
    .conditions-box .btn-primary {
        margin-bottom: 18px;
    }
}
