/*
Theme Name: Navatic Energy Solutions
Theme URI: https://navatic.es
Author: Navatic Development Team
Author URI: https://navatic.es
Description: Tema WordPress personalizado para Navatic Energy Solutions - Consultoría energética, energías renovables y gestión documental en Navarra. Diseño "Architectural Precisionist".
Version: 1.0.0
Requires at least: 6.4
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: navatic
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns
*/

/* ============================================================
   DESIGN SYSTEM TOKENS - "The Architectural Precisionist"
   ============================================================ */
:root {
    /* ── Primary Colors ── */
    --primary: #00253b;
    --primary-container: #003b5c;
    --on-primary: #ffffff;
    --on-primary-container: #7aa5cc;
    --primary-fixed: #cce5ff;
    --primary-fixed-dim: #a0cbf3;
    --on-primary-fixed: #001d31;
    --on-primary-fixed-variant: #1a4a6c;
    --inverse-primary: #a0cbf3;

    /* ── Secondary Colors ── */
    --secondary: #006c4e;
    --secondary-container: #7ef6c6;
    --on-secondary: #ffffff;
    --on-secondary-container: #007152;
    --on-secondary-fixed: #002115;
    --on-secondary-fixed-variant: #00513a;
    --secondary-fixed: #81f8c9;
    --secondary-fixed-dim: #63dcae;

    /* ── Tertiary Colors ── */
    --tertiary: #311e00;
    --tertiary-container: #4d3200;
    --on-tertiary: #ffffff;
    --on-tertiary-container: #d6940d;
    --tertiary-fixed: #ffddaf;
    --tertiary-fixed-dim: #ffba43;

    /* ── Surface Hierarchy ── */
    --surface: #f9f9fc;
    --surface-dim: #d9dadd;
    --surface-bright: #f9f9fc;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f3f3f6;
    --surface-container: #edeef1;
    --surface-container-high: #e8e8eb;
    --surface-container-highest: #e2e2e5;
    --surface-variant: #e2e2e5;
    --surface-tint: #366285;

    /* ── On Surface ── */
    --on-surface: #1a1c1e;
    --on-surface-variant: #42474e;
    --on-background: #1a1c1e;
    --background: #f9f9fc;

    /* ── Inverse ── */
    --inverse-surface: #2f3133;
    --inverse-on-surface: #f0f0f4;

    /* ── Outline ── */
    --outline: #72787e;
    --outline-variant: #c2c7ce;

    /* ── Error ── */
    --error: #ba1a1a;
    --error-container: #ffdad6;
    --on-error: #ffffff;
    --on-error-container: #93000a;

    /* ── Typography ── */
    --font-headline: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-label: 'Roboto Mono', monospace;

    /* ── Display Sizes ── */
    --display-lg: 3.5rem;
    --display-md: 2.875rem;
    --headline-lg: 2rem;
    --headline-md: 1.75rem;
    --title-lg: 1.375rem;
    --title-md: 1rem;
    --body-lg: 1rem;
    --body-md: 0.875rem;
    --label-lg: 0.875rem;
    --label-md: 0.75rem;

    /* ── Border Radius ── */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;

    /* ── Spacing (8px grid) ── */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* ── Elevation (Tonal Layering) ── */
    --shadow-ambient: 0 12px 40px rgba(0, 37, 59, 0.06);
    --shadow-hover: 0 16px 48px rgba(0, 37, 59, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 37, 59, 0.03);

    /* ── Transitions ── */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;

    /* ── Container ── */
    --container-max: 1280px;
    --container-wide: 1920px;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-md);
    line-height: 1.6;
    color: var(--on-surface);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-8);
}

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

.section {
    padding: var(--sp-24) 0;
}

.section--sm {
    padding: var(--sp-16) 0;
}

.section--surface-low {
    background-color: var(--surface-container-low);
}

.section--surface-high {
    background-color: var(--surface-container-high);
}

.section--primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.section--primary h2,
.section--primary h3,
.section--primary h4 {
    color: var(--surface);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--sp-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); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.gap-12 { gap: var(--sp-12); }
.gap-16 { gap: var(--sp-16); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-lg {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, var(--display-lg));
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.display-md {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, var(--display-md));
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.headline-lg {
    font-family: var(--font-headline);
    font-size: clamp(1.5rem, 3vw, var(--headline-lg));
    font-weight: 800;
    letter-spacing: -0.01em;
}

.headline-md {
    font-family: var(--font-headline);
    font-size: var(--headline-md);
    font-weight: 700;
}

.title-lg {
    font-family: var(--font-headline);
    font-size: var(--title-lg);
    font-weight: 700;
}

.title-md {
    font-family: var(--font-headline);
    font-size: var(--title-md);
    font-weight: 700;
}

.body-lg {
    font-size: var(--body-lg);
    line-height: 1.7;
}

.body-md {
    font-size: var(--body-md);
    line-height: 1.6;
}

.label-lg {
    font-family: var(--font-label);
    font-size: var(--label-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.label-md {
    font-family: var(--font-label);
    font-size: var(--label-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-surface { color: var(--surface); }
.text-surface-variant { color: var(--on-surface-variant); }
.text-on-primary-container { color: var(--on-primary-container); }
.text-center { text-align: center; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-wide { letter-spacing: 0.1em; }
.font-light { font-weight: 300; }
.leading-relaxed { line-height: 1.7; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    border-radius: var(--radius-xl);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: var(--body-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.95);
}

.btn--primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.btn--primary:hover {
    background-color: var(--primary-container);
    box-shadow: var(--shadow-hover);
}

.btn--secondary {
    background-color: var(--secondary);
    color: var(--on-secondary);
}

.btn--secondary:hover {
    background-color: var(--on-secondary-container);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn--outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn--tertiary {
    background: none;
    color: var(--secondary);
    padding: var(--sp-2) 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn--tertiary:hover {
    gap: var(--sp-4);
}

.btn--lg {
    padding: var(--sp-4) var(--sp-12);
    font-size: 1rem;
}

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

.btn--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================================
   CARDS (Tonal Layering - no borders)
   ============================================================ */
.card {
    background-color: var(--surface-container-lowest);
    padding: var(--sp-8);
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

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

.card--elevated {
    box-shadow: var(--shadow-ambient);
}

.card--primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.card--primary h3,
.card--primary h4 {
    color: white;
}

.card--secondary {
    background-color: var(--secondary);
    color: var(--on-secondary);
}

.card--secondary h3,
.card--secondary h4 {
    color: white;
}

.card--surface-high {
    background-color: var(--surface-container-high);
}

.card--surface-low {
    background-color: var(--surface-container-low);
}

.card__top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.card:hover .card__top-bar {
    transform: scaleX(1);
}

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background-color: var(--surface-container-high);
    color: var(--primary);
    margin-bottom: var(--sp-8);
    transition: all var(--transition-base);
}

.card:hover .card__icon {
    background-color: var(--primary);
    color: white;
}

.card__icon--secondary {
    color: var(--secondary);
}

.card:hover .card__icon--secondary {
    background-color: var(--secondary);
    color: white;
}

/* ============================================================
   CHIPS (Technical Stamps)
   ============================================================ */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-sm);
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.chip--secondary {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
}

.chip--tertiary {
    background-color: var(--tertiary-fixed-dim);
    color: var(--on-tertiary-fixed-variant);
}

.chip--error {
    background-color: var(--error-container);
    color: var(--on-error-container);
}

.chip--pill {
    border-radius: var(--radius-full);
    padding: var(--sp-1) var(--sp-3);
}

/* ============================================================
   FORM INPUTS (Minimalist Bottom Border)
   ============================================================ */
.form-field {
    margin-bottom: var(--sp-6);
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--outline);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--sp-2);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background-color: var(--surface-container);
    border: none;
    border-bottom: 2px solid rgba(194, 199, 206, 0.15);
    padding: var(--sp-3) var(--sp-4);
    color: var(--on-surface);
    transition: border-color var(--transition-base);
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-bottom-color: var(--secondary);
}

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

/* ============================================================
   TABLES (Technical Specs)
   ============================================================ */
.tech-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-card);
}

.tech-table thead {
    background-color: var(--primary);
    color: var(--on-primary);
}

.tech-table thead th {
    padding: var(--sp-6) var(--sp-8);
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
}

.tech-table tbody td {
    padding: var(--sp-6) var(--sp-8);
    font-size: var(--body-md);
    border-bottom: 1px solid rgba(194, 199, 206, 0.1);
}

.tech-table tbody tr:hover {
    background-color: var(--surface-container-low);
}

.tech-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--surface-container-low);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background-color: rgba(249, 249, 252, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-ambient);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-4) var(--sp-8);
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.site-header__logo img {
    height: 32px;
    width: auto;
}

.site-header__logo-text {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--primary);
}

.site-header__nav {
    display: none;
}

.site-header__nav ul {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.site-header__nav a {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: var(--body-md);
    color: var(--primary);
    padding: var(--sp-1) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
}

.site-header__nav a:hover,
.site-header__nav .current-menu-item a,
.site-header__nav .current_page_item a {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.site-header__cta .btn {
    padding: var(--sp-2) var(--sp-6);
    font-size: var(--body-md);
}

/* Mobile Menu */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--sp-2);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--transition-base);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 249, 252, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: var(--sp-8);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.mobile-nav a {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--surface-container-high);
}

.mobile-nav .current-menu-item a,
.mobile-nav .current_page_item a {
    color: var(--secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: var(--sp-16) 0;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-8);
    align-items: center;
}

.site-footer__logo {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.site-footer__copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--sp-2);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-8);
    justify-content: center;
}

.site-footer__links a {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: var(--body-md);
    color: white;
    transition: color var(--transition-base);
}

.site-footer__links a:hover {
    color: var(--secondary);
}

.site-footer__social {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
}

.site-footer__social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-base);
}

.site-footer__social-icon:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero--medium {
    min-height: 600px;
}

.hero--short {
    min-height: 400px;
}

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

.hero__bg video,
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 37, 59, 0.95), rgba(0, 37, 59, 0.60), transparent);
}

.hero__overlay--full {
    background: linear-gradient(to right, var(--primary), rgba(0, 37, 59, 0.80), transparent);
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-8);
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-4);
    background: rgba(0, 108, 78, 0.2);
    border-left: 4px solid var(--secondary);
    color: var(--secondary-fixed);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.hero__title {
    font-family: var(--font-headline);
    font-weight: 900;
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-8);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero__title .accent {
    color: var(--secondary);
}

.hero__description {
    color: var(--on-primary-container);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 640px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: var(--sp-8);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    padding-top: var(--sp-4);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-12);
    text-align: center;
    padding: var(--sp-20) 0;
}

.stats__number {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: var(--sp-2);
}

.stats__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--on-primary-container);
}

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

.bento__item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.bento__item--image {
    position: relative;
}

.bento__item--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.bento__item--image:hover img {
    transform: scale(1.05);
}

.bento__item--image .bento__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 37, 59, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-10);
}

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress {
    width: 100%;
    height: 6px;
    background-color: var(--surface-variant);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.progress__bar--primary {
    background-color: var(--primary);
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section {
    border-radius: var(--radius-xl);
    padding: var(--sp-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section--secondary {
    background-color: var(--secondary);
    color: white;
}

.cta-section--primary {
    background-color: var(--primary-container);
    color: white;
}

.cta-section--secondary-container {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
}

.cta-section__glow {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    pointer-events: none;
}

/* ============================================================
   MATERIAL SYMBOLS HELPER
   ============================================================ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }
.mt-8 { margin-top: var(--sp-8); }
.pt-24 { padding-top: var(--sp-24); }
.pb-24 { padding-bottom: var(--sp-24); }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-md { max-width: 448px; }
.opacity-80 { opacity: 0.8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .site-header__nav {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }

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

    .site-footer__inner {
        grid-template-columns: 1fr auto 1fr;
    }

    .site-footer__social {
        justify-content: flex-end;
    }

    .bento {
        grid-template-columns: repeat(12, 1fr);
    }

    .bento--span-4 { grid-column: span 4; }
    .bento--span-5 { grid-column: span 5; }
    .bento--span-7 { grid-column: span 7; }
    .bento--span-8 { grid-column: span 8; }
}

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

    .hero__title {
        font-size: 2.5rem;
    }

    .section {
        padding: var(--sp-16) 0;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .hide-tablet {
        display: none !important;
    }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image img {
    border-radius: var(--radius-xl);
}

.entry-content p {
    margin-bottom: var(--sp-6);
    line-height: 1.8;
}

.entry-content h2 {
    margin-top: var(--sp-12);
    margin-bottom: var(--sp-6);
}

.entry-content h3 {
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-4);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--sp-6);
    padding-left: var(--sp-6);
}

.entry-content li {
    margin-bottom: var(--sp-2);
    list-style: disc;
}

.entry-content ol li {
    list-style: decimal;
}

/* Alignments */
.alignleft {
    float: left;
    margin-right: var(--sp-8);
    margin-bottom: var(--sp-8);
}

.alignright {
    float: right;
    margin-left: var(--sp-8);
    margin-bottom: var(--sp-8);
}

.aligncenter {
    display: block;
    margin: 0 auto var(--sp-8);
}

/* Screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
