:root {
	--brand-red: #cf1528;
	--brand-cyan: #48cae9;
	--brand-bg: #f6f7e7;
    --brand-dark: #181b2e;
    --btn-icon-space: clamp(1.00rem, 1.00vw, 2.00rem); /* space reserved for left-side button icons */
}
* { 
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none; 
}
html { 
    height: 100%;
    font-size: clamp(0.85rem, 1.50vw, 1.00rem);
}
body { 
    font-family: 'Cinzel', serif; 
    background: var(--brand-bg); 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    text-align: center; 
    font-weight: 700;
    line-height: 1.1;
    margin: 0 auto;
    color: var(--brand-dark);
}
.col { 
    flex: 1; 
}
a { 
    color: var(--brand-cyan); 
}
a:hover {
    opacity: 0.85;
}
a.active {
    background: var(--brand-red);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    border-radius: 12px;
}
.container {
    width: min(100% - 32px, 1520px);
    margin-inline: auto;
}
.home {
    min-height: calc(100vh - var(--site-header-height, 0px) - var(--site-footer-height, 0px)) !important;
}
/* Font sizes for headings and paragraphs */
p, h1, h2, h3, h4, h5, h6 {

    margin: 0 auto 0.5rem auto;
}
h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
}
h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}
h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}
h5 {
    font-size: clamp(1.00rem, 1.75vw, 1.25rem);
    max-width: 900px;
}
h6 {
    font-size: clamp(0.75rem, 1.00vw, 0.85rem);
    max-width: 900px;
}
p {
    font-size: clamp(0.85rem, 1.50vw, 1.00rem);
    line-height: 1.3;
    max-width: 900px;
}
.brand-text h4, .brand-text h6 {
    margin: 0;
}
/* Floating animation and enhanced shadows for header title and CTAs */
@keyframes floaty {
	0% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
	100% { transform: translateY(0); }
}
.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #fff;
    padding-top: calc(var(--site-header-height, 0px) / 2);
    height: calc(100vh - var(--site-header-height, 0px) ) !important;
    text-shadow: 0 0 10px var(--brand-dark);
}
.home-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: var(--home-logo-url);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
    margin-top: 48px;
}
/* Portal settings */
.portal-embed iframe {
	display: block;
	width: 100%;
	height: 760px;
	padding-top: 12px;
}
/* Logo Settings */
.logo, .icon {
    max-width: 50px;
}
a.social-link { 
    width: clamp(18px, 2rem, 36px); 
    height: clamp(18px, 2rem, 36px); 
    align-items:center; 
    justify-content:center;
    margin-right: clamp(2px, 1vw, 10px); 
}
a.social-link img { 
    width: clamp(18px, 2rem, 36px); 
    height:  auto;
}

/* Button settings */
.btn {    
    padding: 10px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    font-size: clamp(0.85rem, 1.00vw, 1.1rem);
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
}

/* Add icon spacing only when a button actually has an icon (pure CSS) */
.btn:has(.btn-phone-icon),
.btn:has(.btn-mail-icon),
.btn:has(.btn-back-icon),
.btn:has(svg),
.btn:has(i) {
    padding-left: calc(12px + var(--btn-icon-space));
}
.btn.primary { 
    background: var(--brand-red);
    color: #fff;
}
.btn.secondary { 
    background: var(--brand-cyan);
    color:var(--brand-dark); 
}
.btn svg {
    margin: 8px;
}
.nav-btn {
    padding: 2px 12px;
    margin: 12px;
    font-size: 24px;
}
/* Position contact icons absolutely so other buttons keep the same size */
.btn .btn-phone-icon,
.btn .btn-mail-icon,
.btn .btn-back-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.btn .btn-phone-icon svg,
.btn .btn-mail-icon svg {
    width: 16px;
    height: 16px;
    margin: 0;
    display: block;
}
.ctas .cta .btn, .ctas .cta a.btn { 
    background:var(--brand-cyan); 
    color:var(--brand-dark); 
    box-shadow:0 2px 6px rgba(0,0,0,0.06); 
}
/* back arrow icon for Back buttons */
.btn .btn-back-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.btn .btn-back-icon svg { 
    width:16px; 
    height:16px; 
    display:block; 
    margin:0; 
}
/* Back button: left-facing arrow styled like blog read-more arrow */
.btn.back { 
    padding-left: 12px; 
}
.btn.back::before {
    content: '\2190';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.05em;
    vertical-align: middle;
}
.card.blog .btn.primary { 
    display:inline-flex; 
    align-items:center; 
}
.card.blog .btn.primary::after { 
    content: '\2192'; 
    margin-left:8px;    
    font-size:1.05em; 
}
.header {
    margin: 1rem auto;
}
.important {
    color: var(--brand-red);
    margin-top: 0.5rem;
}
li {
    margin: 0.5rem 0;
    list-style-type: none;
}
address {
    font-style: normal;
}
/* Cards settings*/
.cards { 
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 360px));
    justify-content: center;
    gap: clamp(2vw, 2.5vw, 1rem) clamp(1vw, 2vw, 1rem);
}
.cards .team {
    padding-bottom: 35px;
}
.cards.services .card, .career-job .card{ /* collapsed until hover*/
    overflow:hidden; 
}
/* Collapsed card behavior only on city pages */
.city-services .card:hover, .city-services .card:focus-within { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(15,23,42,0.12); max-height: 800px; }
.city-services .card:hover p,
.city-services .card:focus-within p,
.city-services .card:hover .cta,
.city-services .card:focus-within .cta,
.city-services .card:hover .btn,
.city-services .card:focus-within .btn {
	opacity: 1;
	transform: translateY(0);
	max-height: 600px;
	pointer-events: auto;
	transition-delay: 0.12s;
}
/* Ensure services list cards have the same collapsed/expand hover behavior as city-specific lists */
.cards.services .card:hover p,
.cards.services .card:focus-within p,
.cards.services .card:hover .cta,
.cards.services .card:focus-within .cta,
.cards.services .card:hover .btn,
.cards.services .card:focus-within .btn {
	opacity: 1;
	transform: translateY(0);
	max-height: 600px;
	pointer-events: auto;
	transition-delay: 0.12s;
}
.ctas.home {
	min-height: 0 !important;
    display: flex;
}
.cta.home {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floaty 6s linear infinite;
	will-change: transform, text-shadow;
    flex:1; 
	margin: 0 1%;
    min-height: 0 !important;
}
/* Hide full career job description until card hover/focus (match services behavior) */
.career-job .career-job-desc,
.career-job .career-job-desc p {
	opacity: 0;
	transform: translateY(10px);
	max-height: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity .48s cubic-bezier(0.22,1,0.36,1), transform .48s cubic-bezier(0.22,1,0.36,1), max-height .6s ease;
	transition-delay: 0s;
}
.career-job:hover .career-job-desc,
.career-job:focus-within .career-job-desc,
.career-job:hover .career-job-desc p,
.career-job:focus-within .career-job-desc p {
	opacity: 1;
	transform: translateY(0);
	max-height: 600px;
	pointer-events: auto;
	transition-delay: 0.12s;
}
.home-sub_header-cta-body { 
    padding:12px; 
    display:flex; 
    flex-direction:column; 
    gap:8px; 
    flex:1; 
    text-align:center; 
}
.home-sub_header-cta-action { 
    margin-top:auto; 
}
.cta-header {
    background: var(--brand-red);
    height: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 12px 0 0 0;
}
/* Ensure animations and color rules apply to the new class as well */
.home-header-cta, .home-header-action .btn, .home-container-title h1 {
    animation: floaty 6s linear infinite;
}
.card { 
	background: #fff; 
	display: flex; 
	flex-direction: column; 
    box-shadow:0 6px 18px rgba(15,23,42,0.06); 
    transition: transform .18s ease, box-shadow .18s ease;
    border-radius: 20px;
}
/* white ring around an inner red circle; icon sits on top */
.card .feature-icon::before { 
    content: ''; 
    width: clamp(32px, 4vw, 50px);
    aspect-ratio: 1 / 1;
    border-radius: 50%; 
    border: 2px solid #fff; 
    background: transparent; 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%);
    z-index: 2;
}
 .feature-icon { 
	display:flex; 
	align-items:center; 
	justify-content:center;
    width: clamp(32px, 4vw, 50px);
    aspect-ratio: 1 / 1;
}
.card h4 { 
	padding: 0 0.5rem 0;
}
.card p { 
	color:#555; 
}
.card.service p {
	opacity: 0;
	transform: translateY(10px);
    max-height: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity .48s cubic-bezier(0.22,1,0.36,1), transform .48s cubic-bezier(0.22,1,0.36,1), max-height .6s ease;
	transition-delay: 0s;
}
.card.equipment { 
	gap:12px; 
}
.card.gallery h4 {
    margin: 6px auto;
}
.card.blog .post-meta .post-author img.post-author-photo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	display: inline-block;
}
.post-content ul li,
.post-content ol li {
	display: inline-block;
	vertical-align: middle;
	margin: 0.35rem 0;
    text-align: center;
	white-space: normal;
}
.post-content ul,
.post-content ol {
	margin: 0 auto 1rem;
	max-width: 800px;
}
.post-content ul li::before {
	content: '•';
	margin-right: 0.5rem;
}
.post-content table {
	margin: 1rem auto;
}
.post-content table th, .post-content table td {
	padding: 0.5rem 0.75rem;
	border: 1px solid rgba(0,0,0,0.06);
	text-align: left;
	vertical-align: middle;
}
.card .social-inline-icon img {
    width: clamp(28px, 3rem, 56px);
    height: clamp(28px, 3rem, 56px);
}
/* Review header layout: source on left, stars on right */
.cards.reviews .card.review .review-header {
	display: flex;
	gap: 12px;
    padding-top: 4px;
}
.cards.reviews .card.review .review-source { 
    color: #666; 
}
.cards.reviews .card.review .review-stars { 
    display:flex; 
    gap:6px; 
    align-items:center; 
}
.cards.reviews .card.review .review-stars .star { 
    color:#cbd5e1; 
    display:inline-block; 
}
.cards.reviews .card.review .review-stars .star.filled { 
    color:#ffcc33; 
    text-shadow:0 1px 0 rgba(0,0,0,0.18); 
}
.cards.reviews .card.review .review-content {
	border-top: 1px solid rgba(0,0,0,0.06);
	padding: 12px 8px 4px 8px;
}
.card.team { 
	align-items:center; 
    margin-top: 48px;
    border-radius: 8px;
}
.team-card-photo { 
	width:110px; 
	height:110px;
    margin-top: -55px;
}
.team-card-photo img { 
    width:100%; 
    height:100%; 
    object-fit:cover; 
    object-position:center center; 
    display:block; 
    border-radius:50%; 
}
.team-card-role { 
    color: var(--brand-cyan); 
    font-weight:700; 
    margin-bottom:10px; 
}
.team-card-body { 
    margin: 12px 0; 
    width: 100%;
}
.team-card-license { 
    margin-top:10px; 
    display:flex; 
    align-items:center; 
    gap:8px; 
    justify-content:center; 
}
.license-badge { 
    background: #fff6d9; 
    padding:6px 8px; 
    border-radius:6px; 
    border:1px solid rgba(0,0,0,0.04); 
    font-weight:700; 
    color:#b36a00; 
}
.license-star { 
    margin-left:2px; 
    font-size:1.7rem; 
    margin-left:6px; 
}
/* License badge color variants based on license prefix */
.license-badge.license-gold { 
    background: linear-gradient(180deg,#ffd54a 0%, #ffb300 60%); 
    color:#1b1b1b; 
    border:1px solid rgba(0,0,0,0.06); 
    box-shadow:0 6px 18px rgba(15,23,42,0.06); }
.license-star.license-gold { 
    color:#ffb300; 
}
.license-badge.license-silver { 
    background: linear-gradient(180deg,#f3f4f6 0%, #d1d5db 100%); 
    color:#111; 
    border:1px solid rgba(0,0,0,0.06); 
    box-shadow:none; 
}
.license-star.license-silver { 
    color:#9ca3af; 
}
.license-badge.license-blue { 
    background: linear-gradient(180deg,#60a5fa 0%, #2563eb 100%); 
    color:#fff; 
    border:none; 
    box-shadow:0 6px 18px rgba(37,99,235,0.12); 
}
.license-star.license-blue { 
    color:#1e40af; 
}
.license-badge.license-green { 
    background: linear-gradient(180deg,#34d399 0%, #10b981 100%); 
    color:#fff; 
    border:none; 
    box-shadow:0 6px 18px rgba(16,185,129,0.12); 
}
.license-star.license-green { 
    color:#065f46; 
}
.license-badge.license-red { 
    background: linear-gradient(180deg,#fb7185 0%, #ef4444 100%); 
    color:#fff; 
    border:none; 
    box-shadow:0 6px 18px rgba(239,68,68,0.12); 
}
.license-star.license-red { 
    color:#b91c1c; 
}
.license-badge.license-default { 
    background: #fff6d9; 
    color:#b36a00; 
}
.card:hover, .card:focus-within { 
    transform: translateY(-8px); 
    box-shadow: 0 18px 40px rgba(15,23,42,0.12); 
}
.card .feature-icon { 
	width: 100%; 
	height: clamp(38px, calc(4vw + 7px), 66px);
	border-radius:12px 12px 0 0; 
	background:var(--brand-red); 
	position:relative;
	margin-bottom:12px;
}
.card .feature-icon img { 
    width: clamp(24px, calc(4vw - 8px), 44px);
}
.cta-icon { 
    background: var(--brand-red); 
    height: clamp(38px, calc(4vw + 7px), 66px);
    aspect-ratio: 1 / 1;
    border-radius: 50%; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
}
.card .cta-icon img {
    width: clamp(30px, calc(4vw - 1px), 58px);
    height: clamp(30px, calc(4vw - 1px), 58px);
}
.card.cta.service {
    padding-top: 12px;
}
.cta .cta-label { 
    color:var(--brand-cyan); 
    margin-bottom:6px; 
}
.card.career, .card.social, .card.review { 
    border-radius:12px;  
    align-items:center; 
    gap:12px;
    margin: 12px;
}
.equipment-brand { 
    color:#777; 
}
.card.gallery { 
    position:relative; 
}
.card.blog { 
    display:flex; 
    flex-direction:column; 
}
/* Group common card padding to reduce duplication */
.post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
    border-radius: 12px 12px 0 0;
}
.card.blog .post-meta { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    justify-content: flex-start; 
}
.card.blog .post-author { 
    display: inline-flex; 
    align-items: center; 
    gap:8px; 
}
.card.blog > .btn { 
    margin-top: auto;
 }
.included-label { 
	background: rgba(0,0,0,0.03);
    margin-top:6px; 
    color:#666; 
    font-style:italic; 
    text-align:center;
    padding: 6px 0;
}
.pricing-header {
	border-radius: 20px 20px 0 0; 
	background:var(--brand-red); 
	position:relative;
	margin-bottom:12px;
    padding: 2rem 0.6rem 0 0.6rem;
    color: #fff;
}
.contact-cta .btn { 
	width: 100%;
	height: 100%;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.contact-cta { 
	display:flex; 
}
.social-cta-icon { 
    background: var(--brand-red); 
    width:72px; 
    height:72px; 
    border-radius:50%; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    box-shadow:0 6px 18px rgba(0,0,0,0.06); 
    margin-bottom:8px; 
}
/* Contact page two-column layout */
.contact-grid { 
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr; 
    gap: 18px; 
    align-items: start; 
    margin: 18px 0; 
}
.contact-left, .contact-right { 
    text-align: left; 
}
.contact-left-inner {
    display:flex; 
    flex-direction:column; 
    gap:14px;
}
.contact-item { 
    display:flex; 
    gap:12px; 
    align-items:flex-start; 
}
.contact-item-icon { 
    width:56px; 
    height:56px;
    min-width: 56px;
    display:flex; 
    align-items:center; 
    justify-content:center; 
    font-size:clamp(32px, 3vw, 42px);
    line-height: 1;
    flex-shrink: 0;
}
.social-link {
    width: 50px;
}
.contact-item-icon.icon-phone { 
    color: var(--brand-cyan); 
}
.contact-item-icon.icon-email { 
    color: var(--brand-red); 
}
.contact-item-title { 
    margin-bottom:6px; 
}
.contact-item-desc {
     margin-top:6px; 
}
.contact-form-card { 
    background:#fff; 
    padding:20px; 
    border-radius:10px; 
    box-shadow: 0 12px 30px rgba(15,23,42,0.06); 
}
.contact-form .form-field { 
    display:block;
    margin-bottom: clamp(4px, 1vw, 14px); 
}
.contact-form .form-field input, .contact-form .form-field textarea { 
    width:100%;
    padding: clamp(4px, 1vw, 14px) 0; 
    border-radius:10px; 
    border:1px solid rgba(24,27,46,0.06); 
}
.contact-form .form-row.two-col { 
    display:flex; 
    gap:12px;
    width: 100%;
}
.contact-form .form-row.two-col .form-field { 
    flex: 1;
    min-width: 0;
}
.contact-form .btn { 
    width:100%; 
}
.cta-main { 
	flex-grow: 1;
	height:100%;
}
.equipment-body, .pricing-body { 
    display:flex; 
    flex-direction:column;
    margin-top: 0.5rem;
    gap:8px; 
    flex:1;
}
.pricing { 
    position: relative;
}
.pricing-content {
    padding: 0 0.5rem;
}
.pricing.card .contact-cta { 
    margin-top: auto; 
}
.post-featured .post-featured-img {
    width: 100%;
    max-width: 900px; 
    height: auto; 
    display: block; 
    object-fit: cover; 
    margin: 12px auto;
}
.post-author-block { 
    display:flex; 
    flex-direction:column; 
    gap:12px; 
    align-items:center; 
    justify-content:center; 
    margin-top:18px; 
    padding:16px; 
}
.post-author-block .author-photo { 
    width:96px; 
    height:96px; 
    object-fit:cover; 
    border-radius:8px; 
    display:block; 
}
.post-author-block .author-title { 
    color: #666; 
    margin-bottom:8px; 
}
.post-author-block .author-socials { 
    margin-top:8px; 
}
.post-author-block .author-social { 
    margin-right:8px;
}
.post-author-block .author-social svg, .post-author-block .author-social img { 
    width:25px; 
    height:25px; 
    display:inline-block; 
    vertical-align:middle; 
}
.post-author-block .author-social.author-contact.author-phone { 
    color: var(--brand-red); 
}
.post-author-block .author-social.author-contact.author-email { 
    color: var(--brand-dark); 
}
.post-content { 
    color: var(--brand-dark); 
}
/* Badge settings */
.badge.stock, .badge.duration {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 30;
	color:var(--brand-dark);
	padding:6px 10px;
	border-radius: 20px;
	background:#fff;
	font-size:0.85rem;
}
.badge.category {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 30;
	color:var(--brand-dark);
	padding:6px 10px;
	border-radius: 20px;
	background:var(--brand-cyan);
	font-size:0.85rem;
}
.badge.feature {
	display:inline-block; 
	background: #ff8a3d; 
	color: #fff; 
	padding: 4px 8px; 
	border-radius:8px;
	font-size:0.7rem;
	margin: 2px;
}
.badge.pricing {
	display:inline-block; 
	background: #ff8a3d; 
	color: #fff; 
	padding: 6px 12px; 
	border-radius:8px;
	font-size:0.85rem;
	margin: 20px;
}
/* Grouped badge defaults to reduce duplication (specific color/position rules remain below) */
.badge.stock, .badge.duration, .badge.category, .badge.feature, .badge.pricing {
    font-weight:700;
    border-radius: 8px;
}
/* Unified list-item styles for pricing and team lists (checkmarks/markers adjusted by :before) */
ul.pricing-included-list li,
ul.pricing-not-included-list li,
ul.pricing-list li,
ul.team-list li {
    text-align: left;
    position: relative;
    padding-left: 26px;
    margin-bottom: 6px;
    margin-right: 6px;
    font-size: 0.85rem;
    color: #444;
}
.pricing-cta ul {
    margin: 12px 16px 18px 20px !important;
}
ul.pricing-included-list li:before { 
    content: "\2713"; 
    position: absolute; 
    left: 4px; 
    top: 0; 
    color: var(--brand-cyan); 
}
ul.pricing-not-included-list li:before { 
    content: "\2717"; 
    position: absolute; 
    left: 4px; 
    top: 0; 
    color: var(--brand-red); 
}
ul.pricing-list li:before { 
    content: "\2727"; 
    position: absolute; 
    left: 4px; 
    top: 0; 
    color: var(--brand-cyan); 
}
ul.team-list.spec li:before { 
    content: "\2692"; 
    position: absolute; 
    left: 4px; 
    top: 0;
    color: var(--brand-cyan); 
}
ul.team-list.cert li:before { 
    content: "\2724"; 
    position: absolute; 
    left: 4px; 
    top: 0;
    color: var(--brand-cyan); 
}
.subheader-content {
    margin-bottom: 12px;
}
.service-content {
    margin-bottom: 12px;
}
.history-timeline  {
	margin-top: 56px;
}
.history-flow {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.history-timeline .history-flow { 
    justify-content: space-between; 
}
.history-timeline .history-flow .card:first-child { 
    transform: translateY(-30%); 
}
.history-timeline .history-flow .card {
	flex: 0 0 calc(50% - 104px) !important;
	max-width: calc(50% - 104px) !important;
	min-width: 0 !important;
	margin: clamp(4px, 2vw, 50px) 0;
}
.history-timeline .card:nth-child(odd) {
    margin-right: 22px; 
}
.history-timeline .card:nth-child(even) {
    margin-left: 22px; 
}
.history-flow::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--brand-cyan);
	z-index: 0;
	border-radius: 4px;
}
.history-timeline .card {
	background: #fff;
	padding: 14px 16px;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(15,23,42,0.06);
	width: calc(50% - 44px);
	z-index: 1;
	margin-bottom: 0;
}
.history-timeline .card-date { 
    color: var(--brand-cyan); 
    font-weight:700; 
    margin-bottom:6px; 
}
.history-timeline .card-title { 
    font-weight:800; 
    margin-bottom:6px; 
}
.history-timeline .card-desc { 
    color: #555; 
}
.history-timeline .timeline-dot {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	width: clamp(28px, 3rem, 56px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--brand-cyan);
	border: 3px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
	z-index: 3;
	color: #fff;
	font-size: 18px;
	overflow: hidden;
}
.history-timeline .timeline-dot img {
    width: clamp(18px, 1.5rem, 36px);
    aspect-ratio: 1 / 1;
    object-fit:contain; 
    display:block; 
}
.pagination {
    margin: 8px auto;
}
/* Filter bar */
#equipment-filter-form, #pricing-filter-form, .controls.gallery {
    margin: 12px auto;
}
.filter-select {
    background: #fff;
    font-family: inherit;
    font-weight: 700;
    margin: 0 1vw;
    padding: 6px;
}
.filtered-out, .paged-out { 
    display:none !important; 
}
/* Style anchors inside gallery-pager to match .pagination look */
.page-link { 
    padding:8px 10px; 
    border-radius:8px; 
    border:1px solid rgba(0,0,0,0.06); 
    background:#fff; 
    color:var(--brand-dark); 
    text-decoration:none; 
    font-weight:700; 
    display:inline-flex; 
    align-items:center; 
    justify-content:center; 
}
.page-link:hover { 
    background:rgba(72,202,233,0.12); 
}
.page-link.current { 
    background:var(--brand-red); 
    color:#fff; 
    border-color:transparent; 
    font-weight:700; 
}
.page-link.disabled { 
    opacity:0.5; 
    pointer-events:none; 
}
/* Keep button styles for any pagers that render buttons */
button { 
    border-radius:8px; 
    cursor:pointer; 
    font-weight:700; 
}
button[disabled] { 
    opacity:0.45; 
    cursor:default; 
}
button[aria-current="page"] { 
    background:var(--brand-red); 
    color:#fff; 
    border-color:transparent; 
}
.page-prev-text { 
    margin-left:6px; 
    font-weight:700; 
}
.page-next-text { 
    margin-right:6px; 
    font-weight:700; 
}
.page-prev-arrow, .gallery-pager .page-next-arrow { 
    font-size:1.05rem; 
}
.gallery-pager-debug { 
    display:none; 
}
/*Carousel */
.carousel-gallery { 
    position:relative; 
    overflow:hidden; 
    width:100%; 
    height:180px; 
    border-top-left-radius:12px; 
    border-top-right-radius:12px; 
}
.carousel-gallery-track { 
    display:flex; 
    transition:transform .35s ease; 
    will-change: transform; 
}
.carousel-gallery-track { 
    display:flex; 
    transition:transform .35s ease; 
    will-change: transform; 
    flex-wrap: nowrap; /* prevent slides wrapping on narrower viewports */
}
.carousel-slide { 
    min-width:100%; 
    flex: 0 0 100%; /* fixed full-width slide */
    max-width:100%;
    box-sizing: border-box;
}
.carousel-slide img { 
    width:100%; 
    height:180px; 
    object-fit:cover; 
    display:block; 
}
.carousel-gallery.service-gallery { 
    height: 50vh; 
}
.carousel-gallery.service-gallery .carousel-slide img {
    height: 50vh;
    object-fit:scale-down; 
}
.carousel-caption { 
    text-align:center; 
    margin: 12px auto; 
    font-weight:600; 
    color:var(--brand-dark);
}
#gallery-detail-modal .detail-image,
#gallery-detail-modal .detail-gallery .detail-slide img {
	max-width: calc(100vw - 160px);
	max-height: calc(100vh - 220px);
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}
.gallery-prev, .gallery-next { 
    position:absolute; 
    top:50%; 
    transform:translateY(-50%); 
    background:rgba(0,0,0,0.45); 
    color:#fff; 
    border:none; 
    width:36px; 
    height:36px; 
    border-radius:50%; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer; 
}
.gallery-prev { 
    left:10px; 
}
.gallery-next { 
    right:10px; 
}
.gallery-dots { 
    position:absolute; 
    bottom:10px; 
    left:50%; 
    transform:translateX(-50%); 
    display:flex; 
    gap:6px; 
}
.gallery-dot { 
    width:10px; 
    height:10px; 
    border-radius:50%; 
    background:rgba(255,255,255,0.55); 
    border:none; 
    cursor:pointer; 
    padding:0; 
}
.gallery-dot.active { 
    background:#fff; 
    box-shadow:0 2px 6px rgba(0,0,0,0.12);
 }
 #gallery-detail-modal .detail-caption {
	color: #fff;
	text-align: center;
	margin-top: 12px;
	font-size: 1rem;
}
.detail-gallery { 
    overflow: hidden; 
}
.detail-gallery-track { 
    display: flex; 
    transition: transform .35s ease; 
    will-change: transform; 
}
.detail-slide { 
    min-width: 100%; 
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.detail-slide > img, .detail-slide > iframe, .detail-slide > video { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}
 /* Mini-carousel inside gallery cards (per-card thumbnails) */
.mini-carousel { 
    position: relative; 
    overflow: hidden; 
}
.mini-carousel .mini-track { 
    display: flex; 
    transition: transform .35s ease; 
    will-change: transform; 
}

/* Grouped carousel track transitions to avoid repeating identical declarations */
.carousel-gallery-track,
.detail-gallery-track,
.mini-carousel .mini-track {
    transition: transform .35s ease;
    will-change: transform;
}
.mini-carousel .mini-slide { 
    min-width: 100%; 
    flex-shrink: 0; 
    display: block; 
}
.mini-carousel .mini-slide a { 
    display: block; 
}
.mini-carousel .mini-slide img { 
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    display: block; 
    border-radius: 6px 6px 0 0; 
}
.mini-carousel .mini-prev, .mini-carousel .mini-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.45);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}
.mini-carousel .mini-prev { 
    left: 8px; 
}
.mini-carousel .mini-next { 
    right: 8px; 
}
.mini-carousel .mini-prev:hover, .mini-carousel .mini-next:hover { 
    opacity: 0.95; 
}
/* Lightbox overlay styles */
.image-lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.85);
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility .18s ease;
}
.image-lightbox.open {
	opacity: 1;
	visibility: visible;
}
.image-lightbox .lb-content {
	position: relative;
	max-width: calc(100% - 40px);
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
}
.image-lightbox .lb-main {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 160px);
	margin: 0 auto;
	object-fit: contain;
	border-radius: 8px;
}
/* Ensure gallery-specific lightbox media fit within viewport */
#gallery-lightbox .lb-media img.lb-main, #gallery-lightbox .lb-media img {
	max-width: calc(100vw - 120px);
	max-height: calc(100vh - 160px);
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}
#gallery-lightbox iframe, #gallery-lightbox video {
	max-width: calc(100vw - 120px);
	max-height: calc(100vh - 160px);
}
.image-lightbox .lb-caption {
	margin-top: 10px;
	text-align: center;
	color: #fff;
	font-size: 0.95rem;
	max-width: 1100px;
}
.image-lightbox .lb-close, .image-lightbox .lb-prev, .image-lightbox .lb-next {
	position: absolute;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.image-lightbox .lb-close { 
    z-index: 2350; 
    top: 12px; 
    right: 12px; 
}
.image-lightbox .lb-prev { 
    left: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
}
.image-lightbox .lb-next { 
    right: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
}
.image-lightbox .lb-close:hover, .image-lightbox .lb-prev:hover, .image-lightbox .lb-next:hover { 
    opacity: 0.95; 
}
@media (max-width: 820px) {
    /* Hide central timeline line and icons on narrow screens */
    .history-timeline .history-flow::before { 
        display: none; 
    }
    .history-timeline .timeline-dot { 
        display: none; 
    }
    /* Stack cards vertically and take full width for readability */
    .history-timeline .history-flow { 
        display: block; 
    }
    .history-timeline .history-flow .card {
        flex: 0 0 100% !important;
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        transform: none !important;
        margin: 12px 0 !important;
    }
}
@media (max-width: 770px) {
    /* Switch contact layout to single column for small screens */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contact-left, .contact-right {
        width: 100%;
    }
    .contact-form .form-row.two-col { 
        flex-direction: column;
    }
}