/* ============================================================
   SOLÁRIA ROSE — Global Design System 2026
   Mobile-First · Earthy palette · Accessible · Performance-optimized
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ═══════════════════════════════════════════════════════════
   RESET & BOX-SIZING
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   CSS DESIGN SYSTEM – VARIABLES & TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
    /* ── COLOUR PALETTE – Brand Identity ── */
    /* Backgrounds */
    --bg-primary:         #ffffff;        /* Main background */
    --bg-secondary:       #f8f7f5;        /* Light warm grey */
    --bg-tertiary:        #efefef;        /* Darker light grey */
    --bg-dark:            #1a1a1a;        /* Near black */
    
    /* Accent Colors — sjednoceno s css/design-system.css (--sr-rose-*),
       barva odvozená z loga salonu. */
    --accent:             #c8102e;        /* PRIMARY red accent (sr-rose-500) */
    --accent-hover:       #dc3b4d;        /* Hover red (sr-rose-400) */
    --accent-active:      #8f0c22;        /* Active/pressed red (sr-rose-700) */
    --accent-disabled:    #f5a3ad;        /* Disabled state (sr-rose-200) */
    --accent-subtle:      rgba(200, 16, 46, 0.08);  /* 8% opacity for backgrounds */
    --accent-light:       rgba(200, 16, 46, 0.12);  /* 12% opacity variant */
    
    /* Text Colours (WCAG AAA contrast – 4.5:1 minimum) */
    --text-primary:       #1a1a1a;        /* Main text – high contrast */
    --text-secondary:     #5a5a5a;        /* Secondary text */
    --text-muted:         #888888;        /* Muted/help text */
    --text-inverse:       #ffffff;        /* Text on dark backgrounds */
    
    /* Semantic Colors */
    --success:            #2e7d32;        /* Success – green */
    --warning:            #f57f17;        /* Warning – amber */
    --error:              #d32f2f;        /* Error – red */
    --info:               #1976d2;        /* Info – blue */
    
    /* Legacy palette (backward compatibility) */
    --sage:               #8aab8e;        /* Pastel sage green */
    --sage-light:         #d4e6d5;        /* Light sage green */
    
    /* ── SHADOWS (subtle, soft) ── */
    --shadow-xs:   0 0.5px 2px rgba(0, 0, 0, 0.06);
    --shadow-sm:   0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg:   0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl:   0 12px 40px rgba(0, 0, 0, 0.14);
    
    /* ── BORDER RADIUS – Consistent system ── */
    --radius-none:  0px;
    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    12px;
    --radius-xl:    16px;
    --radius-2xl:   24px;
    --radius-pill:  999px;
    
    /* ── SPACING SYSTEM – 8px grid ── */
    --space-xs:    0.25rem;  /* 4px */
    --space-sm:    0.5rem;   /* 8px */
    --space-md:    1rem;     /* 16px */
    --space-lg:    1.5rem;   /* 24px */
    --space-xl:    2rem;     /* 32px */
    --space-2xl:   3rem;     /* 48px */
    --space-3xl:   4rem;     /* 64px */
    --space-4xl:   6rem;     /* 96px */
    
    /* ── TRANSITIONS & ANIMATIONS ── */
    --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ── TYPOGRAPHY – Font families ── */
    --font-display:      'Playfair Display', 'Georgia', serif;
    --font-body:         'Poppins', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:         'Courier New', monospace;
    
    /* ── TYPOGRAPHY – Font sizes (rem + clamp for fluid scaling) ── */
    /* Headings use clamp() for fluid responsivity */
    --text-h1:      clamp(1.875rem, 5vw, 3.5rem);        /* 30px → 56px */
    --text-h2:      clamp(1.5rem, 4vw, 2.625rem);        /* 24px → 42px */
    --text-h3:      clamp(1.25rem, 3vw, 1.875rem);       /* 20px → 30px */
    --text-h4:      clamp(1.125rem, 2.5vw, 1.5rem);      /* 18px → 24px */
    --text-h5:      clamp(1rem, 2vw, 1.25rem);           /* 16px → 20px */
    --text-h6:      clamp(0.875rem, 1.5vw, 1rem);        /* 14px → 16px */
    
    /* Body text (rem base) */
    --text-lg:      1.125rem;  /* 18px – large body */
    --text-base:    1rem;      /* 16px – normal body */
    --text-sm:      0.875rem;  /* 14px – small text */
    --text-xs:      0.75rem;   /* 12px – extra small */
    
    /* Line heights */
    --leading-tight:     1.25;
    --leading-snug:      1.375;
    --leading-normal:    1.5;
    --leading-relaxed:   1.625;
    --leading-loose:     1.875;
    
    /* Letter spacing */
    --tracking-tight:    -0.02em;
    --tracking-normal:   0;
    --tracking-wide:     0.02em;
    --tracking-wider:    0.05em;
    
    /* ── LAYOUT CONSTRAINTS ── */
    --container-sm:      30rem;   /* 480px – small container */
    --container-md:      48rem;   /* 768px – medium container */
    --container-lg:      64rem;   /* 1024px – large container */
    --container-xl:      80rem;   /* 1280px – extra large */
    --container-2xl:     90rem;   /* 1440px – max width */
    
    /* Main content width = 85% of viewport */
    --content-width:     85%;
    
    /* Padding/margins for sections */
    --section-padding:   clamp(2rem, 6vw, 5rem);
    --section-gap:       clamp(2rem, 8vw, 6rem);
    
    /* ── Z-INDEX SCALE ── */
    --z-hide:      -1;
    --z-base:      0;
    --z-dropdown:  100;
    --z-sticky:    200;
    --z-fixed:     300;
    --z-modal-bg:  400;
    --z-modal:     500;
    --z-tooltip:   600;
    --z-notification: 700;
    
    /* ══════════════════════════════════════════════════════
       LEGACY ALIASES – Backward compatibility
       Other CSS files may reference these variables.
       ══════════════════════════════════════════════════════ */
    --bg-card:              #ffffff;
    --bg-card-hover:        #f8f7f5;
    
    /* Glass / borders (old naming) */
    --glass-border:         #e0e0e0;
    --glass-border-strong:  #d0d0d0;
    --glass-border-light:   #f0f0f0;
    --glass-bg:             #ffffff;
    --glass-bg-hover:       #f8f7f5;
    --glass-bg-light:       #ffffff;
    --glass-blur:           none;
    
    /* Old accent naming */
    --accent-dark:          var(--accent-active);
    --accent-light:         var(--accent-hover);
    --accent-color:         var(--accent);
    --accent-strong:        var(--accent-active);
    
    /* Old text naming */
    --text-light:           var(--text-inverse);
    --text-dark:            var(--text-primary);
    --text-on-dark:         var(--text-inverse);
    
    /* Old liquid/liquid effects */
    --liquid-pink:          rgba(211, 47, 47, 0.06);
    --liquid-purple:        rgba(138, 171, 142, 0.06);
    --liquid-light:         rgba(232, 213, 192, 0.08);
    
    /* Old layout */
    --container-max:        90rem;
    --primary-color:        var(--text-primary);
    --secondary-color:      var(--bg-secondary);
}

/* ═══════════════════════════════════════════════════════════
   ROOT & BASE STYLES – MOBILE-FIRST
   ═══════════════════════════════════════════════════════════ */
html {
    font-size: 16px;  /* 1rem = 16px on desktop, adjust for different devices */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    html {
        font-size: 17px;  /* Slightly larger on tablets */
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px;  /* Optimal size on desktop */
    }
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY – HEADINGS & TEXT
   ═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

h1 {
    font-size: var(--text-h1);
    text-align: center;
}

h2 {
    font-size: var(--text-h2);
    text-align: center;
}

h3 {
    font-size: var(--text-h3);
}

h4 {
    font-size: var(--text-h4);
    font-family: var(--font-body);
}

h5 {
    font-size: var(--text-h5);
    font-family: var(--font-body);
}

h6 {
    font-size: var(--text-h6);
    font-family: var(--font-body);
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    /* Max line width ~70% for optimal readability */
    max-width: 70ch;
    text-align: left;  /* Never justify text */
}

/* Emphasized text */
strong, b {
    font-weight: 700;
    color: var(--text-primary);
}

em, i {
    font-style: italic;
}

/* Links – Accessible defaults */
a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--accent-active);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS – PRIMARY COMPONENT
   ═══════════════════════════════════════════════════════════ */
.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: calc(var(--space-sm) + 2px) var(--space-lg);
    border-radius: var(--radius-pill);
    font-size: var(--text-base);
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
    
    /* Accessibility */
    outline: none;
}

/* PRIMARY BUTTON */
.btn {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background: var(--accent-active);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:disabled {
    background: var(--accent-disabled);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* SECONDARY BUTTON */
.btn.secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.btn.secondary:hover {
    background: var(--accent-subtle);
    box-shadow: none;
}

/* GHOST BUTTON */
.btn.ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-muted);
}

.btn.ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

/* SMALL BUTTON */
.btn.sm {
    padding: calc(var(--space-xs) + 1px) var(--space-md);
    font-size: var(--text-sm);
}

/* LARGE BUTTON */
.btn.lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-lg);
}

/* ── Hero Section ── */
#hero_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    min-height: 92vh;
    padding: clamp(7rem, 14vh, 10rem) max(2rem, calc((100vw - 1490px) / 2)) clamp(5rem, 10vh, 7rem);
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-primary) 45%, #f8f7f5 100%);
    position: relative;
    overflow: hidden;
}
#hero_wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 520px 420px at 85% 15%, rgba(211,47,47,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 380px 320px at 5%  85%, rgba(0,0,0,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
#hero_wrapper::after { content: none; }

/* Hero text column — no card, text breathes on gradient */
#hero_section {
    position: relative;
    z-index: 1;
    max-width: 560px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    animation: fadeInUp 0.7s ease forwards;
}
#hero_section::before { content: none; }

/* Eyebrow badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(211,47,47,0.1);
    color: #d32f2f;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid #d32f2f;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.nadpis_hero {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
    text-align: left;
}

#hero_section p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 36px 0;
    text-align: left;
}

/* CTA row */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: color 0.2s;
}
.hero-link:hover { color: var(--accent-dark); text-decoration: none; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll fade-in utility */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image column */
#hero_image {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: fadeInUp 0.9s 0.15s ease both;
}

/* Soft decorative shape behind image */
#hero_image::before {
    content: "";
    position: absolute;
    inset: -20px 0 20px;
    border-radius: 28px 80px 28px 28px;
    background: rgba(211,47,47,0.08);
    opacity: 1;
    z-index: 0;
}
#hero_image::after { content: none; }

.hero-img-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    border-radius: 24px 80px 24px 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.hero-img-wrap:hover img { transform: scale(1.04); }

/* Floating badge overlapping bottom of image */
.hero-img-badge {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: -20px;
    margin-left: 24px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    #hero_wrapper { padding: clamp(7rem, 12vh, 9rem) 2.5rem clamp(4rem, 8vh, 6rem); }
}
@media (max-width: 900px) {
    #hero_wrapper {
        grid-template-columns: 1fr;
        padding: 7.5rem 1.5rem 5rem;
        gap: 3rem;
        min-height: auto;
    }
    #hero_section { max-width: 100%; }
    #hero_image { align-items: center; max-width: 340px; margin: 0 auto; }
    #hero_image::before { inset: -12px 0 12px; }
    .hero-img-wrap { max-width: 100%; aspect-ratio: 4/3; }
    .hero-img-badge { align-self: center; margin-left: 0; margin-top: -16px; }
    .nadpis_hero, #hero_section p { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-badge { display: flex; justify-content: center; }
}

/* ── About card ── */
.velka_karta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: var(--radius-xl);
    margin: 2rem auto 0;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    max-width: 960px;
    width: 100%;
    text-align: center;
}
.velka_karta > * { position: relative; z-index: 1; }
.velka_karta::before { content: none; }
.velka_karta img {
    width: 190px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
@media (min-width: 992px) {
    .velka_karta {
        flex-direction: row;
        justify-content: space-around;
        gap: 48px;
        text-align: left;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════════════════════ */
section {
    padding: var(--section-padding) var(--space-md);
}

section > h1,
section > h2,
section > h3 {
    margin-bottom: var(--space-2xl);
}

/* Alternating section backgrounds */
section:nth-child(even) {
    background: var(--bg-secondary);
}

section:nth-child(odd) {
    background: var(--bg-primary);
}

/* Container = obsah uvnitř sekce, sekce samotná je přes celou šířku */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Sekce jedou na 100 % šířky (pozadí přes celou obrazovku),
   ale jejich přímý obsah je omezen na max. 1440px a vycentrován.
   Užší max-width nastavený přímo na konkrétním prvku (např. #hero_sluzby_section,
   .info_karta) má vyšší specificitu a zůstává zachován. */
section {
    width: 100%;
}
section > * {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   CARD COMPONENT
   ═══════════════════════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid #ececec;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent-subtle);
}

/* Card image */
.card-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin-bottom: var(--space-md);
}

/* Card title */
.card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* Card description */
.card-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* Card footer with link */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid #f0f0f0;
}

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS – ACCESSIBILITY & MOBILE-FIRST
   ═══════════════════════════════════════════════════════════ */
form {
    width: 100%;
}

/* Form group */
.form-group {
    margin-bottom: var(--space-lg);
}

/* Labels – Clear and visible */
label {
    display: block;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    cursor: pointer;
}

label abbr[title] {
    text-decoration: none;
    cursor: help;
}

.form-label-required::after {
    content: " *";
    color: var(--error);
}

/* Text inputs, textarea, select */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    border: 2px solid #d0d0d0;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    line-height: var(--leading-normal);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

input[type="text"]:disabled,
input[type="email"]:disabled,
textarea:disabled,
select:disabled {
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot – Hidden field for spam protection */
.honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: var(--z-hide);
}

/* Error state */
input:invalid,
textarea:invalid,
input.error,
textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

/* Help text */
.form-help {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* ═══════════════════════════════════════════════════════════
   IMAGES & LAZY LOADING
   ═══════════════════════════════════════════════════════════ */
img {
    max-width: 100%;
    height: auto;
    display: block;
    background: var(--bg-secondary);  /* Placeholder background while loading */
}

/* Lazy loading image optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 200ms ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Picture element for responsive images */
picture {
    display: contents;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY – VISUAL FOCUS & SKIP LINKS
   ═══════════════════════════════════════════════════════════ */
/* Skip to main content link */
.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--accent);
    color: var(--text-inverse);
    padding: var(--space-md);
    text-decoration: none;
    z-index: var(--z-tooltip);
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════
   INLINE SVG IKONY (lucide) — náhrada za emoji použité jako ikony
   ═══════════════════════════════════════════════════════════ */
.ico-inline {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* Focus visible – All interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN – MOBILE-FIRST BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */
/* Mobile (320px) – Base styles */
@media (max-width: 640px) {
    section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    h2 {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }
}

/* Tablet (640px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    section {
        padding: var(--section-padding) var(--space-lg);
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    section {
        padding: var(--section-padding) auto;
    }
}

/* Large screens (4K) */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }
    
    .container {
        max-width: 90%;
    }
}

/* ── Misc legacy elements ── */
footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    text-align: center;
    padding: 20px;
}

.glass-cursor { display: none; }
.mascot       { display: none; }

.animated-particles { display: none; }

.waves-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #fff;
    overflow: hidden;
}
.waves {
    position: absolute;
    width: 200%;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0, transparent 70%);
    bottom: 0;
    left: -50%;
}

.speech {
    margin-top: 10px;
    font-size: 0.9rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    25%  { transform: translate(16px, -8px); }
    50%  { transform: translate(-12px, 12px); }
    75%  { transform: translate(8px, -16px); }
}
@keyframes waveFlow {
    0%   { left: -100%; }
    100% { left: 100%; }
}
