/* =========================================================================
   CS Technologies – Baddi Landing Pages
   All styles are scoped under .cst-landing so they never leak into the
   rest of the Elementor site.

   >>> SET YOUR REAL BRAND COLOURS HERE <<<
   Replace the three --cst-primary* values below with the exact hex codes
   from cstechnologies.in so the pages match the site perfectly.
   ========================================================================= */
.cst-landing {
	--cst-primary:      #FF7A00;   /* main brand colour */
	--cst-primary-dark: #D96300;   /* hover / darker shade */
	--cst-primary-soft: #FFECDB;   /* soft orange background */
	--cst-wa:           #25d366;   /* WhatsApp green */
	--cst-ink:          #1F2937;   /* headings */
	--cst-body:         #4B5563;   /* body text */
	--cst-muted:        #7A7A7A;   /* secondary text */
	--cst-line:         #E5E7EB;   /* borders */
	--cst-bg:           #ffffff;
	--cst-radius:       14px;
	--cst-shadow:       0 6px 24px rgba(15, 23, 42, .07);
	--cst-max:          1160px;

	color: var(--cst-body);
	font-size: 17px;
	line-height: 1.65;
	background: var(--cst-bg);
	-webkit-font-smoothing: antialiased;
}

.cst-landing * { box-sizing: border-box; }
.cst-container { width: 100%; max-width: var(--cst-max); margin: 0 auto; padding: 0 20px; }
.cst-narrow { max-width: 820px; }
.cst-section { padding: 64px 0; }
.cst-bg-soft { background: var(--cst-primary-soft); }

.cst-landing h1, .cst-landing h2, .cst-landing h3 { color: var(--cst-ink); line-height: 1.25; margin: 0 0 .5em; }
.cst-landing h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.cst-landing h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.cst-landing h3 { font-size: 1.18rem; font-weight: 700; }
.cst-landing p { margin: 0 0 1rem; }
.cst-section-lead { color: var(--cst-muted); font-size: 1.05rem; max-width: 720px; margin-bottom: 2rem; }

.cst-ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; vertical-align: -.15em; }

/* ---------- Breadcrumb ---------- */
.cst-breadcrumb { background: #fff; border-bottom: 1px solid var(--cst-line); font-size: .86rem; }
.cst-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 12px 0; }
.cst-breadcrumb li { color: var(--cst-muted); }
.cst-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--cst-line); }
.cst-breadcrumb a { color: var(--cst-muted); text-decoration: none; }
.cst-breadcrumb a:hover { color: var(--cst-primary); }
.cst-breadcrumb li[aria-current] { color: var(--cst-ink); font-weight: 600; }

/* ---------- Hero ---------- */
.cst-hero {
	background:
		radial-gradient(1000px 400px at 80% -10%, var(--cst-primary-soft), transparent 60%),
		linear-gradient(180deg, #fff, #fbfcff);
	padding: 56px 0 60px;
	border-bottom: 1px solid var(--cst-line);
}
.cst-eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--cst-primary); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .6rem; }
/* .cst-hero h1 { max-width: 15ch; } */
.cst-lead { font-size: 1.2rem; color: var(--cst-body); max-width: 60ch; margin: .8rem 0 1.6rem; }
.cst-hero-note { display: inline-flex; align-items: center; gap: .4rem; color: var(--cst-muted); font-size: .95rem; margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.cst-cta-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.cst-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .85rem 1.35rem; border-radius: 10px; font-weight: 700; font-size: 1rem;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.cst-btn:hover { transform: translateY(-1px); }
.cst-btn-primary { background: var(--cst-primary); color: #fff; box-shadow: var(--cst-shadow); }
.cst-btn-primary:hover { background: var(--cst-primary-dark); color: #fff; }
.cst-btn-wa { background: var(--cst-wa); color: #fff; }
.cst-btn-wa:hover { background: #1fbb59; color: #fff; }
.cst-btn-ghost { background: #fff; color: var(--cst-ink); border-color: var(--cst-line); }
.cst-btn-ghost:hover { border-color: var(--cst-primary); color: var(--cst-primary); }

/* ---------- Grids ---------- */
.cst-grid { display: grid; gap: 1.1rem; }
.cst-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cst-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Intro ---------- */
.cst-intro p { font-size: 1.1rem; }

/* ---------- Problems ---------- */
.cst-problem-card { display: flex; gap: .75rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); }
.cst-problem-card .cst-ico { color: #e0851b; margin-top: .15rem; }
.cst-problem-card p { margin: 0; }

/* ---------- Service cards ---------- */
.cst-service-card { background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); padding: 1.5rem; transition: box-shadow .15s ease, transform .15s ease; }
.cst-service-card:hover { box-shadow: var(--cst-shadow); transform: translateY(-2px); }
.cst-service-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--cst-primary-soft); color: var(--cst-primary); margin-bottom: .9rem; }
.cst-service-ico .cst-ico { width: 24px; height: 24px; }
.cst-service-card p { color: var(--cst-muted); font-size: .98rem; }
.cst-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--cst-primary); font-weight: 700; text-decoration: none; font-size: .95rem; }
.cst-link:hover { color: var(--cst-primary-dark); }

/* ---------- Solutions ---------- */
.cst-solution-card { display: flex; gap: .8rem; background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); padding: 1.2rem 1.3rem; }
.cst-solution-card .cst-ico { color: var(--cst-primary); margin-top: .2rem; }
.cst-solution-card h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.cst-solution-card p { margin: 0; color: var(--cst-muted); font-size: .96rem; }

/* ---------- CTA strip ---------- */
.cst-cta-strip { background: var(--cst-ink); color: #fff; text-align: center; }
.cst-cta-strip h2 { color: #fff; }
.cst-cta-strip p { color: #c7d2fe; max-width: 60ch; margin: 0 auto 1.4rem; }
.cst-cta-strip .cst-cta-buttons { justify-content: center; }
.cst-cta-strip .cst-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cst-cta-strip .cst-btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Business tag grid ---------- */
.cst-tag-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem .9rem; }
.cst-tag-grid li { display: flex; align-items: center; gap: .5rem; font-size: .96rem; color: var(--cst-body); padding: .35rem 0; }
.cst-tag-grid .cst-ico { color: var(--cst-wa); width: 1rem; height: 1rem; }

/* ---------- Local ---------- */
.cst-local-areas { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--cst-ink); background: #fff; border: 1px solid var(--cst-line); padding: .6rem 1rem; border-radius: 999px; font-size: .92rem; }
.cst-local-areas .cst-ico { color: var(--cst-primary); }

/* ---------- Process ---------- */
.cst-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cst-steps li { position: relative; padding: 1.2rem; background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); }
.cst-step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cst-primary); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.cst-steps h3 { font-size: 1rem; }
.cst-steps p { font-size: .9rem; color: var(--cst-muted); margin: 0; }

/* ---------- Why ---------- */
.cst-why-card { background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); padding: 1.4rem; }
.cst-why-card .cst-ico { color: var(--cst-wa); width: 1.5rem; height: 1.5rem; margin-bottom: .5rem; }
.cst-why-card p { color: var(--cst-muted); font-size: .96rem; margin: 0; }

/* ---------- Hub industry grid ---------- */
.cst-industry-card { display: block; background: #fff; border: 1px solid var(--cst-line); border-radius: var(--cst-radius); padding: 1.4rem; text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.cst-industry-card:hover { box-shadow: var(--cst-shadow); transform: translateY(-2px); border-color: var(--cst-primary); }
.cst-industry-card h3 { color: var(--cst-ink); }
.cst-industry-card p { color: var(--cst-muted); font-size: .95rem; }
.cst-card-go { display: inline-flex; align-items: center; gap: .3rem; color: var(--cst-primary); font-weight: 700; font-size: .92rem; }

/* ---------- Related ---------- */
.cst-related-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cst-related h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cst-muted); }
.cst-link-list { list-style: none; margin: 0; padding: 0; }
.cst-link-list li { margin: 0 0 .5rem; }
.cst-link-list a { display: inline-flex; align-items: center; gap: .45rem; color: var(--cst-body); text-decoration: none; font-weight: 600; font-size: .96rem; }
.cst-link-list a:hover { color: var(--cst-primary); }
.cst-link-list .cst-ico { color: var(--cst-primary); width: .9rem; height: .9rem; }

/* ---------- FAQ ---------- */
.cst-accordion { border: 1px solid var(--cst-line); border-radius: var(--cst-radius); overflow: hidden; background: #fff; }
.cst-acc-item + .cst-acc-item { border-top: 1px solid var(--cst-line); }
.cst-acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; padding: 1.1rem 1.3rem; font-size: 1.04rem; font-weight: 700; color: var(--cst-ink); cursor: pointer; }
.cst-acc-icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.cst-acc-icon::before, .cst-acc-icon::after { content: ""; position: absolute; background: var(--cst-primary); transition: transform .2s ease; }
.cst-acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.cst-acc-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.cst-acc-q[aria-expanded="true"] .cst-acc-icon::after { transform: scaleY(0); }
.cst-acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.cst-acc-a p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--cst-body); }

/* ---------- Final CTA + contact ---------- */
.cst-final { background: linear-gradient(135deg, var(--cst-primary), var(--cst-primary-dark)); color: #fff; }
.cst-final-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.cst-final h2 { color: #fff; }
.cst-final-copy p { color: rgba(255,255,255,.85); }
.cst-final .cst-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.cst-final .cst-btn-ghost:hover { background: rgba(255,255,255,.2); }
.cst-final .cst-btn-primary { background: #fff; color: var(--cst-primary-dark); }
.cst-final-contact { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--cst-radius); padding: 1.4rem 1.5rem; }
.cst-final-contact ul { list-style: none; margin: 0; padding: 0; }
.cst-final-contact li { margin: 0 0 .7rem; }
.cst-final-contact a { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 600; }
.cst-final-contact a:hover { text-decoration: underline; }
.cst-hours { margin: .8rem 0 0; color: rgba(255,255,255,.75); font-size: .9rem; }

/* ---------- Sticky mobile CTA ---------- */
.cst-sticky { display: none; }
@media (max-width: 780px) {
	.cst-sticky {
		display: grid; grid-template-columns: repeat(3, 1fr);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
		background: #fff; border-top: 1px solid var(--cst-line);
		box-shadow: 0 -4px 20px rgba(15,23,42,.12);
	}
	.cst-sticky a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: .55rem 0; font-size: .72rem; font-weight: 700; text-decoration: none; color: var(--cst-ink); }
	.cst-sticky a + a { border-left: 1px solid var(--cst-line); }
	.cst-sticky a:first-child { color: var(--cst-primary); }
	.cst-sticky a:nth-child(2) { color: var(--cst-wa); }
	.cst-sticky .cst-ico { width: 1.3rem; height: 1.3rem; }
	.cst-landing { padding-bottom: 62px; } /* room for the bar */
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.cst-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.cst-steps { grid-template-columns: repeat(2, 1fr); }
	.cst-related-cols { grid-template-columns: 1fr; }
	.cst-final-inner { grid-template-columns: 1fr; }
	.cst-tag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.cst-section { padding: 44px 0; }
	.cst-grid-2, .cst-grid-3 { grid-template-columns: 1fr; }
	.cst-steps { grid-template-columns: 1fr; }
	.cst-tag-grid { grid-template-columns: 1fr; }
	.cst-btn { flex: 1 1 auto; justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.cst-landing *, .cst-acc-a, .cst-acc-icon::before, .cst-acc-icon::after { transition: none !important; }
}
