/*
Theme Name: Zulli3
Theme URI: https://example.com/zulli3
Author: Zulli3 Dev Team
Author URI: https://example.com
Description: Tema WordPress moderno e accattivante per università telematiche. Design responsive con slider, animazioni e forte impatto visivo. Colori principali: bianco e #003954.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zulli3
Tags: education, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive
*/

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --z3-primary: #003954;
    --z3-primary-light: #004d73;
    --z3-primary-dark: #002a3f;
    --z3-accent: #0077b6;
    --z3-accent-light: #00a8e8;
    --z3-white: #ffffff;
    --z3-off-white: #f8f9fa;
    --z3-light-gray: #e9ecef;
    --z3-medium-gray: #6c757d;
    --z3-dark-gray: #343a40;
    --z3-text: #212529;
    --z3-text-light: #495057;
    --z3-gold: #d4a843;
    --z3-success: #28a745;
    --z3-gradient: linear-gradient(135deg, var(--z3-primary) 0%, var(--z3-primary-light) 50%, var(--z3-accent) 100%);
    --z3-gradient-hero: linear-gradient(135deg, rgba(0,57,84,0.92) 0%, rgba(0,77,115,0.85) 100%);
    --z3-shadow-sm: 0 2px 8px rgba(0,57,84,0.08);
    --z3-shadow-md: 0 4px 20px rgba(0,57,84,0.12);
    --z3-shadow-lg: 0 8px 40px rgba(0,57,84,0.18);
    --z3-shadow-xl: 0 12px 60px rgba(0,57,84,0.22);
    --z3-radius-sm: 8px;
    --z3-radius-md: 12px;
    --z3-radius-lg: 20px;
    --z3-radius-xl: 30px;
    --z3-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --z3-transition-fast: all 0.25s ease;
    --z3-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --z3-font-heading: 'Playfair Display', Georgia, serif;
    --z3-container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--z3-font-primary);
    color: var(--z3-text);
    background-color: var(--z3-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--z3-accent);
    transition: var(--z3-transition-fast);
}

a:hover {
    color: var(--z3-primary);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--z3-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--z3-primary);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.z3-container {
    width: 100%;
    max-width: var(--z3-container);
    margin: 0 auto;
    padding: 0 20px;
}

.z3-section {
    padding: 100px 0;
    position: relative;
}

.z3-section--alt {
    background-color: var(--z3-off-white);
}

.z3-section--dark {
    background-color: var(--z3-primary);
    color: var(--z3-white);
}

.z3-section--dark h2,
.z3-section--dark h3,
.z3-section--dark h4 {
    color: var(--z3-white);
}

.z3-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.z3-section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.z3-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--z3-gradient);
    border-radius: 2px;
}

.z3-section--dark .z3-section-header h2::after {
    background: var(--z3-gold);
}

.z3-section-header p {
    font-size: 1.15rem;
    color: var(--z3-text-light);
    max-width: 650px;
    margin: 25px auto 0;
}

.z3-section--dark .z3-section-header p {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   BUTTONS
   ======================================== */
.z3-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--z3-radius-xl);
    font-family: var(--z3-font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--z3-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.z3-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transition: var(--z3-transition);
    z-index: -1;
}

.z3-btn:hover::before {
    left: 100%;
}

.z3-btn--primary {
    background: var(--z3-gradient);
    color: var(--z3-white);
    box-shadow: 0 4px 15px rgba(0,57,84,0.3);
}

.z3-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,57,84,0.4);
    color: var(--z3-white);
}

.z3-btn--outline {
    border-color: var(--z3-white);
    color: var(--z3-white);
    background: transparent;
}

.z3-btn--outline:hover {
    background: var(--z3-white);
    color: var(--z3-primary);
    transform: translateY(-3px);
}

.z3-btn--outline-dark {
    border-color: var(--z3-primary);
    color: var(--z3-primary);
    background: transparent;
}

.z3-btn--outline-dark:hover {
    background: var(--z3-primary);
    color: var(--z3-white);
    transform: translateY(-3px);
}

.z3-btn--gold {
    background: var(--z3-gold);
    color: var(--z3-primary);
    border-color: var(--z3-gold);
}

.z3-btn--gold:hover {
    background: #c49a38;
    transform: translateY(-3px);
    color: var(--z3-primary);
    box-shadow: 0 8px 25px rgba(212,168,67,0.4);
}

.z3-btn--lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.z3-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--z3-transition);
    padding: 20px 0;
    background: #fff;
}

.z3-header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--z3-shadow-md);
    padding: 10px 0;
}

.z3-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--z3-container);
    margin: 0 auto;
    padding: 0 20px;
}

.z3-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.z3-logo img,
.z3-logo__img {
    height: 65px;
    width: auto;
    transition: var(--z3-transition);
    object-fit: contain;
}

.z3-header.scrolled .z3-logo img,
.z3-header.scrolled .z3-logo__img {
    height: 55px;
}

.z3-logo__text {
    font-family: var(--z3-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--z3-white);
    transition: var(--z3-transition);
}

.z3-header.scrolled .z3-logo__text {
    color: var(--z3-primary);
}

.z3-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.z3-nav a {
    padding: 8px 14px;
    color: var(--z3-primary);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    border-radius: var(--z3-radius-xl);
    transition: var(--z3-transition-fast);
    position: relative;
    white-space: nowrap;
}

.z3-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--z3-gold);
    transition: var(--z3-transition);
    border-radius: 1px;
}

.z3-nav a:hover::after,
.z3-nav a.active::after {
    width: 60%;
}

.z3-nav a:hover {
    color: var(--z3-primary-dark);
}

.z3-header.scrolled .z3-nav a {
    color: var(--z3-primary);
}

.z3-header.scrolled .z3-nav a:hover {
    color: var(--z3-primary-dark, #002A40);
}

.z3-nav .z3-btn {
    margin-left: 15px;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.z3-header.scrolled .z3-nav .z3-btn--outline {
    border-color: var(--z3-primary);
    color: var(--z3-primary);
}

.z3-header.scrolled .z3-nav .z3-btn--outline:hover {
    background: var(--z3-primary);
    color: var(--z3-white);
}

/* Mobile Menu Toggle */
.z3-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.z3-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--z3-white);
    transition: var(--z3-transition);
    border-radius: 2px;
}

.z3-header.scrolled .z3-menu-toggle span {
    background: var(--z3-primary);
}

.z3-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* --- Header icons & search --- */
.z3-header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.z3-header-icons .z3-search-toggle {
    display: none;
}

.z3-header-icons .z3-social-icon {
    color: var(--z3-primary);
    transition: var(--z3-transition-fast);
}

.z3-header-icons .z3-social-icon:hover {
    color: var(--z3-primary-dark);
}

.z3-search-overlay {
    display: none !important;
}

.z3-nav__social {
    display: none;
}

@media (max-width: 768px) {
    .z3-header-icons .z3-social-icon {
        display: none;
    }

    .z3-header-icons .z3-search-toggle {
        color: var(--z3-primary);
    }

    .z3-nav__social {
        display: flex;
        gap: 12px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .z3-nav__social .z3-social-icon {
        color: rgba(255,255,255,0.7);
    }

    .z3-nav__social .z3-social-icon:hover {
        color: var(--z3-white);
    }
}

/* Top bar */
.z3-topbar {
    background: var(--z3-primary-dark);
    padding: 8px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    display: none;
}

.z3-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--z3-container);
    margin: 0 auto;
    padding: 0 20px;
}

.z3-topbar__links {
    display: flex;
    gap: 20px;
}

.z3-topbar__links a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.z3-topbar__links a:hover {
    color: var(--z3-white);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.z3-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
}

.z3-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.z3-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transform: scale(1.05);
}

.z3-hero__slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.z3-hero__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.z3-hero__slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--z3-gradient-hero);
}

/* Default gradient background when no image */
.z3-hero__slide-bg--default {
    background: var(--z3-gradient);
}

.z3-hero__slide-bg--default::after {
    background: transparent;
}

.z3-hero__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: var(--z3-container);
    margin: 0 auto;
    padding: 0 20px;
}

.z3-hero__text {
    max-width: 700px;
}

.z3-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--z3-radius-xl);
    color: var(--z3-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: z3FadeInDown 0.8s ease forwards;
}

.z3-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--z3-white);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: z3FadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.z3-hero__title span {
    color: var(--z3-gold);
}

.z3-hero__desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: z3FadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.z3-hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: z3FadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* Slider Navigation */
.z3-hero__nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.z3-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--z3-transition);
    border: 2px solid transparent;
}

.z3-hero__dot.active {
    background: var(--z3-white);
    border-color: var(--z3-gold);
    transform: scale(1.3);
}

.z3-hero__dot:hover {
    background: rgba(255,255,255,0.7);
}

.z3-hero__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.z3-hero__arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--z3-transition);
    pointer-events: all;
    color: var(--z3-white);
    font-size: 1.2rem;
}

.z3-hero__arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Floating shapes */
.z3-hero__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.z3-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: z3Float 20s ease-in-out infinite;
}

.z3-hero__shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.z3-hero__shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 200px;
    animation-delay: -5s;
}

.z3-hero__shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 200px;
    left: -30px;
    animation-delay: -10s;
}

.z3-hero__shape:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 200px;
    left: 30%;
    animation-delay: -15s;
}

/* Scroll indicator */
.z3-scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: z3Bounce 2s infinite;
}

.z3-scroll-indicator__mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 13px;
    position: relative;
}

.z3-scroll-indicator__mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: z3ScrollWheel 2s infinite;
}

/* ========================================
   STATS BAR
   ======================================== */
.z3-stats {
    background: var(--z3-white);
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.z3-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--z3-white);
    border-radius: var(--z3-radius-lg);
    box-shadow: var(--z3-shadow-xl);
    overflow: hidden;
}

.z3-stats__item {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--z3-transition);
}

.z3-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--z3-light-gray);
}

.z3-stats__item:hover {
    background: var(--z3-off-white);
}

.z3-stats__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--z3-gradient);
    border-radius: var(--z3-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--z3-white);
    font-size: 1.3rem;
}

.z3-stats__number {
    font-family: var(--z3-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--z3-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.z3-stats__label {
    font-size: 0.9rem;
    color: var(--z3-medium-gray);
    font-weight: 500;
}

/* ========================================
   ABOUT / FEATURES SECTION
   ======================================== */
.z3-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.z3-about__image {
    position: relative;
    border-radius: var(--z3-radius-lg);
    overflow: hidden;
    box-shadow: var(--z3-shadow-lg);
}

.z3-about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--z3-transition);
}

.z3-about__image:hover img {
    transform: scale(1.05);
}

.z3-about__image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--z3-gradient);
    color: var(--z3-white);
    padding: 15px 25px;
    border-radius: var(--z3-radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--z3-shadow-md);
}

.z3-about__content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.z3-about__content p {
    color: var(--z3-text-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.z3-about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.z3-about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--z3-radius-sm);
    transition: var(--z3-transition);
}

.z3-about__feature:hover {
    background: var(--z3-off-white);
}

.z3-about__feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(0,57,84,0.08);
    border-radius: var(--z3-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--z3-primary);
    font-size: 1.1rem;
}

.z3-about__feature span {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--z3-text);
}

/* ========================================
   COURSES SECTION
   ======================================== */
.z3-courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.z3-course-card {
    background: var(--z3-white);
    border-radius: var(--z3-radius-md);
    overflow: hidden;
    box-shadow: var(--z3-shadow-sm);
    transition: var(--z3-transition);
    position: relative;
}

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

.z3-course-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.z3-course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--z3-transition);
}

.z3-course-card:hover .z3-course-card__image img {
    transform: scale(1.1);
}

.z3-course-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--z3-gradient);
    color: var(--z3-white);
    padding: 5px 15px;
    border-radius: var(--z3-radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.z3-course-card__body {
    padding: 25px;
}

.z3-course-card__category {
    font-size: 0.82rem;
    color: var(--z3-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.z3-course-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.z3-course-card__title a {
    color: var(--z3-primary);
}

.z3-course-card__title a:hover {
    color: var(--z3-accent);
}

.z3-course-card__desc {
    color: var(--z3-text-light);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.z3-course-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--z3-light-gray);
}

.z3-course-card__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--z3-medium-gray);
}

/* ========================================
   CTA SECTION
   ======================================== */
.z3-cta {
    position: relative;
    padding: 100px 0;
    background: var(--z3-gradient);
    overflow: hidden;
}

.z3-cta__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.z3-cta__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.z3-cta__shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.z3-cta__shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.z3-cta__content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.z3-cta__content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--z3-white);
    margin-bottom: 20px;
}

.z3-cta__content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 35px;
}

.z3-cta__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.z3-testimonials__slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.z3-testimonials__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.z3-testimonial-card {
    min-width: 100%;
    padding: 0 20px;
}

.z3-testimonial-card__inner {
    background: var(--z3-white);
    border-radius: var(--z3-radius-lg);
    padding: 50px;
    box-shadow: var(--z3-shadow-md);
    text-align: center;
    position: relative;
}

.z3-testimonial-card__inner::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    font-family: var(--z3-font-heading);
    color: rgba(0,57,84,0.08);
    line-height: 1;
}

.z3-testimonial-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--z3-accent-light);
    box-shadow: var(--z3-shadow-sm);
}

.z3-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.z3-testimonial-card__text {
    font-size: 1.1rem;
    color: var(--z3-text-light);
    line-height: 1.9;
    margin-bottom: 25px;
    font-style: italic;
}

.z3-testimonial-card__name {
    font-family: var(--z3-font-heading);
    font-size: 1.15rem;
    color: var(--z3-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.z3-testimonial-card__role {
    font-size: 0.88rem;
    color: var(--z3-medium-gray);
}

.z3-testimonial-card__stars {
    color: var(--z3-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.z3-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.z3-testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--z3-light-gray);
    cursor: pointer;
    transition: var(--z3-transition);
    border: none;
}

.z3-testimonials__dot.active {
    background: var(--z3-primary);
    transform: scale(1.3);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.z3-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.z3-why-card {
    text-align: center;
    padding: 50px 35px;
    background: var(--z3-white);
    border-radius: var(--z3-radius-md);
    box-shadow: var(--z3-shadow-sm);
    transition: var(--z3-transition);
    position: relative;
    overflow: hidden;
}

.z3-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--z3-gradient);
    transform: scaleX(0);
    transition: var(--z3-transition);
}

.z3-why-card:hover::before {
    transform: scaleX(1);
}

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

.z3-why-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(0,57,84,0.06);
    border-radius: var(--z3-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--z3-primary);
    transition: var(--z3-transition);
}

.z3-why-card:hover .z3-why-card__icon {
    background: var(--z3-gradient);
    color: var(--z3-white);
    transform: rotateY(180deg);
}

.z3-why-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.z3-why-card__desc {
    color: var(--z3-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   PARTNERS / LOGOS
   ======================================== */
.z3-partners {
    padding: 60px 0;
    background: var(--z3-off-white);
}

.z3-partners__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--z3-transition);
}

.z3-partners__inner:hover {
    opacity: 0.8;
    filter: grayscale(0.3);
}

.z3-partners__logo {
    height: 40px;
    transition: var(--z3-transition);
}

.z3-partners__logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

/* ========================================
   NEWS / BLOG SECTION
   ======================================== */
.z3-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.z3-news-card {
    background: var(--z3-white);
    border-radius: var(--z3-radius-md);
    overflow: hidden;
    box-shadow: var(--z3-shadow-sm);
    transition: var(--z3-transition);
}

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

.z3-news-card__image {
    height: 200px;
    overflow: hidden;
}

.z3-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--z3-transition);
}

.z3-news-card:hover .z3-news-card__image img {
    transform: scale(1.1);
}

.z3-news-card__body {
    padding: 25px;
}

.z3-news-card__date {
    font-size: 0.82rem;
    color: var(--z3-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.z3-news-card__title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.z3-news-card__title a {
    color: var(--z3-primary);
}

.z3-news-card__title a:hover {
    color: var(--z3-accent);
}

.z3-news-card__excerpt {
    color: var(--z3-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.z3-news-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.z3-news-card__link:hover {
    gap: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.z3-footer {
    background: var(--z3-primary);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}

.z3-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.z3-footer__brand p {
    margin-top: 20px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.z3-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.z3-footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--z3-transition);
    font-size: 0.95rem;
}

.z3-footer__social a:hover {
    background: var(--z3-white);
    color: var(--z3-primary);
    transform: translateY(-3px);
}

.z3-footer__title {
    font-family: var(--z3-font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--z3-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.z3-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--z3-gold);
}

.z3-footer__links li {
    margin-bottom: 12px;
}

.z3-footer__links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    transition: var(--z3-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.z3-footer__links a::before {
    content: '\2192';
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--z3-transition-fast);
    margin-left: -15px;
}

.z3-footer__links a:hover {
    color: var(--z3-white);
    padding-left: 5px;
}

.z3-footer__links a:hover::before {
    opacity: 1;
    margin-left: 0;
}

.z3-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.92rem;
}

.z3-footer__contact-icon {
    color: var(--z3-gold);
    font-size: 1rem;
    margin-top: 3px;
}

.z3-footer__bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.z3-footer__bottom-links {
    display: flex;
    gap: 25px;
}

.z3-footer__bottom-links a {
    color: rgba(255,255,255,0.6);
}

.z3-footer__bottom-links a:hover {
    color: var(--z3-white);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.z3-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--z3-gradient);
    color: var(--z3-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--z3-transition);
    z-index: 999;
    border: none;
    box-shadow: var(--z3-shadow-md);
    font-size: 1.2rem;
}

.z3-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.z3-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--z3-shadow-lg);
}

/* ========================================
   PAGE TEMPLATES
   ======================================== */
.z3-page-header {
    background: var(--z3-gradient);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.z3-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
    background-size: 200px;
}

.z3-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--z3-white);
    margin-bottom: 15px;
    position: relative;
}

.z3-page-header__breadcrumb {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.z3-page-header__breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.z3-page-header__breadcrumb a:hover {
    color: var(--z3-white);
}

/* Content area */
.z3-content {
    padding: 80px 0;
}

.z3-content__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.z3-content--full .z3-content__grid {
    grid-template-columns: 1fr;
}

/* Posts */
.z3-post {
    background: var(--z3-white);
    border-radius: var(--z3-radius-md);
    box-shadow: var(--z3-shadow-sm);
    overflow: hidden;
    margin-bottom: 30px;
}

.z3-post__thumbnail {
    height: 300px;
    overflow: hidden;
}

.z3-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.z3-post__body {
    padding: 35px;
}

.z3-post__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--z3-medium-gray);
}

.z3-post__meta a {
    color: var(--z3-accent);
}

.z3-post__title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.z3-post__title a {
    color: var(--z3-primary);
}

.z3-post__title a:hover {
    color: var(--z3-accent);
}

.z3-post__content {
    color: var(--z3-text-light);
    line-height: 1.8;
}

.z3-post__content p {
    margin-bottom: 1.5em;
}

.z3-post__content h2,
.z3-post__content h3,
.z3-post__content h4 {
    margin: 1.5em 0 0.8em;
}

.z3-post__content img {
    border-radius: var(--z3-radius-sm);
    margin: 1em 0;
}

.z3-post__content blockquote {
    border-left: 4px solid var(--z3-primary);
    padding: 20px 25px;
    background: var(--z3-off-white);
    border-radius: 0 var(--z3-radius-sm) var(--z3-radius-sm) 0;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--z3-text-light);
}

/* Sidebar */
.z3-sidebar .widget {
    background: var(--z3-white);
    border-radius: var(--z3-radius-md);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--z3-shadow-sm);
}

.z3-sidebar .widget-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--z3-light-gray);
    position: relative;
}

.z3-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--z3-primary);
}

/* Pagination */
.z3-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.z3-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--z3-radius-sm);
    background: var(--z3-white);
    color: var(--z3-text);
    font-weight: 600;
    box-shadow: var(--z3-shadow-sm);
    transition: var(--z3-transition);
}

.z3-pagination .page-numbers:hover,
.z3-pagination .page-numbers.current {
    background: var(--z3-primary);
    color: var(--z3-white);
}

/* Comments */
.z3-comments {
    margin-top: 40px;
}

.z3-comments__title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.z3-comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--z3-light-gray);
}

.z3-comment__avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.z3-comment__meta {
    margin-bottom: 10px;
}

.z3-comment__author {
    font-weight: 700;
    color: var(--z3-primary);
}

.z3-comment__date {
    font-size: 0.85rem;
    color: var(--z3-medium-gray);
    margin-left: 10px;
}

.z3-comment__content {
    color: var(--z3-text-light);
    line-height: 1.7;
}

/* Comment Form */
.z3-comment-form .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.z3-comment-form .comment-form-comment {
    grid-column: 1 / -1;
}

.z3-comment-form input[type="text"],
.z3-comment-form input[type="email"],
.z3-comment-form input[type="url"],
.z3-comment-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--z3-light-gray);
    border-radius: var(--z3-radius-sm);
    font-family: var(--z3-font-primary);
    font-size: 0.95rem;
    transition: var(--z3-transition-fast);
    background: var(--z3-off-white);
}

.z3-comment-form input:focus,
.z3-comment-form textarea:focus {
    border-color: var(--z3-primary);
    outline: none;
    background: var(--z3-white);
    box-shadow: 0 0 0 4px rgba(0,57,84,0.08);
}

.z3-comment-form .form-submit {
    grid-column: 1 / -1;
}

.z3-comment-form .submit {
    background: var(--z3-gradient);
    color: var(--z3-white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--z3-radius-xl);
    font-family: var(--z3-font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--z3-transition);
}

.z3-comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--z3-shadow-md);
}

/* 404 page */
.z3-404 {
    text-align: center;
    padding: 100px 20px;
}

.z3-404__number {
    font-size: 10rem;
    font-family: var(--z3-font-heading);
    font-weight: 900;
    background: var(--z3-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.z3-404__title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.z3-404__desc {
    font-size: 1.1rem;
    color: var(--z3-text-light);
    margin-bottom: 30px;
}

/* Search form */
.z3-search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.z3-search-form input[type="search"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--z3-light-gray);
    border-right: none;
    border-radius: var(--z3-radius-xl) 0 0 var(--z3-radius-xl);
    font-family: var(--z3-font-primary);
    font-size: 0.95rem;
}

.z3-search-form input[type="search"]:focus {
    border-color: var(--z3-primary);
    outline: none;
}

.z3-search-form button {
    padding: 14px 25px;
    background: var(--z3-gradient);
    color: var(--z3-white);
    border: none;
    border-radius: 0 var(--z3-radius-xl) var(--z3-radius-xl) 0;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--z3-transition);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.z3-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.z3-animate.z3-visible {
    opacity: 1;
    transform: translateY(0);
}

.z3-animate--left {
    transform: translateX(-40px);
}

.z3-animate--left.z3-visible {
    transform: translateX(0);
}

.z3-animate--right {
    transform: translateX(40px);
}

.z3-animate--right.z3-visible {
    transform: translateX(0);
}

.z3-animate--scale {
    transform: scale(0.9);
}

.z3-animate--scale.z3-visible {
    transform: scale(1);
}

/* Stagger children */
.z3-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.z3-stagger.z3-visible > *:nth-child(1) { transition-delay: 0.1s; }
.z3-stagger.z3-visible > *:nth-child(2) { transition-delay: 0.2s; }
.z3-stagger.z3-visible > *:nth-child(3) { transition-delay: 0.3s; }
.z3-stagger.z3-visible > *:nth-child(4) { transition-delay: 0.4s; }
.z3-stagger.z3-visible > *:nth-child(5) { transition-delay: 0.5s; }
.z3-stagger.z3-visible > *:nth-child(6) { transition-delay: 0.6s; }

.z3-stagger.z3-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */
@keyframes z3FadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes z3FadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes z3Float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-3deg);
    }
    75% {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

@keyframes z3Bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes z3ScrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes z3Pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0,57,84,0.3);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0,57,84,0);
    }
}

@keyframes z3CountUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .z3-logo img,
    .z3-logo__img {
        height: 45px;
    }

    .z3-header.scrolled .z3-logo img,
    .z3-header.scrolled .z3-logo__img {
        height: 36px;
    }

    .z3-about__grid {
        gap: 40px;
    }

    .z3-courses__grid,
    .z3-why__grid,
    .z3-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z3-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .z3-stats__item:nth-child(2)::after {
        display: none;
    }

    .z3-content__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .z3-logo img,
    .z3-logo__img {
        height: 38px;
    }

    .z3-header.scrolled .z3-logo img,
    .z3-header.scrolled .z3-logo__img {
        height: 32px;
    }

    .z3-logo__text {
        font-size: 1.2rem;
    }

    .z3-section {
        padding: 70px 0;
    }

    .z3-menu-toggle {
        display: flex;
    }

    .z3-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--z3-primary);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 5px;
        transition: var(--z3-transition);
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        z-index: 1000;
        align-items: flex-start;
    }

    .z3-nav.open {
        right: 0;
    }

    .z3-nav a {
        color: rgba(255,255,255,0.85) !important;
        width: 100%;
        padding: 12px 18px;
        border-radius: var(--z3-radius-sm);
    }

    .z3-nav a:hover {
        background: rgba(255,255,255,0.08);
        color: #fff !important;
    }

    .z3-nav .z3-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

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

    .z3-hero__arrows {
        display: none;
    }

    .z3-about__grid {
        grid-template-columns: 1fr;
    }

    .z3-about__features {
        grid-template-columns: 1fr;
    }

    .z3-courses__grid,
    .z3-why__grid,
    .z3-news__grid {
        grid-template-columns: 1fr;
    }

    .z3-stats__inner {
        grid-template-columns: 1fr 1fr;
    }

    .z3-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .z3-footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .z3-testimonial-card__inner {
        padding: 30px 20px;
    }

    .z3-scroll-indicator {
        display: none;
    }

    .z3-hero__buttons {
        flex-direction: column;
    }

    .z3-hero__buttons .z3-btn {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .z3-logo img,
    .z3-logo__img {
        height: 30px;
    }

    .z3-header.scrolled .z3-logo img,
    .z3-header.scrolled .z3-logo__img {
        height: 26px;
    }

    .z3-logo__text {
        font-size: 1rem;
    }

    .z3-stats__inner {
        grid-template-columns: 1fr;
    }

    .z3-stats__item::after {
        display: none !important;
    }

    .z3-stats__item {
        padding: 25px 20px;
    }

    .z3-hero__title {
        font-size: 2rem;
    }

    .z3-post__body {
        padding: 20px;
    }

    .z3-comment {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   WORDPRESS SPECIFIC / ACCESSIBILITY
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
}

.screen-reader-text:focus {
    background-color: var(--z3-off-white);
    clip: auto !important;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress alignment */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 15px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--z3-medium-gray);
    padding: 8px 0;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    border-radius: var(--z3-radius-sm);
}

/* Navigation links */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--z3-light-gray);
}

/* Loading animation */
.z3-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--z3-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.z3-loading.loaded {
    opacity: 0;
    visibility: hidden;
}

.z3-loading__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--z3-light-gray);
    border-top-color: var(--z3-primary);
    border-radius: 50%;
    animation: z3Spin 0.8s linear infinite;
}

@keyframes z3Spin {
    to { transform: rotate(360deg); }
}

/* Print styles */
/* ========================================
   PAGE BUILDER SUPPORT
   ======================================== */
.z3-pagebuilder-content {
    width: 100%;
}

.z3-pagebuilder-content .panel-grid-cell {
    padding: 0;
}

.z3-pagebuilder-content .so-panel {
    margin-bottom: 0;
}

.z3-pagebuilder-content .widget {
    padding: 0;
}

.z3-pagebuilder-content img {
    max-width: 100%;
    height: auto;
}

.z3-frontpage-content {
    margin-top: 0;
}

.z3-pagebuilder-content .textwidget {
    max-width: var(--z3-container);
    margin: 0 auto;
    padding: 0 20px;
}

.z3-pagebuilder-content .panel-row-style {
    overflow: hidden;
}

/* Full-width row support */
.z3-pagebuilder-content .panel-row-style[data-full-width="true"],
.z3-pagebuilder-content .siteorigin-panels-stretch {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ========================================
   UNIVERSAL PAGE BUILDER SUPPORT
   ======================================== */

/* Hide page header when a page builder is active */
.z3-has-page-builder .z3-page-header {
    display: none;
}

/* Remove width constraints from content wrappers */
.z3-has-page-builder .z3-content,
.z3-has-page-builder .z3-content__grid,
.z3-has-page-builder .z3-content__main {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure each builder's root container fills the width */
.z3-builder-elementor .elementor {
    width: 100%;
}
.z3-builder-beaver-builder .fl-builder-content {
    width: 100%;
}
.z3-builder-wpbakery .wpb-content-wrapper {
    width: 100%;
}
.z3-builder-divi #et-boc {
    width: 100%;
}
.z3-builder-brizy .brz-root__container {
    width: 100%;
}
.z3-builder-gutenberg-blocks .z3-pagebuilder-content,
.z3-builder-gutenberg-blocks .z3-post__content {
    width: 100%;
}

/* ========================================
   PROMO BAR (TICKER)
   ======================================== */
.z3-promo-bar {
    background: var(--z3-gold);
    overflow: hidden;
    position: relative;
    z-index: 19;
}

.z3-promo-bar__track {
    overflow: hidden;
    white-space: nowrap;
}

.z3-promo-bar__items {
    display: inline-flex;
    animation: z3Ticker 20s linear infinite;
}

.z3-promo-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 40px;
    color: var(--z3-primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--z3-transition-fast);
}

.z3-promo-bar__item:hover {
    color: var(--z3-primary-dark);
    opacity: 0.85;
}

.z3-promo-bar__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@keyframes z3Ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   VIDEO TOUR SECTION
   ======================================== */
.z3-video-tour {
    max-width: 900px;
    margin: 0 auto;
}

.z3-video-tour__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--z3-radius-lg);
    overflow: hidden;
    box-shadow: var(--z3-shadow-xl);
}

.z3-video-tour__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.z3-video-tour__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--z3-transition);
}

.z3-video-tour__poster:hover img {
    transform: scale(1.03);
}

.z3-video-tour__poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 57, 84, 0.35);
    transition: var(--z3-transition);
}

.z3-video-tour__poster:hover::after {
    background: rgba(0, 57, 84, 0.2);
}

.z3-video-tour__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--z3-gold);
    border: none;
    border-radius: 50%;
    color: var(--z3-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--z3-transition);
    box-shadow: 0 4px 30px rgba(212,168,67,0.5);
}

.z3-video-tour__play:hover {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 40px rgba(212,168,67,0.6);
}

.z3-video-tour__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.z3-video-tour__iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.z3-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--z3-transition);
    animation: z3WaPulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.z3-whatsapp.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.z3-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.z3-whatsapp__tooltip {
    position: absolute;
    left: 70px;
    background: var(--z3-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--z3-radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--z3-transition-fast);
    pointer-events: none;
}

.z3-whatsapp__tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent var(--z3-primary) transparent transparent;
}

.z3-whatsapp:hover .z3-whatsapp__tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes z3WaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ========================================
   CARD LINK STYLES
   ======================================== */
.z3-why-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--z3-accent);
    transition: var(--z3-transition-fast);
}

.z3-why-card__link:hover {
    gap: 12px;
    color: var(--z3-primary);
}

.z3-why-card--linked {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.z3-why-card--linked:hover {
    color: inherit;
}

a.z3-why-card--linked .z3-why-card__title {
    transition: var(--z3-transition-fast);
}

a.z3-why-card--linked:hover .z3-why-card__title {
    color: var(--z3-accent);
}

/* Pulse animation for CTA button */
.z3-btn--pulse {
    animation: z3GoldPulse 2s infinite;
}

@keyframes z3GoldPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(212,168,67,0.3); }
    50% { box-shadow: 0 4px 15px rgba(212,168,67,0.3), 0 0 0 10px rgba(212,168,67,0); }
}

/* ========================================
   RESPONSIVE ADDITIONS
   ======================================== */
@media (max-width: 1024px) {
    .z3-video-tour__play {
        width: 65px;
        height: 65px;
    }
    .z3-video-tour__play svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .z3-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .z3-whatsapp svg {
        width: 24px;
        height: 24px;
    }
    .z3-whatsapp__tooltip {
        display: none;
    }
    .z3-video-tour__play {
        width: 56px;
        height: 56px;
    }
    .z3-video-tour__play svg {
        width: 28px;
        height: 28px;
    }
    .z3-promo-bar__item {
        padding: 10px 30px;
        font-size: 0.82rem;
    }
}

/* ========================================
   NEW UTILITY CLASSES (no inline styles)
   ======================================== */

/* Section footer (centered buttons area) */
.z3-section-footer {
    text-align: center;
    margin-top: 50px;
}

.z3-section-footer--flex {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 4-column grid variant */
.z3-why__grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

/* 2-column courses grid variant */
.z3-courses__grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Course card placeholder (replaces inline gradient backgrounds) */
.z3-course-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--z3-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 4rem;
}

.z3-course-card__placeholder--accent {
    background: linear-gradient(135deg, #003954 0%, #0077b6 50%, #00a8e8 100%);
}

.z3-course-card__placeholder--sm {
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
}

.z3-course-card__placeholder svg {
    width: 1em;
    height: 1em;
}

/* Testimonial initials (replaces inline styles) */
.z3-testimonial-card__initials {
    width: 100%;
    height: 100%;
    background: var(--z3-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.z3-testimonial-card__initials--accent {
    background: var(--z3-accent);
}

.z3-testimonial-card__initials--gold {
    background: var(--z3-gold);
    color: var(--z3-primary);
}

/* ========================================
   ENHANCED RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .z3-why__grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .z3-courses__grid--2col {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .z3-hero__title {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }

    .z3-hero__desc {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    }

    .z3-section {
        padding: 80px 0;
    }

    .z3-section-header {
        margin-bottom: 45px;
    }

    .z3-cta {
        padding: 80px 0;
    }

    .z3-testimonial-card__inner {
        padding: 40px 30px;
    }
}

/* ========================================
   ENHANCED RESPONSIVE - MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
    /* Better container padding on mobile */
    .z3-container {
        padding: 0 16px;
    }

    .z3-header__inner {
        padding: 0 16px;
    }

    /* Hero improvements for mobile */
    .z3-hero {
        min-height: 100svh;
        height: auto;
    }

    .z3-hero__content {
        padding: 0 16px;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .z3-hero__badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 18px;
    }

    .z3-hero__title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 16px;
    }

    .z3-hero__desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.7;
    }

    .z3-hero__nav {
        bottom: 25px;
    }

    .z3-hero__dot {
        width: 10px;
        height: 10px;
    }

    /* Improved mobile stats */
    .z3-stats {
        margin-top: -40px;
    }

    .z3-stats__inner {
        border-radius: var(--z3-radius-md);
    }

    .z3-stats__number {
        font-size: 2rem;
    }

    .z3-stats__label {
        font-size: 0.82rem;
    }

    /* Section spacing mobile */
    .z3-section {
        padding: 60px 0;
    }

    .z3-section-header {
        margin-bottom: 35px;
    }

    .z3-section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .z3-section-header p {
        font-size: 1rem;
    }

    /* Grid layouts mobile */
    .z3-why__grid--4col {
        grid-template-columns: 1fr;
    }

    .z3-courses__grid--2col {
        grid-template-columns: 1fr;
    }

    /* Improved mobile cards */
    .z3-course-card__image {
        height: 180px;
    }

    .z3-course-card__body {
        padding: 20px;
    }

    .z3-why-card {
        padding: 35px 25px;
    }

    /* Better touch targets - minimum 44px */
    .z3-btn {
        min-height: 48px;
        padding: 14px 28px;
    }

    .z3-btn--lg {
        padding: 16px 32px;
    }

    .z3-hero__nav {
        gap: 16px;
    }

    .z3-hero__dot {
        width: 10px;
        height: 10px;
        padding: 16px;
        background-clip: content-box;
    }

    /* CTA mobile */
    .z3-cta {
        padding: 60px 0;
    }

    .z3-cta__content h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .z3-cta__content p {
        font-size: 1rem;
    }

    .z3-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .z3-cta__buttons .z3-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* Section footer mobile */
    .z3-section-footer {
        margin-top: 35px;
    }

    .z3-section-footer--flex {
        flex-direction: column;
        align-items: center;
    }

    .z3-section-footer--flex .z3-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* About section mobile */
    .z3-about__image img {
        height: 280px;
    }

    .z3-about__content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    /* Mobile nav improvements */
    .z3-nav {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }

    .z3-nav.open {
        right: 0;
    }

    /* Promo bar mobile */
    .z3-promo-bar__item {
        padding: 10px 25px;
        font-size: 0.8rem;
    }

    /* Video tour mobile */
    .z3-video-tour__play {
        width: 60px;
        height: 60px;
    }

    .z3-video-tour__play svg {
        width: 28px;
        height: 28px;
    }

    /* Reduce motion on mobile for performance */
    .z3-hero__shapes {
        display: none;
    }

    .z3-cta__shapes {
        display: none;
    }
}

/* ========================================
   ENHANCED RESPONSIVE - SMALL MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    .z3-container {
        padding: 0 12px;
    }

    .z3-header__inner {
        padding: 0 12px;
    }

    .z3-hero__content {
        padding: 0 12px;
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .z3-hero__title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .z3-hero__desc {
        font-size: 0.9rem;
    }

    .z3-section {
        padding: 50px 0;
    }

    .z3-section-header {
        margin-bottom: 30px;
    }

    .z3-stats__item {
        padding: 20px 16px;
    }

    .z3-stats__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .z3-stats__number {
        font-size: 1.75rem;
    }

    .z3-about__image img {
        height: 220px;
    }

    .z3-about__image-badge {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .z3-course-card__image {
        height: 160px;
    }

    .z3-course-card__placeholder {
        font-size: 3rem;
    }

    .z3-why-card {
        padding: 30px 20px;
    }

    .z3-why-card__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .z3-testimonial-card__inner {
        padding: 25px 16px;
    }

    .z3-testimonial-card__text {
        font-size: 0.95rem;
    }

    .z3-footer {
        padding-top: 50px;
    }

    .z3-footer__grid {
        gap: 25px;
        padding-bottom: 30px;
    }

    .z3-footer__contact li {
        font-size: 0.85rem;
    }

    .z3-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   SAFE AREA / NOTCH SUPPORT
   ======================================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .z3-footer__bottom {
        padding-bottom: calc(25px + env(safe-area-inset-bottom));
    }

    .z3-back-to-top {
        bottom: calc(30px + env(safe-area-inset-bottom));
    }

    .z3-whatsapp {
        bottom: calc(30px + env(safe-area-inset-bottom));
    }

    .z3-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ========================================
   REDUCED MOTION PREFERENCES
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .z3-hero__slide {
        transition: opacity 0.3s ease;
        transform: none;
    }

    .z3-hero__slide.active {
        transform: none;
    }

    .z3-hero__shapes,
    .z3-cta__shapes {
        display: none;
    }

    .z3-scroll-indicator {
        display: none;
    }

    .z3-animate {
        opacity: 1;
        transform: none;
    }

    .z3-stagger > * {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   LANDSCAPE PHONE ADJUSTMENTS
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .z3-hero {
        min-height: 100svh;
        height: auto;
    }

    .z3-hero__content {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .z3-hero__title {
        font-size: 1.5rem;
    }

    .z3-hero__desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .z3-hero__badge {
        margin-bottom: 12px;
    }

    .z3-scroll-indicator {
        display: none;
    }
}

/* ========================================
   PAGINA CONVENZIONI & PROMOZIONI
   Hero + collapsible blocks design
   ======================================== */

/* --- Hero Promo Variant --- */
.z3-hero--promo {
    min-height: 70vh;
}
.z3-hero--promo .z3-hero__slide-bg--default {
    background: var(--z3-gradient);
}

/* --- Collapsible Blocks --- */
.z3-blocks {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.z3-block {
    background: var(--z3-white);
    border: 1px solid var(--z3-light-gray);
    border-radius: var(--z3-radius-md);
    overflow: hidden;
    transition: var(--z3-transition);
}
.z3-block:hover {
    border-color: var(--z3-accent);
    box-shadow: var(--z3-shadow-sm);
}
.z3-block--gold {
    border-color: var(--z3-gold);
    border-width: 2px;
}
.z3-block--open {
    box-shadow: var(--z3-shadow-md);
    border-color: var(--z3-accent);
}
.z3-block--wide {
    max-width: 100%;
}

/* --- Block Toggle (header row) --- */
.z3-block__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--z3-font-primary);
    text-align: left;
    transition: var(--z3-transition-fast);
}
.z3-block__toggle:hover {
    background: var(--z3-off-white);
}
.z3-block__head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.z3-block__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--z3-radius-sm);
    background: rgba(0,119,182,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--z3-accent);
    flex-shrink: 0;
}
.z3-block__icon-wrap svg {
    width: 22px;
    height: 22px;
}
.z3-block--gold .z3-block__icon-wrap {
    background: rgba(212,168,67,0.1);
    color: var(--z3-gold);
}
.z3-block__title-wrap {
    min-width: 0;
}
.z3-block__toggle h3 {
    font-size: 1.05rem;
    font-family: var(--z3-font-heading);
    color: var(--z3-primary);
    margin: 0;
    line-height: 1.3;
}
.z3-block__badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(212,168,67,0.12);
    color: var(--z3-gold);
    border-radius: var(--z3-radius-xl);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.z3-block__sub {
    display: block;
    font-size: 0.82rem;
    color: var(--z3-medium-gray);
    margin-top: 2px;
}
.z3-block__toggle-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--z3-primary);
    font-family: var(--z3-font-heading);
    white-space: nowrap;
    flex-shrink: 0;
}
.z3-block__toggle-price small {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--z3-medium-gray);
}
.z3-block__arrow {
    display: flex;
    color: var(--z3-medium-gray);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.z3-block__arrow svg {
    width: 20px;
    height: 20px;
}
.z3-block--open .z3-block__arrow {
    transform: rotate(90deg);
    color: var(--z3-accent);
}

/* --- Block Panel (collapsible body) --- */
.z3-block__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.z3-block--open .z3-block__panel {
    max-height: 600px;
}
.z3-block__panel-inner {
    padding: 0 24px 24px 88px;
}
.z3-block__panel-inner p {
    font-size: 0.92rem;
    color: var(--z3-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* --- Chips --- */
.z3-block__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.z3-block__chips span {
    display: inline-block;
    padding: 4px 14px;
    background: var(--z3-off-white);
    color: var(--z3-text-light);
    border-radius: var(--z3-radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--z3-light-gray);
}

/* --- Block Table --- */
.z3-block__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.z3-block__table td {
    padding: 9px 0;
    border-bottom: 1px solid var(--z3-light-gray);
    font-size: 0.9rem;
    color: var(--z3-text-light);
}
.z3-block__table tr:last-child td {
    border-bottom: none;
}
.z3-block__table td:last-child {
    text-align: right;
}
.z3-block__table strong {
    color: var(--z3-primary);
    font-weight: 700;
}

/* --- Contact Row --- */
.z3-block__contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.z3-block__contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--z3-accent);
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(0,119,182,0.06);
    border-radius: var(--z3-radius-xl);
    transition: var(--z3-transition-fast);
}
.z3-block__contact-row a svg {
    width: 14px;
    height: 14px;
}
.z3-block__contact-row a:hover {
    background: var(--z3-accent);
    color: var(--z3-white);
}

/* --- Discount Badge (inside why-card) --- */
.z3-block__discount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--z3-gold);
    font-family: var(--z3-font-heading);
    margin-top: 12px;
}

/* --- Footnote --- */
.z3-block__footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 16px 24px;
    border-radius: var(--z3-radius-sm);
    font-size: 0.88rem;
}
.z3-block__footnote svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.6;
}
.z3-section--dark .z3-block__footnote {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
}

/* --- Note inside panel --- */
.z3-block__note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--z3-medium-gray);
    font-style: italic;
    margin-top: 8px;
}
.z3-block__note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
}

/* --- Centered features variant --- */
.z3-about__features--center {
    justify-content: center;
    margin-bottom: 40px;
}
.z3-section--dark .z3-about__features--center .z3-about__feature {
    color: rgba(255,255,255,0.8);
}
.z3-section--dark .z3-about__features--center .z3-about__feature-icon {
    background: rgba(255,255,255,0.08);
    color: var(--z3-gold);
}

/* --- Responsive Promo Blocks --- */
@media (max-width: 768px) {
    .z3-hero--promo { min-height: 60vh; }
    .z3-block__toggle { padding: 16px 18px; gap: 10px; }
    .z3-block__icon-wrap { width: 40px; height: 40px; }
    .z3-block__icon-wrap svg { width: 18px; height: 18px; }
    .z3-block__toggle h3 { font-size: 0.95rem; }
    .z3-block__toggle-price { font-size: 0.88rem; }
    .z3-block__sub { display: none; }
    .z3-block__panel-inner { padding-left: 24px; }
    .z3-block__contact-row { flex-direction: column; }
    .z3-about__features--center { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .z3-block__toggle-price { display: none; }
    .z3-block__chips span { font-size: 0.72rem; padding: 3px 10px; }
}

@media print {
    .z3-header,
    .z3-footer,
    .z3-back-to-top,
    .z3-hero__nav,
    .z3-hero__arrows,
    .z3-scroll-indicator,
    .z3-whatsapp,
    .z3-promo-bar {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
    }
}
