/*
Theme Name: ICAOLPT Aviation
Theme URI: https://icaolpt.aero
Author: ICAOLPT
Author URI: https://icaolpt.aero
Description: Maßgeschneidertes WordPress-Theme für ICAOLPT – ICAO Language Proficiency Testing. Professionelles Aviation-Design mit Corporate Identity.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: icaolpt
*/

/* ============================================
   SELF-HOSTED INTER FONT (Performance)
   ============================================ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-800.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   ICAOLPT DESIGN SYSTEM – CSS Custom Properties
   ============================================ */

:root {
    /* Primary Colors */
    --navy: #0f2b4a;
    --navy-light: #1a3f6b;
    --navy-dark: #091d33;
    --sky: #3b82f6;
    --sky-light: #60a5fa;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-light: #fbbf24;

    /* Secondary Colors */
    --emerald: #10b981;
    --rose: #ef4444;

    /* Neutrals */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;

    /* ICAO Levels */
    --level-1: #ef4444;
    --level-2: #f97316;
    --level-3: #eab308;
    --level-4: #10b981;
    --level-5: #3b82f6;
    --level-6: #8b5cf6;

    /* Layout */
    --max-width: 1120px;
    --max-width-wide: 1320px;
    --header-height: 80px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.1), 0 2px 4px rgba(15,23,42,0.06);
    --shadow-lg: 0 12px 32px rgba(15,23,42,0.12), 0 4px 8px rgba(15,23,42,0.08);
    --shadow-glow: 0 0 20px rgba(59,130,246,0.3);

    /* Transitions */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================
   SKIP LINK & FOCUS (Accessibility)
   ============================================ */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: var(--space-md);
}

*:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Remove default outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-800);
    background-color: var(--slate-50);
    overflow-x: hidden;
}

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

a {
    color: var(--sky);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--navy-light);
}

::selection {
    background: var(--sky);
    color: var(--white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.015em;
}
h2 {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
}
h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.25em;
    line-height: 1.7;
}

/* ============================================
   SITE HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 16px rgba(15,43,74,0.3);
}

.header-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 44px;
    height: 44px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.logo-tagline {
    font-size: 0.6875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

/* ─── Dropdown Submenu (3-level: top → dropdown → flyout) ─── */

/* Level 1: Top-level items with children */
.nav-menu li.has-submenu > a {
    padding-right: 22px;
}
.nav-menu li.has-submenu > a::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(255,255,255,0.5);
    transition: transform 0.2s, border-color 0.2s;
}
.nav-menu li.has-submenu:hover > a::after {
    border-top-color: var(--white);
}

/* Level 2: Dropdown (appears below parent) */
.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    padding: 6px 0;
    z-index: 100;
    list-style: none;
}
.nav-menu li.has-submenu:hover > .nav-submenu {
    display: block;
}
.nav-submenu li {
    position: relative;
}
.nav-submenu a {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 0;
    color: rgba(255,255,255,0.8);
}
.nav-submenu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}
.nav-submenu .submenu-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 4px 12px;
}

/* Submenu items with children: arrow pointing right */
.nav-submenu li.has-submenu > a {
    padding-right: 28px;
}
.nav-submenu li.has-submenu > a::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: rgba(255,255,255,0.4);
    border-top-color: transparent;
    transition: border-color 0.2s;
}
.nav-submenu li.has-submenu:hover > a::after {
    border-left-color: var(--white);
}

/* Level 3: Flyout (appears to the right of parent) */
.nav-submenu-flyout {
    top: -6px;
    left: 100%;
    border-radius: var(--radius-md);
}

/* Flyout to the left if too close to viewport edge (JS adds this class) */
.nav-submenu-flyout.flyout-left {
    left: auto;
    right: 100%;
}

.nav-submenu li.has-submenu:hover > .nav-submenu-flyout {
    display: block;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    margin-left: 16px;
}

.nav-cta a {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.nav-cta a:hover {
    box-shadow: 0 4px 16px rgba(245,158,11,0.4);
    transform: translateY(-1px);
}

/* Header Cart Icon */
.header-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 6px;
    margin-left: 20px;
    margin-right: 12px;
    transition: color 0.2s;
}
.header-cart-icon:hover {
    color: var(--white);
}
.header-cart-icon svg {
    display: block;
}
.header-cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--amber, #f59e0b);
    color: var(--navy-dark, #0a1e35);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.site-content {
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ============================================
   BLOG / ARCHIVE
   ============================================ */

.post-meta {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
}

.post-meta-updated {
    margin-left: var(--space-sm);
    font-style: italic;
}

.archive-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

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

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

.archive-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.archive-card-body {
    padding: var(--space-lg);
}

.archive-card-body time {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.archive-card-body h2 {
    font-size: 1.2rem;
    margin: var(--space-sm) 0;
}

.archive-card-body h2 a {
    color: var(--navy);
    text-decoration: none;
}

.archive-card-body h2 a:hover {
    color: var(--sky);
}

.archive-card-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--sky);
    text-decoration: none;
    font-weight: 500;
}

.archive-card-link:hover {
    text-decoration: underline;
}

.pagination {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl) 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.pagination .current {
    background: var(--navy);
    color: var(--white);
}

/* ============================================
   BREADCRUMBS (SEO)
   ============================================ */

.breadcrumbs {
    margin: 0;
    padding: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

.breadcrumbs ol {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0;
    font-size: 0.75rem;
    line-height: 1;
    color: var(--slate-500);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin: 0 0.4rem;
    color: var(--slate-300);
}

.breadcrumbs a {
    color: var(--slate-500);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* ============================================
   AUTHOR BOX (E-E-A-T)
   ============================================ */

.author-box {
    max-width: var(--max-width);
    margin: var(--space-2xl) auto;
    padding: 0 var(--space-lg);
}

.author-box-inner {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.author-box-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
}

.author-box-info {
    flex: 1;
}

.author-box-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    font-weight: 600;
}

.author-box-name {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    margin-top: 0.25rem;
}

.author-box-bio {
    font-size: 0.9rem;
    color: var(--slate-700);
    margin: 0.5rem 0;
    line-height: 1.5;
}

.author-box-link {
    font-size: 0.9rem;
    color: var(--sky);
    text-decoration: none;
    font-weight: 500;
}

.author-box-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .author-box-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    margin-top: var(--space-4xl);
}

.footer-main {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-brand .logo-brand {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-tagline {
    margin-bottom: var(--space-md);
    display: block;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--amber);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 2;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 0.8125rem;
}

.footer-legal a:hover {
    color: var(--amber);
}

/* ============================================
   PAGE CONTENT WRAPPER (from plugin)
   ============================================ */

.plugin-page {
    overflow-x: hidden;
}

/* WebApp full-width mode (Mein Konto, Checkout, Videochat) */
.webapp-fullwidth .icaolpt-page {
    max-width: 100%;
    padding: 0;
}

.webapp-fullwidth {
    margin: 0;
    padding: 0;
}

.icaolpt-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-3xl);
}

/* Section spacing within pages */
.icaolpt-page > h2 {
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-lg);
}

.icaolpt-page > h3 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-md);
}

.icaolpt-page > p {
    margin-bottom: var(--space-lg);
}

.icaolpt-page > .icaolpt-hero + p,
.icaolpt-page > .icaolpt-hero + h2 {
    margin-top: var(--space-3xl);
}

/* CTA buttons within page content */
.icaolpt-page > .cta-button,
.icaolpt-page > .cta-button-outline {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

/* Notice blocks */
.icaolpt-page > .icaolpt-notice {
    margin: var(--space-xl) 0 var(--space-2xl);
}

/* Callout blocks */
.icaolpt-page > .icaolpt-callout {
    margin: var(--space-3xl) 0;
}

/* CTA section at end of pages */
.icaolpt-page > .cta-section {
    margin-top: var(--space-4xl);
}

/* Full-width hero sections – break out of .icaolpt-page container */
.icaolpt-hero {
    background-color: var(--navy);
    background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0c3d6e 100%);
    color: var(--white);
    padding: 54px var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Hero with background image – inline style overrides the gradient */
.icaolpt-hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.icaolpt-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.icaolpt-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15,43,74,0.05) 0%, rgba(26,63,107,0.03) 50%, rgba(12,61,110,0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

/* ::after reserved for global Compass Rose (plugin CSS) */

.icaolpt-hero h1,
.icaolpt-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: var(--space-sm) auto 0;
    position: relative;
    z-index: 1;
}

/* Reset heading margins inside cards, callouts, CTA sections */
.cta-section h2,
.cta-section-dark h2,
.icaolpt-callout h2,
.icaolpt-callout h3,
.footer-col h4 {
    margin-top: 0;
}

.hero-overline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.1875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    max-width: 600px;
    margin: 1.5em auto 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   BUTTONS (Theme-wide)
   ============================================ */

.cta-button,
.wp-block-button__link,
button.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    color: var(--navy-dark);
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
    color: var(--navy-dark);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 26px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

.cta-button-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 26px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    background: transparent;
    color: var(--navy);
}

.cta-button-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ============================================
   TRUST SIGNALS
   ============================================ */

.trust-signals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin: var(--space-xl) 0 var(--space-3xl);
}

.trust-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--sky);
    transition: all var(--transition);
    text-align: center;
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.trust-item:nth-child(2) { border-top-color: var(--amber); }
.trust-item:nth-child(3) { border-top-color: var(--emerald); }
.trust-item:nth-child(4) { border-top-color: var(--level-6); }

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--sky);
    stroke-width: 1.5;
}

.trust-item:nth-child(2) .trust-icon svg { stroke: var(--amber); }
.trust-item:nth-child(3) .trust-icon svg { stroke: var(--emerald); }
.trust-item:nth-child(4) .trust-icon svg { stroke: var(--level-6); }

.trust-item h3,
.trust-item strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--navy);
}

.trust-item p,
.trust-item > span:last-child {
    display: block;
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   FEATURE GRID
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-xl) 0 var(--space-3xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(59,130,246,0.08);
    border-radius: var(--radius-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--sky);
    stroke-width: 1.5;
}

.feature-card:nth-child(2) .feature-icon { background: rgba(245,158,11,0.08); }
.feature-card:nth-child(2) .feature-icon svg { stroke: var(--amber); }
.feature-card:nth-child(3) .feature-icon { background: rgba(16,185,129,0.08); }
.feature-card:nth-child(3) .feature-icon svg { stroke: var(--emerald); }

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--slate-500);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.icaolpt-section-intro {
    max-width: 700px;
    margin: var(--space-3xl) auto var(--space-xl);
    text-align: center;
}

.icaolpt-section-intro h2 {
    margin-bottom: var(--space-md);
}

.icaolpt-section-intro p {
    color: var(--slate-500);
    font-size: 1.0625rem;
}

/* Content container for regular text (non-plugin pages) */
.entry-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

.entry-content > h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--slate-200);
}

.entry-content > h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* ============================================
   STATS ROW
   ============================================ */

.icaolpt-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-xl) 0 var(--space-3xl);
}

.icaolpt-stat {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.icaolpt-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.icaolpt-stat-label {
    font-size: 0.875rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* Color variants for stat values */
.icaolpt-stat-value[style*="color: #10b981"] { color: var(--emerald) !important; }
.icaolpt-stat-value[style*="color: #3b82f6"] { color: var(--sky) !important; }
.icaolpt-stat-value[style*="color: #f59e0b"] { color: var(--amber) !important; }

/* ============================================
   STEPS
   ============================================ */

.icaolpt-steps {
    margin: var(--space-2xl) 0;
    counter-reset: step-counter;
}

.icaolpt-step {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--slate-200);
    counter-increment: step-counter;
    align-items: flex-start;
}

.icaolpt-step::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.icaolpt-step-content h3 {
    margin-bottom: var(--space-xs);
}

.icaolpt-step-content p {
    color: var(--slate-500);
    margin: 0;
}

/* ============================================
   INFO BOX & NOTICES
   ============================================ */

.icaolpt-info-box {
    background: rgba(59,130,246,0.06);
    border-left: 4px solid var(--sky);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.icaolpt-info-box p {
    margin: 0;
    color: var(--slate-700);
}

.icaolpt-notice {
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    margin: var(--space-xl) 0;
}

.icaolpt-notice-info {
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
}

.icaolpt-notice-warning {
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.15);
}

/* ============================================
   TABLES
   ============================================ */

.icaolpt-page table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.icaolpt-page table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.icaolpt-page table tbody td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.9375rem;
}

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

.icaolpt-page table tbody tr:hover {
    background: var(--slate-50);
}

/* ============================================
   TAGS
   ============================================ */

.icaolpt-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
}

.icaolpt-tag-success {
    background: rgba(16,185,129,0.1);
    color: var(--emerald);
}

.icaolpt-tag-sky {
    background: rgba(59,130,246,0.1);
    color: var(--sky);
}

.icaolpt-tag-amber {
    background: rgba(245,158,11,0.1);
    color: var(--amber-dark);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.icaolpt-page details {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.icaolpt-page details summary {
    padding: var(--space-lg);
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: background var(--transition);
}

.icaolpt-page details summary::-webkit-details-marker {
    display: none;
}

.icaolpt-page details summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--slate-500);
    border-bottom: 2px solid var(--slate-500);
    transform: rotate(-45deg);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.icaolpt-page details[open] summary::after {
    transform: rotate(45deg);
}

.icaolpt-page details summary:hover {
    background: var(--slate-50);
}

.faq-answer,
.icaolpt-page details > div {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--slate-700);
    line-height: 1.7;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    margin-top: var(--space-3xl);
    border-top: 1px solid var(--slate-200);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.cta-section-dark {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0c3d6e 100%);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.cta-section-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-section-dark h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section-dark p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: var(--space-md) auto;
    position: relative;
    z-index: 1;
}

.cta-section-dark .cta-button {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

/* ============================================
   RATING SCALE COMPARISON
   ============================================ */

.rating-criteria {
    margin: var(--space-2xl) 0;
}

.rating-criterion {
    margin-bottom: var(--space-2xl);
}

.rating-criterion-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.rating-criterion-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.rating-criterion-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.rating-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.rating-level {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid transparent;
    transition: all var(--transition);
}

.rating-level:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rating-level-4 { border-top-color: var(--emerald); }
.rating-level-5 { border-top-color: var(--sky); }
.rating-level-6 { border-top-color: var(--level-6); }

.rating-level-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.rating-level-4 .rating-level-badge {
    background: rgba(16,185,129,0.1);
    color: var(--emerald);
}
.rating-level-5 .rating-level-badge {
    background: rgba(59,130,246,0.1);
    color: var(--sky);
}
.rating-level-6 .rating-level-badge {
    background: rgba(139,92,246,0.1);
    color: var(--level-6);
}

.rating-level h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--navy);
}

.rating-level p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .rating-levels {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) auto var(--space-3xl);
    max-width: 1100px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 2px solid var(--slate-200);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.pricing-card-primary {
    border-color: var(--amber);
}

.pricing-card-highlight {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-card-highlight:hover {
    transform: scale(1.05);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: var(--navy-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    margin-top: var(--space-sm);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.pricing-price-note {
    font-size: 0.8125rem;
    color: var(--slate-500);
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
    text-align: left;
    flex: 1;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--slate-700);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    line-height: 1.5;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--emerald);
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr !important;
    }
    .pricing-card-highlight {
        transform: none;
    }
    .pricing-card-highlight:hover {
        transform: translateY(-2px);
    }
}

/* ============================================
   BOOKING CALENDAR SECTION CONTAINER
   ============================================ */

.booking-calendar-section {
    background: var(--slate-300);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    margin: var(--space-xl) 0 var(--space-2xl);
}

.booking-calendar-intro {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.booking-calendar-intro h2 {
    margin-top: 0;
}

.booking-calendar-intro p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   MONTHLY BOOKING CALENDAR
   ============================================ */

.icaolpt-booking-calendar .month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: var(--space-lg);
}

.icaolpt-booking-calendar .month-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    padding: var(--space-sm) 0;
}

.icaolpt-booking-calendar .month-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: default;
    position: relative;
    transition: all 0.15s ease;
    border: 2px solid var(--slate-200);
    min-height: 48px;
}

.icaolpt-booking-calendar .month-cell-empty {
    background: transparent;
    border-color: transparent;
}

.icaolpt-booking-calendar .month-cell-disabled {
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.5);
}

/* Verfügbar – Grün */
.icaolpt-booking-calendar .month-cell-available {
    cursor: pointer;
    background: #ecfdf5;
    border-color: #34d399;
}

.icaolpt-booking-calendar .month-cell-available:hover {
    background: #d1fae5;
    border-color: #10b981;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

/* Begrenzt – Amber/Gelb */
.icaolpt-booking-calendar .month-cell-limited {
    cursor: pointer;
    background: #fffbeb;
    border-color: #fbbf24;
}

.icaolpt-booking-calendar .month-cell-limited:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
}

/* Ausgebucht – Rot */
.icaolpt-booking-calendar .month-cell-full {
    cursor: pointer;
    background: #fef2f2;
    border-color: #f87171;
}

.icaolpt-booking-calendar .month-cell-full:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

/* Ausgewählt – Navy */
.icaolpt-booking-calendar .month-cell-selected {
    background: var(--navy);
    border-color: var(--navy);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 43, 74, 0.3);
}

.icaolpt-booking-calendar .month-cell-selected .month-day-number {
    color: var(--white);
}

.icaolpt-booking-calendar .month-day-number {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1;
}

.icaolpt-booking-calendar .month-day-dot {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    margin-top: 4px;
}

.icaolpt-booking-calendar .month-day-dot.dot-limited {
    background: #f59e0b;
}

.icaolpt-booking-calendar .month-day-dot.dot-full {
    background: #ef4444;
}

.icaolpt-booking-calendar .month-cell-selected .month-day-dot {
    background: var(--amber);
}

.icaolpt-booking-calendar .time-picker {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

.icaolpt-booking-calendar .time-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--navy);
    color: var(--white);
}

.icaolpt-booking-calendar .time-picker-date {
    font-weight: 600;
    font-size: 0.9375rem;
}

.icaolpt-booking-calendar .time-picker-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

.icaolpt-booking-calendar .time-picker-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.icaolpt-booking-calendar .time-picker-slots {
    padding: var(--space-sm);
}

.icaolpt-booking-calendar .time-picker-empty {
    text-align: center;
    padding: var(--space-lg);
    color: var(--slate-500);
    font-size: 0.9375rem;
}

.icaolpt-booking-calendar .time-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.icaolpt-booking-calendar .time-slot:hover {
    background: var(--slate-50);
}

.icaolpt-booking-calendar .time-slot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icaolpt-booking-calendar .time-slot-time {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--slate-800);
}

.icaolpt-booking-calendar .time-slot-location {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.icaolpt-booking-calendar .slot-book-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--navy-dark);
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.icaolpt-booking-calendar .slot-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.icaolpt-booking-calendar .slot-full-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.icaolpt-booking-calendar .calendar-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding-top: var(--space-sm);
}

.icaolpt-booking-calendar .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.icaolpt-booking-calendar .legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.icaolpt-booking-calendar .legend-dot-available {
    background: #10b981;
}

.icaolpt-booking-calendar .legend-dot-limited {
    background: #f59e0b;
}

.icaolpt-booking-calendar .legend-dot-full {
    background: #ef4444;
}

/* ============================================
   WP DEFAULT PAGE (non-plugin pages)
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.icaolpt-contact-form {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.icaolpt-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.icaolpt-contact-form .form-group {
    margin-bottom: var(--space-lg);
}

.icaolpt-contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.icaolpt-contact-form input,
.icaolpt-contact-form select,
.icaolpt-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--slate-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.icaolpt-contact-form input:focus,
.icaolpt-contact-form select:focus,
.icaolpt-contact-form textarea:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    outline: none;
}

.icaolpt-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.icaolpt-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.icaolpt-contact-form .checkbox-label {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
    cursor: pointer;
}

.icaolpt-contact-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--sky);
}

.icaolpt-contact-form .form-actions {
    margin-top: var(--space-lg);
}

.form-status {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-status-success {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    color: #065f46;
}

.form-status-error {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    color: #991b1b;
}

@media (max-width: 640px) {
    .icaolpt-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */

.widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--amber);
    margin-bottom: var(--space-md);
}

/* ============================================
   FORMS
   ============================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
    font-family: var(--font-family);
    font-size: 1rem;
    padding: 12px 16px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--slate-800);
    transition: border-color var(--transition);
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .trust-signals {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .icaolpt-hero h1 {
        font-size: 2.25rem;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
    }

    .nav-menu a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-menu li.has-submenu > a::after {
        right: 10px;
    }
    .nav-submenu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 var(--space-md);
        min-width: 0;
        display: none;
    }
    .nav-submenu-flyout {
        position: static;
        padding: 0 0 0 var(--space-md);
    }
    .nav-menu li.has-submenu.is-open > .nav-submenu,
    .nav-menu li.has-submenu.is-open > .nav-submenu-flyout {
        display: block;
    }
    .nav-menu li.has-submenu:hover > .nav-submenu,
    .nav-menu li.has-submenu:hover > .nav-submenu-flyout {
        display: none;
    }
    .nav-menu li.has-submenu.is-open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    .nav-submenu li.has-submenu > a::after {
        border-left-color: transparent;
        border-top-color: rgba(255,255,255,0.4);
    }
    .nav-submenu a {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .nav-submenu .submenu-divider {
        margin: 4px 8px;
    }

    .nav-cta {
        margin: var(--space-sm) 0 0;
    }

    .nav-cta a {
        display: block;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .icaolpt-stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; margin-top: 1.5em; }

    .icaolpt-page {
        padding: 0 var(--space-md) var(--space-2xl);
    }

    .icaolpt-page > h2 {
        margin-top: var(--space-3xl);
    }

    .icaolpt-hero {
        padding: var(--space-2xl) var(--space-md);
    }

    .icaolpt-hero h1,
    .icaolpt-hero h2 {
        font-size: 2rem;
    }

    .trust-signals {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button, .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }

    .entry-content {
        padding: var(--space-xl) var(--space-md);
    }

    .icaolpt-step {
        flex-direction: column;
        gap: var(--space-md);
    }

    .icaolpt-stats-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WP ADMIN BAR ADJUSTMENT
   ============================================ */

body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(15, 43, 74, 0.1);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    margin: 0;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: #0f2b4a;
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.testimonial-summary {
    text-align: center;
    padding: 20px 0 8px;
    font-size: 0.95rem;
    color: #475569;
}

.testimonial-summary-stars {
    color: #f59e0b;
    font-size: 1.5rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 4px;
}

.testimonial-summary strong {
    color: #0f2b4a;
}

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

@media (max-width: 640px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 20px;
    }
}

/* ============================================
   BLOG ARCHIVE CARDS (enhanced)
   ============================================ */

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.archive-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.archive-card:hover {
    box-shadow: 0 8px 24px rgba(15, 43, 74, 0.1);
    transform: translateY(-2px);
}

.archive-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.archive-card-body {
    padding: 20px;
}

.archive-card-body time {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-card-body h2 {
    font-size: 1.1rem;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.archive-card-body h2 a {
    color: #0f2b4a;
    text-decoration: none;
}

.archive-card-body h2 a:hover {
    color: #f59e0b;
}

.archive-card-body p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 12px;
}

.archive-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    text-decoration: none;
}

.archive-card-link:hover {
    color: #d97706;
}

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

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