/* Verde Armonia – gradient_modern CSS Theme */

/* 1. FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --va-primary: #24513A;
  --va-secondary: #7B925A;
  --va-accent: #F6F5F2;
  --va-dark: #1a3325;
  --va-light: #ffffff;
  --va-gradient: linear-gradient(90deg, #24513A 0%, #7B925A 100%);
  --va-gradient-rev: linear-gradient(90deg, #7B925A 0%, #24513A 100%);
  --va-gradient-soft: linear-gradient(120deg, #F6F5F2 0%, #7B925A 60%, #24513A 100%);
  --va-shadow: 0 4px 24px 0 rgba(36,81,58,0.08);
  --va-radius: 18px;
  --va-radius-sm: 10px;
  --va-gap: 24px;
  --va-gap-sm: 20px;
  --va-gap-lg: 40px;
  --va-transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--va-dark);
  background: var(--va-gradient-soft);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--va-primary);
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--va-dark);
  font-size: 1rem;
  margin-bottom: 1em;
}
blockquote {
  font-style: italic;
  color: var(--va-primary);
  border-left: 4px solid var(--va-secondary);
  padding-left: 1em;
  margin: 0 0 1em 0;
}
strong {
  font-weight: 700;
}
a {
  color: var(--va-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--va-secondary);
  text-decoration: underline;
}

/* 3. LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: var(--va-gap);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--va-gap);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--va-accent);
  border-radius: var(--va-radius);
  box-shadow: var(--va-shadow);
  position: relative;
}

/* 4. FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--va-light);
  border-radius: var(--va-radius-sm);
  box-shadow: var(--va-shadow);
  padding: 24px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,81,58,0.16);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--va-accent);
  border-radius: var(--va-radius-sm);
  box-shadow: var(--va-shadow);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 260px;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* 5. FEATURE GRID (for .feature-grid in HTML) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: var(--va-light);
  border-radius: var(--va-radius-sm);
  box-shadow: var(--va-shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(36,81,58,0.16);
  transform: translateY(-4px) scale(1.02);
}

/* 6. BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  background: var(--va-gradient);
  color: var(--va-light);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 12px 0 rgba(36,81,58,0.10);
  cursor: pointer;
  transition: var(--va-transition);
  letter-spacing: 0.03em;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--va-gradient-rev);
  color: var(--va-light);
  box-shadow: 0 6px 24px 0 rgba(36,81,58,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* 7. HEADER & NAVIGATION */
header {
  background: var(--va-gradient);
  box-shadow: 0 2px 12px 0 rgba(36,81,58,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
  min-height: 72px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: var(--va-accent);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--va-light);
  border-bottom: 2px solid var(--va-light);
}
header .cta-btn {
  margin-left: 32px;
  margin-right: 0;
  background: var(--va-light);
  color: var(--va-primary);
  box-shadow: none;
  border: 2px solid var(--va-light);
  font-weight: 700;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: var(--va-secondary);
  color: var(--va-light);
  border-color: var(--va-secondary);
}

/* 8. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--va-accent);
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--va-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--va-gradient);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--va-accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--va-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 32px;
}
.mobile-nav a {
  color: var(--va-accent);
  font-size: 1.3rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--va-light);
  border-bottom: 2px solid var(--va-light);
}

/* 9. FOOTER */
footer {
  background: var(--va-gradient-rev);
  color: var(--va-accent);
  padding: 40px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--va-accent);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--va-light);
}
footer p {
  color: var(--va-accent);
  font-size: 0.95rem;
  margin-bottom: 0.3em;
}

/* 10. LISTS */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* 11. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 18px 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 0 10px;
  }
  header nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 16px 2px;
  }
  .cta-btn {
    padding: 12px 18px;
    font-size: 1rem;
  }
}

/* 12. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--va-gradient);
  color: var(--va-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  z-index: 300;
  box-shadow: 0 -2px 16px 0 rgba(36,81,58,0.10);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: var(--va-light);
  color: var(--va-primary);
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px 0 rgba(36,81,58,0.08);
}
.cookie-btn.accept {
  background: var(--va-secondary);
  color: var(--va-light);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--va-primary);
  color: var(--va-accent);
}
.cookie-btn.reject {
  background: var(--va-light);
  color: var(--va-primary);
  border: 1px solid var(--va-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--va-accent);
  color: var(--va-secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--va-accent);
  border: 1px solid var(--va-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--va-accent);
  color: var(--va-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}

/* 13. COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,81,58,0.45);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--va-accent);
  color: var(--va-primary);
  border-radius: var(--va-radius);
  box-shadow: 0 8px 32px 0 rgba(36,81,58,0.18);
  padding: 36px 32px 28px 32px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open .cookie-modal {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--va-primary);
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: var(--va-secondary);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  margin-right: 8px;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--va-primary);
}
.cookie-modal .cookie-toggle .toggle-knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--va-accent);
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--va-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--va-secondary);
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px 14px 6px;
    max-width: 98vw;
  }
}

/* 14. MISCELLANEOUS */
::-webkit-scrollbar {
  width: 10px;
  background: var(--va-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--va-secondary);
  border-radius: 8px;
}

/* 15. ACCESSIBILITY FOCUS */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--va-secondary);
  outline-offset: 2px;
}

/* 16. MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,81,58,0.16);
  transform: translateY(-2px) scale(1.01);
}

/* 17. DARK TEXT ON LIGHT BG FOR TESTIMONIALS */
.testimonial-card, .testimonial-card p, .testimonial-card blockquote {
  background: var(--va-accent);
  color: #222;
}

/* 18. ENSURE NO OVERLAPPING */
.section, .card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* 19. PREVENT ABSOLUTE FOR CONTENT */
/* Only decorative elements (none in this markup) may use absolute */

/* 20. PRINT STYLES (optional) */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
