/* =====================================================================
   CS Technologies India — extra components on top of the .nl design
   system (tokens/base/layout/components stay identical).
===================================================================== */

/* ---------- Buttons ---------- */
.btn-whatsapp { background: #128C4A; color: #fff; }
.btn-whatsapp:hover { background: #0e6f3b; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); }
.btn-outline-light svg, .btn-whatsapp svg { width: 18px; height: 18px; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.btn-group--hero, .btn-group--center { justify-content: center; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
/* The phone number is already in the top bar; in the header we show a round
   call icon so the (long) menu always fits next to the CTA button. */
.header__phone { white-space: nowrap; width: 44px; height: 44px; justify-content: center; border-radius: var(--radius-full); background: var(--secondary-light); }
.header__phone span { display: none; }
.header__phone:hover { background: var(--secondary); }
.header__phone:hover svg { color: #fff; }
.site-branding { flex: none; }
.header__actions { flex: none; gap: var(--space-3); }
.nav-menu { gap: 0; }
.nav-menu > li > a { white-space: nowrap; padding-inline: 12px; }
@media (min-width: 993px) and (max-width: 1240px) { .nav-menu > li > a { padding-inline: 8px; font-size: 15px; } }
@media (min-width: 993px) and (max-width: 1100px) { .header__cta { padding: 12px 18px; font-size: var(--fs-sm); } }
@media (min-width: 993px) and (max-width: 1060px) { .header__cta { display: none; } }

/* ---------- Hero (homepage) ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%); }
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { text-align: left; }
.hero__actions .btn-outline-light { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }

/* ---------- Page hero ---------- */
.page-hero__lead { max-width: 760px; margin-inline: auto; }
.page-hero h1 { max-width: 920px; margin-inline: auto; }
.page-hero__note { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-5) 0 0; font-size: var(--fs-sm) !important; color: rgba(255, 255, 255, .85); }
.page-hero__note svg { width: 18px; height: 18px; color: #7ee2a8; }
.page-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }

/* ---------- Sections ---------- */
.section--tight { padding-block: calc(var(--space-11) * .7); }
.section-cta p, p.section-cta { margin-top: var(--space-7); }
.over-ph { aspect-ratio: 4 / 3; }
.over-signature { font-weight: var(--fw-semibold); color: var(--text-primary); margin-top: var(--space-4); }
.entry-content--full > * { max-width: none; }

/* Grids that center an incomplete last row (e.g. 5 service cards) */
.grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--center > * { flex: 0 1 calc((100% - 2 * var(--space-6)) / 3); height: auto; }
@media (max-width: 992px) { .grid--center > * { flex-basis: calc((100% - var(--space-6)) / 2); } }
@media (max-width: 640px) { .grid--center > * { flex-basis: 100%; } }

/* ---------- Cards ---------- */
.card__price { display: inline-block; margin-bottom: var(--space-3); font-weight: var(--fw-bold); color: var(--secondary-dark); font-size: var(--fs-sm); }
.card--post .card__text { display: block; margin-bottom: var(--space-4); }
.card--portfolio .card__text { display: block; margin: 0; }

.problem-card { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--bg-white); border: 1px solid var(--border-light); border-left: 4px solid var(--secondary); border-radius: var(--radius-md); padding: var(--space-6); height: 100%; }
.problem-card__icon { flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--secondary-light); color: #a34e00; display: flex; align-items: center; justify-content: center; }
.problem-card__icon svg { width: 22px; height: 22px; }
.problem-card p { margin: 0; color: var(--text-primary); line-height: var(--lh-relaxed); }

.feature-card__icon svg { width: 26px; height: 26px; }
.feature-box__actions, .contact-info__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-box--spaced { margin-top: var(--space-6); }
.steps-list { list-style: decimal; padding-left: var(--space-5); margin: 0; display: flex; flex-direction: column; gap: var(--space-3); color: var(--text-secondary); }

/* Review */
.review__stars { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.review__source { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }
.review__initial { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: var(--fs-lg); }

/* ---------- Tag grid (business types) ---------- */
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); }
.tag-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--radius-md); color: var(--text-primary); font-weight: var(--fw-medium); font-size: var(--fs-sm); }
.tag-grid li svg { flex: none; width: 18px; height: 18px; color: var(--success); }

/* ---------- Process variants ---------- */
.proces--3 { grid-template-columns: repeat(3, 1fr); }
.proces--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .proces--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .proces--3, .proces--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proces--3, .proces--5 { grid-template-columns: 1fr; } }

/* ---------- Areas line + local links ---------- */
.areas-line { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--space-5); padding: var(--space-4) var(--space-5); background: var(--bg-white); border: 1px dashed var(--border-blue); border-radius: var(--radius-md); font-size: var(--fs-sm); color: var(--text-primary); }
.areas-line svg { flex: none; width: 18px; height: 18px; color: var(--secondary-dark); margin-top: 2px; }
.areas-line--center { justify-content: center; text-align: center; max-width: 900px; margin-inline: auto; }
.areas-line a { font-weight: var(--fw-semibold); }

.local-links { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.local-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-full); color: var(--text-primary); font-weight: var(--fw-medium); font-size: var(--fs-sm); transition: var(--transition-fast); }
.local-links a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.local-links svg { width: 18px; height: 18px; color: var(--primary); }
.local-links .is-hub a { background: var(--primary); border-color: var(--primary); color: #fff; }
.local-links .is-hub svg { color: #fff; }

/* ---------- Related link columns ---------- */
.link-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.link-col { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-6); }
.link-col h3 { font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.link-col ul { display: flex; flex-direction: column; gap: 10px; }
.link-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: var(--fw-medium); }
.link-col a:hover { color: var(--primary); }
.link-col svg { width: 14px; height: 14px; flex: none; color: var(--primary); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
.pricing-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.pricing-grid--1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); transition: var(--transition-normal); }
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.price-card.is-featured { border: 2px solid var(--secondary); box-shadow: var(--shadow-lg); }
.price-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #a34e00; color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; padding: 6px 14px; border-radius: var(--radius-full); white-space: nowrap; }
.price-card__name { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.price-card__desc { font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--space-5); }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--space-1); }
.price-card__price strong { font-size: 2.6rem; line-height: 1; font-weight: var(--fw-extrabold); color: var(--text-primary); }
.price-card__price span { color: var(--text-light); font-size: var(--fs-sm); }
.price-card__note { font-size: var(--fs-sm); color: var(--success); font-weight: var(--fw-medium); margin-bottom: var(--space-5); }
.price-card .feature-list { flex: 1; }
@media (max-width: 992px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Contact / forms ---------- */
.contact-form > h2 { margin-bottom: var(--space-4); }
.contact-form .lead { margin-bottom: var(--space-6); }
.contact-info__list a { word-break: break-word; }
.field-error { display: block; margin-top: 6px; font-size: var(--fs-xs); color: #b32d2e; font-weight: var(--fw-medium); }
.form-fineprint { display: flex; align-items: center; gap: 6px; }
.form-fineprint svg { width: 14px; height: 14px; flex: none; }
.form-notice .btn { margin-top: var(--space-3); }
.form-notice p { margin: 0; }

/* ---------- Blog ---------- */
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-9); padding: var(--space-6) var(--space-7); background: var(--primary-light); border: 1px solid var(--border-blue); border-radius: var(--radius-lg); }
.post-cta p { margin: 0; flex: 1 1 320px; }
.post-navigation { margin-top: var(--space-8); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.post-navigation a { display: block; padding: var(--space-5); border: 1px solid var(--border-light); border-radius: var(--radius-md); color: var(--text-primary); font-weight: var(--fw-semibold); }
.post-navigation a span { display: block; font-size: var(--fs-xs); color: var(--text-light); font-weight: var(--fw-medium); text-transform: uppercase; letter-spacing: .05em; }
.post-navigation .nav-next { text-align: right; }
.comments-area { margin-top: var(--space-9); }
.comment-list { margin-bottom: var(--space-7); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-md); font: inherit; }

/* Search */
.search-form { display: flex; gap: var(--space-2); }
.search-form .search-field { flex: 1; padding: 12px 18px; border: 1px solid var(--border-light); border-radius: var(--radius-full); font: inherit; }
.search-404 { max-width: 480px; margin: var(--space-8) auto 0; }
.section--404 .btn-group { margin-top: var(--space-6); }

/* Portfolio filter */
.filter-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-8); }
.filter-pills a { padding: 8px 18px; border: 1px solid var(--border-light); border-radius: var(--radius-full); color: var(--text-primary); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.filter-pills a:hover, .filter-pills a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Footer extras ---------- */
.footer__local { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: baseline; padding-block: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.footer__local-title { color: #fff; font-weight: var(--fw-semibold); }
.footer__local-menu { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__local-menu a { color: rgba(255, 255, 255, .62); }
.footer__local-menu a:hover { color: #fff; }
.footer__legal-menu { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ---------- Mobile sticky contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 768px) {
	.has-mobile-bar .mobile-bar {
		display: grid; grid-template-columns: repeat(3, 1fr);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header);
		background: var(--white); border-top: 1px solid var(--border-light);
		box-shadow: 0 -6px 20px rgba(0, 43, 92, .12);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--text-primary); }
	.mobile-bar a svg { width: 20px; height: 20px; color: var(--primary); }
	.mobile-bar a.is-wa svg { color: #128C4A; }
	.mobile-bar a.is-quote { background: #a34e00; color: #fff; }
	.mobile-bar a.is-quote svg { color: #fff; }
	.has-mobile-bar { padding-bottom: 64px; }
	.has-mobile-bar .fab-whatsapp { display: none; }
	.has-mobile-bar .floating-actions { bottom: 76px; }
}

/* ---------- Landing-specific polish ---------- */
.is-local-landing .ll-intro .lead { font-size: var(--fs-xl); }
.ll-final .contact-grid { align-items: start; }
.ll-final .cstech-form-wrap { max-width: none; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.page-hero__actions .btn, .btn-group .btn { width: 100%; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.price-card { padding: var(--space-7) var(--space-6); }
}

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .site-footer, .floating-actions, .mobile-bar, .cta-strip { display: none !important; }
}

/* ---------- Google reviews widget (Trustindex) ---------- */
.reviews-widget { max-width: 100%; overflow: hidden; }
.reviews-widget .ti-widget { margin-inline: auto; }
.section--reviews .section-cta .btn svg { width: 18px; height: 18px; color: #f4b400; }
