:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #dc2626;
  --accent-foreground: #FFFFFF;
  --background: #FAFAFA;
  --foreground: #18181B;
  --card: #FFFFFF;
  --card-foreground: #18181B;
  --border: #E4E4E7;
  --input: #E4E4E7;
  --ring: #64748b;
  --muted: #F4F4F5;
  --muted-foreground: #71717A;
  --font-family: 'Inter', sans-serif;
  --radius: 0.25rem;
}

* {
  box-sizing: border-box;
}

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

.hidden {
  display: none !important;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem 0;
}

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

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
}

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

.btn-outline:hover {
  text-decoration: underline;
}

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

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

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

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  font-family: inherit;
}

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

/* Success Message */
.success-message {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

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

.success-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.success-message h3 {
  color: var(--primary);
  margin: 0;
}

.success-message p {
  margin: 0;
  color: var(--muted-foreground);
}

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

.navbar {
  padding: 1rem 0;
}

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

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

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

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

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

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

.zenorvexil-top_mobile-menu {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.zenorvexil-top_mobile-menu-content {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
}

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

/* Hero */
.hero {
  background: #111;
  color: #fff;
  padding: 3rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  opacity: 0.4;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

.hero-actions .btn-primary:hover {
  background: #fff;
  color: #111;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

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

/* Sections */
section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

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

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

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

/* CTA Section */
.cta-section {
  background: var(--background);
  padding: 3rem 0;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
  margin-bottom: 1rem;
}

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

/* Features */
.features-section {
  background: var(--background);
}

.feature-card {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

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

/* Icons */
.icon-box {
  background: var(--muted);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.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; }

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

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

.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-text {
  padding: 2rem 0;
}

.service-text h2 {
  margin-bottom: 1rem;
}

.service-text p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

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

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

.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.service-categories {
  background: var(--background);
  padding: 3rem 0;
}

.category-card {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

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

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

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

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

.story-text p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.mission-values {
  background: var(--background);
  padding: 3rem 0;
}

.value-card {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

.timeline-section {
  padding: 3rem 0;
}

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

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--muted-foreground);
}

.team-section {
  background: var(--background);
  padding: 3rem 0;
}

.team-member {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

.team-member-card {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

.team-member-icon {
  margin: 0 auto 1.5rem auto;
  width: 5rem;
  height: 5rem;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievements-section {
  padding: 3rem 0;
}

.achievement-card {
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

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

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

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

.zenorvexil-top_contact-form-container {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.zenorvexil-top_contact-form-container h2 {
  margin-bottom: 1rem;
}

.zenorvexil-top_contact-form-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  font-family: inherit;
  resize: vertical;
}

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

.contact-info-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-card h2 {
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

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

.contact-icon {
  background: var(--muted);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
  color: var(--primary);
}

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

.business-info {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

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

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

.map-placeholder {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
}

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

.map-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.map-content h4 {
  margin: 0;
  color: var(--primary);
}

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

.map-address {
  font-weight: 500;
  color: var(--foreground) !important;
}

.contact-options {
  background: var(--background);
  padding: 3rem 0;
}

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

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

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

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

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

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--foreground);
  font-size: 1rem;
}

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

.faq-icon {
  transition: transform 0.2s;
  flex-shrink: 0;
}

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

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

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

.faq-preview-section {
  background: var(--background);
  padding: 3rem 0;
}

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

.faq-item {
  background: var(--card);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--muted-foreground);
  margin: 0;
}

.faq-cta-section {
  background: var(--background);
  padding: 3rem 0;
}

.faq-cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.faq-cta-content h2 {
  margin-bottom: 1rem;
}

.faq-cta-content p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

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

.newsletter-text h2 {
  margin-bottom: 1rem;
}

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

.newsletter-signup {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-signup {
    flex-direction: column;
  }
}

/* Team Preview */
.team-preview-section {
  padding: 3rem 0;
}

/* Legal Pages */
.legal-page {
  padding: 3rem 0;
}

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

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

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

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  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(--foreground);
}

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

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

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-contact p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-nav,
  .footer-legal {
    gap: 1rem;
  }
  
  .footer-nav a,
  .footer-legal a {
    font-size: 0.75rem;
  }
}

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

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

.zenorvexil-top_cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.zenorvexil-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

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

@media (max-width: 768px) {
  .zenorvexil-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .zenorvexil-top_cookie-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Cookie Modal */
.zenorvexil-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.zenorvexil-top_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
}

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

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

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

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

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

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--muted-foreground); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header p {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    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 */
#zenorvexil-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#zenorvexil-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#zenorvexil-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
