/* =========================================================
   Corporate Advisory theme stylesheet
   ========================================================= */

:root {
	--color-navy: #1b2b3a;
	--color-navy-light: #243746;
	--color-accent: #c8952b;
	--color-accent-light: #e0b45a;
	--color-text: #333f48;
	--color-muted: #6b7a86;
	--color-border: #e5e9ec;
	--color-bg-soft: #f6f8f9;
	--radius: 10px;
	--width-container: 1200px;
	--font-base: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-text);
	line-height: 1.65;
	background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 700; color: var(--color-navy); margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

.btn {
	display: inline-block;
	width: fit-content;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	border: 1px solid var(--color-navy);
	color: var(--color-navy);
	background: transparent;
	transition: all .2s ease;
}
.btn:hover { background: var(--color-navy); color: #fff; }
.gradient-btn {
	background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
	border: none;
	color: #fff !important;
}
.gradient-btn:hover { filter: brightness(1.05); color: #fff; }
.w-full { width: 100%; text-align: center; }

.ca-img-placeholder {
	display: block;
	width: 100%;
	min-height: 200px;
	background: repeating-linear-gradient(45deg, #eef1f3, #eef1f3 12px, #e4e8eb 12px, #e4e8eb 24px);
	border-radius: var(--radius);
}
.icon-placeholder { min-height: 40px; width: 40px; height: 40px; border-radius: 50%; }

.service-icon-fa {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-bg-soft);
	color: var(--color-accent);
	flex-shrink: 0;
}
.service-icon-fa i { font-size: 1.15em; }

/* ---------------- Header ---------------- */
#site-header { position: relative; z-index: 50; }
.header-top-bar { background: #fff; border-bottom: 1px solid var(--color-border); }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 14px 20px; }
.site-logo { flex-shrink: 0; max-width: 100%; }
.site-logo-text {
	display: block;
	font-size: clamp(1rem, 1.6vw + .6rem, 1.4rem);
	font-weight: 800;
	color: var(--color-navy);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.top-bar-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-pill { display: flex; align-items: center; gap: 10px; }
.contact-pill-icon { font-size: 1.2rem; color: var(--color-accent); }
.contact-pill-text { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.3; }
.contact-pill-text strong { font-weight: 600; color: var(--color-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.contact-pill-text span:last-child { color: var(--color-navy); font-weight: 600; }

.main-navbar { background: var(--color-navy); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: relative; }
.navbar-toggler { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 16px 0; }
.navbar-toggler span { width: 26px; height: 2px; background: #fff; display: block; }

.navbar-nav { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link, .nav-link-wrapper { display: flex; align-items: center; gap: 6px; }
.nav-link {
	display: block;
	padding: 16px 14px;
	color: #fff;
	font-weight: 500;
	font-size: .95rem;
	white-space: nowrap;
}
.nav-link:hover, .nav-item.dropdown:hover > .nav-link, .nav-item.dropdown:hover > .nav-link-wrapper .nav-link { color: var(--color-accent-light); }
.nav-link-wrapper { padding: 0 4px 0 14px; }
.nav-link-wrapper .nav-link { padding: 16px 0; }
.dropdown-toggle {
	display: inline-block;
	width: 0; height: 0;
	margin: 0 10px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid rgba(255,255,255,.7);
	cursor: pointer;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(20, 30, 40, .18);
	border-radius: 0 0 8px 8px;
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
	z-index: 60;
}
.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown.is-open > .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.dropdown-item { display: block; padding: 10px 20px; color: var(--color-navy); font-size: .92rem; }
.dropdown-item:hover { background: var(--color-bg-soft); color: var(--color-accent); }

.header-social-icons { display: flex; align-items: center; gap: 10px; }
.header-social-icons a {
	width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.12); color: #fff; font-size: .7rem; text-transform: uppercase;
}
.header-social-icons a:hover { background: var(--color-accent); }

.page-header-strip { padding: 16px 20px; font-size: .85rem; color: var(--color-muted); }
.page-header-strip a { color: var(--color-accent); }

/* ---------------- Hero ----------------
   The banner image is a full-bleed background for the whole section;
   the title/CTA/service-icon row is overlaid on top of it (not stacked
   below), so the service list sits directly under the header exactly
   like the reference layout. .hero-banner-content's normal-flow height
   (it is NOT absolutely positioned) sets the section's height, so the
   image always covers however tall the content needs to be - including
   when the icon row wraps to extra lines on narrow screens. */
.hero-banner { position: relative; color: #fff; overflow: hidden; }
.hero-banner-media { position: absolute; inset: 0; z-index: 0; }
.hero-banner-media .hero-banner-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-banner-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,32,44,.92), rgba(20,32,44,.55)); }
.hero-banner-content { position: relative; z-index: 1; padding: 70px 20px 50px; min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; color: var(--color-accent-light); }
.eyebrow-line { width: 34px; height: 2px; background: var(--color-accent-light); display: inline-block; }
.hero-banner-content h1 { color: #fff; max-width: 700px; }
.hero-banner-content h4 { color: rgba(255,255,255,.85); font-weight: 400; margin-bottom: 22px; }

.hero-service-icons {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin-top: 42px;
	width: 100%;
}
.hero-service-icon {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: 16px 10px; text-align: center;
	background: rgba(255,255,255,.08); border-radius: var(--radius);
	font-size: .78rem; color: #fff; font-weight: 500;
	border: 1px solid rgba(255,255,255,.15);
	transition: background .2s ease;
}
.hero-service-icon:hover { background: rgba(255,255,255,.18); }
.hero-service-icon img, .hero-service-icon .ca-img-placeholder, .hero-service-icon .service-icon-fa { width: 36px; height: 36px; min-height: 36px; border-radius: 50%; background-color: rgba(255,255,255,.15); }
.hero-service-icon .service-icon-fa { color: #fff; }

/* ---------------- About sections ---------------- */
.about-section, .about-highlight-section { padding: 60px 20px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-grid-reverse { grid-template-columns: .9fr 1.1fr; }
.about-grid-reverse .about-image { order: -1; }
.rounded-image { border-radius: var(--radius); overflow: hidden; }
.about-copy { color: var(--color-muted); }
.about-highlight-section { background: var(--color-bg-soft); }

/* ---------------- Stats ---------------- */
.stats-section { position: relative; color: #fff; padding: 60px 20px; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-section::before { content: ""; position: absolute; inset: 0; background: var(--color-navy); opacity: .82; z-index: 1; }
.stats-content { position: relative; z-index: 2; text-align: center; }
.stats-content h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.stat-item { padding: 20px; }
.stat-number { display: block; font-size: 2.4rem; font-weight: 800; color: var(--color-accent-light); }
.stat-item h5 { color: #fff; font-weight: 500; margin-top: 6px; }

/* ---------------- Video ---------------- */
.video-section { padding: 60px 20px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.video-embed-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Feature cards ---------------- */
.feature-cards-section { padding: 20px 20px 60px; }
.feature-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.feature-card-bg { width: 100%; height: 100%; min-height: 260px; object-fit: cover; position: absolute; inset: 0; }
.feature-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,44,.2), rgba(20,32,44,.88)); }
.feature-card-content { position: relative; padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.feature-card-content h3 { color: #fff; }
.feature-card-content p { color: rgba(255,255,255,.85); font-size: .92rem; }
.feature-card-arrow {
	width: 42px; height: 42px; border-radius: 50%; background: var(--color-accent);
	display: flex; align-items: center; justify-content: center; color: #fff; margin-top: 10px;
}

/* ---------------- Insights ---------------- */
.insights-section, .blog-archive { padding: 20px 20px 60px; }
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.insight-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.insight-card-image img, .insight-card-image .ca-img-placeholder { width: 100%; height: 190px; object-fit: cover; min-height: 190px; }
.insight-card-body { padding: 20px; }
.insight-excerpt { color: var(--color-muted); font-size: .92rem; }

/* ---------------- Branches + form ---------------- */
.branches-section { padding: 60px 20px; background: var(--color-bg-soft); }
.branches-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.branches-grid h2 { margin-top: 0; }
.branches-box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.branch-box {
	background: var(--color-navy); color: #fff; border-radius: var(--radius);
	padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
	transition: background .2s ease;
}
.branch-box:hover { background: var(--color-navy-light); }
.branch-box h3 { color: #fff; font-size: .95rem; margin: 0; }
.branch-box-icon { font-size: 1.3rem; }

.enquiry-form, .footer-newsletter-form { display: flex; flex-direction: column; gap: 14px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; font-family: inherit; font-size: .95rem;
}
.ca-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 10px 14px; border-radius: 8px; font-size: .9rem; margin-top: 6px; }
.form-notice-success { background: #e6f6ec; color: #1e7b42; }
.form-notice-error { background: #fdecec; color: #b3261e; }

/* ---------------- Entities strip ---------------- */
.entities-section { padding: 40px 20px 70px; text-align: center; }
.entities-logo-strip { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; margin-top: 20px; opacity: .8; }
.entities-logo-strip img { max-height: 46px; width: auto; }

/* ---------------- Services archive/single ---------------- */
.archive-header { padding: 50px 20px 10px; }
.services-grid, .offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 60px; }
.service-card, .office-card {
	display: block; padding: 28px 22px; border: 1px solid var(--color-border); border-radius: var(--radius);
	transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover, .office-card:hover { box-shadow: 0 14px 30px rgba(20,30,40,.1); transform: translateY(-3px); }
.service-card .service-icon-fa { margin-bottom: 14px; }

/* Every card in the services grid is the same height: 70% of its own width.
   The photo sits as a full-bleed background (position:relative on the card
   is the containing block for it and its tint overlay); icon/title/text
   are layered on top in .service-card-content so they stay readable over
   any photo. Cards with no featured image fall back to the plain style
   above (border, no background photo). */
.service-card {
	position: relative;
	aspect-ratio: 10 / 7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	color: #fff;
	border-color: transparent;
}
.service-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.service-card-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(160deg, rgba(27,43,58,.82) 0%, rgba(27,43,58,.55) 45%, rgba(200,149,43,.35) 100%);
}
.service-card-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 22px; }
.service-card .service-icon-fa { background: rgba(255,255,255,.15); color: #fff; }
.service-card h3 { margin-bottom: 6px; color: #fff; }
.service-card p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: .85rem;
	margin-bottom: 8px;
	color: rgba(255,255,255,.85);
}
.service-card-arrow {
	width: 34px; height: 34px; border-radius: 50%; background: var(--color-accent);
	display: flex; align-items: center; justify-content: center; color: #fff; margin-top: 6px; flex-shrink: 0;
}
.service-single { padding-bottom: 20px; }
.service-detail-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 30px 20px; align-items: start; }
/* Sticky on both columns: whichever is shorter (text or image) sticks in
   place and scrolls along with the page until it reaches the bottom of
   the taller column, then unsticks - so short text scrolls to match a
   tall image, and a short image scrolls to match tall text, either way.
   position:sticky also establishes the containing block the ::after tint
   below needs, so no extra position:relative is required. */
.service-detail-image, .service-detail-content { margin-top: 0; position: sticky; top: 100px; align-self: start; }
.service-detail-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px rgba(20,32,44,.18); }
.service-detail-image img, .service-detail-image .ca-img-placeholder { width: 100%; margin-top: 0; display: block; }
.service-detail-content h2 { margin-top: 0; margin-bottom: 16px; }
.service-detail-content .entry-content h3 { margin-top: 1.2em; }

.service-secondary-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 10px 20px 50px; align-items: start; }
.service-secondary-content, .service-secondary-media { margin-top: 0; position: sticky; top: 100px; align-self: start; }
.service-secondary-content h3 { margin-top: 0; }
.service-secondary-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px rgba(20,32,44,.18); }
.service-secondary-media img, .service-secondary-media .ca-img-placeholder { width: 100%; border-radius: var(--radius); overflow: hidden; display: block; }

/* Theme-matching treatment on real photos: a navy-to-gold tint so every
   photo reads as part of this site rather than a generic stock image. */
.service-detail-image::after, .service-secondary-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(27,43,58,.45) 0%, rgba(27,43,58,.08) 45%, rgba(200,149,43,.16) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.offices-general-enquiry { max-width: 640px; margin: 0 auto 60px; }
.office-single { padding: 40px 20px 60px; }
.office-featured-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px rgba(20,32,44,.18); margin-bottom: 24px; max-height: 360px; }
.office-featured-image img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; display: block; }
.office-featured-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(27,43,58,.45) 0%, rgba(27,43,58,.08) 45%, rgba(200,149,43,.16) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.office-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 20px; }
.office-map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }

.text-center { text-align: center; }
.new-faq-section { padding: 50px 20px 60px; }
.new-faq-section .main-title { margin-bottom: 32px; }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
.faq-column { display: flex; flex-direction: column; gap: 12px; }
.faq-card { border: 1px solid var(--color-border); border-radius: 10px; background: #fff; overflow: hidden; }
.faq-header-btn {
	cursor: pointer;
	list-style: none;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-weight: 600;
	color: var(--color-navy);
	font-size: .98rem;
}
.faq-header-btn::-webkit-details-marker { display: none; }
.faq-toggle-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-toggle-icon::before, .faq-toggle-icon::after {
	content: ""; position: absolute; top: 50%; left: 50%; background: var(--color-accent);
	transform: translate(-50%, -50%);
}
.faq-toggle-icon::before { width: 14px; height: 2px; }
.faq-toggle-icon::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq-card[open] .faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-body-content { padding: 0 20px 18px; color: var(--color-muted); font-size: .92rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.team-card { text-align: center; }
.team-card img, .team-card .ca-img-placeholder { border-radius: var(--radius); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: cover; }
.team-position { color: var(--color-muted); font-size: .9rem; }

.generic-page, .single-post { padding: 40px 20px 60px; }
.page-title-block { margin-bottom: 20px; }
.page-featured-image { position: relative; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px rgba(20,32,44,.18); max-height: 380px; }
.page-featured-image img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; display: block; }
.page-featured-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(27,43,58,.45) 0%, rgba(27,43,58,.08) 45%, rgba(200,149,43,.16) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.post-meta { color: var(--color-muted); font-size: .9rem; }

/* ---------------- Why Choose Us page ----------------
   Banner (title left, breadcrumb right), intro + image, rounded counters
   band, then a soft-grey "What We Offer" section with a card carousel.
   The carousel is a native scroll-snap row; main.js only adds the
   prev/next buttons. */
.inner-banner { position: relative; background: linear-gradient(120deg, var(--color-navy), var(--color-navy-light)); color: #fff; overflow: hidden; }
.inner-banner-media { position: absolute; inset: 0; }
.inner-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.inner-banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,32,44,.92), rgba(20,32,44,.6)); }
.inner-banner-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 54px; padding-bottom: 54px; }
.inner-banner h1 { color: #fff; margin: 0; }
.inner-banner .ca-breadcrumb, .ca-banner-breadcrumb .ca-breadcrumb { font-size: .9rem; color: rgba(255,255,255,.75); }
.inner-banner .ca-breadcrumb a, .ca-banner-breadcrumb .ca-breadcrumb a { color: var(--color-accent-light); }

.wc-intro { padding: 60px 20px 40px; }
.wc-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.wc-accent-line { margin-bottom: 14px; background: var(--color-accent); }
.wc-intro h2 { margin-bottom: 18px; }
.wc-intro-copy { color: var(--color-muted); margin-bottom: 24px; }
.wc-intro-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 45px rgba(20,32,44,.18); }
.wc-intro-media img { width: 100%; }
.wc-intro-fallback {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 55%, var(--color-accent) 130%);
	color: rgba(255,255,255,.9); font-size: 5.5rem;
}

.wc-stats-wrap { padding: 0 20px 20px; }
.wc-stats {
	display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center;
	padding: 35px 40px; border-radius: var(--radius);
	background: linear-gradient(120deg, var(--color-bg-soft) 0%, #f5e8c9 100%);
}
.wc-stats h2 { margin: 0; }
.wc-counters { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 20px 60px; }
.wc-counter { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.2; color: var(--color-navy-light); }
.wc-counter-label { margin: 4px 0 0; font-size: 1rem; font-weight: 500; color: var(--color-navy-light); }

.wc-offers { margin-top: 20px; padding: 60px 0; background: var(--color-bg-soft); }
.wc-offers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.wc-badge {
	display: inline-block; margin-bottom: 14px; padding: 8px 20px; border-radius: 30px;
	background: #fff; color: var(--color-accent); font-weight: 600; font-size: .9rem;
	box-shadow: 0 2px 10px rgba(20,30,40,.06);
}
.wc-offers h2 { margin-bottom: 8px; }
.wc-tagline { margin: 0; color: var(--color-muted); }
.wc-carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.wc-carousel-nav[hidden] { display: none; }
/* Elementor version: the arrows sit above the row, right-aligned, and the
   badge widget shrinks to its text instead of stretching full width. */
.wc-offers-carousel .wc-carousel-nav { justify-content: flex-end; margin-bottom: 14px; }
@media (min-width: 992px) {
	/* On desktop the arrows float up beside the heading, top-right, like the reference. */
	.wc-offers-carousel { position: relative; }
	.wc-offers-carousel .wc-carousel-nav { position: absolute; right: 0; top: -58px; margin: 0; }
}
.elementor-widget.wc-badge { width: auto; align-self: flex-start; padding: 0; background: transparent; box-shadow: none; }
.elementor-widget.wc-badge .elementor-heading-title { display: inline-block; padding: 8px 20px; border-radius: 30px; background: #fff; box-shadow: 0 2px 10px rgba(20,30,40,.06); }
.wc-nav-btn {
	display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0 0 3px;
	border-radius: 50%; border: 1px solid var(--color-border); background: #fff; color: var(--color-navy);
	font-size: 1.4rem; line-height: 1; transition: background .2s ease, color .2s ease;
}
.wc-nav-btn:hover:not(:disabled) { background: var(--color-navy); color: #fff; }
.wc-nav-btn:disabled { opacity: .4; cursor: default; }

/* Padding + matching negative margin give the cards' hover shadow room
   inside the scroll container without shifting the layout. */
.wc-offer-track {
	--wc-gap: 24px;
	display: flex; gap: var(--wc-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 10px 4px 34px; margin: -10px -4px -20px;
}
.wc-offer-track::-webkit-scrollbar { display: none; }
.wc-offer-card {
	flex: 0 0 calc((100% - 2 * var(--wc-gap)) / 3); scroll-snap-align: start;
	display: flex; flex-direction: column;
	padding: 30px 30px 22px; border-radius: 16px; background: #fff;
	transition: box-shadow .2s ease;
}
.wc-offer-card:hover { box-shadow: 0 14px 30px rgba(20,30,40,.1); }
.wc-offer-icon { display: flex; align-items: center; height: 60px; margin-bottom: 10px; }
.wc-offer-icon-img { max-width: 60px; max-height: 60px; width: auto; height: auto; filter: brightness(0); transition: filter .2s ease; }
.wc-offer-card:hover .wc-offer-icon-img { filter: none; }
.wc-offer-icon i { font-size: 2.4rem; color: var(--color-navy); transition: color .2s ease; }
.wc-offer-card:hover .wc-offer-icon i { color: var(--color-accent); }
.wc-offer-title { margin: 0 0 10px; font-size: 1.15rem; }
.wc-offer-content { color: var(--color-muted); line-height: 1.75; overflow-wrap: anywhere; }
.wc-offer-content p:last-child { margin-bottom: 0; }
.wc-empty-note { padding: 20px; border: 1px dashed var(--color-border); border-radius: var(--radius); background: #fff; color: var(--color-muted); }
.wc-empty-note a { color: var(--color-accent); text-decoration: underline; }

@media (max-width: 991px) {
	.wc-intro-grid, .wc-stats { grid-template-columns: 1fr; }
	.wc-stats { padding: 30px 24px; text-align: center; }
	.wc-counters { justify-content: center; }
	.wc-offer-card { flex-basis: calc((100% - var(--wc-gap)) / 2); }
}
@media (max-width: 600px) {
	.inner-banner-content { padding-top: 36px; padding-bottom: 36px; }
	.wc-counters { gap: 20px 32px; }
	.wc-offers-head { flex-direction: column; align-items: flex-start; }
	.wc-offer-card { flex-basis: 86%; padding: 24px 22px 18px; }
}

/* ---------------- Footer ---------------- */
#site-footer { background: var(--color-navy); color: rgba(255,255,255,.85); margin-top: 20px; }
/* .site-logo-text's own explicit color:var(--color-navy) (from the header,
   where it sits on a white background) would otherwise beat the inherited
   footer text color here (an explicit rule always wins over inheritance,
   regardless of specificity), rendering the brand name invisible - navy
   text on a navy background. Scope an override to the footer only. */
#site-footer .site-logo-text { color: #fff; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-col h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-link-list li { margin-bottom: 10px; }
.footer-offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; justify-content: center; text-align: center; }
.footer-offices-grid a { white-space: nowrap; font-size: .84rem; }

/* The footer's 4 columns are Elementor's newer "atomic" e-div-block
   elements: the classic `width` setting and `_css_classes` field used
   when building the template are silently ignored for these, so column
   sizing/classing has to happen here instead, keyed off the per-element
   ".elementor-element-<id>" class Elementor always renders regardless. */
.elementor-element-ftrcol1 { width: 28% !important; }
.elementor-element-ftrcol2 { width: 16% !important; }
.elementor-element-ftrcol3 { width: 36% !important; }
.elementor-element-ftrcol4 { width: 20% !important; }
@media (max-width: 991px) {
	.elementor-element-ftrcol1, .elementor-element-ftrcol2,
	.elementor-element-ftrcol3, .elementor-element-ftrcol4 { width: 50% !important; }
}
@media (max-width: 600px) {
	.elementor-element-ftrcol1, .elementor-element-ftrcol2,
	.elementor-element-ftrcol3, .elementor-element-ftrcol4 { width: 100% !important; }
}
.footer-link-list a:hover, .footer-contact-list a:hover { color: var(--color-accent-light); }
.footer-contact-list li { margin-bottom: 12px; display: flex; gap: 8px; font-size: .92rem; }
.footer-social-icons { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-icons a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .7rem; text-transform: uppercase; }
.footer-social-icons a:hover { background: var(--color-accent); }

.footer-newsletter-form { margin-top: 20px; }
.footer-newsletter-input { display: flex; gap: 0; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.footer-newsletter-input input { flex: 1; background: transparent; border: none; padding: 12px 18px; color: #fff; }
.footer-newsletter-input input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter-input .submit-btn { background: var(--color-accent); color: #fff; border: none; padding: 0 22px; font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

.whatsapp-float {
	position: fixed; bottom: 24px; right: 24px; width: 54px; height: 54px; border-radius: 50%;
	background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem; box-shadow: 0 10px 24px rgba(0,0,0,.2); z-index: 80;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
	.navbar-toggler { display: flex; }
	.navbar-collapse {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--color-navy); flex-direction: column; padding: 10px 0; box-shadow: 0 20px 30px rgba(0,0,0,.2);
	}
	.navbar-collapse.is-open { display: block; }
	.navbar-nav { flex-direction: column; }
	.nav-item { flex-direction: column; align-items: stretch; }
	.dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255,255,255,.05); border-radius: 0; }
	.nav-item.is-open > .dropdown-menu { display: block; }
	.dropdown-item { color: #fff; }
	.dropdown-item:hover { background: rgba(255,255,255,.08); color: var(--color-accent-light); }
	.header-social-icons { display: none; }

	.about-grid, .about-grid-reverse, .video-grid, .branches-grid, .office-single-grid, .faq-columns,
	.service-detail-row, .service-secondary-row { grid-template-columns: 1fr; }
	.service-detail-image, .service-detail-content,
	.service-secondary-media, .service-secondary-content { position: static; top: auto; }
	.about-grid-reverse .about-image { order: 0; }
	.feature-cards-grid, .insights-grid, .services-grid, .offices-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-columns { grid-template-columns: 1fr 1fr; }
	.hero-service-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.top-bar-contact .contact-pill-text { display: none; }
	.feature-cards-grid, .insights-grid, .services-grid, .offices-grid, .stats-grid, .team-grid, .footer-columns { grid-template-columns: 1fr; }
	.branches-box-grid { grid-template-columns: repeat(2, 1fr); }
	.form-row-split { grid-template-columns: 1fr; }
	.hero-banner-content { padding: 40px 16px 30px; min-height: 0; }
	.hero-service-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   Elementor compatibility
   The rules above reset <ul>, <img> and <a> globally for the
   theme's own hand-built markup. Elementor widgets rely on
   browser-default list/link styling, so those resets are
   undone inside any Elementor-rendered content area.
   ========================================================= */
.elementor-widget-container ul:not([class]),
.elementor-widget-container ol:not([class]) { list-style: revert; padding-left: revert; margin: revert; }
.elementor-widget-container a:not([class]) { text-decoration: revert; color: revert; }
.elementor-widget-container img { display: revert; }
.elementor-location-header, .elementor-location-footer { width: 100%; }

/* =========================================================
   Scrollable long dropdowns (e.g. "Services" with 9+ items)
   Desktop only (>= 992px). On mobile the theme already stacks
   the submenu inline inside the slide-down menu.
   ========================================================= */
@media (min-width: 992px) {

	.dropdown-menu {
		/* Cap the height: 360px, but never taller than the viewport minus the header */
		max-height: 360px;                              /* fallback for old browsers */
		max-height: min(360px, calc(100vh - 200px));
		overflow-x: hidden;
		overflow-y: auto;

		/* When the panel hits its end, don't start scrolling the page behind it */
		overscroll-behavior: contain;

		/* Slim gold scrollbar (Firefox / modern Chrome + Safari) */
		scrollbar-width: thin;
		scrollbar-color: var(--color-accent) transparent;

		/* Soft shadows at the top/bottom edge - they only show when there is
		   more content to scroll to, so users know the list continues. */
		background-color: #fff;
		background-image:
			linear-gradient(#fff 30%, rgba(255, 255, 255, 0)),
			linear-gradient(rgba(255, 255, 255, 0), #fff 70%),
			radial-gradient(farthest-side at 50% 0, rgba(27, 43, 58, .22), rgba(27, 43, 58, 0)),
			radial-gradient(farthest-side at 50% 100%, rgba(27, 43, 58, .22), rgba(27, 43, 58, 0));
		background-position: 0 0, 0 100%, 0 0, 0 100%;
		background-repeat: no-repeat;
		background-size: 100% 36px, 100% 36px, 100% 14px, 100% 14px;
		background-attachment: local, local, scroll, scroll;
	}

	/* Older Safari / Chromium fallback for the slim scrollbar */
	.dropdown-menu::-webkit-scrollbar { width: 6px; }
	.dropdown-menu::-webkit-scrollbar-track { background: transparent; }
	.dropdown-menu::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }
}
