/*
Theme Name: Salvo Leone
Theme URI: https://salvoleone.dev
Author: Salvo Leone
Author URI: https://salvoleone.dev
Description: Tema WordPress sartoriale per brand di fascia medio-alta
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salvoleone
Tags: custom-theme, portfolio, responsive, bootstrap
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #6b6b6b;
    --color-muted: #9a9a9a;
    --color-light: #f5f5f3;
    --color-border: #e8e8e6;
    --color-green-1: #d4e8d0;
    --color-green-2: #c8e0c3;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --navbar-height: 72px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green-1), var(--color-primary));
    z-index: 99999;
    transition: width 0.1s linear;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar-custom {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.navbar-custom.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand-custom {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-brand-custom svg {
    width: 20px;
    height: 20px;
}

.nav-link-custom {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-secondary);
    padding: 0.5rem 1rem;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--color-primary);
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-custom.active,
.current-menu-item > .nav-link-custom {
    color: var(--color-primary);
}

.nav-link-custom.active::after,
.current-menu-item > .nav-link-custom::after {
    transform: scaleX(1);
}

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: 4rem 0 3rem;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.btn-primary-custom:hover {
    color: #fff;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-secondary-custom {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
}

/* Color Swatches */
.color-swatches {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swatch:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swatch-1 { background: #fff; }
.swatch-2 { background: #f5f5f3; }
.swatch-3 { background: #e8e8e6; }
.swatch-4 { background: var(--color-green-1); }
.swatch-5 { background: var(--color-green-2); }

/* Typography Info */
.typography-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.typo-item label {
    font-size: 0.75rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.typo-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.typo-item:last-child span {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
    border-color: var(--color-muted);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card h6 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Portfolio Mockups */
.mockup-container {
    position: relative;
    padding: 2rem 0;
}

.mockup-main {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-light);
    padding: 1.5rem;
}

.mockup-main img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mockup-main:hover img {
    transform: scale(1.02);
}

.mockup-overlay-1 {
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 55%;
    z-index: 2;
}

.mockup-overlay-1 img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mockup-overlay-1:hover img {
    transform: translateY(-6px) rotate(-1deg);
}

.mockup-overlay-2 {
    position: absolute;
    bottom: 20px;
    right: 5%;
    width: 35%;
    z-index: 3;
}

.mockup-overlay-2 img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: rotate(-3deg);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mockup-overlay-2:hover img {
    transform: translateY(-6px) rotate(0deg);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 4rem 0 3rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-secondary);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 860px;
}

.about-content {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.about-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.about-photo img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.about-tagline h6 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-tagline p {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin: 0;
}

.about-text {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-top: 1.25rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0;
}

.testimonial-card blockquote p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.testimonial-card blockquote footer {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    font-style: normal;
    background: none;
    padding: 0;
    border: none;
}

.testimonial-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-logo {
    transform: rotate(5deg) scale(1.1);
}

.testimonial-logo svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.testimonial-logo.dark-bg {
    background: #2a2a28;
}

.testimonial-logo.dark-bg svg {
    fill: #c9a96e;
}

.testimonial-logo.gold-bg {
    background: #c9a96e;
}

.testimonial-logo.gold-bg svg {
    fill: #2a2a28;
}

/* ========================================
   STATS
   ======================================== */
.stats-section {
    padding: 3rem 0;
}

.stat-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-1), var(--color-green-2));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--color-green-1);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.08);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin: 0;
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand svg {
    width: 18px;
    height: 18px;
}

.footer-desc {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    color: var(--color-primary);
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-col h6 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.footer-col ul li {
    margin-bottom: 0.375rem;
}

.footer-col ul li a {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-col ul li a:hover::before {
    width: 100%;
}

.footer-contact a {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    display: inline-block;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: var(--color-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--color-secondary);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ========================================
   WORDPRESS CORE CLASSES
   ======================================== */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--color-muted); margin-top: 0.5rem; }
.sticky { /* handled by WP */ }
.gallery-caption { font-size: 0.8125rem; }
.bypostauthor { /* highlight author comment if needed */ }
.alignnone { margin: 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-block-image.aligncenter { margin-left: auto; margin-right: auto; }

/* ========================================
   PAGE / SINGLE POST CONTENT
   ======================================== */
.page-content,
.entry-content {
    padding: 4rem 0;
    font-size: 0.9375rem;
    color: var(--color-secondary);
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.entry-content p { margin-bottom: 1rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.375rem; }

/* ========================================
   RESPONSIVE — TABLET LANDSCAPE (max 992px)
   ======================================== */
@media (max-width: 991.98px) {
    .hero-heading { font-size: 2.25rem; }
    .hero-section { padding: 3rem 0 2rem; }
    .about-section { padding: 3rem 0 2rem; }
    .mockup-container { margin-top: 2.5rem; }
    .mockup-overlay-1 { width: 50%; left: 5%; }
    .mockup-overlay-2 { width: 30%; right: 2%; }
    .typography-info { gap: 1.5rem; }
    .section-subtitle { margin-bottom: 2.5rem; }

    .mobile-toggle { display: flex; }

    .nav-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-border);
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .nav-menu-wrapper.open { display: flex; }

    .nav-link-custom {
        padding: 0.75rem 1rem;
        width: 100%;
        border-radius: 8px;
    }

    .nav-link-custom:hover { background: var(--color-light); }
    .nav-link-custom::after { display: none; }

    .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
        width: 100%;
        border-radius: 8px;
    }
}

/* ========================================
   RESPONSIVE — TABLET PORTRAIT (max 768px)
   ======================================== */
@media (max-width: 767.98px) {
    :root { --navbar-height: 64px; }
    .hero-heading { font-size: 1.875rem; }
    .hero-section { padding: 2.5rem 0 2rem; }
    .about-section { padding: 2.5rem 0 2rem; }
    .stats-section { padding: 2rem 0; }
    .section-heading { font-size: 1.5rem; }
    .mockup-container { margin-top: 2rem; }

    .mockup-overlay-1 {
        position: relative;
        width: 70%;
        left: auto;
        bottom: auto;
        margin-top: -2rem;
        margin-left: 5%;
    }

    .mockup-overlay-2 {
        position: absolute;
        width: 40%;
        bottom: -10px;
        right: 5%;
    }

    .typography-info { flex-direction: column; gap: 0.75rem; }

    .hero-buttons { flex-direction: column; gap: 0.75rem; }

    .btn-primary-custom,
    .btn-secondary-custom { text-align: center; width: 100%; }

    .testimonial-card { flex-direction: column; gap: 0.75rem; }
    .testimonial-card:hover { transform: translateY(-4px); }
    .testimonial-logo { align-self: flex-start; }

    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .stat-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 1.5rem; }
}

/* ========================================
   RESPONSIVE — MOBILE (max 576px)
   ======================================== */
@media (max-width: 575.98px) {
    .hero-heading { font-size: 1.625rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.9375rem; }

    .mockup-overlay-2 { width: 45%; right: 0; bottom: -15px; }
    .mockup-overlay-1 { width: 80%; margin-left: 0; }

    .color-swatches { gap: 0.5rem; }
    .swatch { width: 30px; height: 30px; }
    .feature-card { padding: 1.25rem; }
    .about-content { padding: 1.5rem; }
    .testimonial-card { padding: 1.25rem; }
    .stat-card { padding: 1.25rem 0.75rem; }
    .stat-number { font-size: 1.375rem; }
    .stat-label { font-size: 0.75rem; }
    .footer { padding: 2rem 0 1rem; }
    .footer-desc { max-width: 100%; }
    .footer-col { margin-bottom: 1rem; }

    .section-subtitle { font-size: 0.875rem; margin-bottom: 2rem; }
    .about-section,
    .hero-section { padding: 2rem 0 1.5rem; }
    .stats-section { padding: 1.5rem 0; }

    .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ========================================
   SMALL MOBILE (max 400px)
   ======================================== */
@media (max-width: 400px) {
    .hero-heading { font-size: 1.4375rem; }
    .navbar-brand-custom { font-size: 1.125rem; }
    .mockup-overlay-2 { width: 50%; bottom: -20px; }
    .mockup-overlay-1 { width: 90%; }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar-custom,
    .scroll-progress,
    .mobile-toggle { display: none !important; }

    .hero-section,
    .about-section,
    .stats-section,
    .footer { padding: 1rem 0; }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale { opacity: 1; transform: none; }
}

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

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale { opacity: 1; transform: none; }

    .scroll-progress { display: none; }
}
