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

:root {
  --primary: #A68A64;
  --ivory: #FDF8F2;
  --teal: #5C8A8C;
  --sage: #98C1A9;
  --light-taupe: #F5F0EB;
  --text-dark: #2C2C2C;
  --text-light: #666666;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 19px;
  line-height: 1.74;
  color: var(--text-dark);
  background-color: var(--ivory);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 58px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 74px;
  }
}

h2 {
  font-size: 44px;
  margin-bottom: 2rem;
}

h3 {
  font-size: 32px;
  margin-bottom: 1.5rem;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(253, 248, 242, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(166, 138, 100, 0.1);
  padding: 1rem 0;
}

.header-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--teal);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--teal);
}

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

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 14px;
  }
}

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
}

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

.hero-section {
  position: relative;
  margin: 4rem 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--light-taupe);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(92, 138, 140, 0.15) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--text-dark);
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-subheading {
  font-size: 20px;
  color: var(--text-light);
  font-style: italic;
}

.section {
  margin: 6rem 0;
  padding: 4rem 0;
  background-color: var(--ivory);
}

.section:nth-child(odd) {
  background-color: var(--light-taupe);
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(166, 138, 100, 0.03) 0px,
      rgba(166, 138, 100, 0.03) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(166, 138, 100, 0.03) 0px,
      rgba(166, 138, 100, 0.03) 1px,
      transparent 1px,
      transparent 8px
    );
  background-size: 100% 8px, 8px 100%;
}

.section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teal-line {
  width: 4px;
  height: 60px;
  background-color: var(--teal);
  margin: 0 0 2rem 0;
}

.section-text h2 {
  color: var(--text-dark);
}

.section-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section:nth-child(odd) .section-container {
  direction: ltr;
}

.section:nth-child(even) .section-container {
  direction: rtl;
}

.section:nth-child(even) .section-image {
  direction: ltr;
}

.section:nth-child(even) .section-text {
  direction: ltr;
}

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

  .section:nth-child(odd) .section-container,
  .section:nth-child(even) .section-container {
    direction: ltr;
  }

  .section:nth-child(even) .section-image,
  .section:nth-child(even) .section-text {
    direction: ltr;
  }
}

.diagram-section {
  margin: 6rem 0;
  padding: 4rem;
  background-color: var(--light-taupe);
  border-radius: 8px;
  text-align: center;
}

.diagram-section h2 {
  margin-bottom: 3rem;
}

.diagram-container {
  background-color: var(--ivory);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.blog-card {
  background-color: var(--ivory);
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(92, 138, 140, 0.2);
  transform: translateY(-8px);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 22px;
}

.blog-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.blog-card a {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--ivory);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.blog-card a:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--ivory);
}

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

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

.accordion {
  margin: 3rem 0;
}

.accordion-item {
  border: 1px solid rgba(166, 138, 100, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--ivory);
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 1.5rem;
  background-color: var(--light-taupe);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: rgba(166, 138, 100, 0.1);
}

.accordion-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--primary);
}

.accordion-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.cta-section {
  margin: 6rem 0;
  padding: 4rem;
  background-color: var(--light-taupe);
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid var(--teal);
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--ivory);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(92, 138, 140, 0.3);
}

footer {
  background-color: var(--text-dark);
  color: var(--ivory);
  padding: 4rem 90px 2rem;
  margin-top: 6rem;
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 30px 2rem;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

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

.footer-section h4 {
  color: var(--ivory);
  margin-bottom: 1rem;
  font-size: 18px;
}

.footer-section p {
  color: rgba(253, 248, 242, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--sage);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 16px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(253, 248, 242, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(253, 248, 242, 0.8);
  font-size: 14px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(166, 138, 100, 0.3);
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(92, 138, 140, 0.1);
}

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

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-disclaimer {
  background-color: var(--light-taupe);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--teal);
}

.form-disclaimer p {
  margin: 0;
  color: var(--text-light);
  font-size: 16px;
}

.disclaimer-section {
  background-color: var(--light-taupe);
  padding: 3rem;
  border-radius: 8px;
  border-left: 4px solid var(--teal);
  margin: 3rem 0;
}

.disclaimer-section h2 {
  margin-bottom: 1.5rem;
}

.disclaimer-section ul {
  list-style: none;
  margin: 1.5rem 0;
}

.disclaimer-section ul li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.disclaimer-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

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

.thank-you-container h1 {
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--ivory);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  max-height: 200px;
  overflow-y: auto;
}

.cookie-consent.hidden {
  display: none;
}

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

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 30px;
  }
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--sage);
}

.cookie-text a:hover {
  color: var(--ivory);
}

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

@media (max-width: 768px) {
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--teal);
  color: var(--ivory);
}

.cookie-btn-accept:hover {
  background-color: var(--sage);
}

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

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

.blog-header {
  text-align: center;
  margin: 4rem 0;
}

.blog-hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.blog-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.blog-article img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-article h2 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.blog-article h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 26px;
}

.blog-article p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.blog-article ul,
.blog-article ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.blog-article li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.about-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.about-section p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.8;
}

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

.policy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 22px;
}

.policy-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.policy-content ul {
  margin: 1.5rem 0 1.5rem 2rem;
}

.policy-content li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.educational-message {
  background-color: var(--light-taupe);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--teal);
  margin: 3rem 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.return-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 16px 40px;
  background-color: var(--primary);
  color: var(--ivory);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.return-button:hover {
  background-color: var(--teal);
  transform: translateY(-2px);
}

.image-small {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
