:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #16A249;
  --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: 'Open Sans', sans-serif;
  --radius: 0.75rem;
}

* {
  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-secondary {
  color: var(--secondary);
}

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

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

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

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

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

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

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

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

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

/* 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;
    gap: 1.5rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem 0;
}

ul, ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

/* Icons */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  margin-bottom: 1rem;
}

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

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

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
}

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

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

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

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

.brastoveni-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.brastoveni-top_mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-top: none;
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

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

.hero-actions .btn-outline {
  color: #fff;
  border-color: #fff;
}

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

.hero-img {
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}

/* Sections */
.section {
  padding: 7rem 0;
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.page-header {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Cards */
.faq-preview-card,
.service-card,
.team-member {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  transition: all 0.2s ease;
}

.faq-preview-card:hover,
.service-card:hover,
.team-member:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.service-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  transform: scale(1.05);
}

.service-card h3,
.faq-preview-card h3,
.team-member h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

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

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

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

/* About Section */
.about-preview,
.about-story,
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

.stat-item h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary);
}

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

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

.highlight-item h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary);
}

@media (max-width: 768px) {
  .about-preview,
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats,
  .story-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.step-content h3 {
  margin: 0 0 1rem 0;
  color: var(--primary);
}

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

/* Services */
.service-section {
  padding: 7rem 0;
}

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

.service-reverse {
  direction: rtl;
}

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

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

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

/* Mission & Values */
.mission-values {
  text-align: center;
}

.mission-item {
  margin-bottom: 3rem;
}

.mission-item h3 {
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-item h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary);
}

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

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

.member-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avatar-icon {
  width: 4rem;
  height: 4rem;
  color: var(--muted-foreground);
}

.member-role {
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Achievements */
.achievements {
  text-align: center;
}

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

.achievement-item {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.achievement-item h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary);
}

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

/* CTA Section */
.cta-section {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.cta-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.cta-feature h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

.brastoveni-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: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

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

.btn-submit {
  margin-top: 1rem;
}

.success-message {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}

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

.success-icon {
  width: 3rem;
  height: 3rem;
  color: #16a34a;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.method-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.method-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.office-info,
.business-hours,
.response-info {
  margin-top: 3rem;
}

.office-info h3,
.business-hours h3,
.response-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.address-block,
.hours-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.address-content p,
.hours-content p {
  margin: 0;
}

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

.response-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.response-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

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

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

.contact-option {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-option h3 {
  margin: 1rem 0;
  color: var(--primary);
}

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

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

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

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

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

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

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

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

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

.faq-cta {
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-cta h2 {
  margin: 1rem 0;
  color: var(--primary);
}

.faq-cta .contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .faq-cta .contact-options {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--muted);
  color: var(--foreground);
  padding: 4rem 0 2rem 0;
}

.footer a {
  color: var(--primary);
}

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

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 2rem;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  margin: 0.5rem 0;
  color: var(--primary);
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin: 0;
}

.footer-address {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.footer-reg {
  margin-top: 1rem;
  font-size: 0.8rem;
}

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

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-hours {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-legal-links {
  margin-top: 1rem;
}

.footer-legal-links a {
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

/* Legal Pages */
.legal-section {
  padding: 4rem 0;
}

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

.legal-content h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.last-updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
}

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

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

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

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

/* Cookie Consent */
.brastoveni-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 10000;
}

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

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

.brastoveni-top_cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
}

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

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

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

.brastoveni-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.brastoveni-top_cookie-modal-content {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

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

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

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

/* Animation Classes */
.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .page-header {
    padding: 3rem 0;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-image { /* alias for .hero-img */ }
.hero-image {
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hero-text { /* alias for .hero-content */ }
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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