/*
Theme Name: ETCO Global
Theme URI: https://etco.global/
Author: ETCO Global
Author URI: https://etco.global/
Description: Pixel-perfect, ACF-driven homepage built from the ETCO Global Figma design. Child theme of Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.2.4
Requires at least: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: etco-global
*/

/* --------------------------------------------------- Dynamic site chrome */

.etco-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 247px;
	min-width: 0;
}

.etco-header__actions .etco-header__cta {
	margin-left: 0;
}

.etco-header__phone {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
	gap: 2px;
	width: 113px;
	max-width: 113px;
	color: currentColor;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: 1.2;
	opacity: 0.72;
	white-space: nowrap;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.etco-header__phone-label {
	color: var(--etco-gold);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.etco-header.is-scrolled .etco-header__phone-label {
	color: var(--etco-gold-light);
}

.etco-header__phone:hover,
.etco-header__phone:focus-visible {
	color: var(--etco-gold);
	opacity: 1;
}

.etco-header.is-scrolled .etco-header__phone:hover,
.etco-header.is-scrolled .etco-header__phone:focus-visible {
	color: var(--etco-gold-light);
}

.etco-nav__phone {
	display: none;
}

/* Contact button inside the hamburger menu: only where the header button is hidden. */
.etco-nav .etco-nav__cta {
	display: none;
}

@media (max-width: 767px) {
	.etco-nav .etco-nav__cta {
		display: inline-flex;
		margin-top: 18px;
	}
}

/* --------------------------------------------------------- Footer contact */

.etco-footer__contact {
	display: grid;
	gap: 2px;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.74);
	font-family: "Manrope", Arial, sans-serif;
	font-size: 10px;
	font-style: normal;
	line-height: 14px;
	overflow-wrap: anywhere;
}

.etco-footer__contact a {
	color: rgba(255, 255, 255, 0.82);
	transition: color 0.25s ease;
}

.etco-footer__contact a:hover,
.etco-footer__contact a:focus-visible {
	color: var(--etco-gold-light);
}

.etco-footer__bottom {
	align-items: center;
	flex-wrap: nowrap;
}

.etco-footer__legal {
	display: contents;
}

.etco-footer__legal span:first-child {
	order: 1;
	margin-right: auto;
}

.etco-footer__legal span:last-child {
	order: 3;
}

.etco-footer__social {
	order: 2;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.etco-footer__social li {
	display: flex;
	align-items: center;
}

.etco-footer__social li + li::before {
	content: "·";
	margin-right: 8px;
	color: rgba(255, 255, 255, 0.5);
}

.etco-footer__social a {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: rgba(255, 255, 255, 0.74);
	font-family: "Manrope", Arial, sans-serif;
	font-size: 10px;
	letter-spacing: 0;
	line-height: 12px;
	text-decoration: none;
	transition: color 0.25s ease;
}

.etco-footer__social a > span:first-child {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	border: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.etco-footer__social a:hover,
.etco-footer__social a:focus-visible {
	color: var(--etco-gold-light);
}

/* ------------------------------------------------------- Widgets/sidebar */

.etco-sidebar__feature h2 {
	margin-bottom: 14px;
}

.etco-sidebar__feature-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	object-fit: cover;
}

.etco-sidebar__feature-description {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12.5px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.etco-sidebar__feature-button {
	width: 100%;
	margin-top: 16px;
}

.etco-sidebar__feature-contact {
	display: grid;
	gap: 6px;
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 11px;
	font-style: normal;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.etco-sidebar__feature-contact a {
	color: rgba(255, 255, 255, 0.86);
	transition: color 0.25s ease;
}

.etco-sidebar__feature-contact a:hover,
.etco-sidebar__feature-contact a:focus-visible {
	color: var(--etco-gold-light);
}

.etco-sidebar__widget-area .etco-widget + .etco-widget {
	margin-top: 24px;
}

.etco-widget__title {
	margin-bottom: 12px;
	color: var(--etco-gold-soft);
	font-family: "IBM Plex Mono", monospace;
	font-size: 10.88px;
	font-weight: 600;
	letter-spacing: 1.523px;
	line-height: 1;
	text-transform: uppercase;
}

.etco-widget p,
.etco-widget li {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.etco-widget ul {
	margin: 0;
	padding-left: 18px;
}

.etco-widget a {
	color: rgba(255, 255, 255, 0.86);
	transition: color 0.25s ease;
}

.etco-widget a:hover,
.etco-widget a:focus-visible {
	color: var(--etco-gold-light);
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1200px) {
	.etco-header__actions {
		width: 220px;
	}

	.etco-header__phone {
		width: 95px;
		max-width: 95px;
		font-size: 9px;
	}

	.etco-header__phone-label {
		display: none;
	}
}

@media (max-width: 1024px) {
	.etco-header__phone {
		display: none;
	}

	.etco-header__actions {
		width: auto;
		margin-left: 0;
	}

	.etco-nav__mega-toggle {
		position: static;
		left: auto;
		width: 32px;
		height: 32px;
		transform: none;
	}

	.etco-nav__phone {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-top: 10px;
		padding: 14px 0 2px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		color: rgba(255, 255, 255, 0.72);
		font-size: 12px;
	}

	.etco-nav__phone strong {
		color: var(--etco-gold-light);
		font-weight: 700;
	}
}

@media (max-width: 767px) {
	.etco-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.etco-footer__legal {
		display: grid;
		gap: 6px;
	}

	.etco-footer__legal span:first-child {
		margin-right: 0;
	}

	.etco-footer__social {
		order: 0;
		flex-wrap: wrap;
	}

	.etco-sidebar__feature-image {
		aspect-ratio: 2 / 1;
	}
}

@media (max-width: 425px) {
	.etco-footer__social {
		gap: 6px;
	}

	.etco-sidebar__feature-button {
		font-size: 11px;
	}
}
