:root {
  --color-primary: #1E3A2F;
  --color-citrus: #F4A261;
  --color-sandstone: #E9C46A;
  --color-graphite: #5C6672;
  --color-white: #FFFFFF;
  --color-light-bg: #F8F9F7;
  --color-dark-overlay: rgba(30, 58, 47, 0.8);
  --radius-md: 8px;
  --transition-smooth: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  text-transform: none;
}

h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(30, 58, 47, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

nav.navbar {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 calc(8vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.4rem;
}

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

main {
  margin-top: 70px;
}

.container-wide {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 calc(8vw);
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(135deg, rgba(30, 58, 47, 0.03) 0%, rgba(244, 162, 97, 0.03) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  animation: slideInRight 0.6s ease-out;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-citrus), var(--color-sandstone));
  border-radius: 2px;
}

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

.card {
  background: var(--color-white);
  border: 2px solid rgba(30, 58, 47, 0.1);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(244, 162, 97, 0.05);
  transition: left 0.3s ease;
  z-index: -1;
}

.card:hover::before {
  left: 0;
}

.card:hover {
  border-color: var(--color-citrus);
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(244, 162, 97, 0.15);
}

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

.card p {
  font-size: 0.95rem;
  color: var(--color-graphite);
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--color-sandstone);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(244, 162, 97, 0.3);
}

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

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

.hero {
  background: linear-gradient(135deg, rgba(30, 58, 47, 0.9) 0%, rgba(92, 102, 114, 0.7) 100%);
  color: var(--color-white);
  padding: 140px calc(8vw) 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  flex: 1;
  z-index: 1;
  animation: slideInRight 0.6s ease-out;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  z-index: 1;
  animation: slideInLeft 0.6s ease-out;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.two-col-section.reverse {
  direction: rtl;
}

.two-col-section.reverse > * {
  direction: ltr;
}

.two-col-text {
  animation: slideInRight 0.6s ease-out;
}

.two-col-image {
  animation: slideInLeft 0.6s ease-out;
}

.two-col-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(30, 58, 47, 0.15);
  transition: transform 0.3s ease;
}

.two-col-image:hover img {
  transform: scale(1.02);
}

footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem calc(8vw);
  margin-top: 5rem;
  border-top: 2px solid rgba(244, 162, 97, 0.2);
}

.footer-content {
  max-width: 1380px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 162, 97, 0.1);
}

.footer-section h4 {
  color: var(--color-citrus);
  margin-bottom: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

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

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-citrus);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
  background-color: rgba(244, 162, 97, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 2px solid rgba(30, 58, 47, 0.15);
  border-radius: var(--radius-md);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-citrus);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.form-disclaimer {
  background-color: rgba(30, 58, 47, 0.05);
  padding: 1.2rem;
  border-left: 4px solid var(--color-citrus);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.thank-you-content {
  text-align: center;
  padding: 6rem 2rem;
}

.thank-you-content h1 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--color-graphite);
  margin-bottom: 2rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem calc(8vw);
  z-index: 998;
  display: none;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.cookie-consent.active {
  display: block;
}

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

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
  background-color: var(--color-sandstone);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-learn {
  color: var(--color-citrus);
  background: transparent;
  border: none;
  text-decoration: underline;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  body {
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem calc(8vw);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(30, 58, 47, 0.1);
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu a {
    display: block;
    padding: 0.8rem 0;
  }

  .hero {
    flex-direction: column;
    padding: 100px calc(8vw) 60px;
    text-align: center;
  }

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

  .hero-image {
    max-width: 100%;
  }

  .two-col-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col-section.reverse {
    direction: ltr;
  }

  .section {
    padding: 80px 0;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --radius-md: 6px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  body {
    font-size: 15px;
  }

  .container-wide {
    padding: 0 calc(4vw);
  }

  nav.navbar {
    padding: 0 calc(4vw);
  }

  .hero {
    padding: 80px calc(4vw) 50px;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 14px;
  }
}
