/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #2563eb;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #64748b;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.5rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

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

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--input);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.3s ease;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1), inset -2px -2px 4px rgba(255,255,255,0.8);
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: inset 2px 2px 6px rgba(0,0,0,0.15), inset -2px -2px 6px rgba(255,255,255,0.9);
}

/* Button Styles */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.15), -4px -4px 8px rgba(255,255,255,0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 6px 6px 12px rgba(0,0,0,0.2), -6px -6px 12px rgba(255,255,255,0.9);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.8);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 6px 6px 12px rgba(0,0,0,0.15), -6px -6px 12px rgba(255,255,255,0.9);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-1px);
}

/* Icon Styles */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--muted);
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* Success Message */
.success-message {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0c4a6e;
}

/* Top Bar */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 1rem;
}

.topbar-contact a,
.topbar-hours {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.topbar-contact a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .topbar-contact {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
}

/* Navigation */
.navbar {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.zornavitel-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.zornavitel-top_mobile-menu {
  display: none;
  flex-direction: column;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.zornavitel-top_mobile-menu a {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.zornavitel-top_mobile-menu a:hover,
.zornavitel-top_mobile-menu a.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .zornavitel-top_mobile-menu-toggle {
    display: block;
  }
  
  .zornavitel-top_mobile-menu {
    display: flex;
  }
  
  .zornavitel-top_mobile-menu.hidden {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 7rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  order: 2;
}

.hero-image {
  order: 1;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 2;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

/* Page Header */
.page-header {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Section Styles */
section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Feature Cards */
.feature-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 12px 12px 24px rgba(0,0,0,0.15), -12px -12px 24px rgba(255,255,255,0.9);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-preview {
  background: var(--background);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
  text-align: center;
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* FAQ Page Styles */
.faq-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.8);
  text-align: left;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-contact-cta {
  background: var(--muted);
  padding: 5rem 0;
  text-align: center;
}

.faq-contact-cta .cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.faq-contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.faq-contact-cta .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Newsletter */
.newsletter {
  background: var(--muted);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.newsletter-form input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Features */
.features {
  background: var(--background);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

/* Pricing */
.pricing-preview {
  background: var(--background);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 24px rgba(0,0,0,0.15), -12px -12px 24px rgba(255,255,255,0.9);
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* Call to Action */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 7rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  .9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Page */
.service-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: ltr;
}

.service-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .service-content,
  .service-content.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* About Page */
.about-story {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.story-text p {
  margin-bottom: 1.5rem;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

.mission-vision {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.mission-card,
.vision-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.values-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.expertise-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.expertise-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.expertise-areas {
  margin-top: 2rem;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.expertise-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.expertise-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

.why-choose-us {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.reason-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.reason-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.company-info {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.info-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.company-details {
  margin-top: 2rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .story-content,
  .expertise-content,
  .info-content {
    grid-template-columns: 1fr;
  }
}

/* Contact Page */
.contact-info-bar {
  background: var(--muted);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.contact-info-item h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.zornavitel-top_contact-form-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.zornavitel-top_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.zornavitel-top_contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-custom {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--input);
  border-radius: 50%;
  position: relative;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + .radio-custom::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-content h3 {
  margin: 0 0 0.5rem 0;
  color: #0c4a6e;
}

.success-content p {
  margin: 0;
}

.additional-contact {
  background: var(--muted);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-option {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.contact-option h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.business-info {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.business-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.business-info-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.business-details {
  margin-top: 2rem;
}

.business-detail {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.business-info-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .business-info-content {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Page */
.portfolio-intro {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

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

.intro-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.intro-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.portfolio-grid {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 24px rgba(0,0,0,0.15), -12px -12px 24px rgba(255,255,255,0.9);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.category-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.project-outcomes {
  background: var(--muted);
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.outcome-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.outcome-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-overview {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.process-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.process-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-steps {
  margin-top: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.15), -8px -8px 16px rgba(255,255,255,0.8);
}

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

/* Legal Pages */
.legal-content {
  padding: 7rem 0;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-text h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--primary);
}

.legal-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.cookie-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 7rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column p {
  margin-bottom: 1rem;
  .9;
}

.footer-contact {
  margin-top: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  .8;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Cookie Banner & Modal */
.zornavitel-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 2000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.zornavitel-top_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.zornavitel-top_cookie-banner-text {
  flex: 1;
}

.zornavitel-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.zornavitel-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zornavitel-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}

.zornavitel-top_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.2), -8px -8px 16px rgba(255,255,255,0.8);
}

.cookie-toggles {
  margin: 1.5rem 0;
}

.zornavitel-top_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.zornavitel-top_cookie-toggle-row:last-child {
  border-bottom: none;
}

.zornavitel-top_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .zornavitel-top_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .zornavitel-top_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .zornavitel-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.animate-fade-in.animate-in {
  opacity: 1;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.animate-slide-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#zornavitel-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#zornavitel-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#zornavitel-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
