/* ==========================================================================
   DESIGNOVÝ SYSTÉM & GLOBÁLNÍ STYLY
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Barevná paleta */
  --primary-color: #0b1a30;      /* Hluboká tmavě modrá (důvěryhodnost) */
  --primary-light: #162a4a;      /* Světlejší odstín tmavě modré */
  --accent-color: #0066cc;       /* Klasická modrá */
  --electric-blue: #00d2ff;      /* Elektrická modrá pro detaily a akcenty */
  --electric-glow: rgba(0, 210, 255, 0.4);
  --bg-light: #f8fafc;           /* Decentní světlá šedá pro pozadí sekcí */
  --bg-dark: #071120;            /* Velmi tmavé pozadí */
  --text-dark: #1e293b;          /* Hlavní tmavý text */
  --text-light: #64748b;         /* Pomocný text */
  --text-white: #ffffff;         /* Bílý text */
  --border-color: #e2e8f0;       /* Světlé okraje */
  --error-color: #ef4444;        /* Chybová červená */
  --success-color: #10b981;      /* Úspěšná zelená */

  /* Typografie */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Stíny a zaoblení */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 15px var(--electric-glow);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Rozvržení a přechody */
  --max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset a základní nastavení */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Výška fixního headeru */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Pomocné třídy */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: var(--font-headings);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGACE & HLAVIČKA
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(11, 26, 48, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.logo span {
  color: var(--electric-blue);
  text-shadow: 0 0 10px var(--electric-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--electric-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--electric-blue);
  transition: width var(--transition-normal);
  box-shadow: 0 0 8px var(--electric-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--accent-color);
}

/* Mobilní menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  position: absolute;
  left: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal), top var(--transition-normal);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   HERO / ÚVODNÍ SEKCE
   ========================================================================== */

.hero {
  background-color: var(--primary-color);
  background-image: radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 50%);
  color: var(--text-white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Vizuální schéma elektrického zapojení na pozadí (SVG/CSS) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circuit-animation {
  width: 100%;
  max-width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: rotateCircuit 40s linear infinite;
}

@keyframes rotateCircuit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.circuit-core {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--primary-light) 60%, rgba(0, 102, 204, 0.2));
  border-radius: 50%;
  border: 2px solid var(--electric-blue);
  box-shadow: var(--shadow-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulseCore 3s ease-in-out infinite alternate;
}

@keyframes pulseCore {
  0% { box-shadow: 0 0 10px rgba(0, 210, 255, 0.2); }
  100% { box-shadow: 0 0 25px rgba(0, 210, 255, 0.6); }
}

.circuit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--electric-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--electric-blue);
}

.node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.node-2 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.node-3 { top: 50%; left: 10%; transform: translateY(-50%); }
.node-4 { top: 50%; right: 10%; transform: translateY(-50%); }

.hero-badge {
  position: absolute;
  background-color: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--electric-blue);
  color: var(--electric-blue);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  top: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--electric-blue);
  border-radius: 50%;
  animation: flash 1.5s infinite alternate;
}

@keyframes flash {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ==========================================================================
   SLUŽBY
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 102, 204, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-color);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 4px;
  top: -2px;
}

/* ==========================================================================
   DŘEVOSTAVBY
   ========================================================================== */

.timber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.timber-content h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.timber-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.timber-highlight-box {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--electric-blue);
  box-shadow: var(--shadow-md);
}

.timber-highlight-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.timber-highlight-text {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

.timber-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.timber-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(11, 26, 48, 0.4));
}

/* ==========================================================================
   MONITORING VLHKOSTI
   ========================================================================== */

.humidity-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.humidity-info h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.humidity-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.humidity-benefits {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.humidity-benefits-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================================
   DAGOTEC
   ========================================================================== */

.dagotec-banner {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dagotec-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.dagotec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.dagotec-partner-badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dagotec-title {
  color: var(--text-white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.dagotec-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 800px;
  margin-bottom: 32px;
}

.dagotec-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.dagotec-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dagotec-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.dagotec-bullet svg {
  color: var(--electric-blue);
  flex-shrink: 0;
}

/* ==========================================================================
   PRO KOHO JSOU SLUŽBY VHODNÉ
   ========================================================================== */

.targets-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.target-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.target-card:hover {
  background-color: var(--text-white);
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.target-title {
  font-size: 1.15rem;
  font-weight: 600;
}

/* ==========================================================================
   JAK PROBÍHÁ SPOLUPRÁCE
   ========================================================================== */

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.process-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.process-step:nth-child(even) {
  left: 50%;
  text-align: left;
}

.process-number {
  position: absolute;
  top: 24px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--text-white), var(--shadow-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.process-step:nth-child(odd) .process-number {
  right: -20px;
}

.process-step:nth-child(even) .process-number {
  left: -20px;
}

.process-step:hover .process-number {
  background-color: var(--electric-blue);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--text-white), 0 0 10px var(--electric-glow);
}

.process-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal);
}

.process-step:hover .process-card {
  border-color: rgba(0, 102, 204, 0.3);
}

.process-step-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ==========================================================================
   KONTAKTNÍ SEKCE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.contact-method-title {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-method-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
}

.contact-method-value a:hover {
  color: var(--accent-color);
}

.billing-info {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 16px;
}

.billing-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.billing-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.billing-row {
  display: flex;
  justify-content: space-between;
}

.billing-label {
  color: var(--text-light);
}

.billing-value {
  font-weight: 500;
}

/* Formulář */
.contact-form-wrapper {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-label span {
  color: var(--error-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-color);
  background-color: var(--text-white);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* File Upload input */
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--bg-light);
  border: 1px dashed var(--text-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.file-upload-btn:hover {
  background-color: var(--border-color);
  border-color: var(--primary-color);
}

.file-upload-name {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Checkbox (GDPR) */
.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.form-checkbox-input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--accent-color);
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.form-checkbox-label a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Spam protection field (honeypot) */
.form-honeypot {
  display: none !important;
  visibility: hidden !important;
}

/* Vizuální stav odeslání */
.form-response {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}

.form-response.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.form-response.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

/* Input validation styling */
.form-control.invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   ZÁPATÍ / FOOTER
   ========================================================================== */

.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-headings);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--electric-blue);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
}

.footer-contact-item svg {
  color: var(--electric-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--electric-blue);
}

/* ==========================================================================
   STRÁNKA OCHRANA OSOBNÍCH ÚDAJŮ (INTERNÍ)
   ========================================================================== */

.legal-page {
  padding-top: 140px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: disc;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   RESPONSIVITA (MÉDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    gap: 32px;
  }
  .circuit-animation {
    max-width: 300px;
    height: 300px;
  }
  .circuit-core {
    width: 150px;
    height: 150px;
  }
  .timber-grid, .humidity-grid, .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .header-container {
    height: 70px;
  }
  
  /* Mobilní navigace */
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav.open {
    left: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
  }
  
  /* Hero sekce */
  .hero {
    padding: 120px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none; /* Skryje kruhovou animaci na mobilu pro přehlednost */
  }

  /* Timber a Humidity */
  .timber-grid, .humidity-grid {
    grid-template-columns: 1fr;
  }
  .timber-image-wrapper {
    order: -1; /* Obrázek nahoře */
  }

  /* Dagotec */
  .dagotec-banner {
    padding: 40px 24px;
  }
  .dagotec-split {
    grid-template-columns: 1fr;
  }

  /* Časová osa (Timeline) */
  .process-timeline::before {
    left: 20px;
  }
  .process-step {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .process-step:nth-child(even) {
    left: 0;
  }
  .process-number {
    left: 0 !important;
    right: auto !important;
  }

  /* Kontakt a formulář */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-wrapper {
    padding: 24px 16px;
  }
  .billing-info {
    padding: 20px 16px;
  }
  .billing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .file-upload-wrapper {
    flex-wrap: wrap;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
    width: 100%;
  }
}
