/* ==========================================================================
   Aleeya Car Rental — Main Styles
   Sections: Base · Layout · Buttons · Header/Nav · Hero · Sections · Cards ·
   Booking Process · Testimonials · FAQ · CTA · Forms · Blog · Footer ·
   Floating WhatsApp · Sticky CTA · Utilities · Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.18; color: var(--black); margin: 0 0 0.6em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid rgba(192, 0, 0, 0.45); outline-offset: 2px; border-radius: 4px; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--black); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--dark-gradient); color: #e9e9ec; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section__eyebrow {
	display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
	background: rgba(192, 0, 0, 0.08); padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.section__title { margin-bottom: 0.5rem; }
.section__subtitle { color: var(--color-text-muted); font-size: var(--fs-lead); margin: 0; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-heading); font-weight: 600; font-size: 1rem; line-height: 1;
	padding: 0.95rem 1.6rem; border-radius: var(--radius-pill); border: 2px solid transparent;
	cursor: pointer; text-align: center; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
	min-height: 48px;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--cta-gradient); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(192, 0, 0, 0.42); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { color: #fff; background: var(--grey-800); transform: translateY(-2px); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-wa); }
.btn--whatsapp:hover { color: #fff; background: var(--whatsapp-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--grey-200); }
.btn--outline:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; min-height: 42px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--color-border);
	transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--black); }
.brand:hover { color: var(--black); }
.brand__mark {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: var(--cta-gradient); color: #fff; font-weight: 700; box-shadow: var(--shadow-red);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand strong { color: var(--red); }

.primary-nav ul { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	display: inline-block; padding: 0.55rem 0.9rem; color: var(--grey-800); font-weight: 500;
	border-radius: 10px; transition: color var(--transition), background var(--transition);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--red); background: rgba(192, 0, 0, 0.06); }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
	display: none; background: none; border: 0; color: var(--black); cursor: pointer; padding: 6px; border-radius: 10px;
}
.nav-toggle:hover { background: var(--grey-100); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark-gradient); }
.hero::after {
	content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%;
	background: radial-gradient(circle, rgba(192, 0, 0, 0.42), transparent 70%); top: -200px; right: -140px;
}
.hero__inner { padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 720px; }
.hero__badge {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500;
	background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); margin-bottom: 1.3rem; backdrop-filter: blur(6px);
}
.hero__badge .stars { display: inline-flex; color: #ffc44d; }
.hero h1 { color: #fff; margin-bottom: 0.6rem; }
.hero h1 .accent { color: #ff5a5a; }
.hero__lead { font-size: var(--fs-lead); color: #d9dbe0; max-width: 560px; margin-bottom: 1.8rem; }
.hero__cta { margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; line-height: 1; }
.hero__trust span { font-size: 0.85rem; color: #b9bcc4; }

/* --------------------------------------------------------------------------
   Feature cards (Why choose us)
   -------------------------------------------------------------------------- */
.feature-card {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(192, 0, 0, 0.25); }
.feature-card__icon {
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
	background: rgba(192, 0, 0, 0.08); color: var(--red); margin-bottom: 1.1rem;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--color-text-muted); margin: 0; font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Car chips (model name only)
   -------------------------------------------------------------------------- */
.car-chip {
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1.15rem 1.35rem; box-shadow: var(--shadow-sm); color: var(--black);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	position: relative; overflow: hidden;
}
.car-chip::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--cta-gradient);
	transform: scaleY(0); transform-origin: bottom; transition: transform var(--transition);
}
.car-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(192, 0, 0, 0.28); color: var(--black); }
.car-chip:hover::before { transform: scaleY(1); }
.car-chip__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.car-chip__cta {
	display: inline-flex; align-items: center; gap: 0.3rem; flex: 0 0 auto;
	font-size: 0.85rem; font-weight: 600; color: var(--red);
}
.car-chip__cta svg { transition: transform var(--transition); }
.car-chip:hover .car-chip__cta svg { transform: translateX(3px); }
.car-chip__info { display: flex; flex-direction: column; gap: 0.3rem; }
.car-chip__price { font-size: 0.85rem; font-weight: 600; color: var(--red); }

/* --------------------------------------------------------------------------
   Car cards (legacy — used by CPT archive if needed)
   -------------------------------------------------------------------------- */
.car-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border);
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.car-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--grey-100); overflow: hidden; }
.car-card__media img, .car-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.05); }
.car-card__tag {
	position: absolute; top: 12px; left: 12px; background: var(--black); color: #fff;
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 5px 10px; border-radius: var(--radius-pill);
}
.car-card__price {
	position: absolute; bottom: 12px; right: 12px; background: rgba(255, 255, 255, 0.95); color: var(--black);
	font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; padding: 6px 12px; border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
}
.car-card__price small { color: var(--color-text-muted); font-weight: 500; }
.car-card__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.car-card__body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.car-card__desc { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1rem; flex: 1; }
.car-card__meta { display: flex; gap: 1rem; color: var(--grey-500); font-size: 0.82rem; margin-bottom: 1.1rem; }
.car-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.car-card__meta svg { color: var(--red); }

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */
.cat-card {
	position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem;
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
	overflow: hidden;
}
.cat-card::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--cta-gradient);
	transform: scaleY(0); transform-origin: bottom; transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--black); color: #fff; }
.cat-card h3 { font-size: 1.15rem; margin: 0; }
.cat-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }
.cat-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Booking process
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step-card { position: relative; text-align: center; padding: 1.5rem 1rem; }
.step-card__num {
	display: inline-grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1rem;
	font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: #fff;
	background: var(--cta-gradient); border-radius: 50%; box-shadow: var(--shadow-red);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }
.step-card:not(:last-child)::after {
	content: ""; position: absolute; top: 34px; right: -10%; width: 20%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--grey-200) 0 8px, transparent 8px 14px);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.9rem; height: 100%;
}
.testimonial .stars { display: inline-flex; color: #ffb400; gap: 2px; }
.testimonial__text { color: var(--grey-800); margin: 0; font-size: 0.98rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial__avatar {
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: var(--grey-100); color: var(--red); font-family: var(--font-heading); font-weight: 700;
}
.testimonial__name { font-weight: 600; color: var(--black); line-height: 1.1; }
.testimonial__role { font-size: 0.82rem; color: var(--color-text-muted); }
.google-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; margin-bottom: 0.85rem; overflow: hidden; }
.faq-item + .faq-item { margin-top: 0; }
.faq-item__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: none; border: 0; cursor: pointer; text-align: left; padding: 1.1rem 1.3rem;
	font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--black);
}
.faq-item__q:hover { color: var(--red); }
.faq-item__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform var(--transition); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; }
.faq-item__icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq-item__icon::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform var(--transition); }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { transform: rotate(90deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-item__a-inner { padding: 0 1.3rem 1.2rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; color: #fff; background: var(--dark-gradient); }
.cta-band::before {
	content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
	background: radial-gradient(circle, rgba(192, 0, 0, 0.45), transparent 70%); top: -180px; right: -120px;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd1d6; max-width: 560px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Forms (WhatsApp booking)
   -------------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.wa-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--grey-800); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
	font-family: var(--font-body); font-size: 1rem; color: var(--black);
	padding: 0.8rem 1rem; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
	background: var(--grey-50); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
	width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--other { display: none; }
.field--other.is-visible { display: flex; animation: fade-in 0.25s var(--ease); }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin: 1rem 0 0; display: flex; align-items: center; gap: 0.4rem; }
.wa-form .btn { margin-top: 0.4rem; }

@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(192, 0, 0, 0.08); color: var(--red); }
.contact-item h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--color-text-muted); }
.contact-item a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-top: 0.5rem; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; color: #fff; background: var(--dark-gradient); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(192,0,0,.4), transparent 70%); top: -160px; left: -120px; }
.page-hero .container { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: #cfd1d6; max-width: 620px; margin: 0; }

/* Breadcrumbs */
.breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   Stats / About
   -------------------------------------------------------------------------- */
.stat { text-align: center; padding: 1.25rem; }
.stat b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--red); line-height: 1; }
.stat span { color: var(--color-text-muted); font-size: 0.95rem; }
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--grey-200); }
.timeline__item { position: relative; padding-bottom: 1.8rem; }
.timeline__item::before { content: ""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(192,0,0,.15); }
.timeline__item b { display: block; color: var(--red); font-family: var(--font-heading); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list svg { color: var(--red); flex: 0 0 auto; margin-top: 2px; }

.team-card { text-align: center; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.team-card__avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 0.9rem; background: var(--grey-100); display: grid; place-items: center; color: var(--red); font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; }
.team-card h4 { margin: 0; }
.team-card span { color: var(--color-text-muted); font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.post-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--grey-100); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); }
.post-card__body h3 { font-size: 1.15rem; margin: 0; }
.post-card__body h3 a { color: var(--black); }
.post-card__body h3 a:hover { color: var(--red); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; color: var(--color-text-muted); font-size: 0.82rem; }
.post-card .btn { margin-top: auto; align-self: flex-start; }

.widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.widget__title { font-size: 1.05rem; margin-bottom: 0.9rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--grey-100); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 0.4rem 0; border-bottom: 1px solid var(--grey-100); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--grey-800); }
.widget a:hover { color: var(--red); }
.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] { flex: 1; padding: 0.7rem 0.9rem; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--grey-50); }
.search-form button { display: grid; place-items: center; width: 46px; border: 0; border-radius: var(--radius-sm); background: var(--cta-gradient); color: #fff; cursor: pointer; }
.tag-cloud a { display: inline-block; padding: 4px 10px; margin: 0 4px 6px 0; background: var(--grey-100); border-radius: var(--radius-pill); font-size: 0.8rem; }

/* Single post */
.entry { background: #fff; }
.entry__header { margin-bottom: 1.5rem; }
.entry__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.entry__meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--color-text-muted); font-size: 0.88rem; align-items: center; }
.entry__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.entry__content { font-size: 1.05rem; }
.entry__content h2 { margin-top: 2rem; }
.entry__content h3 { margin-top: 1.6rem; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content blockquote { border-left: 4px solid var(--red); background: var(--grey-100); margin: 1.5rem 0; padding: 1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.toc { background: var(--grey-100); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; }
.toc__title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a { color: var(--grey-800); }
.toc a:hover { color: var(--red); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0; padding-top: 1.4rem; border-top: 1px solid var(--color-border); }
.share__label { font-weight: 600; }
.share__link { padding: 0.45rem 0.9rem; border: 1px solid var(--grey-200); border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; color: var(--grey-800); }
.share__link:hover { background: var(--red); color: #fff; border-color: var(--red); }
.author-box { display: flex; gap: 1rem; background: var(--grey-100); border-radius: var(--radius); padding: 1.4rem; margin: 2rem 0; }
.author-box__avatar { width: 60px; height: 60px; border-radius: 50%; flex: 0 0 auto; }
.related-posts { margin-top: 2.5rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border-radius: var(--radius-sm); border: 1px solid var(--grey-200); color: var(--grey-800); font-weight: 600; }
.pagination .page-numbers.current { background: var(--cta-gradient); color: #fff; border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark-gradient); color: #b9bcc4; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #b9bcc4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-about p { color: #9a9da6; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.8rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; color: var(--red); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; color: #8a8d96; }
.social-row { display: flex; gap: 0.6rem; }
.social-row a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.social-row a:hover { background: var(--red); }

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: inline-flex; align-items: center; }
.wa-float__btn {
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-wa);
	animation: wa-pulse 2.4s infinite; transition: transform var(--transition);
}
.wa-float__btn:hover { color: #fff; transform: scale(1.06); }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__tip {
	position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
	background: var(--black); color: #fff; padding: 0.55rem 0.9rem; border-radius: 10px; font-size: 0.85rem;
	white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition);
}
.wa-float__tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--black); }
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Sticky mobile CTA */
.mobile-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 190; display: none; gap: 0.6rem;
	padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px); border-top: 1px solid var(--color-border); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}
.mobile-cta .btn { flex: 1; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.center-btn { display: flex; justify-content: center; margin-top: var(--space-5); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.blog-layout { grid-template-columns: 1fr; }
	.contact-grid, .split { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.step-card:not(:last-child)::after { display: none; }
}
@media (max-width: 860px) {
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--color-border);
		box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform 0.3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.primary-nav.is-open { transform: translateY(0); }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem; }
	.primary-nav a { padding: 0.85rem 1rem; border-radius: 10px; }
	.nav-toggle { display: inline-grid; place-items: center; }
	.header__actions .btn--header { display: none; }
	.mobile-cta { display: flex; }
	.wa-float { bottom: 84px; }
	body { padding-bottom: 0; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 620px) {
	.grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
	.wa-form .form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero__trust { gap: 1rem 1.5rem; }
	.hero__trust b { font-size: 1.25rem; }
	/* Full-width, easy-tap CTAs on phones */
	.hero__cta { flex-direction: column; align-items: stretch; }
	.hero__cta .btn { width: 100%; }
	.cta-band .btn-row { flex-direction: column; align-items: stretch; }
	.cta-band .btn-row .btn { width: 100%; }
	/* Car names two-up so the list stays compact */
	#kereta-pilihan .grid--4 { grid-template-columns: 1fr 1fr; }
	.car-chip { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem; }
	.section__title { font-size: 1.5rem; }
	.wa-float__btn { width: 54px; height: 54px; }
	.wa-float__btn svg { width: 28px; height: 28px; }
}
@media (max-width: 400px) {
	#kereta-pilihan .grid--4 { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
