/* =========================================================
   Starnep Geosystems — Theme Stylesheet
   ========================================================= */

:root {
	--navy: #101A3D;
	--navy-2: #172454;
	--indigo: #2E3192;
	--indigo-light: #4548b8;
	--accent: #2E3192;
	--ink: #14171f;
	--text: #3a3f4b;
	--text-light: #6b7280;
	--white: #ffffff;
	--off-white: #f5f6fa;
	--border: #e4e6ef;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(16, 26, 61, 0.08);
	--shadow-sm: 0 4px 14px rgba(16, 26, 61, 0.06);
	--font-heading: 'Montserrat', sans-serif;
	--font-body: 'Source Sans 3', sans-serif;
	--container-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #6f8fff; outline-offset: 3px; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--navy);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
	padding: 12px 20px; z-index: 10000;
}
.skip-link:focus { left: 10px; top: 10px; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: clamp(68px, 7vw, 104px) 0; }
.section-alt { background: var(--off-white); }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-cta { text-align: center; margin-top: 40px; }
.eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 700;
	color: var(--indigo);
	margin: 0 0 .6em;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: .95rem;
	padding: 14px 30px;
	border-radius: 9px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .2s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--indigo); color: #fff; }
.btn-accent { background: var(--indigo); color: #fff; }
.btn-accent:hover { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .85rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; gap: 8px; }
.top-bar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-contact a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 5px; }
.top-bar-contact a:hover { color: #fff; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a { color: rgba(255,255,255,.85); }
.top-bar-social a:hover { color: #fff; }
.social-lettermark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-family: var(--font-heading); font-size: .58rem; font-weight: 800; letter-spacing: -.04em; }
.top-bar .dashicons { font-size: 16px; width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(16,26,61,.08), 0 8px 30px rgba(16,26,61,.06); position: sticky; top: 0; z-index: 500; backdrop-filter: blur(14px); }
.site-header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }
.site-branding { margin-right: auto; }
.site-logo-link { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.starnep-logo-svg { width: 44px; height: 48px; color: var(--navy); flex-shrink: 0; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo-text strong { font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: .02em; color: var(--navy); }
.site-logo-text small { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); font-weight: 600; }
.custom-logo { max-height: 70px; width: auto; }

.main-navigation .nav-menu { display: flex; gap: 30px; align-items: center; }
.main-navigation .nav-menu > li { position: relative; }
.main-navigation .nav-menu > li > a {
	color: var(--navy); font-weight: 600; font-family: var(--font-heading); font-size: .95rem;
	padding: 12px 0; display: inline-block; position: relative;
}
.main-navigation .nav-menu > li > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--indigo); transition: left .2s ease, right .2s ease; }
.main-navigation .nav-menu > li > a:hover, .main-navigation .current-menu-item > a { color: var(--indigo); }
.main-navigation .nav-menu > li > a:hover::after, .main-navigation .current-menu-item > a::after { left: 0; right: 0; }
.main-navigation .nav-menu > li:has(> a[href$="/"]) { order: 1; }
.main-navigation .nav-menu > li:has(> a[href*="/about-us/"]) { order: 2; }
.main-navigation .nav-menu > li:has(> a[href*="/services/"]) { order: 3; }
.main-navigation .nav-menu > li:has(> a[href*="/projects/"]) { order: 4; }
.main-navigation .nav-menu > li:has(> a[href*="/contact/"]) { order: 5; }
.main-navigation .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow);
	min-width: 220px; padding: 10px 0; border-radius: 8px; z-index: 100;
}
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu a { display: block; padding: 10px 20px; color: var(--text); font-weight: 500; }
.main-navigation .sub-menu a:hover { background: var(--off-white); color: var(--indigo); }

.header-cta { flex-shrink: 0; }

.menu-toggle {
	display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle-bar { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: #f8f9fc; border-bottom: 1px solid var(--border); font-size: .82rem; }
.breadcrumbs .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--indigo); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-light); }
.breadcrumbs span:last-child { color: var(--navy); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(125deg, #071a33 0%, var(--navy) 52%, #183e74 100%);
	color: #fff;
	overflow: hidden;
	padding: clamp(86px, 9vw, 138px) 0;
}
.hero-bg {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 76% 44%, rgba(70, 130, 255, .22) 0, transparent 29%),
		radial-gradient(circle at 8% 100%, rgba(21, 214, 157, .12) 0, transparent 38%);
	pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 13px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.hero-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #54e3ad; box-shadow: 0 0 0 5px rgba(84,227,173,.12); }
.hero h1 { color: #fff; margin: 22px 0 24px; max-width: 770px; font-size: clamp(3rem, 5.7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; color: #91b8ff; }
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.75; color: rgba(255,255,255,.76); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding-inline: 24px; }
.hero-actions .btn-accent span { margin-left: 7px; transition: transform .2s ease; }
.hero-actions .btn-accent:hover span { transform: translateX(4px); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .78rem; text-transform: uppercase; letter-spacing: .045em; }
.hero-proof span { display: flex; align-items: baseline; gap: 7px; }
.hero-proof strong { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0; }
.hero-visual { position: relative; min-height: 480px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025)); box-shadow: 0 32px 80px rgba(0,0,0,.28); overflow: hidden; transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); }
.hero-map-grid { position: absolute; inset: -30%; opacity: .27; background-image: linear-gradient(rgba(160,195,255,.34) 1px, transparent 1px), linear-gradient(90deg, rgba(160,195,255,.34) 1px, transparent 1px); background-size: 38px 38px; transform: rotate(-12deg); }
.hero-orbit { position: absolute; border: 1px solid rgba(121,167,255,.45); border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%,-50%); }
.hero-orbit-lg { width: 330px; height: 330px; box-shadow: inset 0 0 70px rgba(70,130,255,.08); }
.hero-orbit-sm { width: 176px; height: 176px; border-color: rgba(84,227,173,.5); }
.hero-pin { position: absolute; width: 19px; height: 19px; border-radius: 50% 50% 50% 0; background: #76a2ff; transform: rotate(-45deg); box-shadow: 0 0 0 7px rgba(118,162,255,.12), 0 8px 20px rgba(0,0,0,.25); }
.hero-pin span { position: absolute; width: 6px; height: 6px; top: 6px; left: 6px; border-radius: 50%; background: #fff; }
.hero-pin-main { left: 48%; top: 40%; width: 27px; height: 27px; background: #54e3ad; box-shadow: 0 0 0 10px rgba(84,227,173,.12), 0 12px 28px rgba(0,0,0,.3); }
.hero-pin-main span { width: 8px; height: 8px; top: 8px; left: 8px; }
.hero-pin-a { left: 25%; top: 29%; }
.hero-pin-b { right: 20%; bottom: 28%; }
.hero-route { position: absolute; width: 56%; height: 40%; left: 24%; top: 29%; border: 2px dashed rgba(255,255,255,.3); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(16deg); }
.hero-data-card { position: absolute; right: 22px; bottom: 22px; width: 190px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(7,26,51,.78); backdrop-filter: blur(14px); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.hero-data-label { display: block; color: rgba(255,255,255,.58); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-data-card strong { display: block; margin: 5px 0 2px; font-family: var(--font-heading); font-size: 2.3rem; line-height: 1; }
.hero-data-card strong span { font-size: .9rem; color: #54e3ad; margin-left: 3px; }
.hero-data-card small { color: rgba(255,255,255,.66); }

/* ---------- Homepage cinematic direction ---------- */
.home .top-bar { display: none; }
.home .site-header { position: relative; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(16,26,61,.08), 0 10px 30px rgba(16,26,61,.07); backdrop-filter: blur(14px); }
.home .site-logo-link, .home .site-logo-text strong { color: var(--navy); }
.home .site-logo-text small { color: var(--indigo); }
.home .custom-logo-link { display: block; padding: 3px; border-radius: 8px; background: #fff; }
.home .custom-logo { max-height: 48px; }
.home .main-navigation .nav-menu > li > a { color: var(--navy); }
.home .main-navigation .nav-menu > li > a:hover, .home .main-navigation .current-menu-item > a { color: var(--indigo); }
.home .main-navigation .nav-menu > li > a::after { background: var(--indigo); }
.home .header-cta { background: var(--navy); }
.home .hero {
	min-height: 690px;
	display: flex;
	align-items: center;
	padding: clamp(116px, 10vw, 148px) 0 126px;
	background: #07172f url('../images/hero-field-survey.webp') center/cover no-repeat;
}
.home .hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,38,.98) 0%, rgba(4,19,43,.92) 31%, rgba(5,20,43,.48) 58%, rgba(4,15,34,.16) 100%), linear-gradient(0deg, rgba(3,14,32,.76) 0%, transparent 44%); }
.home .hero-inner { display: block; width: 100%; }
.home .hero-copy { max-width: 720px; }
.home .hero h1 { max-width: 700px; margin: 22px 0 20px; font-size: clamp(3.25rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.home .hero-lede { max-width: 600px; color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.68; }
.home .hero-actions { margin-top: 30px; }
.hero-stats { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); width: calc(100% - 48px); max-width: var(--container-width); display: grid; grid-template-columns: repeat(4,1fr); padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(9,27,57,.83); box-shadow: 0 22px 55px rgba(0,0,0,.24); backdrop-filter: blur(16px); overflow: hidden; }
.hero-stats div { display: grid; justify-items: center; gap: 3px; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { color: #94b5ff; font-family: var(--font-heading); font-size: clamp(1.7rem,3vw,2.65rem); line-height: 1; }
.hero-stats span { color: rgba(255,255,255,.8); font-size: .88rem; }
.premium-services-intro { padding: clamp(74px,8vw,120px) 0; background: #07172f; color: rgba(255,255,255,.72); }
.premium-services-grid { display: grid; grid-template-columns: .82fr .72fr 1.46fr; gap: clamp(34px,5vw,72px); align-items: center; }
.premium-services-heading h2 { max-width: 410px; color: #fff; font-size: clamp(2.3rem,4vw,4.15rem); line-height: 1.03; letter-spacing: -.045em; }
.premium-services-heading h2::first-line { color: #fff; }
.premium-services-heading .eyebrow { color: #91b8ff; }
.premium-services-copy p { line-height: 1.75; }
.premium-services-copy .read-more { color: #91b8ff; font-weight: 700; }
.premium-feature { display: grid; grid-template-columns: 1.25fr .9fr; min-height: 320px; overflow: hidden; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 25px 60px rgba(0,0,0,.3); }
.premium-feature:hover { color: var(--text); transform: translateY(-4px); }
.premium-feature img { width: 100%; height: 100%; object-fit: cover; }
.premium-feature-copy { display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 28px; }
.premium-feature-copy small { color: var(--indigo); font-weight: 800; }
.premium-feature-copy strong { color: var(--navy); font-family: var(--font-heading); font-size: 1.17rem; line-height: 1.35; }
.premium-feature-copy span { color: var(--text-light); font-size: .9rem; line-height: 1.55; }
.premium-feature-copy b { color: var(--navy); font-size: .86rem; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #0a1c3a, var(--navy-2)); color: #fff; padding: clamp(64px, 7vw, 94px) 0; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(145,184,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(145,184,255,.25) 1px, transparent 1px); background-size: 44px 44px; transform: rotate(-8deg) scale(1.2); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .eyebrow { color: rgba(255,255,255,.75); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }
.page-hero-sm { padding: 48px 0; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--off-white); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; text-align: center; }
.stat-num { display: block; font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: var(--indigo); }
.stat-label { font-size: .85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- About intro ---------- */
.about-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-intro-media-frame {
	background: linear-gradient(135deg, var(--navy), var(--indigo));
	border-radius: var(--radius);
	aspect-ratio: 1 / 1;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
}
.about-intro-logo { width: 45%; height: auto; color: #fff; }
.about-intro-copy h2 { margin-bottom: .5em; }

/* ---------- Premium About page ---------- */
.about-hero { position: relative; overflow: hidden; padding: clamp(92px,10vw,150px) 0; background: #07172f; color: #fff; }
.about-hero::before { content: ''; position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 82% 25%, #3450c5 0, transparent 29%), linear-gradient(rgba(145,184,255,.16) 1px, transparent 1px), linear-gradient(90deg,rgba(145,184,255,.16) 1px,transparent 1px); background-size: auto, 52px 52px, 52px 52px; transform: rotate(-4deg) scale(1.1); }
.about-hero-inner { position: relative; }
.about-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.05); }
.about-hero h1 { max-width: 900px; margin: 26px 0 24px; color: #fff; font-size: clamp(3.5rem,7vw,7rem); line-height: .98; letter-spacing: -.06em; }
.about-hero h1 span { display: block; color: #91b8ff; }
.about-hero-inner > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.74); font-size: clamp(1.1rem,1.6vw,1.3rem); }
.about-hero-proof { display: flex; gap: clamp(30px,6vw,82px); margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.13); }
.about-hero-proof div { display: grid; gap: 4px; }
.about-hero-proof strong { color: #fff; font-family: var(--font-heading); font-size: 2rem; }
.about-hero-proof span { color: rgba(255,255,255,.56); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.about-story { padding: clamp(78px,9vw,130px) 0; }
.about-story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px,8vw,110px); align-items: center; }
.about-story-media { position: relative; }
.about-story-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 28px 75px rgba(16,26,61,.18); }
.about-story-badge { position: absolute; right: -22px; bottom: -24px; display: grid; min-width: 190px; padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(7,23,47,.92); color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.about-story-badge strong { color: #91b8ff; font-family: var(--font-heading); font-size: 2rem; }
.about-story-badge span { color: rgba(255,255,255,.68); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.about-story-copy h2 { max-width: 540px; font-size: clamp(2.35rem,4vw,4.2rem); line-height: 1.04; letter-spacing: -.045em; }
.about-story-copy .entry-content { color: var(--text-light); font-size: 1.04rem; }
.about-story-copy .btn { margin-top: 12px; }
.about-beliefs { padding: clamp(78px,9vw,125px) 0; background: #07172f; color: rgba(255,255,255,.7); }
.about-beliefs-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 30px; align-items: end; margin-bottom: 50px; }
.about-beliefs-heading .eyebrow { color: #91b8ff; }
.about-beliefs-heading h2 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(2.5rem,4.8vw,4.8rem); line-height: 1; letter-spacing: -.05em; }
.about-beliefs-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.15); }
.about-beliefs-grid article { padding: 34px clamp(20px,3vw,38px) 10px 0; border-right: 1px solid rgba(255,255,255,.15); }
.about-beliefs-grid article + article { padding-left: clamp(20px,3vw,38px); }
.about-beliefs-grid article:last-child { border-right: 0; }
.about-beliefs-grid article > span { color: #70e0ad; font-size: .78rem; font-weight: 800; }
.about-beliefs-grid h3 { margin: 18px 0 14px; color: #fff; font-size: 1.45rem; }
.about-beliefs-grid p { margin: 0; color: rgba(255,255,255,.64); }
.about-values { padding: clamp(78px,9vw,130px) 0; }
.about-values-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px,8vw,110px); }
.about-values-grid > div:first-child { position: sticky; top: 130px; align-self: start; }
.about-values-grid h2 { max-width: 460px; font-size: clamp(2.3rem,4vw,4rem); line-height: 1.05; letter-spacing: -.045em; }
.about-values-list article { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 25px 0; border-top: 1px solid var(--border); }
.about-values-list article:last-child { border-bottom: 1px solid var(--border); }
.about-values-list article > span { color: var(--indigo); font-family: var(--font-heading); font-weight: 800; }
.about-values-list h3 { margin-bottom: 5px; }
.about-values-list p { margin: 0; color: var(--text-light); }
.about-cta { padding: 40px 0 80px; }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(34px,5vw,58px); border-radius: 22px; background: linear-gradient(135deg,#0a1c3a,#273474); }
.about-cta .eyebrow { color: #91b8ff; }
.about-cta h2 { margin: 0; color: #fff; font-size: clamp(2rem,3.4vw,3.4rem); }
.about-cta .btn { flex-shrink: 0; }

/* ---------- Service / Project cards ---------- */
.service-grid, .project-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
	padding: 32px 26px; display: block; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
	color: var(--text);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.service-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(46,49,146,.1); color: var(--indigo); font-size: 26px; margin-bottom: 18px; }
.service-card h3 { margin-bottom: .4em; }
.service-card .read-more { font-weight: 700; font-size: .9rem; }

.project-card {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
	display: block; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; color: var(--text);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.project-card-thumb { aspect-ratio: 4/3; background: var(--off-white); overflow: hidden; }
.project-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--indigo)); }
.project-card-placeholder .starnep-logo-svg { width: 30%; color: rgba(255,255,255,.85); }
.project-card-body { padding: 22px; }
.project-card-location { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--indigo); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.project-card-body h3 { margin-bottom: .3em; }

/* ---------- Mission / Vision ---------- */
.mission-vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); text-align: center; }
.mv-card .dashicons { font-size: 34px; width: 34px; height: 34px; color: var(--indigo); margin-bottom: 14px; }

/* ---------- Core values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.value-card .dashicons { font-size: 28px; width: 28px; height: 28px; color: var(--indigo); margin-bottom: 10px; }
.value-card h4 { margin-bottom: .35em; font-size: 1.05rem; }
.value-card p { font-size: .88rem; color: var(--text-light); margin: 0; }

/* ---------- Why us / motto ---------- */
.why-us-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.check-list { margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before {
	content: "\f147"; font-family: dashicons; position: absolute; left: 0; top: -2px; color: var(--indigo); font-size: 20px;
}
.check-list.two-col { columns: 2; column-gap: 30px; }
.check-list.two-col li { break-inside: avoid; }
.service-category-block { scroll-margin-top: 100px; }
.motto-panel {
	background: linear-gradient(135deg, var(--navy), var(--indigo));
	border-radius: var(--radius); padding: 50px 30px; text-align: center; color: #fff; box-shadow: var(--shadow);
}
.motto-panel-logo { width: 70px; height: auto; margin: 0 auto 18px; color: #fff; }
.motto-panel-quote { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin: 0; }
.motto-panel-standalone { max-width: 560px; margin: 0 auto; }

/* ---------- Tag / pill grid (Industries, Deliverables) ---------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-pill {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border: 1px solid var(--border); border-radius: 999px;
	padding: 10px 20px; font-size: .9rem; font-weight: 600; color: var(--navy);
	box-shadow: var(--shadow-sm);
}
.tag-pill .dashicons { color: var(--indigo); font-size: 16px; width: 16px; height: 16px; }
.section-alt .tag-pill { background: #fff; }

/* ---------- Technology grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-item {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
	padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy); font-size: .92rem;
}
.tech-item .dashicons { display: block; margin: 0 auto 10px; font-size: 26px; width: 26px; height: 26px; color: var(--indigo); }

/* ---------- Process steps ---------- */
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 0 14px; }
.process-step-num {
	width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
	display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700;
	margin: 0 auto 16px; position: relative; z-index: 2;
}
.process-step::after {
	content: ""; position: absolute; top: 23px; left: calc(50% + 23px); width: calc(100% - 46px); height: 2px;
	background: var(--border); z-index: 1;
}
.process-step:last-child::after { display: none; }
.process-step h4 { font-size: 1rem; margin-bottom: .4em; }
.process-step p { font-size: .85rem; color: var(--text-light); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
	background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
	cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-heading); font-weight: 600;
	color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "\f347"; font-family: dashicons; font-size: 20px; color: var(--indigo); flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item-body { padding: 0 22px 20px; color: var(--text); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer-cta { background: var(--indigo); color: #fff; }
.footer-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: clamp(30px,6vw,90px); padding: 46px 24px; }
.footer-cta-inner > div { max-width: 820px; }
.footer-cta-inner h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.85rem,3vw,2.6rem); }
.footer-cta-inner p { margin: 0; color: rgba(255,255,255,.82); }
.footer-cta .btn { min-width: 218px; padding: 16px 26px; border-color: #fff; background: #fff; color: var(--navy); text-align: center; box-shadow: 0 12px 30px rgba(10,20,55,.2); }
.footer-cta .btn:hover { border-color: #fff; background: transparent; color: #fff; }

.site-footer .footer-main { background: var(--navy); color: rgba(255,255,255,.75); padding: 48px 0 42px; }
.footer-grid { display: grid; grid-template-columns: minmax(280px,1.35fr) minmax(150px,.58fr) minmax(260px,1fr); gap: clamp(46px,8vw,110px); align-items: start; }
.footer-col { min-width: 0; }
.footer-logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-link .starnep-logo-svg { width: 36px; height: 40px; color: #fff; }
.footer-logo-text { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-motto { font-style: italic; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-about p { max-width: 390px; font-size: .9rem; }
.footer-widget-title, .widget-title { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-menu, .footer-contact-list { display: grid; gap: 10px; }
.footer-menu li, .footer-contact-list li { margin: 0; }
.footer-menu a { color: rgba(255,255,255,.75); }
.footer-menu a:hover { color: #fff; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer-contact-list .dashicons { color: var(--indigo-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-follow-label { margin: 22px 0 10px; color: rgba(255,255,255,.48); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-social { display: flex; gap: 10px; margin-top: 0; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--indigo); }
.footer-social .social-lettermark { font-size: .64rem; }

.footer-bottom { background: #0c1330; padding: 15px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-tagline { font-style: italic; }

/* ---------- Content layout (blog / sidebar) ---------- */
.content-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 50px; padding: 64px 0; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card-thumb img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post-card-body { padding: 22px; }
.post-card-meta { font-size: .78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.post-card-title { font-size: 1.1rem; margin-bottom: .5em; }
.post-card-excerpt { font-size: .92rem; }
.single-post-thumb img { border-radius: var(--radius); margin-bottom: 30px; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.widget { margin-bottom: 36px; }
.project-meta-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }

.page-content { padding: 60px 0; max-width: 880px; margin: 0 auto; }
.page-content .entry-content ul { list-style: disc; margin-left: 1.4em; }
.single-service .page-content { max-width: 1040px; }
.service-detail-lede { max-width: 800px; margin: 34px 0; color: var(--navy); font-family: var(--font-heading); font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.45; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 34px 0 42px; }
.service-detail-panel { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 36px); border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.service-detail-panel::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--indigo), #5d68d8); }
.service-detail-panel h2 { margin: 0 0 22px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.service-detail-panel ul { display: grid; gap: 15px; margin: 0; list-style: none; }
.service-detail-panel li { position: relative; padding-left: 27px; color: var(--text-light); line-height: 1.55; }
.service-detail-panel li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--indigo); font-weight: 800; }
.service-detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 24px 0 26px; padding: clamp(28px, 4vw, 42px); border-radius: 20px; background: linear-gradient(135deg, var(--navy), #273474); color: #fff; box-shadow: var(--shadow); }
.service-detail-cta span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-detail-cta h2 { margin: 0; color: #fff; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.service-detail-cta .btn { flex-shrink: 0; background: #fff; color: var(--navy); }
.service-back-link { display: inline-flex; margin-top: 4px; }

/* ---------- Search form ---------- */
.search-form { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.search-form input[type="search"] { flex: 1; border: none; padding: 12px 16px; font-family: var(--font-body); }
.search-form button { border: none; background: var(--navy); color: #fff; padding: 0 18px; cursor: pointer; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 100px); align-items: start; }
.contact-info { padding-top: 18px; }
.contact-info h2 { max-width: 480px; margin-bottom: 20px; font-size: clamp(2rem, 3.4vw, 3rem); }
.contact-info .entry-content { max-width: 500px; font-size: 1.06rem; color: var(--text-light); }
.contact-trust { display: grid; gap: 12px; margin: 30px 0 34px; }
.contact-trust span { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--text-light); font-size: .92rem; }
.contact-trust strong { color: var(--navy); font-family: var(--font-heading); font-size: .85rem; }
.contact-details-list { margin-top: 30px; }
.contact-details-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-details-list .dashicons { font-size: 26px; width: 26px; height: 26px; color: var(--indigo); flex-shrink: 0; }
.contact-form-wrap { background: #f6f7fb; border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.contact-form-heading { margin-bottom: 28px; }
.contact-form-heading span { color: var(--indigo); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.contact-form-heading h3 { margin: 5px 0 0; font-size: 1.5rem; }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form .form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--navy); }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 14px 15px; border: 1px solid #d9dce7; border-radius: 9px; background: #fff; font-family: var(--font-body); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(46,49,146,.1); outline: none; }
.contact-form .btn { width: 100%; min-height: 52px; }

/* Final UI polish */
.service-card, .project-card, .value-card, .tech-item { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .project-card:hover, .value-card:hover, .tech-item:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(16,26,61,.12); border-color: rgba(46,49,146,.22); }
.section-heading h2 { letter-spacing: -.025em; }
.form-notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: .92rem; }
.form-notice-success { background: #e3f6e8; color: #1e7d3a; }
.form-notice-error { background: #fbe6e6; color: #b3261e; }
.contact-map iframe { display: block; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 h1 { font-size: 5rem; color: var(--indigo); }
.error-404 .search-form { max-width: 420px; margin: 30px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	body { overflow-x: hidden; }
	.main-navigation { display: none; position: fixed; top: 0; right: 0; width: min(300px, 82vw); height: 100vh; background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,.15); padding: 90px 24px 24px; overflow-y: auto; z-index: 600; }
	.main-navigation.is-open { display: block; }
	.main-navigation .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
	.main-navigation .nav-menu > li { width: 100%; }
	.main-navigation .sub-menu { position: static; box-shadow: none; display: none; padding-left: 14px; }
	.main-navigation li.submenu-open > .sub-menu { display: block; }
	.menu-toggle { display: flex; }
	.header-cta { display: none; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-copy { max-width: 760px; }
	.hero-visual { min-height: 390px; max-width: 680px; width: 100%; transform: none; }
	.about-intro-grid, .why-us-grid, .contact-grid { grid-template-columns: 1fr; }
	.about-intro-media { order: 2; max-width: 320px; margin: 0 auto; }
	.content-layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1.25fr .75fr; }
	.footer-grid .footer-col:last-of-type { grid-column: 1 / -1; }
	.tech-grid { grid-template-columns: repeat(3, 1fr); }
	.process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.process-step::after { display: none; }
	.about-story-grid, .about-values-grid { grid-template-columns: 1fr; }
	.about-story-media { max-width: 760px; }
	.about-values-grid > div:first-child { position: static; }
}

@media (max-width: 782px) {
	.footer-cta-inner { grid-template-columns: 1fr; padding-block: 38px; }
	.footer-cta .btn { width: fit-content; }
	.about-hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
	.about-beliefs-heading { grid-template-columns: 1fr; }
	.about-beliefs-grid { grid-template-columns: 1fr; }
	.about-beliefs-grid article, .about-beliefs-grid article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
	.about-cta-inner { align-items: flex-start; flex-direction: column; }
	.home .site-header { position: relative; background: rgba(255,255,255,.98); }
	.home .hero { min-height: 720px; padding: 74px 0 184px; background-position: 62% center; }
	.home .hero::before { background: linear-gradient(90deg, rgba(3,16,38,.98), rgba(4,19,43,.76)), linear-gradient(0deg, rgba(3,14,32,.9), transparent); }
	.hero-stats { width: calc(100% - 48px); grid-template-columns: repeat(2,1fr); bottom: 24px; }
	.hero-stats div { padding: 14px; }
	.hero-stats div:nth-child(2) { border-right: 0; }
	.hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
	.premium-services-grid { grid-template-columns: 1fr; }
	.premium-services-copy { max-width: 600px; }
	.service-detail-grid { grid-template-columns: 1fr; }
	.service-detail-cta { align-items: flex-start; flex-direction: column; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid, .project-grid, .mission-vision-grid { grid-template-columns: 1fr 1fr; }
	.values-grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-grid .footer-col:last-of-type { grid-column: auto; }
	.footer-cta-inner { text-align: center; justify-content: center; }
	.top-bar-inner { justify-content: center; text-align: center; }
	.form-row-group { grid-template-columns: 1fr; }
	.tech-grid { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	body { font-size: 16px; line-height: 1.6; }
	.container { padding-inline: 20px; }
	h1 { font-size: 2.25rem; }
	h2 { font-size: 1.75rem; line-height: 1.22; }
	h3 { font-size: 1.15rem; }
	.site-header-inner { padding: 12px 20px; }
	.starnep-logo-svg { width: 40px; height: 44px; }
	.site-logo-link { gap: 10px; }
	.site-logo-text strong { font-size: 1rem; }
	.site-logo-text small { font-size: .59rem; }
	.about-hero { padding: 76px 0; }
	.about-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
	.about-hero-proof { grid-template-columns: 1fr; }
	.about-story-badge { position: static; margin: -24px 16px 0 auto; width: 200px; }
	.home .hero { min-height: 700px; padding: 52px 0 172px; background-position: 68% center; }
	.home .hero .eyebrow { gap: 8px; padding: 7px 11px; font-size: .68rem; letter-spacing: .1em; }
	.home .hero h1 { max-width: 500px; margin: 20px 0 18px; font-size: clamp(2.55rem, 11.3vw, 3rem); line-height: 1.03; letter-spacing: -.045em; }
	.home .hero-lede { font-size: 1rem; line-height: 1.62; }
	.home .hero-actions { gap: 10px; margin-top: 26px; }
	.home .hero-actions .btn { min-height: 48px; padding: 12px 18px; font-size: .9rem; }
	.premium-feature { grid-template-columns: 1fr; }
	.premium-feature img { height: 230px; }
	.service-grid, .project-grid, .mission-vision-grid, .values-grid { grid-template-columns: 1fr; }
	.hero { padding: 68px 0; }
	.hero h1 { font-size: clamp(2.35rem, 10.5vw, 2.9rem); }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.hero-proof { gap: 10px 18px; }
	.hero-visual { min-height: 315px; border-radius: 20px; }
	.hero-orbit-lg { width: 250px; height: 250px; }
	.hero-orbit-sm { width: 130px; height: 130px; }
	.hero-data-card { right: 14px; bottom: 14px; width: 166px; padding: 14px; }
	.section { padding: 54px 0; }
	.tech-grid { grid-template-columns: 1fr 1fr; }
	.process-steps { grid-template-columns: 1fr; }
}

/* Floating WhatsApp chat */
.whatsapp-widget { position: fixed; right: 24px; bottom: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: inherit; }
.whatsapp-panel { width: min(340px, calc(100vw - 32px)); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: #fff; box-shadow: 0 22px 60px rgba(7,18,47,.28); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.whatsapp-widget.is-open .whatsapp-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, #0d5c46, #128c65); }
.whatsapp-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.whatsapp-avatar svg { width: 27px; fill: #128c65; }
.whatsapp-panel-head strong, .whatsapp-panel-head span { display: block; }
.whatsapp-panel-head strong { font-size: 16px; line-height: 1.25; }
.whatsapp-panel-head div > span { margin-top: 4px; color: rgba(255,255,255,.82); font-size: 12px; }
.whatsapp-panel-head i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #68e394; }
.whatsapp-panel-body { padding: 18px; background: #f5f7f8; }
.whatsapp-panel-body p { position: relative; margin: 0 14px 16px 0; padding: 13px 15px; border-radius: 4px 14px 14px; color: #263642; background: #fff; box-shadow: 0 4px 16px rgba(7,18,47,.07); font-size: 14px; line-height: 1.55; }
.whatsapp-start { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border-radius: 12px; color: #fff !important; background: #25d366; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.whatsapp-start:hover { color: #fff; background: #1fba59; transform: translateY(-1px); }
.whatsapp-toggle { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 17px; border: 0; border-radius: 999px; color: #fff; background: #0e203f; box-shadow: 0 12px 32px rgba(7,18,47,.28); cursor: pointer; font: inherit; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-toggle:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(7,18,47,.34); }
.whatsapp-toggle-label { font-size: 14px; white-space: nowrap; }
.whatsapp-toggle-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #25d366; }
.whatsapp-toggle-icon::before { position: absolute; inset: -5px; border: 2px solid rgba(37,211,102,.45); border-radius: 50%; content: ''; animation: whatsapp-pulse 2.2s ease-out infinite; }
.whatsapp-toggle-icon svg { width: 28px; fill: #fff; }
.whatsapp-widget.is-open .whatsapp-toggle-icon::before { animation: none; opacity: 0; }
.whatsapp-toggle:focus-visible, .whatsapp-start:focus-visible { outline: 3px solid #82e9ac; outline-offset: 3px; }
@keyframes whatsapp-pulse { 0% { transform: scale(.86); opacity: .9; } 75%, 100% { transform: scale(1.25); opacity: 0; } }
@media (max-width: 600px) { .whatsapp-widget { right: 16px; bottom: 16px; } .whatsapp-toggle { padding-left: 14px; } .whatsapp-panel { width: min(330px, calc(100vw - 32px)); } }
@media (max-width: 480px) { .whatsapp-toggle { padding: 5px; } .whatsapp-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .whatsapp-toggle-icon { width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-panel, .whatsapp-start, .whatsapp-toggle { transition: none; } .whatsapp-toggle-icon::before { animation: none; } }
