/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #DC2828;
  --accent-foreground: #FFFFFF;
  --background: #F8FAFC;
  --foreground: #0F172A;
  --card: #FFFFFF;
  --card-foreground: #0F172A;
  --border: #E2E8F0;
  --input: #F1F5F9;
  --ring: #64748b;
  --muted: #F1F5F9;
  --muted-foreground: #64748b;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.5rem;
}

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

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

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

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

p {
  margin: 0 0 1rem 0;
  color: var(--foreground);
}

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

a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.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; }

/* 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;
}

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

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

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
}

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

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

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

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

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo-img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

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

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

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .hypertrixprois_mobile-menu-toggle {
    display: block;
  }
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--background);
  color: var(--foreground);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 50%;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    text-align: center;
  }
  
  .hero-background {
    display: none;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Gallery Preview */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
}

.gallery-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Newsletter */
.newsletter {
  background: var(--muted);
}

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

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

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

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.newsletter-input {
  flex: 1;
}

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

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

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  text-align: center;
}

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

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-title {
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 2rem;
}

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

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

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

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

.pricing-cta {
  width: 100%;
}

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

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

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

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

.faq-cta {
  text-align: center;
  margin-top: 3rem;
}

/* FAQ Page Accordion */
.faq-question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-question {
  margin: 0;
  color: var(--foreground);
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

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

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

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

.team-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

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

.team-avatar, .avatar-icon {
  font-size: 4rem;
  color: var(--primary);
}

.team-name {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

.team-description, .team-bio {
  color: var(--muted-foreground);
  margin: 0;
}

.team-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
}

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

.step-icon {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.step-title {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.step-description {
  color: var(--muted-foreground);
  margin: 0;
}

/* CTA Section */
.cta {
  background: var(--background);
}

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

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

/* Services Page */
.service-section {
  padding: 4rem 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 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
}

.service-title {
  font-size: 2rem;
  margin: 0;
}

.service-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin: 0;
}

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

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

.service-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-image {
  position: relative;
}

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

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

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

.package-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.package-card.featured {
  border-color: var(--primary);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.package-header {
  text-align: center;
  margin-bottom: 2rem;
}

.package-title {
  margin-bottom: 1rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

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

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

/* About Page */
.story-timeline {
  background: var(--muted);
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-year {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-content {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  width: calc(50% - 2rem);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-title {
  margin-bottom: 1rem;
  color: var(--primary);
}

.timeline-description {
  margin: 0 0 1rem 0;
  color: var(--muted-foreground);
}

.timeline-icon {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    flex-direction: row !important;
    margin-left: 2rem;
  }
  
  .timeline-marker {
    left: 1rem;
    transform: none;
  }
  
  .timeline-content {
    width: 100%;
    margin: 0 !important;
  }
}

/* Mission & Values */
.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0;
}

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

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

.value-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-title {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.value-description {
  color: var(--muted-foreground);
  margin: 0;
}

/* Expertise */
.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.expertise-item {
  display: flex;
  gap: 1rem;
}

.expertise-icon {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.expertise-title {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.expertise-description {
  color: var(--muted-foreground);
  margin: 0;
}

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

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

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

.achievement-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.achievement-title {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.achievement-description {
  color: var(--muted-foreground);
  margin: 0;
}

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

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

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  margin-bottom: 1rem;
}

.form-subtitle {
  color: var(--muted-foreground);
  margin: 0;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

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

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

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

.info-title {
  margin-bottom: 0.5rem;
}

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

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

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

.method-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

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

.method-value {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

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

.business-hours {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.hours-title {
  margin-bottom: 1rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.hours-day {
  font-weight: 500;
}

.hours-time {
  color: var(--primary);
  font-weight: 600;
}

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

.additional-contacts {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.additional-title {
  margin-bottom: 1rem;
}

.additional-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.additional-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.additional-label {
  font-weight: 500;
  margin-right: 0.5rem;
}

.additional-link {
  color: var(--primary);
}

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

/* Response Info */
.response-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.response-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.response-step {
  display: flex;
  gap: 1rem;
}

.step-icon {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

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

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

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

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

/* Success Message */
.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 {
  font-size: 3rem;
  color: #0ea5e9;
}

.success-title {
  color: #0c4a6e;
  margin: 0;
}

.success-text {
  color: #075985;
  margin: 0;
}

/* Legal Content */
.legal-document {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-meta {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

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

.legal-document h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-document h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-document ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.legal-document strong {
  color: var(--foreground);
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.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: var(--muted);
  color: var(--foreground);
  padding: 4rem 0 2rem;
}

.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: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-company {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

.footer-reg {
  font-size: 0.875rem;
  margin-top: 1rem;
  font-weight: 500;
}

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

.footer-heading {
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

.footer-list a {
  color: var(--muted-foreground);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  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;
  }
}

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

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

.hypertrixprois_cookie-banner-text {
  flex: 1;
}

.hypertrixprois_cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
}

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

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

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

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

.hypertrixprois_cookie-modal-content {
  position: relative;
  background: var(--card);
  color: var(--card-foreground);
  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-bottom: 2rem;
}

.hypertrixprois_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.hypertrixprois_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hypertrixprois_cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .hypertrixprois_cookie-banner-actions {
    justify-content: center;
  }
  
  .hypertrixprois_cookie-modal-actions {
    flex-direction: column;
  }
  
  .hypertrixprois_cookie-toggle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

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

.animate-slide-in.from-right {
  transform: translateX(40px);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

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