/* ClickEdge — Aqua Splash 2027. Brand tokens + small enhancements on top of Elementor. */
:root {
	--ce-aqua: #85CED1;      /* PANTONE 14-4812 Aqua Splash */
	--ce-aqua-tint: #E8F6F6;
	--ce-aqua-mist: #F3FAFA;
	--ce-deep: #0E6E73;
	--ce-navy: #0A3266;
	--ce-ink: #071A36;
	--ce-body: #3A4A5E;
	--ce-border: #D5ECEC;
	--ce-red: #E53935; --ce-yellow: #F5B800; --ce-green: #2EAD4B; --ce-blue: #1E6BE0;
}

html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ce-body); -webkit-font-smoothing: antialiased; }
[id] { scroll-margin-top: 96px; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Sticky header (works with the free version of Elementor). */
.ce-header { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(1.4) blur(6px); }
.admin-bar .ce-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ce-header { top: 46px; } }
.ce-header .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--ce-deep); }

/* Cards */
.ce-card { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.ce-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(7, 26, 54, .10); }
.ce-form-card:hover { transform: none; }
.ce-pf-item .elementor-widget-image img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Inline labels */
.ce-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; }
.ce-badge b { background: var(--ce-navy); color: #fff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600; }
.ce-pill { display: inline-block; border: 1.5px solid var(--ce-aqua); border-radius: 999px; padding: 10px 14px; }
.ce-tag { display: inline-block; background: var(--ce-aqua-tint); color: var(--ce-deep); padding: 8px 10px; border-radius: 8px; margin: 0 6px 6px 0; }
.ce-flag { display: inline-block; background: var(--ce-aqua); color: var(--ce-ink); padding: 7px 10px; border-radius: 999px; }

.ce-stars span { margin-left: 8px; }
.ce-bars { display: inline-flex; gap: 6px; }
.ce-bars i { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }
blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }

/* Buttons */
.ce-btn .elementor-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s; }
.ce-btn .elementor-button:focus-visible, .ce-filter-btn:focus-visible, .ce-submit:focus-visible { outline: 3px solid var(--ce-deep); outline-offset: 3px; }

/* Portfolio filter */
.ce-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.ce-filter-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; font: 600 14px/1 Inter, sans-serif; border: 1.5px solid #B9DDDF; background: #fff; color: #0A1F3D; transition: all .2s; }
.ce-filter-btn:hover { border-color: var(--ce-navy); }
.ce-filter-btn.is-active { background: var(--ce-navy); border-color: var(--ce-navy); color: #fff; }
.ce-pf-item.is-hidden { display: none !important; }
.ce-pf-grid.is-filtered { grid-template-rows: none !important; }

/* FAQ accordion */
.ce-accordion .elementor-accordion-item { border-radius: 16px; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--ce-border) !important; }
.ce-accordion .elementor-tab-title { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.ce-accordion .elementor-tab-title .elementor-accordion-icon { order: 2; }
.ce-accordion .elementor-tab-content { border-top: 0 !important; }

/* Contact form */
.ce-form { display: flex; flex-direction: column; gap: 18px; }
.ce-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ce-form label { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.2 Inter, sans-serif; color: var(--ce-ink); }
.ce-form input, .ce-form select, .ce-form textarea { font: 400 15px Inter, sans-serif; padding: 14px 16px; border: 1.5px solid #B9DDDF; border-radius: 12px; background: #fff; color: #0A1F3D; width: 100%; box-sizing: border-box; }
.ce-form input:focus, .ce-form select:focus, .ce-form textarea:focus { outline: none; border-color: var(--ce-navy); box-shadow: 0 0 0 3px rgba(133, 206, 209, .5); }
.ce-submit { min-height: 54px; border: 0; border-radius: 999px; background: var(--ce-navy); color: #fff; font: 600 16px/1 Inter, sans-serif; cursor: pointer; transition: background .2s; }
.ce-submit:hover { background: var(--ce-deep); }
.ce-form-note { margin: 0; font-size: 13px; color: #5A6B7E; text-align: center; }
.ce-form-ok { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ce-aqua-tint); color: var(--ce-ink); font-weight: 600; text-align: center; }
.ce-form-ok.is-error { background: #FDECEC; }
.ce-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer links */
.ce-footer a:hover .elementor-icon-list-text { color: var(--ce-aqua) !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ce-card, .ce-card:hover { transition: none; transform: none; }
}

/* Review stars and quote marks (plain text, no icon font needed). */
.ce-star-row { color: var(--ce-yellow); font-size: 22px; letter-spacing: 2px; vertical-align: -2px; }
.ce-quote { display: block; font: 800 64px/0.6 Outfit, sans-serif; color: var(--ce-aqua); height: 28px; }

/* Hero showreel inside the ClickEdge logo frame */
.ce-hero-media { position: relative; padding: 24px 34px 40px 26px !important; }
.ce-frame { position: relative; border-style: solid; border-width: 14px; border-color: var(--ce-red) var(--ce-blue) var(--ce-green) var(--ce-yellow); border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(7, 26, 54, .22); }
.ce-frame .elementor-widget-video, .ce-frame .elementor-wrapper { width: 100%; }
.ce-hero-video video, .ce-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.ce-float { position: absolute !important; z-index: 3; width: auto !important; max-width: none !important; }
.ce-float-rating { left: 0; bottom: 92px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 14px 28px rgba(7, 26, 54, .18); }
.ce-float-star { color: var(--ce-yellow); font-size: 18px; margin-right: 4px; }
.ce-float-stat { right: 0; bottom: 0; background: var(--ce-navy); border-radius: 16px; padding: 16px 20px; width: 220px !important; box-shadow: 0 18px 36px rgba(7, 26, 54, .28); }
.ce-float-stat strong { display: block; font: 800 34px/1 Outfit, sans-serif; color: var(--ce-aqua); margin-bottom: 6px; }
.ce-float-stat span { display: block; }
@media (max-width: 767px) {
	.ce-hero-media { padding: 8px 8px 28px !important; }
	.ce-float-rating { left: -4px; bottom: 56px; padding: 9px 12px; font-size: 13px; }
	.ce-float-stat { right: -4px; bottom: -6px; width: 170px !important; padding: 12px 14px; }
	.ce-float-stat strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ce-hero-video video { animation: none; } }

/* Service card images */
.ce-svc-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; border: 1px solid var(--ce-border); }

/* Real portfolio images are 4:3 */
.ce-pf-item .elementor-widget-image img { aspect-ratio: 4 / 3; }
/* Team photo + showreel band */
.ce-why-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; box-shadow: 0 24px 48px rgba(0, 0, 0, .25); }
.ce-reel-band:hover { transform: none; box-shadow: none; }
.ce-showreel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 48px rgba(7, 26, 54, .18); background: #E8F6F6; }
