@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #07111f;
    --bg-soft: #0b1929;
    --panel: #0e2033;
    --panel-light: #132940;
    --text: #f3f7fc;
    --muted: #9aaec2;
    --blue: #48a9ff;
    --blue-light: #82c7ff;
    --border: rgba(160, 190, 220, .14);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; line-height: 1.65; }
body, button, input, textarea { font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4, .brand { font-family: 'Manrope', sans-serif; letter-spacing: -.035em; }
h1, h2, h3, p { margin-top: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(7, 17, 31, .9); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.site-header .navbar { min-height: 78px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; font-weight: 800; font-size: 1.13rem; letter-spacing: .03em; }
.brand-icon { display: inline-grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #2474dc); color: #061323; font-size: 1.25rem; font-weight: 800; transform: skew(-5deg); }
.brand-accent { color: var(--blue); }
.navbar-nav .nav-link { padding: 10px 13px !important; color: #c2cfdd !important; font-size: .93rem; transition: color .2s ease; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: var(--blue-light) !important; }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(72,169,255,.2); }
.btn { border-radius: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-snake { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; background: linear-gradient(120deg, #69bdff, #3d91f4); color: #061323 !important; box-shadow: 0 8px 24px rgba(44, 136, 235, .18); }
.btn-snake:hover, .btn-snake:focus { background: linear-gradient(120deg, #8bceff, #55a3ff); box-shadow: 0 12px 30px rgba(44,136,235,.28); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,.025); }
.btn-ghost:hover { color: var(--blue-light); border-color: rgba(72,169,255,.5); }
.text-gradient { color: var(--blue-light); background: linear-gradient(100deg, #a4d9ff, #4ba5ff 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--blue-light); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #63e6be; box-shadow: 0 0 0 5px rgba(99,230,190,.1); }

.hero-section { position: relative; overflow: hidden; padding: 76px 0 85px; background: radial-gradient(ellipse at 80% 45%, rgba(25, 100, 173, .2), transparent 42%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 42px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 680px; margin-bottom: 23px; font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1.08; font-weight: 800; }
.hero-description { max-width: 560px; margin-bottom: 29px; color: var(--muted); font-size: 1.1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { padding: 13px 20px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: 'Manrope', sans-serif; font-size: .96rem; }
.hero-stats span { color: var(--muted); font-size: .78rem; }
.hero-visual { position: relative; min-width: 0; padding: 20px 0; }
.visual-glow { position: absolute; inset: 12% 0 8% 10%; border-radius: 50%; background: rgba(42, 133, 227, .18); filter: blur(65px); }
.hero-image-frame { position: relative; overflow: hidden; height: 410px; border: 1px solid rgba(167, 208, 247, .25); border-radius: 34px 8px 34px 8px; background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.25); transform: rotate(1deg); }
.hero-image-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 55%, rgba(4,13,24,.28)); pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(11, 27, 44, .9); box-shadow: 0 15px 45px rgba(0,0,0,.24); backdrop-filter: blur(12px); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .83rem; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.floating-card-top { top: 5px; right: -12px; }
.floating-card-bottom { bottom: 5px; left: -24px; }
.floating-icon, .mini-check { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px; background: rgba(72,169,255,.15); color: var(--blue-light); font-size: 1.1rem; }
.mini-check { background: rgba(99,230,190,.14); color: #63e6be; }

.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #091726; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 13px; padding: 23px 15px; border-right: 1px solid var(--border); }
.trust-grid > div:first-child { border-left: 1px solid var(--border); }
.trust-grid span { color: var(--blue); font-family: 'Manrope', sans-serif; font-weight: 800; }
.trust-grid p { margin: 0; color: #d5e1ee; font-size: .9rem; font-weight: 600; }
.section-space { padding-top: 88px; padding-bottom: 88px; }
.why-section { background: linear-gradient(180deg, var(--bg), #091725); }
.section-heading { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .cta-panel h2 { margin-bottom: 15px; font-size: clamp(2rem, 3.5vw, 3.1rem); font-weight: 800; }
.section-heading p { margin-bottom: 0; color: var(--muted); line-height: 1.8; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,39,61,.9), rgba(10,26,43,.8)); transition: transform .25s ease, border-color .25s ease; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(72,169,255,.45); }
.benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border: 1px solid rgba(72,169,255,.24); border-radius: 15px; background: rgba(72,169,255,.1); color: var(--blue-light); font-size: 1.5rem; }
.benefit-card h3 { margin-bottom: 11px; font-size: 1.2rem; font-weight: 800; }
.benefit-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 62px; padding: 38px 42px; border: 1px solid rgba(72,169,255,.25); border-radius: 24px; background: radial-gradient(circle at 90% 10%, rgba(51,133,215,.2), transparent 35%), var(--panel); }
.cta-panel .eyebrow { margin-bottom: 8px; }
.cta-panel h2 { margin-bottom: 0; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.cta-panel .btn { flex-shrink: 0; padding: 13px 20px; }

.page-hero { padding: 68px 0 57px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 80% 0%, rgba(34,105,178,.2), transparent 45%), #091725; }
.page-hero h1 { margin-bottom: 13px; font-size: clamp(2.3rem, 4.5vw, 3.8rem); font-weight: 800; }
.page-hero p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.catalog-section { padding-top: 48px; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.catalog-toolbar h2 { margin-bottom: 5px; font-size: 1.6rem; font-weight: 800; }
.catalog-toolbar p { margin-bottom: 0; color: var(--muted); }
.catalog-count { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; color: #c6d6e6; font-size: .8rem; }
.catalogo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vehicle-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(160deg, #102338, #0a1929); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.vehicle-card:hover { transform: translateY(-5px); border-color: rgba(72,169,255,.4); box-shadow: 0 20px 45px rgba(0,0,0,.16); }
.vehicle-image { position: relative; height: 205px; overflow: hidden; background: var(--panel-light); }
.vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.04); }
.vehicle-type { position: absolute; bottom: 13px; left: 14px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(7,17,31,.82); color: #e8f4ff; font-size: .73rem; font-weight: 700; backdrop-filter: blur(8px); }
.vehicle-content { padding: 20px; }
.vehicle-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vehicle-title-row h3 { margin-bottom: 8px; font-size: 1.17rem; font-weight: 800; }
.vehicle-arrow { color: var(--blue-light); }
.vehicle-content > p { min-height: 48px; margin-bottom: 19px; color: var(--muted); font-size: .88rem; }
.vehicle-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.vehicle-price strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.2rem; }
.vehicle-price span { color: var(--muted); font-size: .75rem; }
.btn-select-car { padding: 9px 12px; font-size: .82rem; }

.rental-panel { margin-top: 75px; padding: clamp(22px, 4vw, 42px); border: 1px solid rgba(72,169,255,.23); border-radius: 25px; background: radial-gradient(ellipse at 100% 0%, rgba(42,121,198,.12), transparent 42%), #0b1b2c; scroll-margin-top: 100px; }
.rental-heading { margin-bottom: 30px; }
.rental-heading .eyebrow { margin-bottom: 8px; }
.rental-heading h2 { margin-bottom: 8px; font-size: 2rem; font-weight: 800; }
.rental-heading p { margin-bottom: 0; color: var(--muted); }
.rental-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.rental-selection, .rental-summary { min-width: 0; padding: 23px; border: 1px solid var(--border); border-radius: 18px; background: rgba(5,16,29,.48); }
.rental-selection h3, .client-form h3 { margin-bottom: 18px; font-size: 1.1rem; font-weight: 800; }
.empty-state { margin: 0; padding: 20px; border: 1px dashed rgba(160,190,220,.22); border-radius: 12px; color: var(--muted); text-align: center; font-size: .9rem; }
.rental-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.rental-item:first-child { padding-top: 0; }
.rental-item > div { display: flex; flex-direction: column; }
.rental-item strong { font-size: .9rem; }
.rental-item span { color: var(--muted); font-size: .78rem; }
.btn-remove-car { padding: 5px 9px; border: 1px solid rgba(255,120,120,.25); border-radius: 8px; background: rgba(255,100,100,.06); color: #ffaaaa; font-size: .76rem; }
.btn-remove-car:hover { background: rgba(255,100,100,.14); }
.rental-days { display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 8px 15px; margin-top: 22px; }
.rental-days label, .client-form label { font-size: .88rem; font-weight: 700; }
.rental-days small { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; }
.form-control { min-height: 46px; border: 1px solid rgba(157,187,217,.22); border-radius: 10px; background: #081625; color: var(--text); }
.form-control:focus { border-color: var(--blue); background: #081625; color: var(--text); box-shadow: 0 0 0 .2rem rgba(72,169,255,.13); }
.form-control::placeholder { color: #6f8499; }
.rental-summary > span { color: var(--blue-light); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.summary-line strong { color: var(--text); }
.summary-total { margin-bottom: 12px; border-bottom: 0; color: var(--text); font-weight: 700; }
.summary-total strong { color: var(--blue-light); font-family: 'Manrope', sans-serif; font-size: 1.65rem; }
.summary-note, .comments-note { margin: 13px 0 18px; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.form-message { margin: 12px 0 0; color: var(--blue-light); font-size: .85rem; line-height: 1.6; }
.client-form { margin-top: 25px; padding: 25px; border: 1px solid var(--border); border-radius: 18px; background: rgba(5,16,29,.48); scroll-margin-top: 100px; }
.client-form[hidden] { display: none !important; }
.client-form > p { color: var(--muted); }
.client-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.client-form-grid > div { display: grid; gap: 8px; }

.comments-section { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: 25px; padding-top: 55px; padding-bottom: 85px; }
.comments-form-card, .comments-list-panel { min-width: 0; padding: 27px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(150deg, #102338, #0a1929); }
.comments-form-card h2, .comments-list-heading h2 { margin-bottom: 8px; font-size: 1.45rem; font-weight: 800; }
.comments-form-card > p { color: var(--muted); font-size: .9rem; }
.comments-form-card .form-label { color: #dce8f5; font-size: .88rem; font-weight: 700; }
.comments-form-card textarea { resize: vertical; }
.comments-note { margin-bottom: 0; }
.comments-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.comments-list-heading .eyebrow { margin-bottom: 8px; }
.comments-list { display: grid; gap: 13px; }
.comment-card { display: flex; align-items: start; gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(5,16,29,.42); }
.comment-avatar { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 13px; background: rgba(72,169,255,.14); color: var(--blue-light); font-family: 'Manrope', sans-serif; font-weight: 800; }
.comment-body { min-width: 0; }
.comment-body h3 { margin-bottom: 4px; font-size: .95rem; font-weight: 800; }
.comment-body p { margin-bottom: 7px; color: #c0cede; font-size: .9rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.comment-date { color: var(--muted); font-size: .73rem; }

.site-footer { border-top: 1px solid var(--border); background: #050d17; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-top: 27px; padding-bottom: 27px; }
.footer-brand { font-size: .95rem; }
.footer-brand .brand-icon { width: 31px; height: 31px; border-radius: 10px; font-size: 1rem; }
.footer-inner > p { margin: 0; color: var(--muted); text-align: center; font-size: .82rem; }
.copyright { color: #71859a; font-size: .75rem; text-align: right; }

@media (max-width: 991.98px) {
    .hero-section { padding: 60px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy h1 { max-width: 760px; }
    .hero-visual { max-width: 680px; width: 100%; margin: 0 auto; }
    .hero-image-frame { height: 370px; }
    .catalogo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .comments-section { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner > p { text-align: right; }
    .copyright { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 767.98px) {
    .site-header .navbar { min-height: 68px; }
    .hero-section { padding: 46px 0 58px; }
    .hero-copy h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
    .hero-description { font-size: 1rem; }
    .hero-stats { gap: 17px; margin-top: 32px; }
    .hero-stats span { max-width: 120px; }
    .hero-image-frame { height: 300px; border-radius: 25px 7px 25px 7px; }
    .floating-card { padding: 10px 12px; }
    .floating-card-top { right: -4px; }
    .floating-card-bottom { left: -4px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid > div { border-bottom: 1px solid var(--border); }
    .trust-grid > div:nth-child(odd) { border-left: 1px solid var(--border); }
    .trust-grid > div:nth-child(even) { border-right: 1px solid var(--border); }
    .section-space { padding-top: 62px; padding-bottom: 62px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-card { padding: 24px; }
    .cta-panel { align-items: flex-start; flex-direction: column; margin-top: 40px; padding: 27px; }
    .page-hero { padding: 50px 0 42px; }
    .catalog-toolbar { align-items: flex-start; }
    .catalogo-grid { gap: 14px; }
    .vehicle-image { height: 165px; }
    .vehicle-content { padding: 15px; }
    .vehicle-title-row h3 { font-size: 1rem; }
    .vehicle-content > p { min-height: 65px; font-size: .82rem; }
    .vehicle-bottom { align-items: flex-start; flex-direction: column; }
    .btn-select-car { width: 100%; }
    .rental-layout { grid-template-columns: 1fr; }
    .client-form-grid { grid-template-columns: 1fr; }
    .comments-section { padding-top: 35px; padding-bottom: 60px; }
    .comments-form-card, .comments-list-panel { padding: 21px; }
}
@media (max-width: 420px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-image-frame { height: 240px; }
    .floating-card strong { font-size: .75rem; }
    .floating-card small { font-size: .66rem; }
    .trust-grid > div { gap: 9px; padding: 17px 10px; }
    .trust-grid p { font-size: .8rem; }
    .catalogo-grid { grid-template-columns: 1fr; }
    .vehicle-image { height: 205px; }
    .vehicle-content > p { min-height: auto; }
    .vehicle-bottom { align-items: center; flex-direction: row; }
    .btn-select-car { width: auto; }
    .catalog-toolbar { flex-direction: column; align-items: flex-start; }
    .rental-panel { padding: 18px; }
    .rental-selection, .rental-summary { padding: 17px; }
    .rental-days { grid-template-columns: 1fr 95px; }
    .comments-list-heading { align-items: flex-start; flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; gap: 13px; }
    .footer-inner > p, .copyright { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* ===== Especificaciones, detalle y reserva ===== */
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.vehicle-specs li { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.03); color: #c6d6e6; font-size: .75rem; }

.detalle-section { padding-top: 40px; padding-bottom: 70px; }
.detalle-back { display: inline-block; margin-bottom: 22px; color: var(--blue-light); text-decoration: none; font-size: .9rem; }
.detalle-back:hover { color: var(--text); }
.detalle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.detalle-image { position: relative; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel-light); }
.detalle-image img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.detalle-info h1 { margin-bottom: 10px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.detalle-desc { color: var(--muted); }

.reserva-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(160deg, #102338, #0a1929); }
.reserva-card h2 { margin-bottom: 20px; font-size: 1.4rem; font-weight: 800; }
.reserva-card .form-label { color: #c6d6e6; font-size: .85rem; }
.field-error { display: block; margin-top: 4px; color: #ff8d8d; font-size: .8rem; }
.reserva-card input[type="date"] { color-scheme: dark; }

.reserva-resumen { padding: 14px 16px; border: 1px dashed rgba(160,190,220,.25); border-radius: 12px; background: rgba(255,255,255,.02); }
.reserva-resumen > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.reserva-resumen span { color: var(--muted); font-size: .88rem; }
.reserva-resumen strong { font-family: 'Manrope', sans-serif; }
.resumen-lista > div + div { border-top: 1px solid var(--border); }

.confirmacion-card { max-width: 640px; margin: 0 auto; }

@media (max-width: 900px) {
    .detalle-grid { grid-template-columns: 1fr; }
}
