:root {
  --color-primary: #2D5A27;
  --color-secondary: #F4F1EA;
  --color-accent: #FF8C42;
  --color-text: #1a1a1a;
  --color-text-light: #4b5563;
  --color-bg: #ffffff;
  --color-bg-alt: #F4F1EA;

  --font-family: 'Outfit', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #1e3d1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #1a1a1a;
}

.btn-accent:hover {
  background-color: #e67e3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

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

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  font-size: 1.1rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-base);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  transition: var(--transition-base);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: var(--space-xl) 0;
}

.hero h1 {
  color: #ffffff;
  font-size: 4rem;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  opacity: 0.95;
  font-weight: 300;
}

.section {
  padding: var(--space-2xl) 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  font-size: 2.75rem;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-accent);
}

.section-title p {
  color: var(--color-text-light);
  max-width: 700px;
  margin: var(--space-md) auto 0;
  font-size: 1.125rem;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

.card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 250px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img img {
  transform: scale(1.08);
}

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.card-footer {
  margin-top: auto;
  padding-top: var(--space-md);
}

.footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer h4 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p, .footer li {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}

.footer a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-base);
  background-color: #fcfcfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
  background-color: #ffffff;
}

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

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

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: var(--transition-base);
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-base);
  background-color: #f9fafb;
}

.faq-answer p {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: 0;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: var(--transition-base);
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: var(--transition-base);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  height: 100%;
  width: 2px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
  padding: var(--space-lg);
  z-index: 2000;
  display: none;
  border-top: 3px solid var(--color-primary);
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
}

.cookie-content {
  margin-bottom: var(--space-md);
}

.cookie-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.cookie-btns {
  display: flex;
  gap: var(--space-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card {
  background-color: #ffffff;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--color-accent);
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-meta h5 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: var(--space-xl) 0;
}

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

.timeline-item {
  margin-bottom: var(--space-2xl);
  position: relative;
  width: 50%;
  padding: 0 var(--space-xl);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--color-accent);
  border: 4px solid #ffffff;
  border-radius: 50%;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-date {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.timeline-box {
  background-color: #ffffff;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.risk-disclaimer {
  background-color: #fff9eb;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.about-hero {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 150px 0 100px;
}

.about-hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

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

.team-img {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--color-secondary);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .cookie-banner.show {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-content {
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav .container {
    height: 70px;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    flex-direction: column;
    padding: var(--space-2xl);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 70px;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-title h2 {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-dot {
    left: 8px !important;
  }
}
