/* ================================================================
   FLEXYCARGO - ESTILOS GLOBALES
   ================================================================ */

/* ===== FUENTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== RESET Y BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
}

.container-limited {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.topbar {
    background: #173E81;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.topbar-inner {
    max-width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-area a {
    display: block;
}

.logo-area img {
    height: 50px;
    width: auto;
}

.nav-main {
    display: flex;
    gap: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-main li a {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 16px;
    transition: background .2s;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.nav-main li a:hover {
    background: rgba(255, 255, 255, .12);
    border-radius: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.flags {
    display: flex;
    gap: 6px;
}

.flag {
    width: 28px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform .2s;
    background-size: cover;
    background-position: center;
}

.flag:hover {
    transform: scale(1.1);
}

.flag-es {
    background-image: url('https://flagcdn.com/es.svg');
}

.flag-en {
    background-image: url('https://flagcdn.com/gb.svg');
}

.flag-fr {
    background-image: url('https://flagcdn.com/fr.svg');
}

.flag-de {
    background-image: url('https://flagcdn.com/de.svg');
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('https://flexycargo.es/wp-content/uploads/2024/12/Servicio-de-mudanza.webp') center/cover no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    color: #fff;
    text-align: center;
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #fff;
}

.hero-text .hero-sub {
    font-size: 16px;
    font-style: italic;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text p strong {
    color: #fff;
    font-weight: 700;
}

.hero-text p .notice {
    color: #fbbf24;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-white {
    background: #fff;
    color: #173E81;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
    font-family: 'Poppins', sans-serif;
}

.btn-white:hover {
    background: #e8e8e8;
}

/* ===== CARRUSEL ===== */
.marquee-simple {
    background: #173E81;
    color: #ffffff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    border-top: 2px solid rgba(251, 191, 36, 0.20);
    border-bottom: 2px solid rgba(251, 191, 36, 0.20);
    box-shadow: 0 2px 15px rgba(23, 62, 129, 0.3);
    font-family: 'Poppins', sans-serif;
}

.marquee-simple .marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 70s linear infinite;
}

.marquee-simple .marquee-item {
    display: inline-block;
    margin: 0 25px;
}

.marquee-simple .marquee-item .separador {
    color: #fbbf24;
    margin: 0 18px;
    font-weight: 300;
    opacity: 0.6;
}

.marquee-simple .marquee-item .destacado {
    color: #fbbf24;
    font-weight: 700;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-simple {
        font-size: 13px;
        padding: 8px 0;
    }
    .marquee-simple .marquee-item {
        margin: 0 16px;
    }
    .marquee-simple .marquee-item .separador {
        margin: 0 12px;
    }
}

/* ===== SOPORTE ===== */
.soporte-section {
    background: #fff;
    padding: 50px 0;
}

.soporte-section .container-limited {
    max-width: 1400px;
}

.soporte-section .soporte-header {
    text-align: center;
    margin-bottom: 30px;
}

.soporte-section .soporte-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    color: #173E81;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.soporte-section .soporte-header p {
    font-size: 14px;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.soporte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 10px;
}

.soporte-card {
    background: #f4f8fc;
    border-radius: 8px;
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s;
}

.soporte-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.soporte-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #E63946;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.soporte-card p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    font-weight: 400;
}

.soporte-card p strong {
    color: #173E81;
    font-weight: 600;
}

.soporte-cta {
    text-align: center;
    margin-top: 28px;
    padding: 20px;
    background: transparent;
    border-radius: 8px;
}

.soporte-cta p {
    font-size: 14px;
    font-weight: 600;
    color: #173E81;
    margin-bottom: 12px;
}

.btn-soporte {
    display: inline-block;
    background: #173E81;
    color: #fff;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    transition: background .2s;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-soporte:hover {
    background: #1a4a9e;
}

@media (max-width: 768px) {
    .soporte-grid {
        grid-template-columns: 1fr;
    }
    .soporte-section .soporte-header h2 {
        font-size: 26px;
    }
}

/* ===== EMPRESA INTRO ===== */
.empresa-intro {
    background: #fff;
    padding: 50px 0;
}

.empresa-intro .container-limited {
    text-align: center;
}

.empresa-intro h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #E63946;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.empresa-intro p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.empresa-intro p strong {
    color: #173E81;
    font-weight: 600;
}

/* ===== SECCIONES ===== */
.section {
    padding: 50px 0;
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mud-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transition: transform .2s, box-shadow .2s;
    background: #f4f8fc;
    cursor: pointer;
}

.mud-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.mud-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mud-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #d0d8e0;
}

.mud-card-body {
    padding: 16px;
}

.mud-card-body h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #173E81;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.mud-card-body p {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== SECCIÓN CENTRADA ===== */
.section-header-center {
    text-align: center;
    margin-bottom: 10px;
}

.section-header-center h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #173E81;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.section-header-center h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #E63946;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* ===== VALENCIA (fondo blanco) ===== */
.valencia-section {
    background: #fff;
}

.valencia-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.valencia-text {
    flex: 1;
    min-width: 280px;
}

.valencia-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #173E81;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.valencia-text p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

.valencia-img {
    flex: 1;
    min-width: 280px;
}

.valencia-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 280px;
}

/* ===== ALICANTE (fondo blanco) ===== */
.alicante-section {
    background: #fff;
}

.alicante-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.alicante-text {
    flex: 1;
    min-width: 280px;
}

.alicante-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #173E81;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.alicante-text p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

.alicante-img {
    flex: 1;
    min-width: 280px;
}

.alicante-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 280px;
}

/* ===== JAVEA ===== */
.javea-section {
    background: #fff;
}

.javea-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.javea-text {
    flex: 1;
    min-width: 280px;
}

.javea-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #173E81;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.javea-text p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

.javea-img {
    flex: 1;
    min-width: 280px;
}

.javea-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 280px;
}

/* ===== FLEXYCARGO COMPROMISO ===== */
.flexy-compromiso {
    background: #fff;
    padding: 50px 0;
}

.flexy-compromiso .section-header-center {
    margin-bottom: 30px;
}

.flexy-compromiso .section-header-center h2 {
    color: #173E81;
    font-size: 34px;
}

.flexy-compromiso .section-header-center h3 {
    color: #E63946;
    font-size: 22px;
}

.flexy-compromiso-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.flexy-compromiso-img {
    flex: 1;
    min-width: 280px;
}

.flexy-compromiso-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 300px;
}

.flexy-compromiso-text {
    flex: 1;
    min-width: 280px;
}

.flexy-compromiso-text h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #173E81;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.flexy-compromiso-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
}

.flexy-compromiso-text ul li {
    font-size: 14px;
    color: #000;
    padding: 6px 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flexy-compromiso-text ul li::before {
    content: "✓";
    color: #173E81;
    font-weight: 700;
    font-size: 18px;
}

.flexy-compromiso-text p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .flexy-compromiso-inner {
        flex-direction: column;
    }
    .flexy-compromiso .section-header-center h2 {
        font-size: 28px;
    }
    .flexy-compromiso .section-header-center h3 {
        font-size: 20px;
    }
}

/* ===== ADICIONALES ===== */
.adicionales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.adic-card {
    background: #f4f8fc;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.adic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.adic-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.adic-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.adic-card-body {
    padding: 14px;
}

.adic-card-body h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 19px;
    color: #173E81;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.adic-card-body p {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== BOTONES ===== */
.btn-presupuesto {
    display: inline-block;
    background: #E63946;
    color: #fff;
    padding: 11px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    transition: background .2s;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-presupuesto:hover {
    background: #c62c39;
}

/* ===== MAPA ===== */
.map-section {
    background: #fff;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background: #173E81;
    color: #aac4d8;
    padding: 45px 0 20px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #aac4d8;
    font-size: 15px;
    transition: color .2s;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-contact-info {
    font-size: 15px;
}

.footer-contact-info a {
    color: #4db8ff;
}

.footer-contact-info .fc-phone {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #7a99b0;
    font-weight: 300;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 10px;
}

.footer-logo-img a {
    display: block;
}

/* ===== STICKY WHATSAPP ===== */
.sticky-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 80px;
    background: #25d366;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
    z-index: 999;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.sticky-whatsapp:hover {
    background: #1da851;
    transform: scale(1.05);
}

/* ===== SCROLL TO TOP ===== */
.sticky-scroll-top {
    position: fixed;
    right: 18px;
    bottom: 24px;
    background: #173E81;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
    z-index: 999;
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
}

.sticky-scroll-top:hover {
    background: #1a4a9e;
    transform: scale(1.05);
}

.sticky-scroll-top.show {
    display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .topbar-inner {
        gap: 8px;
    }
    .nav-main li a {
        padding: 8px 10px;
        font-size: 14px;
    }
    .header-right {
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
        gap: 10px;
    }
    .nav-main {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-main li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .adicionales-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 30px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .adicionales-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .valencia-inner,
    .alicante-inner,
    .javea-inner,
    .flexy-compromiso-inner {
        flex-direction: column;
    }
    .flags .flag {
        width: 24px;
        height: 17px;
    }
    .map-container {
        height: 250px;
    }
    .soporte-grid {
        grid-template-columns: 1fr;
    }
    .empresa-intro h2 {
        font-size: 24px;
    }
    .section-header-center h2 {
        font-size: 26px;
    }
    .section-header-center h3 {
        font-size: 20px;
    }
}