:root {
  --deep-sienna: #8b4513;
  --sunlit-ochre: #e8c39e;
  --soft-sage: #8a9a5b;
  --warm-linen: #f5f0e1;
  --text-dark: #1a1a1a;
  --text-light: #fafaf8;
}

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

html, body {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--warm-linen);
}

@font-face {
  font-family: 'Oswald';
  src: url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700&display=swap');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 5.2rem;
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--deep-sienna);
  margin-bottom: 20px;
}

h2 {
  font-size: 2.8rem;
  color: var(--deep-sienna);
  margin-bottom: 30px;
  margin-top: 40px;
}

h3 {
  font-size: 2rem;
  color: var(--deep-sienna);
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

header {
  background-color: var(--warm-linen);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--sunlit-ochre);
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: var(--deep-sienna);
  border-bottom: 2px solid var(--sunlit-ochre);
}

header.scrolled a, header.scrolled .navbar-brand {
  color: var(--warm-linen) !important;
}

header.scrolled .navbar-toggler {
  border-color: var(--sunlit-ochre);
}

header.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23e8c39e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar {
  padding: 0;
}

.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-sienna) !important;
  margin-right: 30px;
}

.nav-link {
  color: var(--deep-sienna) !important;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  margin-left: 20px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--sunlit-ochre) !important;
}

.container-max {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 130px;
}

@media (max-width: 1200px) {
  .container-max {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .container-max {
    padding: 0 30px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--deep-sienna) 0%, var(--sunlit-ochre) 100%);
  overflow: hidden;
  margin-top: 70px;
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  animation: fadeIn 1s ease-in;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--warm-linen);
  animation: slideInUp 0.8s ease-out;
}

.hero-content h1 {
  color: var(--warm-linen);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--warm-linen);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(138, 154, 91, 0.1) 0%, transparent 100%);
}

.section-divider {
  height: 2px;
  background-color: var(--sunlit-ochre);
  margin: 60px 0;
  max-width: 100px;
  margin-left: 0;
}

.content-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

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

.content-block-image {
  flex: 0 0 62%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.content-block-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-block-image:hover img {
  transform: scale(1.05);
}

.content-block-text {
  flex: 0 0 38%;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  border: 2px solid var(--sunlit-ochre);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--soft-sage), var(--sunlit-ochre));
}

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

.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(138, 154, 91, 0.2);
}

.card-body {
  padding: 30px;
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--deep-sienna);
  margin-bottom: 15px;
}

.card-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.card-advantages {
  list-style: none;
  padding: 0;
}

.card-advantages li {
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
  color: var(--soft-sage);
  font-weight: 500;
}

.card-advantages li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sunlit-ochre);
  font-weight: bold;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

  .content-block {
    flex-direction: column !important;
    gap: 30px;
  }

  .content-block-image {
    flex: 1;
  }

  .content-block-text {
    flex: 1;
  }
}

button.btn-radivon {
  background-color: transparent;
  border: 2px solid var(--sunlit-ochre);
  color: var(--deep-sienna);
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  text-transform: uppercase;
  padding: 14px 40px;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

button.btn-radivon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(232, 195, 158, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button.btn-radivon:active::before {
  width: 300px;
  height: 300px;
}

button.btn-radivon:hover {
  background: linear-gradient(135deg, rgba(245, 240, 225, 0.8), rgba(232, 195, 158, 0.3));
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
  color: var(--deep-sienna);
}

button.btn-radivon:active {
  animation: pulse 0.6s ease-out;
}

a.btn-radivon {
  text-decoration: none;
  display: inline-block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.85;
  }
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 195, 158, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(232, 195, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 195, 158, 0);
  }
}

.fade-in-on-scroll {
  opacity: 0;
  animation: slideInStagger 0.8s ease-out forwards;
}

footer {
  background-color: var(--deep-sienna);
  color: var(--warm-linen);
  padding: 60px 0 40px;
  margin-top: 100px;
}

footer h3 {
  color: var(--sunlit-ochre);
  margin-bottom: 20px;
}

footer p, footer a {
  color: var(--warm-linen);
  font-size: 0.95rem;
  line-height: 1.8;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--sunlit-ochre);
}

.footer-section {
  margin-bottom: 40px;
}

.footer-divider {
  height: 1px;
  background-color: rgba(232, 195, 158, 0.3);
  margin: 30px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(232, 195, 158, 0.3);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 240, 225, 0.8);
}

.policy-list {
  list-style: none;
  padding: 0;
}

.policy-list li {
  margin-bottom: 15px;
}

.policy-list a {
  color: var(--sunlit-ochre);
  text-decoration: none;
  transition: color 0.3s ease;
}

.policy-list a:hover {
  color: var(--warm-linen);
  text-decoration: underline;
}

main {
  min-height: 100vh;
}

.content-page {
  padding: 100px 0;
}

.page-title {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--sunlit-ochre);
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer-box {
  background-color: rgba(245, 240, 225, 0.8);
  border-left: 4px solid var(--sunlit-ochre);
  padding: 30px;
  margin: 40px 0;
  border-radius: 4px;
}

.disclaimer-box h3 {
  margin-top: 0;
  color: var(--deep-sienna);
}

form {
  max-width: 600px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--deep-sienna);
  font-family: 'Oswald', sans-serif;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--sunlit-ochre);
  border-radius: 4px;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--deep-sienna);
  box-shadow: 0 0 0 3px rgba(232, 195, 158, 0.2);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-disclaimer {
  background-color: rgba(232, 195, 158, 0.1);
  padding: 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.opacity-fade {
  opacity: 0.85;
}

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

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

.thank-you-container h1 {
  margin-bottom: 20px;
}

.thank-you-message {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-sienna);
  color: var(--warm-linen);
  padding: 20px;
  z-index: 9999;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#cookie-consent.show {
  display: flex;
}

#cookie-consent p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
}

#cookie-consent .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookie-consent button {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  transition: all 0.3s ease;
}

#cookie-consent .accept-btn {
  background-color: var(--sunlit-ochre);
  color: var(--deep-sienna);
  border: none;
}

#cookie-consent .accept-btn:hover {
  background-color: var(--warm-linen);
}

#cookie-consent .reject-btn {
  background-color: transparent;
  color: var(--warm-linen);
  border: 2px solid var(--sunlit-ochre);
}

#cookie-consent .reject-btn:hover {
  background-color: rgba(232, 195, 158, 0.2);
}

#cookie-consent .policy-btn {
  background-color: transparent;
  color: var(--warm-linen);
  border: 2px solid var(--warm-linen);
}

#cookie-consent .policy-btn:hover {
  background-color: rgba(245, 240, 225, 0.1);
}

.educational-disclaimer {
  background-color: var(--warm-linen);
  border: 2px solid var(--sunlit-ochre);
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
  text-align: center;
  font-weight: 500;
  color: var(--deep-sienna);
}
