/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #16A249;
  --secondary-foreground: #111827;
  --accent: #2463EB;
  --accent-foreground: #FFFFFF;
  --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;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

/* Hidden utility */
.hidden {
  display: none !important;
}

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

p {
  margin: 0 0 1rem 0;
}

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

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

/* Icon Sizes */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

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

/* Icon Box */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.icon-box i {
  color: var(--primary-foreground);
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

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

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

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

.navbar {
  padding: 1rem 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
}

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

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
  background: var(--muted);
}

/* Mobile Menu */
.plinoraveta-top_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
}

.plinoraveta-top_mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav-link {
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(22, 162, 73, 0.3));
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Sections */
section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.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));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Partner Logos */
.partner-logos {
  padding: 2rem 0;
  background: var(--background);
}

.partner-logos-content {
  text-align: center;
}

.partner-logos-text {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.partner-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo-item {
  .6;
  transition: opacity 0.3s ease;
}

.partner-logo-item:hover {
  opacity: 1;
}

/* Features */
.features-grid {
  margin-top: 2rem;
}

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

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

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

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

/* FAQ Preview */
.faq-preview-grid {
  margin-bottom: 2rem;
}

.faq-preview-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
}

.faq-preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.faq-preview-cta {
  text-align: center;
}

/* Testimonials */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted-foreground);
}

.testimonial-author {
  font-weight: 600;
  color: var(--foreground);
}

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

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: var(--muted);
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

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

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

.newsletter-subtitle {
  margin-bottom: 2rem;
  .9;
}

.newsletter-form-group {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form-group .form-input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 0.25rem;
}

.newsletter-form-group .btn-primary {
  background: var(--secondary);
  border: none;
}

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

/* Process Steps */
.process-grid {
  position: relative;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
}

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

.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  .9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-actions .btn-outline {
  border-color: white;
  color: white;
}

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

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */
footer {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0 1rem;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

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

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

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

.footer-links-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-contact-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

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

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-brand {
    align-items: center;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

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

.page-subtitle {
  font-size: 1.1rem;
  .9;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-content {
  flex: 1;
  margin-bottom: 1.5rem;
}

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

.service-features {
  list-style: none;
  padding: 0;
  margin: 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-footer {
  text-align: center;
}

/* Timeline */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 60px;
  bottom: -36px;
  width: 2px;
  background: var(--border);
}

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  flex: 1;
  padding-top: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.story-content {
  align-items: center;
}

.story-paragraph {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.mission-vision-grid {
  margin-top: 2rem;
}

.mission-card,
.vision-card {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.values-container {
  margin-top: 2rem;
}

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

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

.value-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.achievements-grid {
  margin-top: 2rem;
}

.achievement-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-2px);
}

.achievement-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.advantage-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateX(8px);
}

.advantage-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.advantage-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.plinoraveta-top_contact-form-container {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

.success-message {
  background: linear-gradient(135deg, var(--secondary), #10b981);
  color: white;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.success-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

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

.contact-info-container {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.contact-info-list {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--primary-foreground);
}

.info-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-value {
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

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

.contact-cta {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}

.cta-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.additional-contact {
  padding: 3rem 0;
}

.contact-options-grid {
  margin-top: 2rem;
}

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

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

.option-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.option-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.faq-links {
  background: var(--muted);
  padding: 3rem 0;
  text-align: center;
}

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

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

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

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

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

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

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

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

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 4px 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 tr:last-child td {
  border-bottom: none;
}

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

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

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

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

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

.faq-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-toggle:hover {
  background: var(--border);
}

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

.faq-answer {
  border-top: 1px solid var(--border);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.hidden {
  max-height: 0;
  border-top: none;
}

.faq-answer:not(.hidden) {
  max-height: 500px;
}

.faq-content-text {
  padding: 1rem;
}

.faq-content-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.faq-content-text p:last-child {
  margin-bottom: 0;
}

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

/* Portfolio Page */
.portfolio-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.category-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 1rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.portfolio-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.portfolio-results-section {
  padding: 4rem 0;
}

.results-grid {
  margin-top: 2rem;
}

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

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

.result-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.client-testimonial {
  background: var(--muted);
  padding: 4rem 0;
}

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

.testimonial-quote {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin: 2rem 0;
  line-height: 1.6;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--foreground);
}

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

.implementation-process {
  padding: 4rem 0;
}

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

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

.process-step:hover {
  transform: translateY(-2px);
}

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

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

@media (max-width: 768px) {
  .portfolio-items {
    grid-template-columns: 1fr;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

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

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

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

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

.plinoraveta-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.plinoraveta-top_cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
}

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

.plinoraveta-top_cookie-modal-content {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

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

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

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

.plinoraveta-top_cookie-toggle-row input[type="checkbox"] {
  transform: scale(1.2);
}

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

.font-semibold { font-weight: 600; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.font-medium { font-weight: 500; }

@media (max-width: 768px) {
  .plinoraveta-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .plinoraveta-top_cookie-banner-text {
    min-width: auto;
  }
  
  .plinoraveta-top_cookie-modal-actions {
    flex-direction: column;
  }
  
  .plinoraveta-top_cookie-toggle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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