/* RESET & NORMALIZE */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }

/* THEME VARIABLES (with fallbacks) */
:root {
  --color-primary: #0D1B2A; /* Navy */
  --color-secondary: #FF6B00; /* Electric orange */
  --color-accent: #F5F7FA; /* Light */
  --color-white: #FFFFFF;
  --color-ink: #0D1B2A;
  --color-muted: #6B7A90;
  --neon-cyan: #00D1FF;
  --neon-green: #00FF88;
  --neon-pink: #FF2D95;
  --shadow-1: 0 6px 14px rgba(13,27,42,0.12);
  --shadow-2: 0 10px 24px rgba(13,27,42,0.18);
  --radius-8: 8px; --radius-12: 12px; --radius-16: 16px;
}

/* TYPOGRAPHY */
body { font-family: Verdana, Geneva, Tahoma, sans-serif; color: #0D1B2A; color: var(--color-ink); background: #FFFFFF; line-height: 1.5; }
h1, h2, h3, h4 { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; margin: 0 0 12px; line-height: 1.15; letter-spacing: 0.2px; color: #0D1B2A; color: var(--color-ink); }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
strong { font-weight: 700; }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; color: #FF2D95; color: var(--neon-pink); font-weight: 700; }
.subheadline { font-size: 16px; color: #0D1B2A; color: var(--color-ink); opacity: 0.9; }

/* LAYOUT PRIMITIVES (Flex everywhere, mobile-first) */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 24px; }
.content-wrapper { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
main { display: flex; flex-direction: column; gap: 20px; }
section { margin-bottom: 60px; padding: 40px 20px; background: transparent; }

/* MANDATORY SPACING PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* HEADER */
header { position: sticky; top: 0; z-index: 1000; background: #0D1B2A; background: var(--color-primary); box-shadow: var(--shadow-1); }
header .container { padding: 12px 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 36px; }

/* NAVIGATION */
.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { color: #FFFFFF; padding: 10px 12px; border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease; font-weight: 700; }
.main-nav a:hover, .main-nav a:focus { background: #FF6B00; background: var(--color-secondary); color: #FFFFFF; transform: translateY(-2px); }

.header-cta { display: none; align-items: center; gap: 10px; }

/* MOBILE MENU BUTTON */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 2px solid #FF6B00; border-color: var(--color-secondary); background: transparent; color: #FFFFFF; border-radius: 10px; font-size: 20px; cursor: pointer; transition: background-color 0.2s ease, transform 0.15s ease; }
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #FF6B00; background: var(--color-secondary); transform: translateY(-2px); }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 380px; background: #0D1B2A; background: var(--color-primary); color: #FFFFFF; padding: 20px; box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform 0.35s ease; z-index: 1200; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; background: transparent; color: #FFFFFF; border: 0; font-size: 22px; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s ease; }
.mobile-menu-close:hover, .mobile-menu-close:focus { background: rgba(255,255,255,0.1); }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a { display: flex; align-items: center; padding: 12px 10px; border-radius: 10px; color: #FFFFFF; font-weight: 700; background: rgba(255,255,255,0.04); transition: background-color 0.2s ease, transform 0.15s ease; }
.mobile-nav a:hover, .mobile-nav a:focus { background: #FF6B00; background: var(--color-secondary); transform: translateX(4px); }

/* HERO */
.hero { background: #F5F7FA; background: var(--color-accent); border-bottom: 4px solid #FF6B00; border-bottom-color: var(--color-secondary); }
.hero .content-wrapper { padding-top: 8px; }
.hero h1 { font-size: 28px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* TRUST BADGES */
.trust-badges ul { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 0; list-style: none; }
.trust-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; background: #FFFFFF; border: 2px solid #00D1FF; border-color: var(--neon-cyan); color: #0D1B2A; border-radius: 999px; box-shadow: var(--shadow-1); font-weight: 700; }
.trust-badges img { height: 18px; width: 18px; }

/* CONTACT SNIPPET */
.contact-snippet { display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; border-left: 6px solid #FF6B00; border-left-color: var(--color-secondary); padding: 12px; border-radius: var(--radius-12); box-shadow: var(--shadow-1); }
.contact-snippet p { margin: 0; display: flex; align-items: center; gap: 8px; }
.contact-snippet img { width: 16px; height: 16px; }

/* TEXT SECTIONS */
.text-section { display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; border: 1px solid #E6ECF2; padding: 16px; border-radius: var(--radius-12); box-shadow: var(--shadow-1); }
.text-section h3 { margin-top: 8px; }
.text-section ul { padding-left: 20px; }
.text-section li { margin-bottom: 8px; }

/* LIST NUMBERS */
ol { padding-left: 22px; }
ol li { margin-bottom: 8px; }

/* SECTION TITLES: energetic accent */
section h2 { position: relative; padding-top: 10px; }
section h2::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 56px; background: #FF6B00; background: var(--color-secondary); border-radius: 2px; }

/* TESTIMONIALS (readable: dark text on light bg) */
.testimonial-card { background: #FFFFFF; border: 2px solid #0D1B2A; border-color: var(--color-primary); border-radius: var(--radius-12); box-shadow: var(--shadow-1); color: #0D1B2A; }
.testimonial-card p { margin: 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius-12); font-weight: 800; letter-spacing: 0.3px; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; text-decoration: none; }
.btn:hover, .btn:focus { transform: translateY(-2px); }
.btn-primary { background: #FF6B00; background: var(--color-secondary); color: #FFFFFF; box-shadow: 0 8px 18px rgba(255,107,0,0.35); }
.btn-primary:hover, .btn-primary:focus { background: #E85F00; box-shadow: 0 10px 24px rgba(255,107,0,0.45); }
.btn-secondary { background: #0D1B2A; background: var(--color-primary); color: #FFFFFF; border-color: #0D1B2A; }
.btn-secondary:hover, .btn-secondary:focus { background: #0F2236; }
.btn-link { background: transparent; color: #FF6B00; color: var(--color-secondary); padding: 0; border: 0; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover, .btn-link:focus { color: #E85F00; }

/* FOOTER */
footer { background: #0D1B2A; background: var(--color-primary); color: #FFFFFF; }
footer .container { padding-top: 32px; padding-bottom: 32px; }
footer .content-wrapper { flex-direction: column; gap: 24px; }
footer .brand { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
footer .brand img { height: 36px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.footer-nav a { color: #FFFFFF; opacity: 0.9; padding: 8px 10px; border-radius: 8px; transition: background-color 0.2s ease; }
.footer-nav a:hover, .footer-nav a:focus { background: rgba(255,255,255,0.1); }
.contact-short { display: flex; flex-direction: column; gap: 4px; }

/* CARDS (generic) */
.card { background: #FFFFFF; border: 1px solid #E6ECF2; border-radius: var(--radius-12); box-shadow: var(--shadow-1); padding: 16px; }

/* ACCESSIBILITY FOCUS */
a:focus, button:focus, .btn:focus { outline: 2px solid #00D1FF; outline-offset: 2px; }

/* COOKIE BANNER (fixed bottom) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #FFFFFF; color: #0D1B2A; border-top: 4px solid #FF6B00; border-top-color: var(--color-secondary); box-shadow: 0 -10px 24px rgba(13,27,42,0.12); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform 0.35s ease, opacity 0.35s ease; z-index: 1400; }
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner p { margin: 0; flex: 1 1 220px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; }
.cookie-actions .btn { padding: 10px 14px; }
.cookie-settings-btn { background: transparent; color: #0D1B2A; border: 2px solid #0D1B2A; border-radius: var(--radius-12); padding: 10px 14px; font-weight: 800; cursor: pointer; }
.cookie-settings-btn:hover, .cookie-settings-btn:focus { background: #F5F7FA; }

/* COOKIE MODAL */
.cookie-modal { position: fixed; inset: 0; background: rgba(13,27,42,0.7); display: flex; align-items: center; justify-content: center; padding: 20px; transform: translateY(10px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease; z-index: 1450; }
.cookie-modal.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-modal-content { background: #FFFFFF; color: #0D1B2A; width: 100%; max-width: 720px; border-radius: var(--radius-16); box-shadow: var(--shadow-2); padding: 20px; display: flex; flex-direction: column; gap: 16px; border: 2px solid #FF6B00; border-color: var(--color-secondary); }
.cookie-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-modal-body { display: flex; flex-direction: column; gap: 12px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #E6ECF2; border-radius: var(--radius-12); }
.cookie-row .label { font-weight: 700; }
.cookie-modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cookie-close { background: transparent; border: 0; font-size: 20px; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.cookie-close:hover, .cookie-close:focus { background: #F5F7FA; }

/* SWITCH (for cookie toggles if present) */
.switch { position: relative; width: 46px; height: 26px; background: #E6ECF2; border-radius: 26px; display: inline-flex; align-items: center; padding: 3px; transition: background-color 0.2s ease; }
.switch .dot { width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: var(--shadow-1); transition: transform 0.2s ease; }
.switch.on { background: #00FF88; background: var(--neon-green); }
.switch.on .dot { transform: translateX(20px); }

/* UTILITIES */
.muted { color: #6B7A90; color: var(--color-muted); }
.hidden { display: none !important; }

/* MEDIA QUERIES */
@media (min-width: 576px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 34px; }
}

@media (min-width: 768px) {
  .content-wrapper { gap: 28px; }
  .hero h1 { font-size: 40px; }
  .subheadline { font-size: 18px; }
  .text-image-section { flex-direction: row; }
}

@media (min-width: 992px) {
  /* Header layout on desktop */
  header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; }
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }
  
  /* Footer: 3 columns feel using flex (no grid) */
  footer .content-wrapper { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  footer .brand, .footer-nav, .contact-short { flex: 1 1 0; }
}

/* LINKS default color (outside dark header/footer) */
main a { color: #FF6B00; color: var(--color-secondary); }
main a:hover, main a:focus { color: #E85F00; }

/* HIGH-ENERGY ACCENTS */
.badge-accent { background: #00D1FF; background: var(--neon-cyan); color: #0D1B2A; font-weight: 800; padding: 4px 8px; border-radius: 999px; }

/* PREVENT OVERLAP & CONSISTENT GAPS */
section > .container > .content-wrapper > * + * { margin-top: 0; }
section > .container > .content-wrapper { gap: 20px; }

/* ICON INLINE ALIGNMENT */
img[alt^="Telefon"], img[alt^="E-mail"], img[alt^="Otevírací doba"], img[alt^="Adresa"], img[alt^="Záruka"], img[alt^="Rychlost"], img[alt^="Certifikace"], img[alt^="Certifikát"] { width: 18px; height: 18px; }

/* HOVER MICRO-ANIMATIONS for cards */
.text-section:hover, .card:hover, .testimonial-card:hover { box-shadow: 0 12px 28px rgba(13,27,42,0.15); transform: translateY(-2px); transition: box-shadow 0.25s ease, transform 0.15s ease; }

/* PRINT BASICS */
@media print { header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; } section { padding: 0; margin-bottom: 20px; } a { text-decoration: underline; } }
