:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #16a34a;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Inter', sans-serif;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

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

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

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

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

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

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

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

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

/* Icons */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: var(--radius);
  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; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  min-height: 44px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  min-height: 44px;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

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

/* Navigation */
.navbar {
  background: transparent;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

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

.nav-logo {
  text-decoration: none;
}

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

.brendovika-top_mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0.5rem;
}

.brendovika-top_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

.brendovika-top_mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brendovika-top_mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.brendovika-top_mobile-menu-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.brendovika-top_mobile-menu-link:hover,
.brendovika-top_mobile-menu-link.active {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .9;
}

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

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Page Header */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--background);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Common Section Styling */
section {
  padding: 5rem 0;
  background: var(--background);
}

/* Team Preview */
.team-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-avatar {
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Newsletter */
.newsletter {
  background: var(--muted);
  padding: 4rem 0;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.newsletter-form {
  flex-shrink: 0;
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  min-width: 250px;
}

@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    width: 100%;
  }
  
  .newsletter-input {
    min-width: auto;
  }
}

/* About Preview */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.about-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-logo {
  text-align: center;
  padding: 1rem;
}

.partner-name {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Pricing Preview */
.pricing-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
}

.pricing-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Services Page */
.service-row {
  padding: 4rem 0;
}

.service-row:nth-child(even) {
  background: var(--muted);
}

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

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

.service-row-reverse .service-text {
  direction: ltr;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.service-pricing {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pricing-note {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1rem;
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-categories {
  background: var(--muted);
}

.category-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
}

.category-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.category-features {
  list-style: none;
  padding: 0;
}

.category-features li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
}

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

/* About Page */
.company-story {
  padding: 4rem 0;
}

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

.story-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.story-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.mission-vision {
  background: var(--muted);
}

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

.mission-title,
.vision-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
}

.mission-description,
.vision-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.values-grid {
  background: var(--background);
}

.value-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.value-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.team-section {
  background: var(--muted);
}

.team-member {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-expertise {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.expertise-tag {
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.achievements {
  background: var(--background);
}

.achievement-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.achievement-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.company-info {
  background: var(--muted);
}

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

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

.info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.info-content p {
  margin: 0.25rem 0;
  color: var(--muted-foreground);
}

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

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

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.brendovika-top_contact-form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brendovika-top_contact-form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.brendovika-top_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background);
  color: var(--foreground);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-submit-btn {
  align-self: flex-start;
  margin-top: 1rem;
}

.success-message {
  background: linear-gradient(135deg, var(--accent), #22c55e);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.success-message h3 {
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.success-message p {
  margin: 0;
  .9;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.contact-info-content p {
  margin: 0.25rem 0;
  color: var(--muted-foreground);
}

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

.contact-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.contact-item {
  margin-bottom: 1rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.hours-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-areas {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-areas li {
  padding: 0.25rem 0;
}

.service-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.alt-contact {
  background: var(--muted);
}

.alt-contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.alt-contact-card:hover {
  transform: translateY(-4px);
}

.alt-contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.alt-contact-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

/* FAQ Page */
.faq-section {
  padding: 4rem 0;
}

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

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

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

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

.faq-cta {
  background: var(--muted);
  padding: 4rem 0;
  margin-top: 3rem;
}

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

.faq-cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-cta-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

/* Legal Pages */
.legal-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.last-updated {
  font-style: italic;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.legal-body {
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 3rem;
}

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

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--foreground);
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.legal-section ul,
.legal-section ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-section li {
  margin: 0.5rem 0;
  color: var(--muted-foreground);
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.contact-details {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.contact-details p {
  margin: 0.5rem 0;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

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

.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;
  color: var(--foreground);
}

.cookie-table td {
  color: var(--muted-foreground);
}

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

/* Footer */
.footer {
  background: transparent;
  border-top: 1px solid var(--border);
  color: var(--foreground);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-info,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary);
}

.footer-info p,
.footer-contact p {
  margin: 0;
  color: var(--muted-foreground);
}

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

.footer-legal p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.footer-legal-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
}

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

/* Cookie Consent */
.brendovika-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 1rem 0;
}

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

.brendovika-top_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.brendovika-top_cookie-banner-text p {
  margin: 0;
  color: var(--muted-foreground);
}

.brendovika-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brendovika-top_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.brendovika-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
}

.brendovika-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.brendovika-top_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

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

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

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

.brendovika-top_cookie-toggle-row div {
  flex: 1;
}

.brendovika-top_cookie-toggle-row input[type="checkbox"] {
  margin-left: 1rem;
}

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

@media (max-width: 768px) {
  .brendovika-top_cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .brendovika-top_cookie-banner-text {
    min-width: auto;
  }
  
  .brendovika-top_cookie-banner-actions {
    justify-content: center;
  }
  
  .brendovika-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Animation Classes */
.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* === 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 */
#brendovika-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#brendovika-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#brendovika-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
