/* Vehicle categories — car-rental-sri-lanka.html (fleet-categories.js)
   Categories and vehicles come live from the app database (Admin > Fleet). */
.fc-section{background:linear-gradient(180deg,#fff 0%,#f7f5f0 100%);padding:76px 8% 34px;scroll-margin-top:84px}
.fc-wrap{max-width:1280px;margin:0 auto}
.fc-head{margin-bottom:24px}
.fc-head-text{max-width:640px}
.fc-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.72rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#a07820;margin-bottom:12px}
.fc-eyebrow::before{content:"";width:28px;height:2px;background:#d4a843;border-radius:2px}
.fc-head h2{font-family:var(--font-display,'Cinzel',Georgia,serif);font-size:clamp(1.6rem,3.2vw,2.4rem);line-height:1.18;color:#050810;margin:0 0 10px}
.fc-head p{color:#526077;line-height:1.7;margin:0;font-size:.96rem}

/* Self drive / With driver switch */
.fc-services{display:inline-flex;gap:4px;padding:4px;background:#050810;border-radius:50px}
.fc-services[hidden]{display:none}
.fc-service{border:0;background:transparent;color:#cbd5e1;font-family:inherit;font-weight:700;font-size:.8rem;letter-spacing:.03em;padding:10px 16px;border-radius:50px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;transition:background .25s,color .25s}
.fc-service i{font-size:.85rem;color:#d4a843;transition:color .25s}
.fc-service small{font-size:.7rem;font-weight:700;opacity:.65}
.fc-service:hover{color:#fff}
.fc-service.active{background:linear-gradient(135deg,#d4a843,#f0c96b);color:#050810}
.fc-service.active i{color:#050810}

/* Filter bar: rental type + category chips in one tidy panel */
.fc-filter{background:#fff;border:1px solid #ebe5d6;border-radius:22px;padding:16px 18px;box-shadow:0 10px 34px rgba(5,8,16,.06);display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap}
.fc-filter-label{font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#94a3b8;white-space:nowrap}
.fc-tiles{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;flex:1;min-width:0}
.fc-tile{display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 14px 0 6px;border-radius:50px;border:1.5px solid #ebe5d6;background:#faf8f4;color:#1e293b;font-family:inherit;font-size:.86rem;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}
.fc-tile:hover{border-color:#d4a843;background:#fff;transform:translateY(-1px);box-shadow:0 6px 16px rgba(5,8,16,.08)}
.fc-tile:focus-visible,.fc-service:focus-visible,.fc-btn:focus-visible{outline:3px solid #0abfbc;outline-offset:2px}
.fc-ico{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#050810;color:#f0c96b;font-size:.78rem;flex-shrink:0;transition:background .2s,color .2s}
.fc-n{min-width:22px;height:22px;padding:0 6px;border-radius:50px;background:rgba(5,8,16,.07);color:#64748b;font-size:.7rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.fc-tile.active{background:#050810;border-color:#050810;color:#fff;box-shadow:0 8px 20px rgba(5,8,16,.22)}
.fc-tile.active .fc-ico{background:linear-gradient(135deg,#d4a843,#f0c96b);color:#050810}
.fc-tile.active .fc-n{background:rgba(240,201,107,.2);color:#f0c96b}

/* Results */
.fc-bar{display:flex;align-items:center;justify-content:space-between;gap:10px 12px;flex-wrap:wrap;margin:24px 4px 18px}
.fc-count{font-size:.86rem;color:#64748b;margin:0}
.fc-count strong{color:#050810}
.fc-live{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0f766e}
.fc-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.18)}
.fc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.fc-card{background:#fff;border:1px solid #ebe5d6;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 22px rgba(5,8,16,.06);transition:transform .3s,box-shadow .3s;animation:fcIn .45s both}
.fc-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(5,8,16,.14)}
@keyframes fcIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.fc-img{position:relative;aspect-ratio:16/10;background:#eef0f3;overflow:hidden}
.fc-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.fc-card:hover .fc-img img{transform:scale(1.05)}
.fc-img.noimg{background:linear-gradient(135deg,#050810,#1e293b)}
.fc-img.noimg::after{content:"\f1b9";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(240,201,107,.55);font-size:2.6rem}
.fc-badge{position:absolute;top:12px;left:12px;z-index:1;display:inline-flex;align-items:center;gap:6px;background:rgba(5,8,16,.84);color:#f0c96b;font-size:.66rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:6px 11px;border-radius:50px;backdrop-filter:blur(6px)}
.fc-badge.driver{background:rgba(15,118,110,.92);color:#fff}
.fc-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.fc-body h3{font-family:var(--font-body,inherit);font-size:1.06rem;font-weight:700;color:#050810;margin:0 0 4px;line-height:1.3}
.fc-type{font-size:.8rem;color:#64748b;margin:0 0 12px}
.fc-specs{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;color:#475569;font-size:.8rem}
.fc-specs i{color:#a07820;margin-right:5px}
.fc-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.fc-tags span{font-size:.68rem;font-weight:700;letter-spacing:.04em;color:#7a5c14;background:rgba(212,168,67,.14);border-radius:50px;padding:4px 10px}
.fc-foot{margin-top:auto;border-top:1px solid #f1ede0;padding-top:14px;display:flex;flex-direction:column;gap:12px}
.fc-price small{display:block;font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8}
.fc-price b{font-size:1.4rem;color:#050810}
.fc-price span{color:#64748b;font-size:.84rem}
.fc-actions{display:flex;gap:8px}
.fc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:50px;padding:12px 16px;font-family:inherit;font-weight:700;font-size:.78rem;letter-spacing:.03em;text-decoration:none;cursor:pointer;transition:transform .2s,filter .2s}
.fc-btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
.fc-btn.dark{background:#050810;color:#fff;flex:1}
.fc-btn.wa{background:#10b981;color:#fff;flex:1}
.fc-btn.wa.icon{flex:0 0 44px;padding:0;font-size:1.15rem}
.fc-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #d9d2bd;border-radius:20px;padding:38px 24px;color:#475569}
.fc-empty p{margin:0 0 14px}
.fc-skel{pointer-events:none}
.fc-skel .fc-img{background:linear-gradient(90deg,#eef0f3 25%,#f7f8fa 50%,#eef0f3 75%);background-size:200% 100%;animation:fcSh 1.3s infinite}
.fc-skel .fc-body i{display:block;height:12px;border-radius:6px;background:#eef0f3;margin:0 0 12px}
.fc-skel .fc-body i:nth-child(2){width:60%}
@keyframes fcSh{to{background-position:-200% 0}}

/* Heading above the detailed self-drive cards */
.fc-sub{max-width:1280px;margin:0 auto 26px}
.fc-sub h2{font-family:var(--font-display,'Cinzel',Georgia,serif);font-size:clamp(1.35rem,2.6vw,1.9rem);color:#050810;margin:0 0 8px;line-height:1.2}
.fc-sub p{color:#526077;margin:0;line-height:1.7;font-size:.95rem;max-width:720px}

/* Guest reviews (real Google reviews) */
.fc-reviews{background:#050810;padding:70px 8%;color:#fff}
.fc-reviews-inner{max-width:1280px;margin:0 auto}
.fc-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:22px 40px;flex-wrap:wrap;margin-bottom:30px}
.fc-reviews-head h2{font-family:var(--font-display,'Cinzel',Georgia,serif);font-size:clamp(1.5rem,3vw,2.1rem);color:#f0c96b;margin:0 0 8px;line-height:1.2}
.fc-reviews-head p{color:#a9b6ca;margin:0;line-height:1.7;font-size:.95rem;max-width:560px}
.fc-rating{display:inline-flex;align-items:center;gap:16px;text-decoration:none;background:rgba(255,255,255,.05);border:1px solid rgba(212,168,67,.3);border-radius:22px;padding:14px 22px 14px 14px;transition:border-color .25s,transform .25s}
.fc-rating:hover{border-color:#d4a843;transform:translateY(-2px)}
.fc-rating-g{width:50px;height:50px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#4285f4;font-size:1.5rem;flex-shrink:0}
.fc-rating-score{display:flex;align-items:center;gap:10px;font-size:1.7rem;font-weight:800;color:#fff;line-height:1}
.fc-stars{color:#fbbc04;font-size:1rem;letter-spacing:2px}
.fc-rating-sub{display:block;margin-top:6px;font-size:.82rem;color:#a9b6ca}
.fc-rating-sub strong{color:#f0c96b}
.fc-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fc-review{margin:0;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px}
.fc-review .fc-stars{font-size:.9rem}
.fc-review blockquote{margin:0;color:#dbe3ee;line-height:1.75;font-size:.93rem}
.fc-review figcaption{margin-top:auto;display:flex;align-items:center;gap:12px;font-size:.84rem;color:#a9b6ca}
.fc-review figcaption b{display:block;color:#fff;font-size:.92rem}
.fc-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#d4a843,#f0c96b);color:#050810;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.85rem}
.fc-reviews-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.fc-reviews-cta a{display:inline-flex;align-items:center;gap:9px;padding:13px 24px;border-radius:50px;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-decoration:none;transition:transform .2s,background .25s}
.fc-reviews-cta a:hover{transform:translateY(-2px)}
.fc-reviews-cta .gold{background:linear-gradient(135deg,#d4a843,#f0c96b);color:#050810}
.fc-reviews-cta .ghost{border:1.5px solid rgba(212,168,67,.4);color:#f0c96b}
.fc-reviews-cta .ghost:hover{background:rgba(212,168,67,.12)}

@media(max-width:1180px){.fc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.fc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-review-grid{grid-template-columns:1fr}}
@media(max-width:650px){
  .fc-section{padding:48px 5% 20px}
  .fc-head{margin-bottom:18px}
  .fc-head p{font-size:.9rem}
  .fc-filter{padding:12px;border-radius:20px;gap:12px;flex-direction:column;flex-wrap:nowrap;align-items:stretch}
  .fc-filter-label{display:none}
  .fc-services{display:flex}
  .fc-service{flex:1;justify-content:center;padding:11px 6px;font-size:.76rem}
  .fc-service small{display:none}
  /* chips become one swipeable row on phones, fading out at the right edge */
  .fc-tiles{flex-wrap:nowrap;overflow-x:auto;margin:0 -12px;padding:2px 12px 4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent)}
  .fc-tiles::-webkit-scrollbar{display:none}
  .fc-tiles>li{flex:0 0 auto;scroll-snap-align:start}
  .fc-tiles>li:last-child{padding-right:26px}
  .fc-bar{margin:18px 2px 14px}
  .fc-live{font-size:.66rem}
  .fc-reviews{padding:52px 5%}
}
@media(max-width:520px){
  .fc-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .fc-card{flex-direction:row;border-radius:18px}
  .fc-card:hover{transform:none}
  .fc-img{flex:0 0 38%;aspect-ratio:auto;min-height:100%}
  .fc-badge{top:8px;left:8px;font-size:.56rem;padding:5px 8px;letter-spacing:.05em}
  .fc-body{padding:13px 14px 14px;min-width:0}
  .fc-body h3{font-size:.98rem}
  .fc-type{margin-bottom:8px;font-size:.76rem}
  .fc-specs{gap:4px 10px;font-size:.74rem;margin-bottom:8px}
  .fc-tags{display:none}
  .fc-foot{padding-top:10px;gap:10px}
  .fc-price b{font-size:1.15rem}
  .fc-btn{padding:11px 10px;font-size:.74rem}
  .fc-btn.wa.icon{flex:0 0 42px}
}
@media(prefers-reduced-motion:reduce){.fc-card,.fc-tile,.fc-btn{animation:none;transition:none}}
