/*
Theme Name: Altior Child
Theme URI: https://altiorfutbolagency.com
Description: Child theme of Twenty Twenty-Five for Altior Futbol Agency. Home page with previews, plus About, Services, Players, and Contact pages, styled to the approved mockup.
Author: Brett
Template: twentytwentyfive
Version: 1.2.3
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: altior-child
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--base); }
:where(.alt-home, .alt-page) section[id] { scroll-margin-top: 84px; }

.alt-muted { color: rgba(244, 241, 234, 0.62); }
.alt-faint { color: rgba(244, 241, 234, 0.4); }
.alt-rule { border-bottom: 1px solid rgba(244, 241, 234, 0.1); }

/* Small uppercase gold label above headings */
.alt-eyebrow {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1);
	margin: 0;
}

/* ---------- Header ---------- */
.alt-header-wrap {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
/* The blur lives on a pseudo-element: backdrop-filter on the wrapper itself would trap the
   full-screen mobile menu (position: fixed) inside the header strip. */
.alt-header-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(12, 12, 13, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
body.admin-bar .alt-header-wrap { top: 32px; }
@media (max-width: 782px) { body.admin-bar .alt-header-wrap { top: 46px; } }

.alt-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 32px;
}
.alt-wordmark {
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 22px;
	letter-spacing: 0.15em;
	margin: 0;
}
.alt-wordmark a { color: var(--wp--preset--color--contrast); text-decoration: none; }

.alt-nav .wp-block-navigation-item__content {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.75);
	text-decoration: none;
	transition: color 0.15s;
}
.alt-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent-1); }
.alt-nav .alt-nav-cta > .wp-block-navigation-item__content {
	padding: 10px 20px;
	border: 1px solid var(--wp--preset--color--accent-1);
	border-radius: 2px;
	color: var(--wp--preset--color--accent-1);
}
/* Current page in the menu */
.alt-on-about .alt-nav-about > .wp-block-navigation-item__content,
.alt-on-services .alt-nav-services > .wp-block-navigation-item__content,
.alt-on-players .alt-nav-players > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent-1); }
.alt-on-contact .alt-nav-contact > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
}
.alt-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}
/* Mobile menu (open): full screen, big stacked links */
.alt-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.alt-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.alt-nav .is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	gap: 28px !important;
}
.alt-nav .is-menu-open .wp-block-navigation-item__content {
	font-size: 20px;
	letter-spacing: 0.08em;
}
.alt-nav .is-menu-open .alt-nav-cta > .wp-block-navigation-item__content { padding: 12px 24px; }
.alt-nav .wp-block-navigation__responsive-container-open svg,
.alt-nav .wp-block-navigation__responsive-container-close svg { fill: var(--wp--preset--color--contrast); }

/* ---------- Sections ---------- */
.alt-section { padding: 110px 32px; }
.alt-section--alt { background: var(--wp--preset--color--surface); }

/* Hero */
.alt-hero { padding: 140px 32px 120px; text-align: center; }
.alt-hero-logo { margin: 0 auto; max-width: min(480px, 80%); }
.alt-hero-logo img { width: 100%; height: auto; }
.alt-tagline {
	font-family: var(--wp--preset--font-family--poiret-one);
	letter-spacing: 0.04em;
	font-size: clamp(20px, 2.6vw, 28px);
	line-height: 1.4;
	color: rgba(244, 241, 234, 0.88);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.alt-hero-sub { max-width: 520px; margin-left: auto; margin-right: auto; font-size: 15px; line-height: 1.7; }

/* Buttons */
.alt-btn .wp-block-button__link {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 16px 32px;
	border-radius: 2px;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.alt-btn--primary .wp-block-button__link {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--accent-1);
}
.alt-btn--primary .wp-block-button__link:hover { background: var(--wp--preset--color--accent-2); border-color: var(--wp--preset--color--accent-2); }
.alt-btn--ghost .wp-block-button__link {
	background: transparent;
	color: rgba(244, 241, 234, 0.85);
	border: 1px solid rgba(244, 241, 234, 0.3);
	font-weight: 500;
}
.alt-btn--ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--accent-1); }

/* Headings */
.alt-h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.35; margin: 0; }
.alt-lede {
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.35;
	margin: 0;
}

/* About: label column + text column */
.alt-split { gap: 40px; }
.alt-split > .wp-block-column:first-child { flex-basis: 33.33%; flex-grow: 0; }
.alt-split > .wp-block-column:last-child { flex-basis: 66.66%; }

/* Services cards */
.alt-cards { gap: 24px; }
.alt-card {
	border: 1px solid rgba(244, 241, 234, 0.14);
	border-radius: 4px;
	padding: 36px 28px;
	transition: border-color 0.15s;
}
.alt-card:hover { border-color: rgba(244, 241, 234, 0.28); }
.alt-card h2,
.alt-card h3 { font-size: 19px; margin: 16px 0 0; }
.alt-cards--compact .alt-card { padding: 28px; }
.alt-card p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.alt-icon svg { width: 28px; height: 28px; stroke: var(--wp--preset--color--accent-1); display: block; }

/* Players / intake */
.alt-players { gap: 48px; }
.alt-players > .wp-block-column:first-child { flex-basis: 41.66%; flex-grow: 0; }
.alt-players > .wp-block-column:last-child { flex-basis: 58.33%; }
.alt-note {
	font-size: 12px;
	line-height: 1.7;
	color: rgba(244, 241, 234, 0.4);
	border-left: 2px solid rgba(244, 241, 234, 0.2);
	padding-left: 14px;
}

/* Intro paragraph under a centered page heading */
.alt-intro { max-width: 760px; margin: 0 auto 56px; font-size: 16px; line-height: 1.8; }

/* About: team */
.alt-member { padding-top: 48px; margin-top: 48px; border-top: 1px solid rgba(244, 241, 234, 0.1); }
.alt-member:first-of-type { border-top: 0; margin-top: 32px; padding-top: 0; }
.alt-member .alt-muted { font-size: 15px; line-height: 1.8; }
.alt-member .alt-muted:first-child { margin-top: 0; }
.alt-monogram {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 24px;
	letter-spacing: 0.08em;
}
.alt-member-name { font-size: 24px; margin: 20px 0 0; }
.alt-member-role {
	margin: 6px 0 0;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1);
}
.alt-member-subhead {
	margin: 32px 0 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1);
}
.alt-credentials { list-style: none; margin: 14px 0 0; padding: 0; }
.alt-credentials li {
	position: relative;
	padding: 10px 0 10px 22px;
	border-bottom: 1px solid rgba(244, 241, 234, 0.08);
	font-size: 15px;
	line-height: 1.6;
	color: rgba(244, 241, 234, 0.82);
}
.alt-credentials li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 20px;
	width: 10px;
	height: 1px;
	background: var(--wp--preset--color--accent-1);
}
.alt-motto {
	margin-top: 28px;
	padding-left: 16px;
	border-left: 2px solid var(--wp--preset--color--accent-1);
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 18px;
	line-height: 1.7;
	color: rgba(244, 241, 234, 0.88);
}

/* Contact page details */
.alt-contact-details { margin-top: 40px; }
.alt-contact-details .alt-footer-label { margin-top: 24px; }
.alt-contact-details .alt-footer-label:first-child { margin-top: 0; }
.alt-contact-details p:not(.alt-footer-label) { margin: 6px 0 0; }
.alt-contact-details a { color: rgba(244, 241, 234, 0.85); text-decoration: none; }
.alt-contact-details a:hover { color: var(--wp--preset--color--accent-1); }

/* ---------- Footer ---------- */
.alt-footer { padding: 90px 32px 50px; }
.alt-footer-inner { max-width: 1200px; margin: 0 auto; }
.alt-footer-brand {
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 20px;
	letter-spacing: 0.08em;
	margin: 0;
}
.alt-footer-label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.45);
	margin: 0;
}
.alt-footer a { color: rgba(244, 241, 234, 0.8); text-decoration: none; }
.alt-footer a:hover { color: var(--wp--preset--color--accent-1); }
.alt-footer-bottom {
	border-top: 1px solid rgba(244, 241, 234, 0.1);
	padding-top: 24px;
	font-size: 12px;
	color: rgba(244, 241, 234, 0.35);
}
.alt-footer-bottom p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.alt-header { padding: 16px 20px; }
	.alt-section { padding: 72px 20px; }
	.alt-hero { padding: 96px 20px 80px; }
	.alt-footer { padding: 64px 20px 40px; }
	.alt-split > .wp-block-column,
	.alt-players > .wp-block-column { flex-basis: 100% !important; }
	.alt-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.alt-hero .wp-block-button { width: 100%; }
	.alt-hero .wp-block-button__link { width: 100%; }
}
