/*
Theme Name: Secure Solutions
Theme URI: https://www.securesolutions.co.in
Author: Secure Solutions
Description: Dark "deep tech" theme for Secure Solutions, built to pair with Elementor Flexbox Containers. Carries the header, footer and design tokens; all page content is edited in Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: securesolutions
Tags: dark, one-column, custom-logo, custom-menu, full-width-template
*/

/* ==========================================================================
   Design tokens — mirrors the tailwind.config in the original HTML build
   ========================================================================== */
:root {
	--ss-space: #02050c;
	--ss-card: #080d1a;

	--ss-blue-300: #93c5fd;
	--ss-blue-400: #60a5fa;
	--ss-blue-500: #3b82f6;
	--ss-blue-900: #1e3a8a;
	--ss-blue-950: #172554;

	--ss-teal-300: #5eead4;
	--ss-teal-400: #2dd4bf;
	--ss-teal-500: #14b8a6;
	--ss-teal-900: #134e4a;
	--ss-teal-950: #042f2e;

	--ss-purple-400: #c084fc;
	--ss-purple-500: #a855f7;
	--ss-purple-900: #581c87;
	--ss-purple-950: #3b0764;

	--ss-violet-400: #a78bfa;

	--ss-emerald-400: #34d399;
	--ss-emerald-500: #10b981;
	--ss-emerald-900: #064e3b;
	--ss-emerald-950: #022c22;

	--ss-white: #ffffff;
	--ss-slate-300: #cbd5e1;
	--ss-slate-400: #94a3b8;
	--ss-slate-500: #64748b;

	--ss-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ss-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--ss-header-h: 80px;
	--ss-shell: 80rem;   /* max-w-7xl */
	--ss-gutter: 1.5rem; /* px-6 */
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--ss-space);
	color: var(--ss-slate-300);
	font-family: var(--ss-font-body);
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--ss-teal-500);
	color: #000;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ss-font-display);
	color: var(--ss-white);
	margin: 0;
	line-height: 1.15;
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--ss-teal-400);
	text-decoration: none;
	transition: color .3s ease;
}

a:hover {
	color: var(--ss-teal-300);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Ambient corner glows, matching the fixed blurred blobs in the HTML build */
body::before,
body::after {
	content: "";
	position: fixed;
	width: 50vw;
	height: 50vw;
	border-radius: 9999px;
	filter: blur(120px);
	pointer-events: none;
	z-index: 0;
}

body::before {
	top: -10%;
	left: -10%;
	background: rgba(30, 58, 138, .10);
}

body::after {
	bottom: -10%;
	right: -10%;
	background: rgba(88, 28, 135, .10);
}

.ss-site {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */
.ss-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 500;
	background: rgba(2, 5, 12, .8);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.ss-header__shell {
	max-width: var(--ss-shell);
	margin: 0 auto;
	padding: 0 var(--ss-gutter);
}

.ss-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--ss-header-h);
	gap: 1rem;
}

.ss-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ss-brand img {
	height: 48px;
	width: auto;
	object-fit: contain;
}

.ss-brand__text {
	font-family: var(--ss-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--ss-white);
	letter-spacing: -.01em;
}

/* Primary navigation */
.ss-nav ul {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-nav li {
	position: relative;
}

.ss-nav a {
	font-family: var(--ss-font-display);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
	color: var(--ss-slate-300);
	white-space: nowrap;
}

.ss-nav a:hover,
.ss-nav .current-menu-item > a,
.ss-nav .current-menu-ancestor > a,
.ss-nav .current_page_item > a {
	color: var(--ss-teal-400);
}

/* Dropdowns */
.ss-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: block;
	min-width: 240px;
	padding: .5rem 0;
	margin-top: .75rem;
	background: rgba(8, 13, 26, .97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: .75rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.ss-nav li:hover > ul,
.ss-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ss-nav ul ul li {
	width: 100%;
}

.ss-nav ul ul a {
	display: block;
	padding: .625rem 1.25rem;
	text-transform: none;
	letter-spacing: .01em;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--ss-slate-400);
}

.ss-nav ul ul a:hover {
	color: var(--ss-white);
	background: rgba(20, 184, 166, .08);
}

.ss-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* 24/7 support pill */
.ss-support {
	display: none;
	align-items: center;
	gap: .5rem;
	font-family: var(--ss-font-display);
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	color: var(--ss-teal-400);
	background: rgba(4, 47, 46, .2);
	border: 1px solid rgba(19, 78, 74, .5);
	padding: .625rem 1.25rem;
	border-radius: 9999px;
	transition: background-color .3s ease, border-color .3s ease;
	white-space: nowrap;
}

.ss-support:hover {
	background: rgba(4, 47, 46, .5);
	border-color: var(--ss-teal-400);
	color: var(--ss-teal-400);
}

.ss-support__dot {
	position: relative;
	display: flex;
	height: 6px;
	width: 6px;
	flex-shrink: 0;
}

.ss-support__dot span:first-child {
	position: absolute;
	display: inline-flex;
	height: 100%;
	width: 100%;
	border-radius: 9999px;
	background: var(--ss-teal-400);
	opacity: .75;
	animation: ss-ping 1s cubic-bezier(0, 0, .2, 1) infinite;
}

.ss-support__dot span:last-child {
	position: relative;
	display: inline-flex;
	height: 6px;
	width: 6px;
	border-radius: 9999px;
	background: var(--ss-teal-500);
}

@keyframes ss-ping {
	75%, 100% { transform: scale(2); opacity: 0; }
}

/* Mobile toggle */
.ss-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* 44px square: a comfortable touch target, not just the glyph. */
	width: 44px;
	height: 44px;
	padding: 0;
	margin-right: -.5rem;
	background: none;
	border: 0;
	color: var(--ss-slate-400);
	cursor: pointer;
	transition: color .3s ease;
}

.ss-burger svg { display: block; }

.ss-burger:hover {
	color: var(--ss-white);
}

/* --------------------------------------------------------------------------
   Mobile menu: an off-canvas sidebar that slides in from the right, over a
   dimmed backdrop. Kept in the DOM and moved with transform (rather than
   toggling display) so it can animate, and so `inert` can manage focus.
   -------------------------------------------------------------------------- */
.ss-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(2, 5, 12, .7);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s ease;
}

.ss-drawer-backdrop.is-open { opacity: 1; }

.ss-mobile {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	width: min(86vw, 340px);
	height: 100%;
	height: 100dvh; /* avoids the mobile URL-bar gap where supported */
	padding: 1.125rem 1.5rem 2rem;
	background: var(--ss-card);
	border-left: 1px solid rgba(255, 255, 255, .07);
	box-shadow: -24px 0 60px rgba(0, 0, 0, .6);
	transform: translateX(100%);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ss-mobile.is-open { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
	.ss-mobile,
	.ss-drawer-backdrop { transition: none; }
}

/* Stop the page behind the drawer from scrolling while it is open. */
body.ss-drawer-open { overflow: hidden; }

.ss-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ss-mobile__brand img {
	height: 38px;
	width: auto;
	object-fit: contain;
}

.ss-drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin-right: -.5rem;
	padding: 0;
	background: none;
	border: 0;
	color: var(--ss-slate-400);
	cursor: pointer;
	transition: color .3s ease;
}

.ss-drawer-close:hover { color: var(--ss-white); }

.ss-mobile__nav { flex: 1 1 auto; }

.ss-mobile ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Hairline between top-level rows, so the sidebar reads as a list */
.ss-mobile__nav > ul > li + li {
	border-top: 1px solid rgba(255, 255, 255, .05);
}

.ss-mobile li {
	margin-bottom: 0;
}

.ss-mobile a {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	/* Every drawer row is a full-size touch target, including the nested
	   solution links, which are set in a smaller type size. */
	min-height: 44px;
	font-family: var(--ss-font-display);
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
	color: var(--ss-slate-300);
	padding: .375rem 0;
}

.ss-mobile a:hover {
	color: var(--ss-teal-400);
}

/* Row pairing a top-level link with its accordion toggle. Items with no
   children (About Us, Services, …) render the plain <a> with no wrapper. */
.ss-menu-row {
	display: flex;
	align-items: center;
}

/* Accordion toggle — a separate control from the link, so tapping "Solutions"
   still navigates to the Solutions page; only the chevron expands the list. */
.ss-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin-right: -.625rem;
	padding: 0;
	background: none;
	border: 0;
	color: var(--ss-slate-400);
	cursor: pointer;
}

.ss-submenu-toggle svg {
	transition: transform .25s ease;
}

.ss-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
	color: var(--ss-teal-400);
}

/* Collapsed by default in plain CSS (matches WordPress's own `.sub-menu`
   class), so the list is closed even before app.js finishes attaching the
   toggle buttons — no flash of an expanded submenu. */
.ss-mobile .sub-menu {
	margin: 0 0 0 .25rem;
	padding-left: .875rem;
	border-left: 1px solid rgba(255, 255, 255, .08);
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}

.ss-mobile .sub-menu a {
	text-transform: none;
	letter-spacing: 0;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--ss-slate-400);
}

.ss-mobile__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-top: 1.5rem;
	gap: .5rem;
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	color: var(--ss-teal-400);
	background: rgba(4, 47, 46, .3);
	border: 1px solid rgba(19, 78, 74, .5);
	padding: .875rem;
	border-radius: .75rem;
}

@media (min-width: 768px) {
	.ss-burger { display: none; }
	.ss-mobile,
	.ss-drawer-backdrop { display: none; }
}

@media (max-width: 767px) {
	.ss-nav { display: none; }
}

@media (min-width: 1024px) {
	.ss-support { display: inline-flex; }
}

@media (min-width: 640px) {
	.ss-brand img { height: 56px; }
}

/* ==========================================================================
   Layout shell — the fixed header needs clearance on every page but the
   front page, whose hero is designed to sit underneath it.
   ========================================================================== */
.ss-main {
	position: relative;
	z-index: 1;
}

body:not(.ss-has-hero) .ss-main {
	padding-top: var(--ss-header-h);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ss-footer {
	position: relative;
	z-index: 1;
	background: var(--ss-space);
	border-top: 1px solid rgba(255, 255, 255, .05);
	padding: 3rem 0;
	font-size: .75rem;
}

.ss-footer__shell {
	max-width: var(--ss-shell);
	margin: 0 auto;
	padding: 0 var(--ss-gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.ss-footer__brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px; /* touch target; the logo itself stays 36px */
}

.ss-footer img {
	height: 36px;
	width: auto;
	object-fit: contain;
}

.ss-footer__copy {
	color: var(--ss-slate-500);
	text-align: center;
}

.ss-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-footer__nav a {
	display: inline-flex;
	align-items: center;
	/* Padding rather than a bare inline link, so the tap area clears 44px on
	   touch screens instead of being only as tall as the 12px text. */
	min-height: 44px;
	padding: .25rem 0;
	color: var(--ss-slate-500);
	font-family: var(--ss-font-display);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 600;
}

.ss-footer__nav a:hover {
	color: var(--ss-teal-400);
}

@media (min-width: 640px) {
	.ss-footer__shell {
		flex-direction: row;
		align-items: center;
	}
	.ss-footer__copy { text-align: right; }
}

/* 1025px, not 1024px, so the shell's gutters change at exactly the same point
   as Elementor's desktop breakpoint — otherwise section content and the header
   disagree by 24px in a one-pixel window. */
@media (min-width: 1025px) {
	.ss-header__shell,
	.ss-footer__shell {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

/* ==========================================================================
   Design helpers — applied to Elementor elements via the "CSS Classes" field
   so the client keeps full control of content while the look stays fixed.
   ========================================================================== */

/* Frosted card with the teal hover lift */
.glow-card {
	position: relative;
	background: rgba(8, 13, 26, .8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, .05);
	transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.glow-card:hover {
	border-color: rgba(20, 184, 166, .3);
	box-shadow: 0 0 30px rgba(20, 184, 166, .15);
	transform: translateY(-4px);
}

/* Placeholder card for content flagged "to be confirmed" by the client
   (e.g. Solutions > Storage > Unified/Object Storage) — dashed border keeps
   it visually distinct from real, populated cards until copy is supplied. */
.ss-tbc {
	border-style: dashed;
	border-color: rgba(245, 158, 11, .35);
	background: rgba(245, 158, 11, .04);
}

.ss-tbc:hover {
	border-color: rgba(245, 158, 11, .5);
	box-shadow: 0 0 30px rgba(245, 158, 11, .12);
	transform: translateY(-4px);
}

/* Blue→teal→violet clipped gradient text */
.gradient-text,
.gradient-text * {
	background: linear-gradient(135deg, #3b82f6, #14b8a6, #8b5cf6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* --------------------------------------------------------------------------
   Horizontal centring for an element that has its own width inside one of
   Elementor's column containers.

   `margin: auto` alone does not work here: Elementor's frontend stylesheet
   sets the container margins at the same specificity but loads after the
   theme, so it wins. `align-self` is not touched by Elementor unless the
   Flex-item control is used, so it centres reliably on the cross axis.
   -------------------------------------------------------------------------- */
.elementor-element.ss-center {
	/* Feed Elementor's own custom property rather than setting align-self
	   directly — its `.elementor-element { align-self: var(--align-self) }`
	   loads after the theme and would otherwise win the tie. */
	--align-self: center;
	margin-left: auto;
	margin-right: auto;
}

/* Outside Elementor (theme templates), plain auto margins are enough. */
.ss-center:not(.elementor-element) {
	margin-left: auto;
	margin-right: auto;
}

/* Accent rule used by the services / mission blocks */
.ss-rule-teal   { border-left: 2px solid var(--ss-teal-500); }
.ss-rule-blue   { border-left: 2px solid var(--ss-blue-500); }
.ss-rule-purple { border-left: 2px solid var(--ss-purple-500); }

/* Mock console panel */
.ss-console {
	border: 1px solid rgba(255, 255, 255, .05);
	background: rgba(0, 0, 0, .4);
	border-radius: .75rem;
	overflow: hidden;
}

.ss-console__bar {
	display: flex;
	align-items: center;
	gap: .375rem;
	padding: .625rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	background: rgba(255, 255, 255, .02);
}

.ss-console__bar i {
	width: 10px;
	height: 10px;
	border-radius: 9999px;
	display: inline-block;
}

.ss-console__bar i:nth-child(1) { background: rgba(239, 68, 68, .7); }
.ss-console__bar i:nth-child(2) { background: rgba(234, 179, 8, .7); }
.ss-console__bar i:nth-child(3) { background: rgba(34, 197, 94, .7); }

.ss-console__name {
	margin-left: .75rem;
	font-family: var(--ss-font-display);
	font-size: .625rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ss-slate-500);
}

.ss-console__rows {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: .625rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
}

.ss-console__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--ss-slate-400);
}

.ss-console__row b {
	font-weight: 400;
	color: var(--ss-teal-400);
}

.ss-console__row b.is-blue { color: var(--ss-blue-400); }

/* --------------------------------------------------------------------------
   Icon-box accents. Elementor's "framed" view colours the border and glyph
   from the widget's own Primary Color control; only the tinted panel behind
   the glyph needs to come from here, so changing the colour in Elementor
   still works as expected.
   -------------------------------------------------------------------------- */
/* The extra .elementor-element outranks Elementor's own
   ".elementor-view-framed .elementor-icon { background: transparent }". */
.elementor-element.ss-ib-blue .elementor-icon    { background: rgba(23, 37, 84, .5); }
.elementor-element.ss-ib-teal .elementor-icon    { background: rgba(4, 47, 46, .5); }
.elementor-element.ss-ib-purple .elementor-icon  { background: rgba(59, 7, 100, .5); }
.elementor-element.ss-ib-emerald .elementor-icon { background: rgba(2, 44, 34, .5); }

.elementor-widget-icon-box .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* --------------------------------------------------------------------------
   Icon-list variants. The client edits the entries in the widget's repeater;
   these rules only decide how the entries look.
   -------------------------------------------------------------------------- */

/* Vendor chips */
.ss-chips .elementor-icon-list-items {
	gap: .5rem;
}

.ss-chips .elementor-icon-list-item {
	padding: .25rem .75rem;
	border-radius: .25rem;
	font-size: .75rem;
	line-height: 1.5;
	border: 1px solid;
	margin: 0;
}

.ss-chips .elementor-icon-list-item:nth-child(3n+1) {
	background: rgba(23, 37, 84, .4);
	border-color: rgba(30, 58, 138, .5);
	color: var(--ss-blue-400);
}

.ss-chips .elementor-icon-list-item:nth-child(3n+2) {
	background: rgba(4, 47, 46, .4);
	border-color: rgba(19, 78, 74, .5);
	color: var(--ss-teal-400);
}

.ss-chips .elementor-icon-list-item:nth-child(3n+3) {
	background: rgba(59, 7, 100, .4);
	border-color: rgba(88, 28, 135, .5);
	color: var(--ss-purple-400);
}

.ss-chips .elementor-icon-list-text { color: inherit; }

/* Outline pill row (services footnote) */
.ss-pills .elementor-icon-list-items {
	justify-content: center;
	gap: 1rem;
}

.ss-pills .elementor-icon-list-item {
	padding: .375rem 1rem;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 9999px;
	margin: 0;
	font-family: var(--ss-font-display);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ss-slate-500);
}

/* Plain wordmark row */
.ss-wordmarks .elementor-icon-list-items {
	justify-content: center;
	gap: .875rem 2rem;
	opacity: .6;
}

.ss-wordmarks .elementor-icon-list-item {
	margin: 0;
	font-family: var(--ss-font-display);
	font-weight: 600;
	color: var(--ss-white);
	font-size: .875rem;
	letter-spacing: .05em;
}

/* Vertical, left-aligned list — the technology cards on the Solutions page.
   These were previously using the horizontal `wordmarks` style, which centres
   each entry and left the card contents visibly ragged. */
.ss-stack .elementor-icon-list-items {
	display: block;
}

.ss-stack .elementor-icon-list-item {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin: 0;
	padding: .3rem 0;
	text-align: left;
	color: var(--ss-slate-400);
	font-size: .8125rem;
	line-height: 1.6;
}

.ss-stack .elementor-icon-list-item::before {
	content: "";
	flex: 0 0 auto;
	width: 4px;
	height: 4px;
	margin-top: .5rem;
	border-radius: 50%;
	background: var(--ss-teal-500);
}

.ss-stack .elementor-icon-list-text {
	color: inherit;
	text-align: left;
}

/* Shared: kill the default separator/indent so the variants sit flush */
.ss-chips .elementor-icon-list-item::after,
.ss-pills .elementor-icon-list-item::after,
.ss-wordmarks .elementor-icon-list-item::after,
.ss-stack .elementor-icon-list-item::after {
	display: none;
}

/* --------------------------------------------------------------------------
   Hero backdrop.

   Elementor drives the container's Background Overlay through `::before`, so
   everything the theme adds lives on `::after` — otherwise the two fight and
   the client can no longer tune the overlay from the editor. The grid lines
   bake their own alpha in rather than using `opacity`, so they can share the
   layer with the gradient mesh.

   Stack: slideshow (0) → overlay ::before → mesh/grid ::after (1)
          → particle canvas (2) → content (3)
   -------------------------------------------------------------------------- */
.ss-hero-mesh::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, .18), transparent),
		radial-gradient(ellipse 50% 40% at 85% 80%, rgba(139, 92, 246, .15), transparent),
		radial-gradient(ellipse 50% 40% at 10% 85%, rgba(20, 184, 166, .15), transparent);
}

.ss-hero-mesh > .e-con-inner {
	position: relative;
	z-index: 3;
}

/* --------------------------------------------------------------------------
   Soft mesh — the hero treatment dialled right down, for section backdrops
   further down a long page (Solutions pillars). Same stacking contract as the
   hero, but no grid lines and much fainter blooms: body copy sits directly on
   top of this, so it has to stay quiet. The particle field JS pairs a lower
   node count and opacity with it.
   -------------------------------------------------------------------------- */
.ss-mesh-soft {
	position: relative;
}

.ss-mesh-soft::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 60% at 12% 15%, rgba(20, 184, 166, .10), transparent),
		radial-gradient(ellipse 50% 55% at 88% 85%, rgba(59, 130, 246, .09), transparent);
}

.ss-mesh-soft > .e-con-inner {
	position: relative;
	z-index: 3;
}

/* The decorative layers are pure ornament — drop them when the visitor has
   asked for reduced motion, matching the particle canvas opting out in JS. */
@media (prefers-reduced-motion: reduce) {
	.ss-mesh-soft::after {
		display: none;
	}
}

/* Hero badge — applied to a Heading widget, whose title element is the pill */
.ss-badge .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: linear-gradient(to right, rgba(23, 37, 84, .55), rgba(4, 47, 46, .55));
	border: 1px solid rgba(19, 78, 74, .4);
	padding: .375rem 1rem;
	border-radius: 9999px;
}

/* Elementor resets that keep widget defaults from fighting the design */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.elementor-widget-heading .elementor-heading-title { font-family: var(--ss-font-display); }

/* Nested Tabs: underline treatment from the original console switcher */
.elementor-widget-n-tabs .e-n-tab-title {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: 1rem 1.5rem;
	font-family: var(--ss-font-display);
}

.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"] {
	border-bottom-color: var(--ss-teal-500);
}

.elementor-widget-n-tabs .e-n-tabs-heading {
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	flex-wrap: wrap;
}

.elementor-widget-n-tabs .e-n-tabs-content > .e-con { padding-top: 2rem; }

/* ==========================================================================
   Contact Form 7 — restyled to match the design's form card
   ========================================================================== */
/* One field per row by default; the name/email pair goes 2-up from sm upwards. */
.ss-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
	.ss-form-grid { grid-template-columns: 1fr 1fr; }
}

.ss-field { margin-bottom: 1.5rem; }
.ss-form-grid .ss-field { margin-bottom: 0; }
.ss-field--submit { margin-bottom: 0; }

/* CF7 wraps every control in an inline <span>, which collapses the width of
   the input inside it. Making the wrapper a block is what lets the fields
   fill their column. */
.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* Defensive: if autop is ever on for this form (or the client adds another),
   the paragraphs CF7 injects must not add their own vertical rhythm. */
.wpcf7 form > p,
.wpcf7 .ss-field > p { margin: 0; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	background: var(--ss-space);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: .75rem;
	padding: .875rem 1rem;
	color: var(--ss-white);
	font-family: var(--ss-font-body);
	font-size: .875rem;
	transition: border-color .3s ease;
}

.wpcf7 textarea { resize: none; }

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: var(--ss-slate-500); }

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--ss-teal-500);
}

.wpcf7 input[type="submit"] {
	width: 100%;
	padding: 1rem;
	background: var(--ss-teal-500);
	color: #000;
	font-family: var(--ss-font-display);
	font-weight: 600;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	border: 0;
	border-radius: .75rem;
	cursor: pointer;
	transition: all .3s ease;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--ss-teal-400);
	transform: scale(1.01);
}

.wpcf7 input[type="submit"]:active { transform: scale(.95); }

.wpcf7-response-output {
	margin: 1rem 0 0 !important;
	padding: 1rem !important;
	border-radius: .75rem !important;
	border: 1px solid rgba(19, 78, 74, .8) !important;
	background: rgba(4, 47, 46, .4);
	color: var(--ss-teal-400) !important;
	font-size: .875rem;
	font-weight: 600;
	text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: rgba(234, 179, 8, .6) !important;
	background: rgba(66, 32, 6, .4);
	color: #fbbf24 !important;
}

.wpcf7-not-valid-tip {
	color: #f87171 !important;
	font-size: .75rem !important;
	margin-top: .375rem;
}

.wpcf7-spinner { background-color: var(--ss-teal-500); }

/* ==========================================================================
   Fallback content styling (blog archive, single posts, 404)
   ========================================================================== */
.ss-page {
	max-width: var(--ss-shell);
	margin: 0 auto;
	padding: 4rem var(--ss-gutter);
}

.ss-page__title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.ss-entry + .ss-entry {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, .07);
}

.ss-entry__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.ss-entry__meta {
	color: var(--ss-slate-500);
	font-size: .8125rem;
	margin-bottom: 1rem;
}

.ss-btn {
	display: inline-block;
	padding: 1rem 2rem;
	background: var(--ss-teal-500);
	color: #000;
	font-family: var(--ss-font-display);
	font-weight: 600;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-radius: .75rem;
	transition: all .3s ease;
}

.ss-btn:hover {
	background: var(--ss-teal-400);
	color: #000;
}

/* Elementor's boxed width is set from the kit (Site Settings > Layout) to
   1184px, which equals this shell minus its desktop gutters. It is deliberately
   NOT overridden here — doing so would take the setting away from the client
   and put the two widths back out of step. */

/* Screen-reader helper */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
