/* ============================================================
   REDISEÑO "Dirección A" — estilo Uber (negro/blanco + rojo)
   Hoja de overrides sobre main.css. No sustituye al HTML existente.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --rd-black: #0a0a0a;
    --rd-red: #E4002B;
    --rd-white: #ffffff;
    --rd-gray-text: #666666;
    --rd-gray-line: #ececec;
}

body, .banner-content p, .single-service p, .home-about-area p, table, .footer-text {
    font-family: 'Manrope', system-ui, sans-serif !important;
}

/* ---------- HEADER ---------- */
/* El header ya es position:fixed en main.css y flota transparente sobre el hero;
   solo tocamos color de marca, no el posicionamiento (evita romper el scroll fijo). */
.main-menu { background: transparent !important; }
#header.header-scrolled,
#header.header-scrolled .main-menu {
    background: var(--rd-black) !important;
    box-shadow: none !important;
}
/* Franja decorativa heredada del theme original (img/menu-top.jpg), nunca visible
   antes por casualidad de layout — la ocultamos, no encaja con el rediseño. */
.header-top { display: none !important; }
.nav-menu > li > a {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
.nav-menu > li.menu-active > a,
.nav-menu > li > a:hover {
    color: var(--rd-white) !important;
}

/* ---------- HERO / BANNER ---------- */
.banner-area {
    background-color: var(--rd-black) !important;
}
.banner-area .overlay-bg,
.overlay.overlay-bg {
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.97) 100%) !important;
    opacity: 1 !important;
}
.banner-content h1 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.08 !important;
    font-size: 46px !important;
}
.banner-content h2 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: var(--rd-white) !important;
    font-size: 26px !important;
    text-transform: none !important;
}
.banner-content h2 a { color: var(--rd-white) !important; }
.banner-content p { color: rgba(255,255,255,0.7) !important; font-size: 16px !important; line-height: 1.6 !important; }

.primary-btn {
    background: var(--rd-white) !important;
    color: var(--rd-black) !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    padding: 16px 30px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    border: none !important;
}
.primary-btn:hover { background: var(--rd-red) !important; color: var(--rd-white) !important; }
/* Boton verde de WhatsApp explicito conserva su color de marca */
a.primary-btn[style*="background-color: green"],
a.primary-btn[style*="background-color:green"] {
    background: #25D366 !important;
    color: var(--rd-white) !important;
}
a.primary-btn[style*="background-color: green"]:hover,
a.primary-btn[style*="background-color:green"]:hover {
    background: #1ebe5b !important;
}

/* Tarjeta del formulario de reserva (home) */
.header-right {
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 20px !important;
    padding: 30px !important;
}
.header-right h4 { color: var(--rd-white) !important; font-weight: 700 !important; font-size: 16px !important; }
.header-right .form-control,
.header-right .txt-field {
    background: rgba(255,255,255,0.08) !important;
    border: none !important;
    color: var(--rd-white) !important;
    border-radius: 10px !important;
    font-family: 'Manrope', sans-serif !important;
}
.header-right .form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.header-right .btn.btn-default {
    background: var(--rd-red) !important;
    color: var(--rd-white) !important;
    border-radius: 100px !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
.header-right .mini-dropdown-list { background: #1a1a1a !important; color: #fff !important; }

/* ---------- SERVICIOS ---------- */
.services-area { background: var(--rd-white) !important; }
.section-title h3, .section-title h2 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
}
.services-area .single-service {
    background: var(--rd-white) !important;
    border: 1px solid var(--rd-gray-line) !important;
    border-radius: 14px !important;
    padding: 34px 30px !important;
    box-shadow: none !important;
}
.services-area .single-service .lnr { color: var(--rd-red) !important; font-size: 28px !important; }
.services-area .single-service h4 { font-weight: 800 !important; font-size: 16px !important; color: var(--rd-black) !important; }
.services-area .single-service p { color: var(--rd-gray-text) !important; font-size: 13.5px !important; line-height: 1.7 !important; }
.services-area .single-service:hover { transform: none !important; box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important; }

/* ---------- TARIFAS (tabla de precios en paginas de zona) ---------- */
.table-responsive table.table {
    border: 1px solid var(--rd-gray-line) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}
.table-responsive table.table thead {
    background: #f7f7f7 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px !important;
    color: #888 !important;
}
.table-responsive table.table td { font-size: 14px !important; }
.table-responsive table.table td span { font-size: 20px !important; }

/* ---------- SOBRE LA ZONA / ABOUT ---------- */
.home-about-area { background: var(--rd-white) !important; }
.home-about-area .about-right h2 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -0.5px !important;
    color: var(--rd-black) !important;
}
.home-about-area .about-right p,
.home-about-area p { color: var(--rd-gray-text) !important; line-height: 1.8 !important; font-size: 14.5px !important; }
.home-about-area .about-left img { border-radius: 16px !important; }

/* ---------- CALL TO ACTION (paginas de zona) ---------- */
.home-calltoaction-area { background-color: var(--rd-black) !important; }
.home-calltoaction-area .overlay-bg {
    background: linear-gradient(100deg, rgba(10,10,10,0.94) 45%, rgba(10,10,10,0.55) 100%) !important;
    opacity: 1 !important;
}
.home-calltoaction-area h2, .home-calltoaction-area h3 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    color: var(--rd-white) !important;
    letter-spacing: -0.8px !important;
}
.home-calltoaction-area p { color: rgba(255,255,255,0.65) !important; }

/* ---------- GALERIA VEHICULOS ---------- */
.image-gallery-area { background: #f7f7f7 !important; }
.image-gallery-area img { border-radius: 14px !important; }

/* ---------- FOOTER (rediseño: marca+legal arriba, zonas discretas debajo) ---------- */
.rd-footer { background: var(--rd-black) !important; padding: 56px 0 40px !important; }
.rd-footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.rd-footer-brand { display: flex; align-items: center; gap: 12px; }
.rd-footer-brand img { filter: brightness(0) invert(1); }
.rd-footer-brand span { color: #fff; font-weight: 800; font-size: 16px; font-family: 'Manrope', sans-serif; }
.rd-footer-legal { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.rd-footer-legal span { font-size: 12.5px; color: rgba(255,255,255,0.45); }
.rd-footer-links a, .rd-footer-credit a { color: rgba(255,255,255,0.65) !important; }
.rd-footer-links a:hover, .rd-footer-credit a:hover { color: var(--rd-red) !important; }
.rd-footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 36px 0 28px; }
.rd-footer-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.rd-footer-zones-col h6 {
    color: rgba(255,255,255,0.35) !important; font-weight: 700 !important; font-size: 11px !important;
    text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 14px !important;
}
.rd-zone-links { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.rd-zone-link {
    font-size: 11.5px; color: rgba(255,255,255,0.4) !important; text-decoration: none;
    white-space: nowrap;
}
.rd-zone-link:hover { color: rgba(255,255,255,0.8) !important; }
.rd-zone-link.rd-zone-current { color: var(--rd-red) !important; font-weight: 700; }
.rd-zone-link:not(:last-child)::after { content: '·'; margin-left: 10px; color: rgba(255,255,255,0.15); }
.footer-bottom { display: none; }

@media (max-width: 767px) {
    .rd-footer-top { flex-direction: column; }
    .rd-footer-legal { text-align: left; }
    .rd-footer-zones { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   ESTRUCTURA NUEVA (rd-*) — hero y tarjetas rediseñadas de verdad,
   no solo color. Sustituye la maquetación antigua del hero.
   ============================================================ */

.rd-hero { min-height: 720px; display: flex; align-items: flex-end; padding-bottom: 70px !important; }
/* Video de fondo (zonas con vídeo real confirmado). Visible en todos los tamaños. */
.rd-hero-video {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
/* Credito obligatorio por licencia CC BY / CC BY-SA de algunos videos */
.rd-video-credit {
    position: absolute; right: 10px; bottom: 6px; z-index: 3;
    font-size: 10px; color: rgba(255,255,255,0.45); font-family: 'Manrope', sans-serif;
}
.rd-video-credit a { color: rgba(255,255,255,0.6) !important; }
/* Home: sustituye la foto de calle generica por una imagen real de la flota.
   Clase exclusiva de index.php (las 49 paginas de zona tambien usan id="home"
   heredado de la plantilla, asi que NO se puede usar #home aqui). */
.rd-hero-home { background: url('../img/g1.jpg') center / cover no-repeat !important; }
.rd-hero .overlay-bg { background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.3) 45%, rgba(10,10,10,0.97) 100%) !important; opacity: 1 !important; }
.rd-hero .container { position: relative; z-index: 2; }
.rd-hero-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.rd-hero-text { flex: 1 1 480px; max-width: 620px; }
.rd-hero-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 54px !important;
    line-height: 1.06 !important;
    letter-spacing: -2px !important;
    color: #fff !important;
    margin: 0 0 20px !important;
}
.rd-hero-phones { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--rd-red); margin-bottom: 16px; }
.rd-hero-phones a { color: var(--rd-red) !important; text-decoration: none; }
.rd-hero-phones .rd-sep { color: rgba(255,255,255,0.35); font-weight: 400; margin: 0 8px; }
.rd-hero-desc { color: rgba(255,255,255,0.65) !important; font-size: 16px !important; line-height: 1.6 !important; max-width: 460px; margin-bottom: 26px !important; }
.rd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

#reservar { scroll-margin-top: 110px; }
.rd-hero-card {
    flex: 0 1 400px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 30px;
}
.rd-hero-card h4 { color: #fff !important; font-weight: 700 !important; font-size: 16px !important; margin-bottom: 18px !important; }
.rd-hero-card .form-control, .rd-hero-card .txt-field {
    background: rgba(255,255,255,0.08) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-family: 'Manrope', sans-serif !important;
}
.rd-hero-card .form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.rd-hero-card .btn.btn-default {
    background: var(--rd-red) !important;
    color: #fff !important;
    border-radius: 100px !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
.rd-hero-card .mini-dropdown-list { background: #1a1a1a !important; color: #fff !important; }

/* Iconos dentro de los campos del formulario */
.rd-hero-card .from-group { margin-bottom: 10px !important; }
.rd-field-icon-wrap { position: relative; margin-bottom: 10px !important; }
.rd-field-icon-wrap:last-child { margin-bottom: 0 !important; }
.rd-field-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 17px; height: 17px; color: rgba(255,255,255,0.45);
    pointer-events: none; z-index: 5; display: flex;
}
.rd-field-icon svg { width: 100%; height: 100%; }
.rd-hero-card .rd-field-icon-wrap .form-control,
.rd-hero-card .rd-field-icon-wrap .txt-field { padding-left: 40px !important; margin-bottom: 0 !important; }

/* Zona: tarjeta de tarifas + parrafo, reemplaza home-about-area */
.rd-zone-content { display: flex; gap: 56px; flex-wrap: wrap; padding: 80px 0 !important; }
.rd-zone-text { flex: 1.3 1 420px; }
.rd-zone-text h2 {
    font-family: 'Manrope', sans-serif !important; font-weight: 800 !important;
    font-size: 30px !important; letter-spacing: -1px !important; color: var(--rd-black) !important;
    margin-bottom: 24px !important;
}
.rd-zone-text p { color: var(--rd-gray-text) !important; line-height: 1.8 !important; font-size: 14.5px !important; }
.rd-zone-table-wrap { flex: 1 1 320px; }
.rd-zone-table-wrap table { width: 100%; }
.rd-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--rd-red); display: block; margin-bottom: 12px; }

/* Zona: CTA final, reemplaza home-calltoaction-area */
/* No forzamos background aqui: el elemento ya trae su propia foto de zona por inline style */
.rd-cta { background-color: var(--rd-black); padding: 90px 0 !important; position: relative; overflow: hidden; }
.rd-cta .overlay-bg { background: linear-gradient(100deg, rgba(10,10,10,0.88) 35%, rgba(10,10,10,0.55) 100%) !important; opacity: 1 !important; }
.rd-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 2; }
.rd-cta-text h2 { font-family: 'Manrope', sans-serif !important; font-weight: 800 !important; font-size: 28px !important; letter-spacing: -0.8px !important; color: #fff !important; margin-bottom: 10px !important; }
.rd-cta-text p { color: rgba(255,255,255,0.6) !important; font-size: 14.5px !important; margin: 0 !important; }
.rd-cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* Home: barra de confianza que sustituye al bloque "sobre nosotros" duplicado */
.rd-trust-bar { padding: 40px 0 !important; background: #fafafa !important; }
.rd-trust-grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; }
.rd-trust-item { display: flex; align-items: center; gap: 14px; }
.rd-trust-item .lnr { font-size: 28px; color: var(--rd-red); }
.rd-trust-title { font-weight: 700; font-size: 15px; color: var(--rd-black); font-family: 'Manrope', sans-serif; }
.rd-trust-sub { font-size: 12.5px; color: #888; margin-top: 2px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .rd-hero-title { font-size: 34px !important; letter-spacing: -1px !important; }
    .rd-hero-phones { font-size: 19px !important; }
    .rd-hero-grid { align-items: stretch; }
    .rd-hero-card { flex-basis: 100%; }
    .rd-zone-content { padding: 50px 0 !important; }
    .rd-cta-inner { flex-direction: column; align-items: flex-start; }
}
