* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2c5530;
  --primary-dark: #1e3a21;
  --secondary: #d4a84b;
  --accent: #8b6914;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --bg: #fafaf8;
  --bg-alt: #f0ede6;
  --white: #ffffff;
  --border: #e0ddd5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

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

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

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--bg-alt);
}

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

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

/* Sections */
section {
  padding: 70px 20px;
}

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

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 40px;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.85);
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  flex: 1 1 300px;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  flex: 1 1 320px;
  max-width: 400px;
  border: 1px solid var(--border);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.service-price span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.features-content {
  flex: 1 1 400px;
}

.features-list {
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.features-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.features-visual svg {
  max-width: 100%;
  height: auto;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 25px 40px;
  flex: 1 1 200px;
  max-width: 250px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 10px;
}

.section-dark .stat-number {
  color: var(--secondary);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.85);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  flex: 1 1 340px;
  max-width: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Quote section */
.quote-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--bg-alt);
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--primary);
  line-height: 1.5;
}

.quote-author {
  font-weight: 600;
  color: var(--text-light);
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

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

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--text-light);
}

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

/* Process */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  counter-reset: step;
}

.process-step {
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

/* Contact */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-main {
  flex: 2 1 400px;
}

.contact-sidebar {
  flex: 1 1 300px;
}

.contact-block {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid var(--border);
}

.contact-block h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-block h3 svg {
  width: 24px;
  height: 24px;
}

.contact-block p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-block a {
  color: var(--primary);
  font-weight: 500;
}

/* Highlighted panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--text);
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
}

.highlight-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.highlight-panel p {
  margin-bottom: 25px;
}

/* Comparison */
.comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.comparison-col {
  flex: 1 1 300px;
  max-width: 380px;
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  border: 2px solid var(--border);
}

.comparison-col.featured {
  border-color: var(--secondary);
  position: relative;
}

.comparison-col.featured::before {
  content: 'Doporučujeme';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--text);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.comparison-col h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Values */
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.value-item {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.value-item svg {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.value-item h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.value-item p {
  color: var(--text-light);
}

/* Timeline / Milestones */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-item h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-item p {
  color: var(--text-light);
}

/* Industries */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.industry-tag {
  background: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.industry-tag svg {
  width: 24px;
  height: 24px;
}

/* Alternating blocks */
.alt-blocks {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.alt-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.alt-block.reverse {
  flex-direction: row-reverse;
}

.alt-block-content {
  flex: 1 1 400px;
}

.alt-block-content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.alt-block-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.alt-block-visual {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
}

.alt-block-visual svg {
  max-width: 100%;
  height: auto;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.legal-content ul {
  margin-bottom: 15px;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.legal-updated {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you svg {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.thank-you p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 30px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
}

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

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-reject {
  background: var(--bg-alt);
  color: var(--text);
}

.cookie-reject:hover {
  background: var(--border);
}

.cookie-settings {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 35px;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.cookie-modal-header h3 {
  font-size: 1.4rem;
  color: var(--primary);
}

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.cookie-modal-close svg {
  width: 24px;
  height: 24px;
}

.cookie-option {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-option h4 {
  font-size: 1rem;
  color: var(--text);
}

.cookie-option p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 26px;
  transition: 0.3s;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Icon list */
.icon-list {
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
}

.icon-list svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--primary);
}

.icon-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.icon-list span {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Two columns */
.two-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.two-cols > div {
  flex: 1 1 400px;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    border-bottom: 1px solid var(--border);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 15px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .quote-text {
    font-size: 1.4rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .alt-block,
  .alt-block.reverse {
    flex-direction: column;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item::before {
    left: -28px;
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  section {
    padding: 50px 15px;
  }

  .card {
    padding: 25px;
  }

  .btn {
    padding: 12px 24px;
  }
}
