/*
Theme Name: Matica
Theme URI: https://matica.design
Author: Kyberia Tech
Author URI: https://kyberia.tech
Description: The all-in-one Matica theme engine. Switch between Personal, Tech, Studios, and Business start sites from the Matica Companion plugin — one theme, unlimited looks, powered by the Peridot Design System.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matica
Tags: business, corporate, portfolio, one-page, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, rtl-language-support, theme-options, translation-ready, block-styles
*/

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
	/* ---- Matica Caramel Scale ---- */
	--matica-50: #fdf6f0;
	--matica-100: #f9e8d8;
	--matica-200: #f2d0b0;
	--matica-300: #e8b285;
	--matica-400: #d4935a;
	--matica-500: #b08968;
	--matica-600: #8c6344;
	--matica-700: #6e4d34;
	--matica-800: #553c28;
	--matica-900: #3e2c1d;

	/* ---- Neutral Scale ---- */
	--neutral-50: #fafafa;
	--neutral-100: #f5f5f5;
	--neutral-150: #ededed;
	--neutral-200: #e5e5e5;
	--neutral-300: #d4d4d4;
	--neutral-400: #a3a3a3;
	--neutral-500: #737373;
	--neutral-600: #525252;
	--neutral-700: #404040;
	--neutral-800: #262626;
	--neutral-900: #1a1a1a;

	/* ---- Accent & Semantic Colors ---- */
	--accent: #4a6fa5;
	--accent-light: #6b8fc5;
	--accent-dark: #365480;
	--success: #22c55e;
	--success-light: #dcfce7;
	--warning: #f59e0b;
	--warning-light: #fef3c7;
	--error: #ef4444;
	--error-light: #fee2e2;
	--info: #3b82f6;
	--info-light: #dbeafe;

	/* ---- Typography ---- */
	--font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;

	/* ---- Type Scale ---- */
	--text-xs: 0.75rem;     /* 12px */
	--text-sm: 0.875rem;    /* 14px */
	--text-base: 1rem;      /* 16px */
	--text-lg: 1.125rem;    /* 18px */
	--text-xl: 1.25rem;     /* 20px */
	--text-2xl: 1.5rem;     /* 24px */
	--text-3xl: 1.875rem;   /* 30px */
	--text-4xl: 2.25rem;    /* 36px */
	--text-5xl: 3rem;       /* 48px */
	--text-6xl: 3.75rem;    /* 60px */
	--text-7xl: 4.5rem;     /* 72px */
	--text-8xl: 6rem;       /* 96px */

	/* ---- Line Heights ---- */
	--leading-none: 1;
	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-normal: 1.5;
	--leading-relaxed: 1.625;
	--leading-loose: 2;

	/* ---- Font Weights ---- */
	--weight-light: 300;
	--weight-regular: 400;
	--weight-medium: 500;
	--weight-semibold: 600;
	--weight-bold: 700;

	/* ---- Spacing ---- */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-20: 5rem;
	--space-24: 6rem;
	--space-32: 8rem;

	/* ---- Layout ---- */
	--container-sm: 640px;
	--container-md: 768px;
	--container-lg: 1024px;
	--container-xl: 1280px;
	--container-2xl: 1400px;
	--section-padding-y: var(--space-24);
	--section-padding-x: var(--space-6);

	/* ---- Border Radius ---- */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.5rem;
	--radius-full: 9999px;

	/* ---- Shadows ---- */
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

	/* ---- Transitions ---- */
	--transition-fast: 150ms ease;
	--transition-base: 300ms ease;
	--transition-slow: 500ms ease;

	/* ---- Z-Index ---- */
	--z-dropdown: 10;
	--z-sticky: 20;
	--z-fixed: 30;
	--z-overlay: 40;
	--z-modal: 50;
	--z-tooltip: 60;

	/* ---- Surface Colors ---- */
	--surface-primary: #ffffff;
	--surface-secondary: var(--neutral-50);
	--surface-tertiary: var(--neutral-100);
	--surface-dark: var(--neutral-900);
	--surface-matica: var(--matica-50);

	/* ---- Text Colors ---- */
	--text-primary: var(--neutral-900);
	--text-secondary: var(--neutral-600);
	--text-tertiary: var(--neutral-400);
	--text-inverse: #ffffff;
	--text-accent: var(--matica-600);

	/* ---- Border Colors ---- */
	--border-light: var(--neutral-200);
	--border-default: var(--neutral-300);
	--border-dark: var(--neutral-400);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: var(--weight-regular);
	line-height: var(--leading-normal);
	color: var(--text-primary);
	background-color: var(--surface-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--matica-600);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus {
	color: var(--matica-700);
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid var(--matica-500);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

p {
	margin: 0 0 var(--space-4);
}

ul,
ol {
	margin: 0 0 var(--space-4);
	padding-left: var(--space-6);
}

blockquote {
	margin: var(--space-8) 0;
	padding: var(--space-6) var(--space-8);
	border-left: 4px solid var(--matica-500);
	background: var(--matica-50);
	font-style: italic;
	color: var(--text-secondary);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p:last-child {
	margin-bottom: 0;
}

hr {
	border: none;
	border-top: 1px solid var(--border-light);
	margin: var(--space-8) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--space-6);
}

th,
td {
	padding: var(--space-3) var(--space-4);
	text-align: left;
	border-bottom: 1px solid var(--border-light);
}

th {
	font-weight: var(--weight-semibold);
	color: var(--text-primary);
	background: var(--surface-secondary);
}

pre,
code {
	font-family: var(--font-mono);
	font-size: var(--text-sm);
}

pre {
	background: var(--neutral-800);
	color: var(--matica-200);
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	overflow-x: auto;
	margin-bottom: var(--space-6);
}

code {
	background: var(--neutral-100);
	padding: 0.125rem var(--space-2);
	border-radius: var(--radius-sm);
	color: var(--matica-700);
}

pre code {
	background: none;
	padding: 0;
	color: inherit;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--text-primary);
	margin: 0 0 var(--space-4);
}

h1 {
	font-size: var(--text-5xl);
	letter-spacing: -0.025em;
}

h2 {
	font-size: var(--text-4xl);
	letter-spacing: -0.02em;
}

h3 {
	font-size: var(--text-3xl);
}

h4 {
	font-size: var(--text-2xl);
}

h5 {
	font-size: var(--text-xl);
}

h6 {
	font-size: var(--text-lg);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: var(--text-7xl); }
.text-8xl { font-size: var(--text-8xl); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }


/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-xl);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-6);
	padding-right: var(--space-6);
}

.container--narrow {
	max-width: var(--container-lg);
}

.container--wide {
	max-width: var(--container-2xl);
}

.section {
	padding-top: var(--section-padding-y);
	padding-bottom: var(--section-padding-y);
}

.section--sm {
	padding-top: var(--space-16);
	padding-bottom: var(--space-16);
}

.section--lg {
	padding-top: var(--space-32);
	padding-bottom: var(--space-32);
}

.section--dark {
	background: var(--surface-dark);
	color: var(--text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
	color: var(--text-inverse);
}

.section--dark .text-secondary {
	color: var(--neutral-400);
}

.section--matica {
	background: linear-gradient(135deg, var(--matica-600), var(--matica-700));
	color: var(--text-inverse);
}

.section--matica h1,
.section--matica h2,
.section--matica h3,
.section--matica h4 {
	color: var(--text-inverse);
}

.section--light {
	background: var(--surface-secondary);
}

.section--gradient {
	background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
}

.grid {
	display: grid;
	gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-6);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-normal);
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-fast);
	white-space: nowrap;
}

.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn:focus-visible {
	outline: 2px solid var(--matica-500);
	outline-offset: 2px;
}

.btn--primary {
	background: var(--matica-600);
	color: #ffffff;
	border-color: var(--matica-600);
}

.btn--primary:hover {
	background: var(--matica-700);
	border-color: var(--matica-700);
	color: #ffffff;
}

.btn--secondary {
	background: var(--neutral-100);
	color: var(--text-primary);
	border-color: var(--neutral-200);
}

.btn--secondary:hover {
	background: var(--neutral-200);
	border-color: var(--neutral-300);
	color: var(--text-primary);
}

.btn--outline {
	background: transparent;
	color: var(--matica-600);
	border-color: var(--matica-600);
}

.btn--outline:hover {
	background: var(--matica-600);
	color: #ffffff;
}

.btn--ghost {
	background: transparent;
	color: var(--matica-600);
	border-color: transparent;
}

.btn--ghost:hover {
	background: var(--matica-50);
	color: var(--matica-700);
}

.btn--dark {
	background: var(--neutral-900);
	color: #ffffff;
	border-color: var(--neutral-900);
}

.btn--dark:hover {
	background: var(--neutral-800);
	border-color: var(--neutral-800);
	color: #ffffff;
}

.btn--white {
	background: #ffffff;
	color: var(--matica-700);
	border-color: #ffffff;
}

.btn--white:hover {
	background: var(--matica-50);
	border-color: var(--matica-50);
	color: var(--matica-800);
}

.btn--lg {
	padding: var(--space-4) var(--space-8);
	font-size: var(--text-base);
	border-radius: var(--radius-lg);
}

.btn--sm {
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-xs);
}

.btn--full {
	width: 100%;
}

.btn--icon {
	padding: var(--space-3);
	border-radius: var(--radius-full);
}

.btn svg {
	width: 1.25em;
	height: 1.25em;
}


/* ==========================================================================
   6. CARDS & SURFACES
   ========================================================================== */

.card {
	background: var(--surface-primary);
	border-radius: var(--radius-xl);
	padding: var(--space-8);
	border: 1px solid var(--border-light);
	transition: all var(--transition-base);
}

.card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.card--flat {
	border: none;
	box-shadow: none;
}

.card--flat:hover {
	box-shadow: var(--shadow-md);
}

.card--bordered {
	border: 2px solid var(--border-default);
}

.card--matica {
	border-color: var(--matica-200);
	background: var(--matica-50);
}

.card--dark {
	background: var(--neutral-800);
	border-color: var(--neutral-700);
	color: var(--text-inverse);
}

.card--dark h3,
.card--dark h4 {
	color: var(--text-inverse);
}

.card__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin: calc(var(--space-8) * -1);
	margin-bottom: var(--space-6);
}

.card__image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.card__tag {
	display: inline-block;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--matica-600);
	margin-bottom: var(--space-3);
}

.card__title {
	font-size: var(--text-xl);
	margin-bottom: var(--space-3);
}

.card__text {
	color: var(--text-secondary);
	font-size: var(--text-sm);
	line-height: var(--leading-relaxed);
}

.card__footer {
	margin-top: var(--space-6);
	padding-top: var(--space-4);
	border-top: 1px solid var(--border-light);
}

.surface {
	background: var(--surface-primary);
	border-radius: var(--radius-xl);
	padding: var(--space-8);
}

.surface--elevated {
	box-shadow: var(--shadow-lg);
}

.surface--glass {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   7. BADGES
   ========================================================================== */

.badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.badge--matica {
	background: var(--matica-100);
	color: var(--matica-700);
}

.badge--accent {
	background: var(--info-light);
	color: var(--accent-dark);
}

.badge--neutral {
	background: var(--neutral-100);
	color: var(--neutral-700);
}

.badge--success {
	background: var(--success-light);
	color: #166534;
}

.badge--warning {
	background: var(--warning-light);
	color: #92400e;
}

.badge--error {
	background: var(--error-light);
	color: #991b1b;
}


/* ==========================================================================
   8. SECTION HEADERS
   ========================================================================== */

.section-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-16);
}

.section-header__label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--matica-600);
	margin-bottom: var(--space-4);
}

.section-header__label::before,
.section-header__label::after {
	content: '';
	width: 24px;
	height: 2px;
	background: var(--matica-500);
	border-radius: var(--radius-full);
}

.section-header__title {
	font-size: var(--text-4xl);
	margin-bottom: var(--space-4);
}

.section-header__subtitle {
	font-size: var(--text-lg);
	color: var(--text-secondary);
	line-height: var(--leading-relaxed);
}

.section--dark .section-header__label {
	color: var(--matica-300);
}

.section--dark .section-header__label::before,
.section--dark .section-header__label::after {
	background: var(--matica-400);
}

.section--dark .section-header__subtitle {
	color: var(--neutral-400);
}


/* ==========================================================================
   9. FORM INPUTS
   ========================================================================== */

.form-group {
	margin-bottom: var(--space-6);
}

.form-label {
	display: block;
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	color: var(--text-primary);
	margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: var(--space-3) var(--space-4);
	font-family: var(--font-body);
	font-size: var(--text-base);
	color: var(--text-primary);
	background: var(--surface-primary);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--matica-500);
	box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: var(--text-tertiary);
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
}

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right var(--space-3) center;
	padding-right: var(--space-10);
}

.form-input--dark,
.form-textarea--dark {
	background: var(--neutral-800);
	border-color: var(--neutral-700);
	color: var(--text-inverse);
}

.form-input--dark::placeholder,
.form-textarea--dark::placeholder {
	color: var(--neutral-500);
}


/* ==========================================================================
   10. NAVIGATION
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--z-fixed);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-light);
	transition: all var(--transition-base);
}

.site-header--scrolled {
	box-shadow: var(--shadow-md);
}

.site-header--transparent {
	background: transparent;
	border-bottom-color: transparent;
}

.site-header--transparent.site-header--scrolled {
	background: rgba(255, 255, 255, 0.95);
	border-bottom-color: var(--border-light);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--container-xl);
	margin: 0 auto;
	padding: var(--space-4) var(--space-6);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	text-decoration: none;
	color: var(--text-primary);
}

.site-branding:hover {
	text-decoration: none;
	color: var(--text-primary);
}

.site-branding img {
	height: 40px;
	width: auto;
}

.site-branding__text {
	display: flex;
	flex-direction: column;
}

.site-title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	margin: 0;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-tagline {
	font-size: var(--text-xs);
	color: var(--text-tertiary);
	margin: 0;
}

/* Desktop Navigation */
.primary-nav {
	display: none;
}

@media (min-width: 1024px) {
	.primary-nav {
		display: flex;
		align-items: center;
	}
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav .menu-item {
	position: relative;
}

.primary-nav .menu-item a {
	display: block;
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	color: var(--text-secondary);
	text-decoration: none;
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
}

.primary-nav .menu-item a:hover,
.primary-nav .menu-item.current-menu-item a,
.primary-nav .menu-item.current_page_item a {
	color: var(--matica-700);
	background: var(--matica-50);
}

/* Dropdown menus */
.primary-nav .menu-item .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--surface-primary);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-xl);
	padding: var(--space-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all var(--transition-fast);
	list-style: none;
	display: flex;
	flex-direction: column;
	z-index: var(--z-dropdown);
}

.primary-nav .menu-item:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu .menu-item a {
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-sm);
	border-radius: var(--radius-md);
}

/* Header Actions (CTA, Language) */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.language-switcher {
	display: none;
}

@media (min-width: 1024px) {
	.language-switcher {
		display: flex;
		align-items: center;
		gap: var(--space-2);
	}
}

.language-switcher a {
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	color: var(--text-tertiary);
	text-transform: uppercase;
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-sm);
}

.language-switcher a:hover,
.language-switcher a.active {
	color: var(--matica-600);
	background: var(--matica-50);
	text-decoration: none;
}

.header-cta {
	display: none;
}

@media (min-width: 1024px) {
	.header-cta {
		display: inline-flex;
	}
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-primary);
	border-radius: var(--radius-md);
}

@media (min-width: 1024px) {
	.mobile-menu-toggle {
		display: none;
	}
}

.mobile-menu-toggle:hover {
	background: var(--neutral-100);
}

.hamburger {
	width: 24px;
	height: 18px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: var(--radius-full);
	transition: all var(--transition-fast);
}

.mobile-menu-toggle.is-active .hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active .hamburger span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-overlay);
	background: var(--surface-primary);
	padding: 80px var(--space-6) var(--space-6);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--transition-base);
}

.mobile-menu.is-open {
	transform: translateX(0);
}

.mobile-menu .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-menu .menu-item a {
	display: block;
	padding: var(--space-4) 0;
	font-size: var(--text-lg);
	font-weight: var(--weight-medium);
	color: var(--text-primary);
	text-decoration: none;
	border-bottom: 1px solid var(--border-light);
}

.mobile-menu .menu-item a:hover {
	color: var(--matica-600);
	text-decoration: none;
}

.mobile-menu .sub-menu {
	list-style: none;
	padding-left: var(--space-6);
}

.mobile-menu .sub-menu a {
	font-size: var(--text-base);
	color: var(--text-secondary);
}


/* ==========================================================================
   11. HERO SECTION
   ========================================================================== */

/* --- Hero: Centered (default) --- */
.hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	padding: var(--space-32) var(--space-6);
	background: linear-gradient(135deg, var(--neutral-900) 0%, #2c1a0e 50%, var(--matica-900) 100%);
	color: var(--text-inverse);
}

.hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__background::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(176, 137, 104, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.hero__background::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(74, 111, 165, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

/* Geometric decoration */
.hero__geo {
	position: absolute;
	border: 1px solid rgba(176, 137, 104, 0.2);
	border-radius: var(--radius-lg);
}

.hero__geo--1 {
	width: 200px;
	height: 200px;
	top: 10%;
	right: 5%;
	transform: rotate(15deg);
	animation: float 8s ease-in-out infinite;
}

.hero__geo--2 {
	width: 120px;
	height: 120px;
	bottom: 20%;
	left: 8%;
	transform: rotate(-10deg);
	animation: float 6s ease-in-out infinite reverse;
}

.hero__geo--3 {
	width: 80px;
	height: 80px;
	top: 30%;
	left: 15%;
	transform: rotate(30deg);
	border-radius: var(--radius-full);
	animation: float 10s ease-in-out infinite;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	animation: fadeInUp 0.8s ease;
}

.hero__label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-2) var(--space-4);
	background: rgba(176, 137, 104, 0.15);
	border: 1px solid rgba(176, 137, 104, 0.3);
	border-radius: var(--radius-full);
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	color: var(--matica-300);
	margin-bottom: var(--space-8);
}

.hero__title {
	font-size: var(--text-6xl);
	font-weight: var(--weight-bold);
	color: var(--text-inverse);
	margin-bottom: var(--space-6);
	line-height: var(--leading-tight);
}
