/* Fleet archive */
.flota-archive { padding: 40px 0 64px; }
.flota-archive-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.flota-filters { background: var(--color-dark); color: var(--color-white); border-radius: var(--radius-card); padding: 20px; position: sticky; top: 20px; }
.flota-filters-heading { display: flex; justify-content: space-between; align-items: center; font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.flota-filters-heading button { background: none; border: none; color: var(--color-gold); font-size: 12px; }
.filter-group { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
.filter-group h4 { font-size: 12px; text-transform: uppercase; margin-bottom: 10px; }
.filter-group label { display: block; font-size: 13px; padding: 4px 0; }
.filter-group input[type="range"] { display: block; width: 100%; margin: 4px 0 8px; }
.filter-range-selection { margin: 0 0 5px; color: var(--color-green); font-size: 12px; font-weight: 700; }
.filter-range-labels { display: flex; justify-content: space-between; font-size: 11px; opacity: .7; }
#gt-flota-clear-2 { width: 100%; margin-top: 12px; justify-content: center; }
.flota-results-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.flota-results-heading select { padding: 8px 12px; border-radius: 4px; border: 1px solid #ddd; font-family: var(--font-base); font-size: 13px; }
.flota-orderby-label { font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.flota-pagination-gap { display: inline-flex; align-items: center; padding: 0 4px; }
.flota-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flota-card { border: 1px solid #eee; border-radius: var(--radius-card); overflow: hidden; }
.flota-card-media { position: relative; }
.flota-card-media img { height: 160px; object-fit: cover; width: 100%; }
.flota-card-media .badge { position: absolute; top: 10px; left: 10px; }
.flota-card h3 { font-size: 15px; text-transform: uppercase; padding: 12px 14px 0; }
.flota-card-specs { list-style: none; padding: 8px 14px; margin: 0; font-size: 12px; }
.flota-card-specs li { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.flota-card-specs .icon { width: 14px; height: 14px; color: var(--color-green); }
.flota-card-btn { display: block; text-align: center; margin: 0 14px 14px; border-color: var(--color-green); color: var(--color-green); }
.flota-card-btn:hover { background: var(--color-green); color: var(--color-white); }
.flota-card-btn.is-disabled { opacity: .5; pointer-events: none; }
.flota-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.flota-pagination button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ddd; background: var(--color-white); }
.flota-pagination button.is-active { background: var(--color-green); color: var(--color-white); border-color: var(--color-green); }

/* Individual fleet detail */
.flota-single-hero { padding: 26px 0 14px; background: #09100e; color: var(--color-white); }
.flota-single-layout { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.35fr); gap: 34px; align-items: center; padding: 8px 0 22px; }
.flota-single-intro { padding: 12px 4px 34px; }
.flota-single-hero h1 { font-size: clamp(30px,3vw,47px); font-weight: 800; letter-spacing: -.04em; margin: 0 0 14px; text-transform: uppercase; }
.flota-single-summary { max-width: 440px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.flota-single-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 3px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.badge-disponible { background: var(--color-green); color: var(--color-white); }
.badge-proximamente { background: var(--color-gold); color: var(--color-dark); }
.badge-no_disponible { background: #555; color: var(--color-white); }
.badge-neutral { border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--color-white); }
.flota-single-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.flota-single-actions .btn { padding: 12px 16px; font-size: 11px; }

.flota-gallery-main { position: relative; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; overflow: hidden; background: #0d1712; }
.flota-gallery-viewport { position: relative; width: 100%; height: min(39vw,475px); min-height: 290px; }
.flota-gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease; cursor: zoom-in; }
.flota-gallery-slide.is-active { opacity: 1; visibility: visible; }
.flota-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flota-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--color-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.flota-gallery-nav:hover { background: var(--color-gold); }
.flota-gallery-nav svg { width: 20px; height: 20px; }
.flota-gallery-prev { left: -16px; }
.flota-gallery-next { right: -16px; }
.flota-gallery-expand { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; }
.flota-gallery-expand:hover { background: var(--color-gold); color: var(--color-dark); }
.flota-gallery-expand svg { width: 20px; height: 20px; }
.flota-gallery-thumbs { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; scroll-behavior: smooth; }
.flota-gallery-thumb { border: 2px solid transparent; border-radius: 4px; overflow: hidden; padding: 0; background: none; flex-shrink: 0; cursor: pointer; line-height: 0; opacity: .65; }
.flota-gallery-thumb img { width: 78px; height: 54px; object-fit: cover; display: block; }
.flota-gallery-thumb:hover, .flota-gallery-thumb.is-active { opacity: 1; }
.flota-gallery-thumb.is-active { border-color: var(--color-gold); }

body.gt-lightbox-open { overflow: hidden; }
.flota-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.flota-lightbox[hidden] { display: none; }
.flota-lightbox-figure { margin: 0; max-width: 92vw; max-height: 86vh; }
.flota-lightbox-figure img { max-width: 92vw; max-height: 86vh; object-fit: contain; display: block; }
.flota-lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; }
.flota-lightbox-close svg { width: 24px; height: 24px; }
.flota-lightbox .flota-gallery-nav { background: rgba(255,255,255,.12); color: #fff; }
.flota-lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 20px; }

.flota-specs-bar { background: #0b110f; color: var(--color-white); padding: 0 0 24px; }
.flota-specs-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 0; padding: 14px 10px; text-align: center; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; }
.flota-specs-grid > div { min-width: 0; padding: 2px 10px; border-right: 1px solid rgba(255,255,255,.14); }
.flota-specs-grid > div:last-child { border-right: 0; }
.flota-specs-grid .icon { width: 28px; height: 28px; color: var(--color-green); margin: 0 auto 6px; }
.flota-specs-grid span { display: block; font-size: 9px; font-weight: 700; opacity: .85; text-transform: uppercase; }
.flota-specs-grid strong { display: block; font-size: 14px; }

.flota-detalle, .flota-caracteristicas { padding: 22px 0 0; background: #fff; }
.flota-detalle-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.05fr) minmax(0,1.06fr); gap: 14px; align-items: stretch; }
.flota-detalle-col { border: 1px solid #e5e8e6; border-radius: 6px; padding: 20px; box-shadow: 0 2px 8px rgba(16,32,27,.035); }
.flota-detalle-col h2 { font-size: 13px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 17px; }
.flota-specs-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.flota-specs-table td { padding: 7px 0; border-bottom: 1px solid #edf0ee; font-size: 11px; }
.flota-specs-table td:last-child { padding-left: 10px; text-align: right; font-weight: 700; }
.flota-ficha-link { width: 100%; justify-content: center; padding: 10px; border-color: #87928d; color: var(--color-green); font-size: 10px; }
.flota-diagrama { width: 100%; height: 300px; object-fit: contain; }
.flota-diagrama-empty, .flota-capacidad-empty { display: grid; min-height: 180px; place-items: center; margin: 0; padding: 18px; text-align: center; color: #6e7773; font-size: 12px; background: #f7f9f8; border: 1px dashed #cfd6d2; }
.flota-tabla-capacidad-scroll { max-height: 301px; overflow: auto; }
.flota-tabla-capacidad-scroll table { width: 100%; border-collapse: collapse; }
.flota-tabla-capacidad-scroll th, .flota-tabla-capacidad-scroll td { border: 1px solid #dfe5e1; padding: 7px 6px; text-align: center; font-size: 10px; }
.flota-tabla-capacidad-scroll th { color: var(--color-dark); background: #e8f0eb; }
.flota-caracteristicas-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.flota-rich-content { font-size: 12px; line-height: 1.55; }
.flota-rich-content ul { list-style: none; padding: 0; margin: 0; }
.flota-rich-content li { position: relative; padding: 4px 0 4px 18px; }
.flota-rich-content li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-green); }
.flota-cta { padding: 22px 0 30px; background: #fff; }
.flota-cta-inner { background: #0a110f; color: #fff; padding: 24px 30px; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.flota-cta h2 { margin: 0 0 7px; max-width: 400px; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.flota-cta p { margin: 0; max-width: 420px; color: rgba(255,255,255,.72); font-size: 12px; }
.flota-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.flota-cta-actions .btn { justify-content: center; min-width: 194px; padding: 13px 16px; font-size: 11px; }

@media (max-width: 1200px) { .flota-cards-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 1024px) {
 .flota-archive-grid, .flota-single-layout, .flota-detalle-grid { grid-template-columns: 1fr; }
 .flota-cards-grid { grid-template-columns: repeat(2,1fr); }
 .flota-single-intro { padding-bottom: 0; }
 .flota-gallery-viewport { height: min(58vw,480px); }
 .flota-specs-grid { grid-template-columns: repeat(3,1fr); }
 .flota-specs-grid > div:nth-child(3n) { border-right: 0; }
}
@media (max-width: 640px) {
 .flota-cards-grid, .flota-caracteristicas-grid { grid-template-columns: 1fr; }
 .flota-results-heading { align-items: flex-start; gap: 10px; flex-direction: column; }
 .flota-single-hero { padding-top: 16px; }
 .flota-gallery-viewport { min-height: 220px; height: 62vw; }
 .flota-gallery-prev { left: 8px; } .flota-gallery-next { right: 8px; }
 .flota-specs-grid { grid-template-columns: repeat(2,1fr); }
 .flota-specs-grid > div { border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); padding: 10px 4px; }
 .flota-specs-grid > div:nth-child(2n) { border-right: 0; }
 .flota-cta-inner, .flota-cta-actions { flex-direction: column; align-items: stretch; }
 .flota-cta-actions .btn { min-width: 0; }
}

/* Archive composition matching the public fleet catalogue. */
.post-type-archive-flota .container { max-width: 1440px; }
.post-type-archive-flota .page-hero { min-height: 238px; display: flex; align-items: center; padding: 42px 0 62px; background-position: center; }
.post-type-archive-flota .page-hero .container { width: 100%; }
.post-type-archive-flota .page-hero-title { margin: 0 0 6px; font-size: clamp(34px, 3.35vw, 48px); font-weight: 800; letter-spacing: -.035em; }
.post-type-archive-flota .page-breadcrumb { margin: 0 0 13px; font-size: 11px; opacity: .82; }
.post-type-archive-flota .page-hero-desc { max-width: 490px; font-size: 14px; line-height: 1.55; opacity: 1; }

.flota-trust { position: relative; z-index: 2; margin-top: -37px; padding-bottom: 14px; background: #fff; }
.flota-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 12px; color: #fff; background: #0e1714; border: 1px solid #526058; border-radius: 4px; }
.flota-trust-item { display: flex; min-width: 0; gap: 12px; padding: 0 14px; border-right: 1px solid rgba(255,255,255,.18); }
.flota-trust-item:last-child { border-right: 0; }
.flota-trust-icon { flex: 0 0 34px; color: var(--color-gold); padding-top: 5px; }
.flota-trust-icon .icon { width: 31px; height: 31px; }
.flota-trust-item strong, .flota-trust-item span { display: block; }
.flota-trust-item strong { font-size: 16px; line-height: 1.05; font-weight: 800; }
.flota-trust-item span { margin-top: 2px; font-size: 9px; font-weight: 700; }
.flota-trust-item p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: 9px; line-height: 1.3; }

.flota-archive { padding: 22px 0 42px; }
.flota-archive-grid { grid-template-columns: 235px minmax(0, 1fr); gap: 24px; }
.flota-filters { padding: 0 15px 15px; color: #26302c; background: #fff; border: 1px solid #e3e8e5; border-radius: 3px; }
.flota-filters-heading { min-height: 54px; font-size: 12px; font-weight: 800; }
.flota-filters-heading button { padding: 0; color: var(--color-green); font-size: 11px; text-decoration: underline; }
.filter-group { border-top-color: #edf0ee; padding: 14px 0; }
.filter-group h4 { margin: 0 0 10px; font-size: 11px; font-weight: 800; }
.filter-group label { padding: 4px 0; font-size: 12px; line-height: 1.35; cursor: pointer; }
.filter-group input { accent-color: var(--color-green); }
.filter-group input[type="range"] { height: 5px; margin: 6px 0 8px; accent-color: var(--color-green); }
.filter-range-selection { margin: 0 0 5px; color: #2a7d4d; font-size: 11px; font-weight: 700; }
.filter-range-labels { color: #65706b; font-size: 11px; }
#gt-flota-clear-2 { margin-top: 4px; padding: 9px; border-width: 1px; border-color: #8a9790; color: #335e45; font-size: 11px; }
#gt-flota-clear-2 .icon { width: 13px; height: 13px; }
.flota-results-heading { min-height: 36px; margin-bottom: 12px; color: #424a47; }
.flota-results-heading > span { font-size: 14px; }
.flota-results-heading select { min-width: 220px; padding: 10px 11px; border: 1px solid #d8dfdb; border-radius: 3px; color: #4d5551; font-size: 13px; }
.flota-orderby-label { font-size: 14px; }
.flota-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flota-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid #e2e7e3; border-radius: 2px; background: #fff; box-shadow: 0 2px 5px rgba(18,35,27,.05); transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease; }
.flota-card:hover, .flota-card:focus-within { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(18,35,27,.15); }
.flota-card-media { overflow: hidden; }
.flota-card-media img { height: clamp(180px, 15vw, 220px); transition: transform .55s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.flota-card:hover .flota-card-media img, .flota-card:focus-within .flota-card-media img { filter: brightness(.58) saturate(.88); transform: scale(1.07); }
.flota-card-media .badge { z-index: 2; top: 10px; right: auto; bottom: auto; left: 10px; padding: 5px 8px; border-radius: 0; font-size: 9px; }
.flota-card-quick-view { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 11px 13px; color: #fff; background: linear-gradient(180deg, rgba(9,30,20,.1) 0%, rgba(7,35,22,.78) 100%); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.flota-card:hover .flota-card-quick-view, .flota-card:focus-within .flota-card-quick-view { opacity: 1; transform: translateY(0); }
.flota-card-quick-label { margin-bottom: 7px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.flota-card-quick-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.flota-card-quick-stats span { min-width: 0; font-size: 8px; line-height: 1.2; opacity: .9; text-transform: uppercase; }
.flota-card-quick-stats strong { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 800; line-height: 1; }
.flota-card h3 { min-height: 43px; margin: 0; padding: 12px 11px 5px; color: #1e2823; font-size: 14px; font-weight: 800; }
.flota-card-specs { padding: 4px 11px 10px; color: #68716d; font-size: 11px; }
.flota-card-specs li { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; gap: 5px; padding: 4px 0; }
.flota-card-specs li > strong { color: #4c5650; font-weight: 500; white-space: nowrap; }
.flota-card-specs .icon { width: 13px; height: 13px; color: #53605a; }
.flota-card-btn { display: flex; justify-content: space-between; align-items: center; margin: auto 11px 11px; padding: 9px 11px; border-width: 1px; border-color: #94aa9b; color: #336044; font-size: 11px; }
.flota-card-btn .icon { width: 15px; height: 15px; }
.flota-pagination { align-items: center; gap: 6px; margin-top: 24px; }
.flota-pagination button { width: 24px; height: 24px; padding: 0; border: 0; color: #45514b; font-size: 10px; }

@media (hover: none) {
	.flota-card:hover { transform: none; box-shadow: 0 2px 5px rgba(18,35,27,.05); }
	.flota-card-quick-view { display: none; }
}

.cta-band--flota { padding: 16px 0; background: var(--color-gold); }
.cta-band--flota .cta-band-inner { flex-wrap: nowrap; }
.cta-band--flota .cta-band-copy { display: flex; align-items: center; gap: 15px; }
.cta-band--flota .cta-band-icon { color: #17231d; }
.cta-band--flota .cta-band-icon .icon { width: 37px; height: 37px; }
.cta-band--flota h3 { margin: 0 0 2px; color: #17231d; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.cta-band--flota p { margin: 0; color: #17231d; font-size: 11px; }
.cta-band--flota .cta-band-actions { flex: 0 0 auto; }
.cta-band--flota .btn { min-height: 34px; padding: 8px 16px; border-width: 1px; font-size: 10px; }
.cta-band--flota .btn-outline-dark { border-color: #a87904; }

@media (max-width: 1024px) {
	.flota-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.flota-trust-item:nth-child(2) { border-right: 0; }
	.flota-trust-item:nth-child(n+3) { padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
	.flota-filters { position: static; }
}
@media (max-width: 640px) {
	.post-type-archive-flota .page-hero { min-height: 310px; padding: 42px 0 66px; background-position: 58% center; }
	.flota-trust { margin-top: -26px; }
	.flota-trust-grid { grid-template-columns: 1fr; }
	.flota-trust-item, .flota-trust-item:nth-child(2) { padding: 11px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
	.flota-trust-item:nth-child(n+3) { margin-top: 0; border-top: 0; }
	.flota-trust-item:last-child { border-bottom: 0; }
	.cta-band--flota .cta-band-inner, .cta-band--flota .cta-band-actions { flex-direction: column; align-items: stretch; }
	.cta-band--flota .cta-band-copy { align-items: flex-start; text-align: left; }
}
