/*
Theme Name: HLDRILLS Blocksy Child
Theme URI: https://hldrills.novasite.asia/
Description: Custom Blocksy child theme for the HLDRILLS corporate website.
Author: HLDRILLS
Template: blocksy
Version: 0.8.2
Text Domain: hldrills
*/

@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 100 900;
}

@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
	font-display: swap;
	font-style: italic;
	font-weight: 100 900;
}

:root {
	--hldrills-navy: #001a3b;
	--hldrills-orange: #f9a900;
	--hldrills-shell: 1400px;
	--theme-font-family: "Montserrat", Arial, Helvetica, sans-serif;
	--theme-button-font-family: "Montserrat", Arial, Helvetica, sans-serif;
	--theme-heading-font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ct-menu-link {
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

/* Global Blocksy header treatment from the approved homepage design. */
#header [data-row="middle"] {
	background: var(--hldrills-navy);
}

#header [data-device="desktop"] [data-row="middle"] {
	--height: 109px;
}

#header [data-device="mobile"] [data-row="middle"] {
	--height: 78px;
}

#header [data-row="middle"] > .ct-container {
	width: 90%;
	max-width: var(--hldrills-shell);
}

#header .site-title-container,
#header .ct-header-search {
	display: none !important;
}

#header [data-device="desktop"] .site-logo-container img {
	width: 239px;
	height: auto;
	max-height: 61px;
}

#header .header-menu-1 .menu > .menu-item > .ct-menu-link {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

#header .header-menu-1 .menu > .menu-item:hover > .ct-menu-link,
#header .header-menu-1 .menu > .current-menu-item > .ct-menu-link {
	color: var(--hldrills-orange);
}

#header [data-device="mobile"] .site-logo-container img {
	width: min(190px, 52vw);
	height: auto;
	max-height: 49px;
}

#header [data-device="mobile"] .ct-header-trigger {
	color: #fff;
}

@media (max-width: 767px) {
	#header [data-row="middle"] > .ct-container {
		width: calc(100% - 32px);
	}
}

/* Centrally managed page advertisements. */
.hldrills-managed-ad {
	position: relative;
	width: 100%;
	margin: 0;
	background: var(--hldrills-navy, #001a3b);
}

.hldrills-managed-ad__frame,
.hldrills-managed-ad__link,
.hldrills-managed-ad picture {
	display: block;
	width: 100%;
}

.hldrills-managed-ad__image,
.hldrills-home-ads__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: cover;
}

.hldrills-managed-ad__link:focus-visible,
.hldrills-home-ads__link:focus-visible {
	position: relative;
	z-index: 4;
	outline: 4px solid #f9a900;
	outline-offset: -4px;
}

.hldrills-managed-ad-about-active .about-hero,
.hldrills-managed-ad-solutions-active .solutions-index__hero {
	display: none !important;
}

.hldrills-home-ads {
	overflow: hidden;
}

.hldrills-home-ads__track,
.hldrills-home-ads__slide,
.hldrills-home-ads__link,
.hldrills-home-ads__slide picture {
	display: block;
	width: 100%;
}

.hldrills-home-ads__slide:not(.is-active) {
	display: none;
}

.hldrills-home-ads__controls {
	position: absolute;
	z-index: 5;
	right: 24px;
	bottom: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	background: rgba(0, 26, 59, .88);
}

.hldrills-home-ads__dots {
	display: flex;
	align-items: center;
}

.hldrills-home-ads__arrow,
.hldrills-home-ads__dot {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.hldrills-home-ads__arrow {
	font-size: 22px;
}

.hldrills-home-ads__dot::before {
	width: 9px;
	height: 9px;
	background: rgba(255, 255, 255, .6);
	content: "";
}

.hldrills-home-ads__dot.is-active::before {
	width: 22px;
	background: #f9a900;
}

.hldrills-home-ads__arrow:hover,
.hldrills-home-ads__arrow:focus-visible,
.hldrills-home-ads__dot:hover,
.hldrills-home-ads__dot:focus-visible {
	background: #f9a900;
	color: #001a3b;
	outline: 3px solid #fff;
	outline-offset: -3px;
}

@media (max-width: 767px) {
	.hldrills-managed-ad:not(.hldrills-home-ads) .hldrills-managed-ad__image {
		height: clamp(160px, 48vw, 220px);
		object-position: center;
	}

	.hldrills-home-ads__image {
		height: clamp(230px, 68vw, 320px);
		object-position: center;
	}

	.hldrills-home-ads__controls {
		right: 10px;
		bottom: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hldrills-home-ads *,
	.hldrills-home-ads *::before,
	.hldrills-home-ads *::after {
		transition: none !important;
	}
}

.hldrills-footer,
.hldrills-footer * {
	box-sizing: border-box;
}

.hldrills-footer {
	position: relative;
	margin-top: 0;
	background: var(--hldrills-navy);
	color: #fff;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.hldrills-footer__cta-wrap {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 64px), 1400px);
	max-width: 1400px;
	margin: 0 auto -78px;
	transform: translateY(-108px);
}

.hldrills-footer__cta {
	position: relative;
	min-height: 254px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 42px;
	padding: 58px 48px;
	overflow: hidden;
	background-color: #24384d;
	background-image: var(--footer-cta-bg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.hldrills-footer__cta-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 16, 38, 0.46);
	pointer-events: none;
}

.hldrills-footer__cta-copy,
.hldrills-footer__cta-actions {
	position: relative;
	z-index: 2;
}

.hldrills-footer__cta-copy {
	min-width: 0;
	flex: 1 1 420px;
}

.hldrills-footer__cta-copy h2 {
	margin: 0;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.hldrills-footer__cta-copy p {
	margin: 10px 0 0;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.hldrills-footer__cta-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 24px;
}

.hldrills-footer__cta-button {
	min-width: 250px;
	min-height: 66px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 17px 34px;
	border-radius: 999px;
	background: var(--hldrills-orange);
	color: #061a3a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

/* Avoid compressing campaign copy when desktop browser zoom reduces the CSS viewport. */
@media (max-width: 1600px) and (min-width: 1201px) {
	.hldrills-footer__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
	}

	.hldrills-footer__cta-actions {
		width: 100%;
	}

	.hldrills-footer__cta-button {
		flex: 1 1 0;
		min-width: 0;
	}
}

.hldrills-footer__cta-button:hover,
.hldrills-footer__cta-button:focus-visible {
	background: #ffb719;
	color: #061a3a;
	transform: translateY(-1px);
	outline: 0;
}

.hldrills-footer__cta-button img {
	width: 35px;
	height: 35px;
	object-fit: contain;
}

.hldrills-footer__main {
	padding: 88px 0 24px;
	background: var(--hldrills-navy);
}

.hldrills-footer__shell {
	width: min(calc(100% - 516px), 1400px);
	max-width: 1400px;
	margin: 0 auto;
}

.hldrills-footer__top {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 88px;
	align-items: center;
	padding-bottom: 34px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hldrills-footer__logo img {
	width: 296px;
	height: auto;
	max-height: 86px;
	object-fit: contain;
}

.hldrills-footer__menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hldrills-footer__menu a {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.hldrills-footer__menu .current-menu-item > a,
.hldrills-footer__menu a:hover {
	color: var(--hldrills-orange);
}

.hldrills-footer__contacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px;
	padding: 40px 0 34px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hldrills-footer__contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	color: #fff;
	text-decoration: none;
}

.hldrills-footer__contact img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	flex: 0 0 64px;
}

.hldrills-footer__contact span {
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
}

.hldrills-footer__contact strong {
	font-size: 16px;
	font-weight: 800;
}

.hldrills-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 20px;
}

.hldrills-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.5;
}

.hldrills-footer__socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.hldrills-footer__social {
	width: 44px;
	height: 44px;
	min-width: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hldrills-footer__social svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: currentColor;
}

.hldrills-footer__social:hover,
.hldrills-footer__social:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
	outline: 0;
}

.hldrills-footer__social--facebook { background: #496bc2; }
.hldrills-footer__social--instagram { background: #e4405f; }
.hldrills-footer__social--youtube { background: #ff3834; }
.hldrills-footer__social--twitter { background: #3bb8e8; }
.hldrills-footer__social--whatsapp { background: #28b84a; }
.hldrills-footer__social--pinterest { background: #e43732; }

@media (max-width: 1200px) {
	.hldrills-footer__cta-wrap,
	.hldrills-footer__shell {
		width: min(calc(100% - 64px), 1100px);
	}

	.hldrills-footer__cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.hldrills-footer__top {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hldrills-footer__menu {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.hldrills-footer__cta-wrap,
	.hldrills-footer__shell {
		width: calc(100% - 32px);
	}

	.hldrills-footer__cta-wrap {
		margin-bottom: -56px;
		transform: translateY(-76px);
	}

	.hldrills-footer__cta {
		min-height: 0;
		padding: 34px 24px;
	}

	.hldrills-footer__cta-copy h2 {
		font-size: 22px;
	}

	.hldrills-footer__cta-copy p {
		font-size: 15px;
	}

	.hldrills-footer__cta-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.hldrills-footer__cta-button {
		min-width: 0;
		width: 100%;
		font-size: 18px;
	}

	.hldrills-footer__main {
		padding-top: 92px;
	}

	.hldrills-footer__logo img {
		width: min(260px, 80vw);
	}

	.hldrills-footer__contacts {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hldrills-footer__contact {
		justify-content: flex-start;
	}

	.hldrills-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Global return-to-top control, added 2026-09-28. */
.hldrills-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 96px;
	z-index: 90;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--hldrills-orange, #f9a900);
	box-shadow: 0 10px 26px rgba(0, 26, 59, .24);
	color: var(--hldrills-navy, #001a3b);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px);
	transition: opacity .22s ease, transform .22s ease, background-color .22s ease, box-shadow .22s ease;
	visibility: hidden;
}

.hldrills-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.hldrills-back-to-top svg {
	width: 24px;
	height: 24px;
}

.hldrills-back-to-top:hover,
.hldrills-back-to-top:focus-visible {
	background: #fff;
	box-shadow: 0 14px 30px rgba(0, 26, 59, .3);
	outline: 3px solid var(--hldrills-orange, #f9a900);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.hldrills-back-to-top {
		right: 16px;
		bottom: 84px;
		width: 48px;
		height: 48px;
	}
}
/* Shared section entrance, added 2026-09-28. */
@media (prefers-reduced-motion: no-preference) {
	.hldrills-scroll-reveal {
		opacity: 0;
		transform: translateY(46px);
		transition: opacity .68s cubic-bezier(.16, 1, .3, 1), transform .68s cubic-bezier(.16, 1, .3, 1);
		will-change: opacity, transform;
	}

	.hldrills-scroll-reveal.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hldrills-scroll-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Laptop footer layout repair. */
@media (max-width: 1800px) and (min-width: 1201px) {
	.hldrills-footer__main { padding-top: 72px; }
	.hldrills-footer__shell { width: min(calc(100% - 96px), 1400px); }
	.hldrills-footer__top { grid-template-columns: 250px minmax(0, 1fr); gap: 46px; padding-bottom: 28px; }
	.hldrills-footer__logo img { width: 246px; max-height: 72px; }
	.hldrills-footer__menu { justify-content: flex-end; gap: clamp(16px, 1.65vw, 26px); }
	.hldrills-footer__menu a { font-size: 15px; white-space: nowrap; }
	.hldrills-footer__contacts { gap: 24px; padding: 30px 0; }
	.hldrills-footer__contact { justify-content: flex-start; gap: 13px; }
	.hldrills-footer__contact img { width: 52px; height: 52px; flex-basis: 52px; }
	.hldrills-footer__contact span { gap: 6px; font-size: 14px; }
	.hldrills-footer__contact strong { font-size: 15px; }
}
@media (max-width: 1200px) {
	.hldrills-footer__menu { gap: 18px 26px; }
	.hldrills-footer__logo img { width: 260px; max-height: 76px; }
	.hldrills-footer__contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.hldrills-footer__contact { justify-content: flex-start; }
	.hldrills-footer__contact:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.hldrills-footer__contacts { grid-template-columns: 1fr; gap: 24px; }
	.hldrills-footer__contact:last-child { grid-column: auto; }
}