/*
Theme Name:  ZVIS Theme
Theme URI:   https://igacrtest.mickpurtsch.com
Author:      ZVIS — Zürcher Verband Internationaler Sportarten
Author URI:  https://igacrtest.mickpurtsch.com
Description: Standalone custom theme for ZVIS. Built for WordPress 6.9.x with Elementor Free. Bilingual DE/EN via Polylang. Events via The Events Calendar.
Version:     1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License:     Proprietary
License URI: https://igacrtest.mickpurtsch.com
Text Domain: zvis
*/

/* ═══════════════════════════════════════════════════════════
   ZVIS DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   All values here are the single source of truth.
   Elementor Global Colors should mirror these values.
═══════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --zvis-blue:         #0063A6;
    --zvis-blue-dark:    #004E85;
    --zvis-blue-light:   #1A7EC7;
    --zvis-blue-pale:    #E8F4FD;
    --zvis-white:        #FFFFFF;
    --zvis-dark:         #0D1B2A;
    --zvis-dark-mid:     #1A2B3C;
    --zvis-grey-light:   #F2F5F8;
    --zvis-grey-mid:     #C8D4DC;
    --zvis-grey-text:    #5C7080;
    --zvis-accent:       #FF6B00;
    --zvis-accent-soft:  #FFF0E6;

    /* Typography */
    --zvis-font-display: 'Barlow Condensed', sans-serif;
    --zvis-font-body:    'Barlow', sans-serif;

    /* Layout */
    --zvis-max-width:    1240px;
    --zvis-header-height: 80px;
    --zvis-radius:       4px;
    --zvis-shadow:       0 4px 24px rgba(0, 0, 0, 0.10);
    --zvis-shadow-lg:    0 12px 48px rgba(0, 0, 0, 0.18);

    /* Spacing scale */
    --zvis-space-xs:  8px;
    --zvis-space-sm:  16px;
    --zvis-space-md:  32px;
    --zvis-space-lg:  64px;
    --zvis-space-xl:  96px;
}

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

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

body {
    font-family: var(--zvis-font-body);
    color: var(--zvis-dark);
    background-color: var(--zvis-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Offset body top for fixed header */
body.has-fixed-header {
    padding-top: var(--zvis-header-height);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

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

ul,
ol {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════ */
.zvis-container {
    max-width: var(--zvis-max-width);
    margin-inline: auto;
    padding-inline: var(--zvis-space-md);
}

.zvis-section {
    padding-block: var(--zvis-space-lg);
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY — BASE STYLES
   Elementor will override per-widget but these provide
   correct defaults for non-Elementor content areas.
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--zvis-font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--zvis-dark);
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 32px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    margin-bottom: 1em;
    font-size: 15px;
    line-height: 1.75;
    color: var(--zvis-grey-text);
}

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

/* ═══════════════════════════════════════════════════════════
   LINKS
═══════════════════════════════════════════════════════════ */
.entry-content a,
.widget a {
    color: var(--zvis-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.entry-content a:hover,
.widget a:hover {
    color: var(--zvis-blue-dark);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.zvis-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--zvis-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--zvis-radius);
    text-decoration: none;
}

.zvis-btn--primary {
    background: var(--zvis-accent);
    color: var(--zvis-white);
}

.zvis-btn--primary:hover {
    background: #e05a00;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
    color: var(--zvis-white);
}

.zvis-btn--blue {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}

.zvis-btn--blue:hover {
    background: var(--zvis-blue-dark);
    color: var(--zvis-white);
}

.zvis-btn--outline {
    background: transparent;
    color: var(--zvis-dark);
    border: 2px solid var(--zvis-blue);
}

.zvis-btn--outline:hover {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}

/* ═══════════════════════════════════════════════════════════
   SKIP LINK (Accessibility)
═══════════════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 99999;
    background: var(--zvis-blue);
    color: var(--zvis-white);
    padding: 12px 20px;
    font-family: var(--zvis-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--zvis-header-height);
    background: var(--zvis-dark);
    border-bottom: 3px solid var(--zvis-blue);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--zvis-accent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--zvis-header-height);
    gap: var(--zvis-space-md);
}

/* Site Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-logo__placeholder {
    width: 48px;
    height: 48px;
    background: var(--zvis-blue);
    border-radius: var(--zvis-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--zvis-font-display);
    font-size: 20px;
    font-weight: 900;
    color: var(--zvis-white);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.site-logo__placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 14px 14px 0;
    border-color: transparent var(--zvis-accent) transparent transparent;
}

.site-logo__text {
    line-height: 1.1;
}

.site-logo__name {
    font-family: var(--zvis-font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--zvis-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

.site-logo__tagline {
    font-family: var(--zvis-font-body);
    font-size: 9px;
    color: var(--zvis-grey-mid);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
}

/* Primary Navigation */
.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    height: var(--zvis-header-height);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation ul li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.primary-navigation ul li a {
    font-family: var(--zvis-font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zvis-grey-mid);
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-decoration: none;
}

.primary-navigation ul li a:hover,
.primary-navigation ul li.current-menu-item > a,
.primary-navigation ul li.current-menu-ancestor > a {
    color: var(--zvis-white);
    border-bottom-color: var(--zvis-blue);
}

/* Dropdown */
.primary-navigation ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    height: auto;
    background: var(--zvis-dark-mid);
    border-top: 2px solid var(--zvis-blue);
    min-width: 210px;
    box-shadow: var(--zvis-shadow-lg);
    z-index: 100;
}

.primary-navigation ul li:hover > ul {
    display: block;
}

.primary-navigation ul li ul li {
    height: auto;
    display: block;
}

.primary-navigation ul li ul li a {
    height: auto;
    padding: 12px 18px;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
    border-left: none;
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
}

.primary-navigation ul li ul li a:hover {
    color: var(--zvis-white);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 24px;
    border-bottom-color: transparent;
}

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--zvis-white);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: var(--zvis-radius);
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--zvis-radius);
    overflow: hidden;
}

.lang-switcher a {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zvis-grey-mid);
    padding: 6px 10px;
    transition: all 0.15s;
    text-decoration: none;
}

.lang-switcher a.current-lang,
.lang-switcher a:hover {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}

/* Polylang language switcher override */
.pll-parent-menu-item {
    display: none !important; /* Hide default Polylang widget if using custom switcher */
}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAVIGATION
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .primary-navigation {
        display: none;
        position: fixed;
        top: var(--zvis-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--zvis-dark);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: var(--zvis-space-md);
        overflow-y: auto;
        z-index: 999;
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation ul {
        flex-direction: column;
        height: auto;
        align-items: stretch;
        width: 100%;
    }

    .primary-navigation ul li {
        height: auto;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .primary-navigation ul li a {
        height: auto;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: none;
        margin-bottom: 0;
        width: 100%;
    }

    .primary-navigation ul li ul {
        position: static;
        display: block;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--zvis-blue);
        background: transparent;
        margin-left: 16px;
        min-width: auto;
    }

    .primary-navigation ul li ul li a {
        font-size: 13px;
        padding: 10px 12px;
        color: var(--zvis-grey-text);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .site-logo__tagline {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT AREA
═══════════════════════════════════════════════════════════ */
#main-content {
    min-height: 60vh;
}

/* Elementor canvas override — ensure full width */
.elementor-section-boxed > .elementor-container {
    max-width: var(--zvis-max-width);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (non-home pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
    background: var(--zvis-dark);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 99, 166, 0.6), transparent 60%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
}

.page-hero__breadcrumb {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zvis-grey-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-hero__breadcrumb a {
    color: var(--zvis-blue-light);
    text-decoration: none;
    transition: color 0.15s;
}

.page-hero__breadcrumb a:hover {
    color: var(--zvis-white);
}

.page-hero__title {
    font-family: var(--zvis-font-display);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--zvis-white);
    line-height: 0.92;
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   SPORT PAGE TABS
═══════════════════════════════════════════════════════════ */
.sport-tabs {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sport-tab {
    font-family: var(--zvis-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zvis-grey-text);
    padding: 16px 24px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: block;
}

.sport-tab:hover,
.sport-tab.active {
    color: var(--zvis-white);
    border-bottom-color: var(--zvis-accent);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--zvis-dark);
    border-top: 3px solid var(--zvis-blue);
}

.footer-main {
    padding: 64px 0 48px;
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo__placeholder {
    width: 40px;
    height: 40px;
    background: var(--zvis-blue);
    border-radius: var(--zvis-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--zvis-font-display);
    font-size: 16px;
    font-weight: 900;
    color: var(--zvis-white);
    flex-shrink: 0;
}

.footer-logo__name {
    font-family: var(--zvis-font-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--zvis-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 13px;
    color: var(--zvis-grey-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 12px;
    color: var(--zvis-grey-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-address strong {
    display: block;
    font-family: var(--zvis-font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zvis-grey-mid);
    margin-bottom: 4px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--zvis-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--zvis-grey-mid);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}

.footer-col h4 {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zvis-grey-mid);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--zvis-grey-text);
    transition: color 0.15s, padding-left 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-nav a::before {
    content: '';
    width: 12px;
    height: 1px;
    background: var(--zvis-blue);
    flex-shrink: 0;
    transition: width 0.2s;
}

.footer-nav a:hover {
    color: var(--zvis-white);
}

.footer-nav a:hover::before {
    width: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--zvis-grey-text);
}

.footer-contact-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 99, 166, 0.25);
    border-radius: var(--zvis-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    color: var(--zvis-blue-light);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-legal {
    font-size: 12px;
    color: var(--zvis-grey-text);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    transition: color 0.15s;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--zvis-grey-mid);
}

.footer-lang {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--zvis-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.footer-lang a {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--zvis-grey-text);
    padding: 6px 12px;
    transition: all 0.15s;
    text-decoration: none;
}

.footer-lang a.current-lang,
.footer-lang a:hover {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   WP CORE — ALIGNMENT & CONTENT CLASSES
═══════════════════════════════════════════════════════════ */
.alignwide {
    margin-inline: calc(-1 * var(--zvis-space-md));
}

.alignfull {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
}

.alignleft {
    float: left;
    margin-right: var(--zvis-space-md);
    margin-bottom: var(--zvis-space-sm);
}

.alignright {
    float: right;
    margin-left: var(--zvis-space-md);
    margin-bottom: var(--zvis-space-sm);
}

.aligncenter {
    margin-inline: auto;
}

/* WP image captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--zvis-grey-text);
    margin-top: 6px;
    font-style: italic;
}

/* WP gallery */
.gallery {
    display: grid;
    gap: 8px;
}

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

/* ═══════════════════════════════════════════════════════════
   THE EVENTS CALENDAR — STYLE OVERRIDES
   Override TEC default styles to match ZVIS design system
═══════════════════════════════════════════════════════════ */
.tribe-events-calendar,
.tribe-events-loop {
    font-family: var(--zvis-font-body) !important;
}

.tribe-event-url,
.tribe-events-calendar td.tribe-events-thismonth .tribe-events-month-grid-cell {
    background: var(--zvis-grey-light) !important;
}

.tribe-events-calendar td.tribe-events-present .tribe-events-month-grid-cell {
    background: var(--zvis-blue-pale) !important;
}

.tribe-events-nav-pagination a,
.tribe-events-nav-previous a,
.tribe-events-nav-next a {
    font-family: var(--zvis-font-display) !important;
    color: var(--zvis-blue) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.tribe-events-single-section--header .tribe-events-single-section-title {
    font-family: var(--zvis-font-display) !important;
    text-transform: uppercase !important;
    color: var(--zvis-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM 7 — STYLE OVERRIDES
═══════════════════════════════════════════════════════════ */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--zvis-grey-mid);
    border-radius: var(--zvis-radius);
    font-family: var(--zvis-font-body);
    font-size: 14px;
    color: var(--zvis-dark);
    background: var(--zvis-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--zvis-blue);
    box-shadow: 0 0 0 3px rgba(0, 99, 166, 0.15);
}

.wpcf7-form input[type="submit"] {
    background: var(--zvis-blue);
    color: var(--zvis-white);
    border: none;
    font-family: var(--zvis-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    border-radius: var(--zvis-radius);
    transition: background 0.2s;
    width: auto;
    margin-bottom: 0;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--zvis-blue-dark);
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--zvis-blue);
    outline-offset: 3px;
}

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

/* ═══════════════════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════════════════ */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
        color: #000 !important;
    }
}
