/**
 * Your Goals Media — growing custom CSS
 * Page/section-specific styles go here as we build (Home, About,
 * Contact, the Let's Achieve wizard, Blog, etc). Keeps style.css
 * limited to design tokens + reusable utilities.
 */

/* Accessibility skip-link — hidden until focused */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	background: var(--ygm-primary);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--ygm-radius-sm) 0;
}
.skip-link:focus {
	left: 0;
}

/* =========================================================
   NAVBAR
   Reproduces the original's two independent states:
   1. Background: transparent by default, solid+blurred once
      scrolled past 20px — same on every page.
   2. Text/logo colour: white (over a dark/image hero) ONLY on
      the front page while unscrolled. Everywhere else — and on
      the front page once scrolled — text/logo default to dark.
   ========================================================= */
.ygm-navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.ygm-navbar.is-scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--ygm-border);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.ygm-navbar-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem 1.5rem;
}

.ygm-logo-link { display: flex; align-items: center; }
.ygm-logo { height: 40px; width: auto; }
.ygm-logo-dark { display: none; }

.ygm-nav-desktop { display: none; }
.ygm-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2rem;
}
.ygm-nav-list a {
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ygm-muted-foreground);
	transition: color 0.3s ease;
}
.ygm-nav-list a:hover,
.ygm-nav-list .current-menu-item > a {
	color: var(--ygm-primary);
}

.ygm-cta-btn {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	background: linear-gradient(135deg, var(--ygm-accent), var(--ygm-primary));
	color: #fff !important;
	padding: 0.65rem 1.5rem;
	border-radius: 999px;
	font-family: var(--ygm-font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(116, 74, 242, 0.25);
	transition: opacity 0.2s ease;
}
.ygm-cta-btn:hover { opacity: 0.9; }
.ygm-cta-mobile { display: none; }

.ygm-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--ygm-foreground);
}
.ygm-menu-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.ygm-menu-toggle.is-open .ygm-menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ygm-menu-toggle.is-open .ygm-menu-bar:nth-child(2) { opacity: 0; }
.ygm-menu-toggle.is-open .ygm-menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ygm-mobile-menu {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	background: var(--ygm-background);
	border-bottom: 0 solid var(--ygm-border);
	transition: max-height 0.3s ease, opacity 0.3s ease;
}
.ygm-mobile-menu.is-open {
	max-height: 600px;
	opacity: 1;
	border-bottom-width: 1px;
}
.ygm-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 1rem 1.5rem;
}
.ygm-mobile-nav-list a {
	display: block;
	padding: 0.6rem 0;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ygm-muted-foreground);
}
.ygm-mobile-nav-list .current-menu-item > a { color: var(--ygm-primary); }
.ygm-mobile-menu .ygm-cta-mobile {
	display: inline-flex;
	margin: 0 1.5rem 1.25rem;
}

/* Home page, unscrolled: white text + white logo over the hero */
.ygm-navbar.is-home:not(.is-scrolled) .ygm-logo-white { display: block; }
.ygm-navbar.is-home:not(.is-scrolled) .ygm-logo-dark { display: none; }
.ygm-navbar.is-home:not(.is-scrolled) .ygm-nav-list a {
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.ygm-navbar.is-home:not(.is-scrolled) .ygm-nav-list a:hover,
.ygm-navbar.is-home:not(.is-scrolled) .ygm-nav-list .current-menu-item > a {
	color: #fff;
}
.ygm-navbar.is-home:not(.is-scrolled) .ygm-menu-toggle { color: #fff; }

/* Every other state (any non-home page, or home once scrolled) uses
   the dark logo by default — enforced explicitly since .ygm-logo-dark
   is display:none by default above. */
.ygm-navbar:not(.is-home) .ygm-logo-dark,
.ygm-navbar.is-scrolled .ygm-logo-dark { display: block; }
.ygm-navbar:not(.is-home) .ygm-logo-white,
.ygm-navbar.is-scrolled .ygm-logo-white { display: none; }

@media (min-width: 768px) {
	.ygm-nav-desktop { display: block; }
	.ygm-cta-desktop { display: inline-flex; }
	.ygm-menu-toggle { display: none; }
	.ygm-mobile-menu { display: none; }
}

/* Push page content below the fixed navbar */
.ygm-main { padding-top: 0px; }

/* =========================================================
   FOOTER
   ========================================================= */
.ygm-footer {
	background: var(--ygm-secondary);
	color: var(--ygm-secondary-foreground);
}
.ygm-footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 4rem 1.5rem;
}
.ygm-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
.ygm-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.ygm-footer-logo { height: 40px; width: auto; }
.ygm-footer-tagline {
	font-size: 0.875rem;
	line-height: 1.6;
	opacity: 0.7;
	margin: 0.75rem 0 0;
	max-width: 20rem;
}
.ygm-footer-socials { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.ygm-social-btn {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	color: currentColor;
	transition: all 0.2s ease;
}
.ygm-social-btn svg { width: 16px; height: 16px; }
.ygm-social-btn:hover { opacity: 1; border-color: var(--ygm-primary); }

.ygm-footer-heading {
	font-family: var(--ygm-font-heading);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1rem;
}
.ygm-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.ygm-footer-links a {
	font-size: 0.875rem;
	opacity: 0.7;
	color: currentColor;
	text-decoration: none;
	transition: all 0.2s ease;
}
.ygm-footer-links a:hover { opacity: 1; color: var(--ygm-primary); }

.ygm-footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.ygm-footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	opacity: 0.7;
}
.ygm-footer-contact-list svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--ygm-primary);
}
.ygm-footer-contact-list a { color: currentColor; text-decoration: none; }
.ygm-footer-contact-list a:hover { color: var(--ygm-primary); }
.ygm-footer-cta { margin-top: 1.5rem; }

.ygm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem 0; }
.ygm-footer-bottom-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
}
.ygm-footer-bottom-inner p { font-size: 0.75rem; opacity: 0.5; margin: 0; }
.ygm-footer-bottom-inner a { color: currentColor; text-decoration: underline; }

@media (min-width: 768px) {
	.ygm-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.ygm-footer-brand { grid-column: span 2; align-items: flex-start; text-align: left; }
	.ygm-footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
	.ygm-footer-grid { grid-template-columns: repeat(12, 1fr); }
	.ygm-footer-brand { grid-column: span 4; }
	.ygm-footer-col { grid-column: span 3; }
	.ygm-footer-contact { grid-column: span 2; }
}

/* =========================================================
   SHARED LAYOUT / TYPE HELPERS (used across Home + future pages)
   ========================================================= */
.ygm-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.ygm-section { padding: 6rem 0; }
@media (min-width: 768px) { .ygm-section { padding: 8rem 0; } }

.ygm-overline {
	font-family: var(--ygm-font-heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ygm-primary);
	margin: 0 0 1rem;
}
.ygm-overline-light { color: rgba(255, 255, 255, 0.8); }

.ygm-h2 { font-family: var(--ygm-font-heading); font-weight: 700; line-height: 1.2; font-size: 1.875rem; margin: 0; }
@media (min-width: 768px) { .ygm-h2 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .ygm-h2 { font-size: 3rem; } }

.ygm-h2-lg { font-family: var(--ygm-font-heading); font-weight: 700; line-height: 1.15; font-size: 2.25rem; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .ygm-h2-lg { font-size: 3.75rem; } }

.ygm-section-head { text-align: center; margin-bottom: 4rem; }

.ygm-pullquote {
	font-family: var(--ygm-font-heading);
	font-weight: 600;
	font-style: italic;
	font-size: 1.125rem;
	color: var(--ygm-foreground);
	border-left: 4px solid var(--ygm-primary);
	padding-left: 1.25rem;
	margin: 1.5rem 0;
}

.ygm-body-text { color: var(--ygm-muted-foreground); line-height: 1.7; margin: 0 0 1rem; }

.ygm-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--ygm-primary);
	font-family: var(--ygm-font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: gap 0.2s ease;
}
.ygm-link-arrow svg { width: 16px; height: 16px; }
.ygm-link-arrow:hover { gap: 0.65rem; }

.ygm-cta-btn svg { width: 16px; height: 16px; margin-left: 0.4rem; }

.ygm-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	padding: 0.85rem 2rem;
	border-radius: 999px;
	font-family: var(--ygm-font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
}
.ygm-btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.1); }

/* =========================================================
   HERO
   ========================================================= */
.ygm-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
@media (min-width: 768px) {
	.ygm-hero { align-items: flex-start; padding-top: 6rem; }
}

.ygm-hero-bg { position: absolute; inset: 0; }
.ygm-hero-img { width: 100%; height: 100%; object-fit: cover; }
.ygm-hero-img-desktop { display: none; }
.ygm-hero-img-mobile { display: block; animation: ygm-hero-zoom 1.5s ease-out both; }
@media (min-width: 768px) {
	.ygm-hero-img-mobile { display: none; }
	.ygm-hero-img-desktop { display: block; animation: ygm-hero-zoom 1.5s ease-out both; }
}
@keyframes ygm-hero-zoom {
	from { transform: scale(1.1); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

@keyframes ygm-hero-fade-100 {
	from { opacity: 0; transform: translateY(25px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes ygm-hero-fade-80 {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 0.8; transform: translateY(0); }
}

.ygm-hero-content {
	position: relative;
	z-index: 10;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) { .ygm-hero-content { text-align: left; } }

.ygm-hero-overline {
	font-family: var(--ygm-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
	opacity: 0;
	animation: ygm-hero-fade-80 0.6s ease-out 0.3s forwards;
}
.ygm-hero-title {
	font-family: var(--ygm-font-heading);
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 1;
	margin: 0 0 1.5rem;
	opacity: 0;
	animation: ygm-hero-fade-100 0.7s ease-out 0.5s forwards;
}
@media (min-width: 768px) { .ygm-hero-title { font-size: 4rem; } }
@media (min-width: 1024px) { .ygm-hero-title { font-size: 4.5rem; } }

.ygm-hero-subtitle {
	font-size: 1.125rem;
	max-width: 40rem;
	margin: 0 auto 2.5rem;
	opacity: 0;
	animation: ygm-hero-fade-80 0.6s ease-out 0.8s forwards;
}
@media (min-width: 768px) { .ygm-hero-subtitle { margin: 0 0 2.5rem; } }

.ygm-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
}
@media (min-width: 640px) { .ygm-hero-actions { flex-direction: row; } }
@media (min-width: 768px) { .ygm-hero-actions { justify-content: flex-start; } }

.ygm-hero-anim-actions { opacity: 0; animation: ygm-hero-fade-100 0.6s ease-out 1s forwards; }

.ygm-hero-scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	animation: ygm-hero-fade-100 0.4s ease-out 1.5s forwards;
}
.ygm-hero-scroll-indicator span {
	display: block;
	width: 20px;
	height: 32px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	position: relative;
}
.ygm-hero-scroll-indicator span::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 50%;
	width: 4px;
	height: 6px;
	background: #fff;
	border-radius: 999px;
	animation: ygm-scroll-dot 1.5s infinite;
}
@keyframes ygm-scroll-dot {
	0%, 100% { transform: translate(-50%, 0); }
	50%      { transform: translate(-50%, 8px); }
}

/* =========================================================
   WHAT WE DO
   ========================================================= */
.ygm-wwd-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) {
	.ygm-wwd-grid { grid-template-columns: 4fr 8fr; gap: 4rem; }
	.ygm-wwd-left { position: sticky; top: 8rem; }
}
.ygm-wwd-cta { margin-top: 2rem; }
.ygm-wwd-right { display: flex; flex-direction: column; gap: 2rem; }

.ygm-lead { font-size: 1rem; color: var(--ygm-muted-foreground); line-height: 1.7; margin: 0; }
@media (min-width: 768px) { .ygm-lead { font-size: 1.125rem; } }

.ygm-emphasis { font-family: var(--ygm-font-heading); font-weight: 600; font-size: 1.25rem; line-height: 1.4; color: var(--ygm-foreground); margin: 0; }
@media (min-width: 768px) { .ygm-emphasis { font-size: 1.5rem; } }

.ygm-mini-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ygm-mini-cards { grid-template-columns: repeat(3, 1fr); } }
.ygm-mini-card { background: var(--ygm-card); border: 1px solid var(--ygm-border); border-radius: var(--ygm-radius-sm); padding: 1.25rem; text-align: center; }
.ygm-mini-card p { margin: 0; font-family: var(--ygm-font-heading); font-weight: 600; font-size: 1rem; color: var(--ygm-foreground); }

.ygm-wwd-body { display: flex; flex-direction: column; gap: 1rem; color: var(--ygm-muted-foreground); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .ygm-wwd-body { font-size: 1.125rem; } }
.ygm-wwd-body p { margin: 0; }

/* =========================================================
   ABOUT PREVIEW
   ========================================================= */
.ygm-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .ygm-about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ygm-about-img-wrap { border-radius: 1rem; overflow: hidden; }
.ygm-about-img { width: 100%; height: 450px; object-fit: cover; display: block; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.ygm-testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ygm-testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.ygm-testimonial-card { background: var(--ygm-card); border: 1px solid var(--ygm-border); border-radius: 1rem; padding: 2rem; }
.ygm-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.ygm-stars svg { width: 16px; height: 16px; color: #facc15; }
.ygm-testimonial-text { font-size: 0.875rem; color: var(--ygm-muted-foreground); line-height: 1.7; margin: 0 0 1.5rem; }
.ygm-testimonial-name { font-family: var(--ygm-font-heading); font-weight: 600; font-size: 0.875rem; margin: 0; }
.ygm-testimonial-role { font-size: 0.75rem; color: var(--ygm-muted-foreground); margin: 0.2rem 0 0; }

/* =========================================================
   BLOG TEASER
   ========================================================= */
.ygm-blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ygm-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.ygm-blog-card { background: var(--ygm-card); border: 1px solid var(--ygm-border); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s ease; }
.ygm-blog-card:hover { border-color: rgba(116, 74, 242, 0.2); box-shadow: 0 10px 30px -10px rgba(116, 74, 242, 0.08); }
.ygm-blog-card-img-link { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ygm-blog-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.ygm-blog-card:hover .ygm-blog-card-img-link img { transform: scale(1.05); }
.ygm-blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ygm-blog-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.ygm-blog-tag {
	font-family: var(--ygm-font-heading);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--ygm-accent);
	color: #fff;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}
.ygm-blog-date { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--ygm-muted-foreground); }
.ygm-blog-date svg { width: 12px; height: 12px; }
.ygm-blog-card-title { font-family: var(--ygm-font-heading); font-size: 1.125rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.5rem; color: var(--ygm-foreground); }
.ygm-blog-card-body a:hover .ygm-blog-card-title { color: var(--ygm-primary); }
.ygm-blog-card-excerpt { font-size: 0.875rem; color: var(--ygm-muted-foreground); line-height: 1.7; margin: 0 0 1rem; flex: 1; }
.ygm-blog-viewall { text-align: center; margin-top: 3rem; }

/* =========================================================
   CTA (dark, closing section)
   ========================================================= */
.ygm-cta-dark {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #0B092A 0%, #17143D 100%);
	color: #fff;
}
.ygm-cta-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	border-radius: 999px;
	background: rgba(116, 74, 242, 0.15);
	filter: blur(120px);
	pointer-events: none;
}
.ygm-cta-content { max-width: 48rem; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ygm-cta-subtitle { font-size: 1.125rem; opacity: 0.7; max-width: 36rem; margin: 0 auto 2.5rem; }
.ygm-cta-btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* =========================================================
   INNER-PAGE HERO (Contact, and reusable for About/Blog/etc.)
   ========================================================= */
.ygm-page-hero { padding: 8rem 0 4rem; text-align: center; }
@media (min-width: 768px) { .ygm-page-hero { padding: 10rem 0 5rem; } }
.ygm-page-hero-inner { max-width: 48rem; margin: 0 auto; }
.ygm-center { text-align: center; }

.ygm-h1 { font-family: var(--ygm-font-heading); font-weight: 700; font-size: 2.25rem; line-height: 1.15; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .ygm-h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .ygm-h1 { font-size: 4.5rem; } }

.ygm-page-hero-subtitle { font-size: 1.125rem; color: var(--ygm-muted-foreground); max-width: 40rem; margin: 0 auto; }

.ygm-section-sm { padding: 3rem 0; }
.ygm-pb-lg { padding-bottom: 6rem; }
.ygm-container-narrow { max-width: 64rem; margin: 0 auto; }
.ygm-container-form { max-width: 48rem; margin: 0 auto; }

/* =========================================================
   CONTACT INFO CARDS
   ========================================================= */
.ygm-contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .ygm-contact-cards { grid-template-columns: repeat(4, 1fr); } }
.ygm-contact-card {
	background: var(--ygm-card);
	border: 1px solid var(--ygm-border);
	border-radius: 1rem;
	padding: 1.25rem;
	text-align: center;
	transition: all 0.2s ease;
}
.ygm-contact-card:hover { border-color: rgba(116, 74, 242, 0.2); box-shadow: 0 4px 16px -4px rgba(116, 74, 242, 0.08); }
.ygm-contact-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 0.75rem;
	background: var(--ygm-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75rem;
	color: var(--ygm-primary);
}
.ygm-contact-card-icon svg { width: 20px; height: 20px; }
.ygm-contact-card-label { font-size: 0.75rem; color: var(--ygm-muted-foreground); margin: 0 0 0.25rem; }
.ygm-contact-card-value { font-size: 0.875rem; font-weight: 500; margin: 0; color: var(--ygm-foreground); }
.ygm-contact-card-link { text-decoration: none; }
.ygm-contact-card-link:hover { color: var(--ygm-primary); }

/* =========================================================
   FORM CARD
   ========================================================= */
.ygm-form-card { background: var(--ygm-card); border: 1px solid var(--ygm-border); border-radius: 1rem; padding: 2rem; }
@media (min-width: 768px) { .ygm-form-card { padding: 3rem; } }
.ygm-form-card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.ygm-form-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 0.75rem;
	background: var(--ygm-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ygm-primary);
	flex-shrink: 0;
}
.ygm-form-card-icon svg { width: 20px; height: 20px; }
.ygm-form-card-title { font-family: var(--ygm-font-heading); font-size: 1.5rem; font-weight: 700; margin: 0; }
.ygm-form-card-subtitle { font-size: 0.875rem; color: var(--ygm-muted-foreground); margin: 0 0 2rem; }

.ygm-contact-socials { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; }
.ygm-contact-socials span { font-size: 0.75rem; color: var(--ygm-muted-foreground); margin-right: 0.2rem; }
.ygm-social-btn-outline { border-color: var(--ygm-border); color: var(--ygm-muted-foreground); opacity: 1; }
.ygm-social-btn-outline:hover { color: var(--ygm-primary); border-color: rgba(116, 74, 242, 0.3); }

.ygm-consultation-banner {
	margin-top: 1.5rem;
	border: 1px solid rgba(116, 74, 242, 0.2);
	border-radius: 1rem;
	padding: 1.5rem;
	background: rgba(56, 165, 255, 0.06);
	text-align: center;
}
.ygm-consultation-banner h3 { font-family: var(--ygm-font-heading); font-size: 1.125rem; font-weight: 600; margin: 0 0 0.25rem; }
.ygm-consultation-banner p { font-size: 0.875rem; color: var(--ygm-muted-foreground); margin: 0; }

/* =========================================================
   FLUENT FORMS — visual match to the site's inputs/buttons.
   This covers structural bits Fluent Forms doesn't expose an
   easy setting for (spacing between fields, wrap width). The
   colors/radius/button gradient are set via the Custom CSS/JS
   panel *inside* Fluent Forms itself (per-form, see setup notes)
   since that CSS only loads on pages using that form.
   ========================================================= */
.ygm-fluentform-wrap { margin-top: 0.5rem; }
.ygm-fluentform-wrap .ff-el-group { margin-bottom: 1.25rem; }

/* =========================================================
   ABOUT — STATS
   ========================================================= */
.ygm-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .ygm-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.ygm-stat-card {
	text-align: center;
	padding: 2rem 1rem;
	background: var(--ygm-background);
	border: 1px solid var(--ygm-border);
	border-radius: 1rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.ygm-stat-value { font-family: var(--ygm-font-heading); font-weight: 700; font-size: 1.875rem; }
@media (min-width: 768px) { .ygm-stat-value { font-size: 2.25rem; } }
.ygm-stat-label { font-size: 0.875rem; color: var(--ygm-muted-foreground); margin-top: 0.5rem; }

/* =========================================================
   ABOUT — VALUES
   ========================================================= */
.ygm-values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ygm-values-grid { grid-template-columns: repeat(2, 1fr); } }
.ygm-value-card {
	background: var(--ygm-card);
	border: 1px solid var(--ygm-border);
	border-radius: 1rem;
	padding: 2rem;
	transition: all 0.3s ease;
}
.ygm-value-card:hover { border-color: rgba(116, 74, 242, 0.3); box-shadow: 0 8px 24px -8px rgba(116, 74, 242, 0.1); }
.ygm-value-icon {
	width: 56px;
	height: 56px;
	border-radius: 0.75rem;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: var(--ygm-primary);
}
.ygm-value-icon svg { width: 28px; height: 28px; }
.ygm-value-title { font-family: var(--ygm-font-heading); font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; }
.ygm-value-desc { font-size: 0.875rem; color: var(--ygm-muted-foreground); line-height: 1.7; margin: 0; }

/* =========================================================
   ABOUT — TEAM
   ========================================================= */
.ygm-team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .ygm-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ygm-team-grid { grid-template-columns: repeat(4, 1fr); } }
.ygm-team-card {
	background: var(--ygm-background);
	border: 1px solid var(--ygm-border);
	border-radius: 1rem;
	padding: 1.5rem;
	text-align: center;
	transition: all 0.3s ease;
}
.ygm-team-card:hover { box-shadow: 0 8px 24px -8px rgba(116, 74, 242, 0.1); }
.ygm-team-avatar {
	width: 80px;
	height: 80px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ygm-accent), var(--ygm-primary));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	color: #fff;
	font-family: var(--ygm-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
}
.ygm-team-name { font-family: var(--ygm-font-heading); font-weight: 600; font-size: 1rem; margin: 0; }
.ygm-team-role { font-size: 0.75rem; font-weight: 500; color: var(--ygm-primary); margin: 0.25rem 0 0.5rem; }
.ygm-team-desc { font-size: 0.75rem; color: var(--ygm-muted-foreground); line-height: 1.6; margin: 0; }

/* =========================================================
   CTA — simple variant (no glow circle / subtitle, used on About
   and other inner pages; ygm-cta-dark still supplies the bg/color)
   ========================================================= */
.ygm-cta-dark-simple { padding: 5rem 0; }
.ygm-mt-lg { margin-top: 2rem; }

/* =========================================================
   BLOG LISTING
   ========================================================= */
.ygm-blog-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 3rem;
}
.ygm-filter-btn {
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	font-family: var(--ygm-font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	background: var(--ygm-card);
	border: 1px solid var(--ygm-border);
	color: var(--ygm-muted-foreground);
	cursor: pointer;
	transition: all 0.2s ease;
}
.ygm-filter-btn:hover { border-color: rgba(116, 74, 242, 0.3); color: var(--ygm-foreground); }
.ygm-filter-btn.is-active {
	background: linear-gradient(135deg, var(--ygm-accent), var(--ygm-primary));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px rgba(116, 74, 242, 0.25);
}

.ygm-blog-listing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .ygm-blog-listing-grid { grid-template-columns: repeat(3, 1fr); } }

.ygm-blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.ygm-blog-card-author-date { font-size: 0.75rem; color: var(--ygm-muted-foreground); }

/* =========================================================
   SINGLE POST
   ========================================================= */
.ygm-container-post { max-width: 56rem; margin: 0 auto; }

.ygm-post-hero { padding: 7rem 0 0; }
@media (min-width: 768px) { .ygm-post-hero { padding-top: 8rem; } }

.ygm-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ygm-font-heading);
	font-size: 0.875rem;
	color: var(--ygm-muted-foreground);
	text-decoration: none;
	margin-bottom: 2rem;
}
.ygm-back-link svg { width: 16px; height: 16px; }
.ygm-back-link:hover { color: var(--ygm-primary); }

.ygm-post-tag { margin-bottom: 1.5rem; display: inline-block; }
.ygm-post-title {
	font-family: var(--ygm-font-heading);
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.15;
	margin: 0 0 1.5rem;
}
@media (min-width: 768px) { .ygm-post-title { font-size: 3rem; } }
@media (min-width: 1024px) { .ygm-post-title { font-size: 3.5rem; } }

.ygm-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.875rem;
	color: var(--ygm-muted-foreground);
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--ygm-border);
}

.ygm-post-article { padding-bottom: 5rem; }
.ygm-post-featured-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15); margin-bottom: 3rem; }
.ygm-post-featured-img img { width: 100%; height: auto; display: block; }

/* Content typography — targets whatever the block/classic editor outputs */
.ygm-post-content { font-size: 1.125rem; line-height: 1.75; color: var(--ygm-foreground); }
.ygm-post-content p { margin: 0 0 1.5rem; }
.ygm-post-content h2 {
	font-family: var(--ygm-font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ygm-border);
}
@media (min-width: 768px) { .ygm-post-content h2 { font-size: 1.75rem; } }
.ygm-post-content h3 { font-family: var(--ygm-font-heading); font-weight: 700; font-size: 1.25rem; margin: 2rem 0 1rem; }
.ygm-post-content ul, .ygm-post-content ol { margin: 0 0 1.5rem; padding-left: 1.5rem; color: var(--ygm-muted-foreground); }
.ygm-post-content li { margin-bottom: 0.5rem; }
.ygm-post-content a { color: var(--ygm-primary); }
.ygm-post-content img { max-width: 100%; height: auto; border-radius: 0.75rem; }
.ygm-post-content blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 4px solid var(--ygm-primary);
	font-style: italic;
	font-weight: 600;
	color: var(--ygm-foreground);
}
.ygm-post-content strong { color: var(--ygm-primary); }

.ygm-post-cta { text-align: center; margin: 3rem 0; }
.ygm-post-share {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ygm-border);
}
.ygm-post-share span { font-family: var(--ygm-font-heading); font-weight: 600; font-size: 0.875rem; color: var(--ygm-muted-foreground); }

.ygm-related-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .ygm-related-grid { grid-template-columns: repeat(2, 1fr); } }
.ygm-related-title { margin-top: 1.25rem; }

/* =========================================================
   CAROUSEL — homepage "Latest Insights"
   ========================================================= */
.ygm-carousel { position: relative; }

.ygm-carousel-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 0.5rem;
	margin: 0 -1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.ygm-carousel-track::-webkit-scrollbar { display: none; }

.ygm-carousel-slide {
	flex: 0 0 auto;
	width: 85%;
	scroll-snap-align: start;
}
@media (min-width: 640px) { .ygm-carousel-slide { width: 46%; } }
@media (min-width: 1024px) { .ygm-carousel-slide { width: 31.5%; } }

.ygm-carousel-controls {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}
.ygm-carousel-btn {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid var(--ygm-border);
	background: var(--ygm-background);
	color: var(--ygm-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}
.ygm-carousel-btn svg { width: 18px; height: 18px; }
.ygm-carousel-btn:hover { background: var(--ygm-primary); color: #fff; border-color: var(--ygm-primary); }
