/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://ayalatax.com.mx
 Description:  Child theme of Hello Elementor for Ayala Tax
 Author:       Ayala Tax
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* ---------- Header toggle ("MENÚ" + hamburger block) ---------- */
button.at-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #C39F60;
	font: 700 18px/1 Poppins, Roboto, sans-serif;
	letter-spacing: 1px;
	white-space: nowrap;
}
.at-menu-toggle .at-menu-label { display: block; line-height: 1; }
button.at-menu-toggle,
button.at-menu-toggle:hover,
button.at-menu-toggle:focus { background: transparent; color: #C39F60; border: 0; outline: 0; }
.at-menu-toggle .at-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 42px;
	height: 42px;
	padding: 0 10px;
	background: #C39F60;
	border-radius: 3px;
}
.at-menu-toggle .at-burger i { display: block; height: 2px; background: #fff; }
@media (max-width: 767px) {
	.at-menu-toggle span.at-menu-label { display: none; }
	.at-menu-toggle .at-burger { width: 38px; height: 38px; }
}

/* ---------- Off-canvas panel (right side) ---------- */
.at-offcanvas-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
	z-index: 9998;
}
.at-offcanvas {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 360px;
	max-width: 85vw;
	background: #262626;
	transform: translateX(100%);
	transition: transform .35s ease;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}
body.at-menu-open .at-offcanvas { transform: translateX(0); }
body.at-menu-open .at-offcanvas-overlay { opacity: 1; visibility: visible; }

.at-offcanvas-close {
	align-self: flex-end;
	margin: 92px 28px 0 0;
	width: 34px;
	height: 34px;
	padding: 0;
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 0;
	font: 700 16px/1 Poppins, Roboto, sans-serif;
	cursor: pointer;
}
.at-offcanvas .at-offcanvas-close,
.at-offcanvas .at-offcanvas-close:focus { color: #fff; border: 1px solid #fff; background: transparent; outline: 0; }
.at-offcanvas .at-offcanvas-close:hover { background: #C39F60; border-color: #C39F60; color: #fff; }
.at-offcanvas-title {
	margin: 70px 0 34px;
	text-align: center;
	color: #fff;
	font: 700 28px/1 Poppins, Roboto, sans-serif;
	letter-spacing: 1px;
}
.at-offcanvas-menu { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.at-offcanvas-menu li { margin: 0; border-top: 1px solid rgba(255,255,255,.08); }
.at-offcanvas-menu a {
	display: block;
	padding: 22px 20px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font: 600 15px/1.25 Poppins, Roboto, sans-serif;
	letter-spacing: .5px;
	text-decoration: none;
}
.at-offcanvas-menu a:hover,
.at-offcanvas-menu .current-menu-item > a { color: #C39F60; }
body.at-menu-open { overflow: hidden; }

/* ---------- Gold arrow lists (Nosotros tabs) ---------- */
.at-list { list-style: none; margin: 0; padding: 0; }
.at-list li {
	position: relative;
	margin: 0 0 18px;
	padding-left: 36px;
	color: #2B2B2B;
	font-size: 16px;
	line-height: 1.35;
}
.at-list li::before {
	content: "\f138";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 0;
	color: #C39F60;
	font-size: 22px;
	line-height: 1;
}
.at-list li strong { display: block; font-weight: 600; }
.at-list li span { display: block; font-size: 14px; opacity: .85; }
.at-tab-lead { margin: 0 0 22px; font-size: 14px; color: #2B2B2B; }
