/* ===========================================================
   Coimbatore landing pages (coimbatore.php)
   Builds on the tokens in style.css: black + lime + white.
   Everything here is prefixed .cbe- so nothing else changes.
   =========================================================== */

/* ---------- Hero ---------- */
.cbe-hero {
    position: relative;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    padding: 56px 0 64px;
}
.cbe-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(197,245,0,0.16), transparent 60%),
        radial-gradient(ellipse 50% 60% at 5% 100%, rgba(197,245,0,0.08), transparent 60%);
    pointer-events: none;
}
.cbe-hero::after {
    /* faint road-grid texture */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}
.cbe-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: start;
}
.cbe-hero .hero-badge { margin-bottom: 18px; }
.cbe-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cbe-hero h1 .accent { color: var(--yellow); }
.cbe-lead {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    margin-bottom: 22px;
}
.cbe-chips { display: flex; flex-wrap: wrap; min-width: 0; gap: 8px; margin-bottom: 26px; }
.cbe-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    transition: all var(--transition);
}
.cbe-chip i { color: var(--yellow); font-size: 12px; }
a.cbe-chip:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
a.cbe-chip:hover i { color: var(--black); }

.cbe-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}
.cbe-fact {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.cbe-fact strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1.1;
}
.cbe-fact span { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 600; }

.cbe-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cbe-btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.cbe-btn-wa:hover { background: #1ebe5a; border-color: #1ebe5a; }

.cbe-hero-widget { position: relative; min-width: 0; color: var(--black); }
.cbe-hero-grid > * { min-width: 0; }
.cbe-hero-widget .bw { box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.cbe-widget-ribbon {
    position: absolute;
    top: -12px;
    right: 18px;
    z-index: 2;
    background: var(--yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(197,245,0,0.4);
}

/* ---------- Trust strip ---------- */
.cbe-trust {
    background: var(--yellow);
    padding: 16px 0;
}
.cbe-trust-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cbe-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    color: var(--black);
}
.cbe-trust-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ---------- Section helpers ---------- */
.cbe-alt { background: var(--off-white); }
.cbe-head-left { text-align: left; margin-bottom: 32px; }
.cbe-head-left .section-desc { margin: 0; max-width: 680px; }

/* ---------- Intro / content block ---------- */
.cbe-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.cbe-prose { font-size: 16.5px; line-height: 1.85; color: var(--gray-dark); }
.cbe-prose p { margin-bottom: 16px; }
.cbe-prose h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 18px;
}
.cbe-prose strong { color: var(--black); }

.cbe-infocard {
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.cbe-infocard::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,245,0,0.25), transparent 70%);
}
.cbe-infocard h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}
.cbe-infocard h3 i { color: var(--yellow); margin-right: 6px; }
.cbe-inforow {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.14);
    font-size: 14px;
    position: relative;
}
.cbe-inforow:last-of-type { border-bottom: none; }
.cbe-inforow span { color: rgba(255,255,255,0.62); }
.cbe-inforow strong { color: var(--white); text-align: right; }
.cbe-landmarks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; position: relative; }
.cbe-landmarks span {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(197,245,0,0.12);
    color: var(--yellow);
    border: 1px solid rgba(197,245,0,0.25);
}

/* ---------- Fare cards ---------- */
.cbe-fares {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}
.cbe-fare {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
    position: relative;
}
.cbe-fare:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.cbe-fare-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.cbe-fare h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.cbe-fare h3 small { display: block; font-size: 12px; font-weight: 600; color: var(--gray-mid); font-family: var(--font-body); margin-top: 2px; }
.cbe-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 50px;
    background: var(--gray-light);
    white-space: nowrap;
}
.cbe-fare-meta { display: flex; gap: 14px; font-size: 13px; color: var(--gray-mid); font-weight: 600; margin: 8px 0 14px; }
.cbe-fare-meta i { color: var(--yellow-dark); margin-right: 4px; }
.cbe-fare-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.cbe-price {
    background: var(--off-white);
    border-radius: 10px;
    padding: 10px 12px;
}
.cbe-price span { display: block; font-size: 11.5px; font-weight: 700; color: var(--gray-mid); }
.cbe-price strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.cbe-price--best { background: var(--black); }
.cbe-price--best span { color: rgba(255,255,255,0.6); }
.cbe-price--best strong { color: var(--yellow); }
.cbe-fare .btn { margin-top: auto; justify-content: center; }
.cbe-note { font-size: 13px; color: var(--gray-mid); margin-top: 18px; }
.cbe-note i { color: var(--yellow-dark); }

/* ---------- Vehicle strip ---------- */
.cbe-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}
.cbe-veh {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
}
.cbe-veh:hover { border-color: var(--yellow); }
.cbe-veh-img {
    background: linear-gradient(160deg, #1d1d1d, #0a0a0a);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.cbe-veh-img img { max-height: 100%; object-fit: contain; }
.cbe-veh-img i { font-size: 44px; color: var(--yellow); }
.cbe-veh-body { padding: 16px; }
.cbe-veh-body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; text-transform: capitalize; }
.cbe-veh-body p { font-size: 13px; color: var(--gray-mid); margin: 4px 0 10px; }
.cbe-veh-rate { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.cbe-veh-rate small { font-size: 12px; color: var(--gray-mid); font-weight: 600; font-family: var(--font-body); }

/* ---------- Services ---------- */
.cbe-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}
.cbe-service {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 2px solid var(--gray-light);
    transition: all var(--transition);
}
.cbe-service:hover { border-color: var(--black); transform: translateY(-2px); }
.cbe-service.is-current { border-color: var(--yellow); background: rgba(197,245,0,0.07); }
.cbe-service-ico {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.cbe-service h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 800; margin-bottom: 3px; }
.cbe-service p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.5; }

/* ---------- One way vs round trip ---------- */
.cbe-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 8px;
}
.cbe-compare-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid var(--gray-light);
    background: var(--white);
}
.cbe-compare-card.is-win { border-color: var(--black); background: var(--black); color: var(--white); }
.cbe-compare-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.cbe-compare-card .amt { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1.1; margin: 8px 0; }
.cbe-compare-card.is-win .amt { color: var(--yellow); }
.cbe-compare-card p { font-size: 13.5px; opacity: 0.75; }
.cbe-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    background: var(--yellow);
    color: var(--black);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
}

/* ---------- Area directory ---------- */
.cbe-search {
    position: relative;
    max-width: 460px;
    margin: 0 auto 32px;
}
.cbe-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-mid); }
.cbe-search input {
    width: 100%;
    padding: 15px 18px 15px 46px;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font-body);
    background: var(--white);
}
.cbe-search input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(197,245,0,0.22); }
.cbe-zones { display: grid; gap: 22px; }
.cbe-zone {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.cbe-zone-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cbe-zone-head i {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--black);
    color: var(--yellow);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cbe-zone-head h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.cbe-zone-head p { font-size: 13px; color: var(--gray-mid); }
.cbe-zone-head .count { margin-left: auto; font-size: 12px; font-weight: 800; background: var(--gray-light); padding: 3px 10px; border-radius: 50px; white-space: nowrap; }
.cbe-area-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cbe-area-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    background: var(--off-white);
    border: 1.5px solid var(--gray-light);
    transition: all var(--transition);
}
.cbe-area-links a i { font-size: 11px; color: var(--yellow-dark); }
.cbe-area-links a:hover, .cbe-area-links a.is-current { background: var(--yellow); border-color: var(--yellow); }
.cbe-area-links a:hover i, .cbe-area-links a.is-current i { color: var(--black); }
.cbe-area-links a small { color: var(--gray-mid); font-weight: 600; }
.cbe-empty { display: none; text-align: center; color: var(--gray-mid); padding: 20px; }

/* ---------- FAQ ---------- */
.cbe-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.cbe-faq details {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--transition);
}
.cbe-faq details[open] { border-color: var(--yellow); }
.cbe-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 54px 18px 20px;
    font-weight: 800;
    font-size: 15.5px;
    position: relative;
}
.cbe-faq summary::-webkit-details-marker { display: none; }
.cbe-faq summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; line-height: 1;
}
.cbe-faq details[open] summary::after { content: '–'; }
.cbe-faq .ans { padding: 0 20px 18px; color: var(--gray-dark); line-height: 1.75; font-size: 15px; }

/* ---------- Keyword cloud (bottom of page) ---------- */
.cbe-kw { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cbe-kw span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-mid);
    border: 1px solid var(--gray-light);
    padding: 5px 12px;
    border-radius: 50px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .cbe-hero-grid, .cbe-intro-grid { grid-template-columns: minmax(0, 1fr); }
    .cbe-hero { padding: 36px 0 44px; }
    .cbe-hero-grid { gap: 30px; }
}
@media (max-width: 640px) {
    .cbe-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .cbe-fact { padding: 10px; }
    .cbe-fact strong { font-size: 1.05rem; }
    .cbe-fact span { font-size: 11px; }
    .cbe-compare { grid-template-columns: 1fr; }
    .cbe-trust-row { justify-content: flex-start; }
    .cbe-trust-item { flex: 1 1 45%; font-size: 13px; }
    .cbe-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .cbe-zone-head .count { display: none; }
}
