/* VivaVerde Luxury Premium CSS Theme */

/* ===== CSS RESET & BASE STYLES ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F7ED;
  color: #2A332A;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #27613D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #A68F3A;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* ===== BRAND LUXURY COLORS ===== */
:root {
  --vv-primary: #27613D;
  --vv-primary-dark: #204b2f;
  --vv-secondary: #A6C468;
  --vv-secondary-dark: #838e53;
  --vv-bg: #F7F7ED;
  --vv-accent-gold: #A68F3A;
  --vv-accent-gold-light: #dbc97c;
  --vv-light: #fff;
  --vv-gray: #ECEAE3;
  --vv-dark: #22261e;
  --vv-shadow: 0 4px 16px rgba(39, 97, 61, .08), 0 1.5px 6px 0 rgba(166, 143, 58, 0.045);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--vv-dark);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
}

p, ul, ol, li, blockquote {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2A332A;
  margin-bottom: 16px;
}
strong {
  color: var(--vv-primary);
  font-weight: 700;
}
blockquote {
  font-style: italic;
  border-left: 3px solid var(--vv-accent-gold);
  padding-left: 18px;
  color: #304028;
  background: var(--vv-gray);
  margin: 0 0 10px 0;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== HEADER & NAV ===== */
header {
  background: var(--vv-light);
  box-shadow: 0 2px 12px rgba(39,97,61,0.075);
  position: sticky;
  top: 0;
  z-index: 1001;
  border-bottom: 1.5px solid var(--vv-gray);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 12px;
}
.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--vv-primary);
  letter-spacing: .005em;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vv-accent-gold);
  text-shadow: 0px 1px 0px var(--vv-accent-gold-light);
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--vv-accent-gold);
  color: var(--vv-light);
  padding: 11px 26px;
  border-radius: 28px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(39,97,61,0.10);
  letter-spacing: .03em;
  margin-left: 14px;
  transition: background .25s, box-shadow .25s, transform .15s;
  border-bottom: 2px solid var(--vv-accent-gold-light);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--vv-primary);
  color: var(--vv-accent-gold);
  box-shadow: 0 6px 30px 0 rgba(39,97,61,0.18);
  transform: translateY(-2px) scale(1.04);
  border-bottom: 2.5px solid var(--vv-accent-gold);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--vv-primary);
  background: none;
  border: none;
  display: none;
  cursor: pointer;
  padding: 8px 10px;
  line-height: 1;
  margin-left: 10px;
  border-radius: 8px;
  transition: background .18s;
  z-index: 1111;
}
.mobile-menu-toggle:focus {
  background: var(--vv-gray);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(39,97,61,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1), opacity 0.35s;
  z-index: 2000;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.25rem;
  color: var(--vv-accent-gold);
  background: none;
  border: none;
  margin: 22px 24px 24px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color .1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--vv-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--vv-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  text-align: right;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vv-accent-gold);
}


/* ===== MAIN & SECTION STYLES ===== */
main {
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--vv-bg);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  box-shadow: var(--vv-shadow);
  background: var(--vv-light);
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.text-section {
  margin-top: 6px;
  margin-bottom: 18px;
  color: var(--vv-dark);
  line-height: 1.7;
  font-size: 1.05rem;
}
.text-section ul {
  margin-bottom: 8px;
}

/* Feature, cards, testimonials */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--vv-gray);
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(166, 143, 58, 0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 18px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow .21s, transform .18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px 0 rgba(166, 143, 58, 0.10);
  transform: translateY(-3px) scale(1.01);
}

.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: #F7F7ED;
  box-shadow: 0 1px 7px 0 rgba(39,97,61,0.08);
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 5px solid var(--vv-accent-gold);
  color: #22261e;
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #35361f;
  margin-bottom: 8px;
  border: none;
  padding: 0;
  background: none;
  font-size: 1.06rem;
}
.testimonial-card p {
  margin: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* ===== BUTTONS (DEFAULT, COOKIE, ETC) ===== */
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--vv-accent-gold);
  color: var(--vv-light);
  padding: 10px 24px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(39,97,61,0.09);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  outline: none;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--vv-primary);
  color: var(--vv-accent-gold);
}

/* ===== ICONS & LISTS ===== */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 1rem;
  color: #344d2b;
}
ul li img, ol li img {
  margin-right: 8px;
  height: 24px;
  width: 24px;
  display: inline-block;
}
.text-section ul li,
.text-section ol li {
  background: none;
  border: none;
  margin-bottom: 0px;
}


/* ===== CONTENT DECORATION & DETAILS ===== */
hr {
  border: 0;
  height: 1.5px;
  background: var(--vv-accent-gold-light);
  margin: 18px 0 18px 0;
  width: 100%;
  border-radius: 3px;
}

/* ===== FAQ Section ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #ECEAE3;
  border-left: 4px solid var(--vv-primary);
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(39,97,61,0.065);
  padding: 16px 20px 14px 20px;
  margin-bottom: 14px;
  color: #27613D;
  transition: box-shadow .16s, background .16s;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #204b2f;
  margin-bottom: 7px;
}
.faq-item p {
  color: #3a462d;
  margin-bottom: 0;
  font-size: 1rem;
}
.faq-item:hover, .faq-item:focus-within {
  background: #fff;
  box-shadow: 0 6px 12px 0 rgba(38, 66, 29, 0.07);
}

/* ===== FOOTER ===== */
footer {
  background: var(--vv-primary);
  color: var(--vv-light);
  font-size: 1rem;
  padding-top: 32px;
  padding-bottom: 24px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 5px;
  justify-content: center;
}
.footer-nav a {
  color: var(--vv-accent-gold);
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vv-secondary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-contact img {
  height: 18px;
  vertical-align: middle;
}
.footer-copy {
  font-size: 0.98rem;
  color: #e9dab6;
  letter-spacing: .01em;
  margin-top: 3px;
}

/* ===== SOCIAL ICONS IN TEXT SECTION (THANK YOU ETC) ===== */
.text-section ul li a img {
  height: 22px;
  margin-right: 5px;
  vertical-align: middle;
}
.text-section ul li a {
  color: var(--vv-primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color .18s;
}
.text-section ul li a:hover, .text-section ul li a:focus {
  color: var(--vv-accent-gold);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--vv-dark);
  color: var(--vv-light);
  font-family: 'Roboto', Arial, sans-serif;
  padding: 16px 8%;
  z-index: 4000;
  box-shadow: 0 -3px 16px 0 rgba(39,97,61,0.11);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  justify-content: space-between;
  transition: transform 0.36s cubic-bezier(0.7,0,0.3,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 340px;
  font-size: 1rem;
  color: #fffbea;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  background: var(--vv-accent-gold);
  color: var(--vv-dark);
  padding: 9px 23px;
  cursor: pointer;
  font-weight: 700;
  margin-right: 0;
  transition: background .14s, color .14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--vv-light);
  color: var(--vv-accent-gold);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--vv-accent-gold);
  border: 1px solid var(--vv-accent-gold);
  padding: 9px 19px;
  margin-left: 0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--vv-gray);
  color: var(--vv-dark);
  border: 1.5px solid var(--vv-accent-gold-light);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(39,97,61, .77);
  z-index: 4100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--vv-light);
  border-radius: 16px;
  box-shadow: 0 8px 26px 0 rgba(38, 66, 29, 0.22);
  max-width: 400px;
  width: 92vw;
  padding: 32px 28px 24px 28px;
  color: var(--vv-dark);
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  animation: modalUp .25s cubic-bezier(0.7,0,0.3,1);
}
@keyframes modalUp {
  from {transform: translateY(30px) scale(0.97);} to {transform: none;}
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--vv-primary);
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #C5C2B0;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .19s;
}
.cookie-toggle:checked {
  background: var(--vv-accent-gold);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(39,97,61,0.09);
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left .19s;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--vv-primary);
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .cookie-modal-action {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ====== MEDIA QUERIES (RESPONSIVE) ====== */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    max-width: 92vw;
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  body {
    font-size: 0.98rem;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 7px;
  }
  .container {
    max-width: 99vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  section {
    padding: 30px 6px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container {
    gap: 14px;
    flex-direction: column;
  }
  .card {
    min-width: 0;
    padding: 18px 9px;
    font-size: 1.04rem;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 12px;
    font-size: 1.02rem;
  }
  footer .container {
    font-size: 0.97rem;
    gap: 8px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 13px 3vw;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.04rem;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 10px 2vw;
  }
}

/* ===== MICRO-INTERACTIONS ===== */
.cta-btn, .cookie-btn, .card, .faq-item, button {
  transition: box-shadow .21s, color .18s, background .19s, transform .12s;
}
.cta-btn:active, .cookie-btn:active, .faq-item:active, .card:active {
  transform: scale(0.985);
}

/* ===== CUSTOM SCROLLBAR (PREMIUM TOUCH) ===== */
::-webkit-scrollbar {
  width: 11px;
  background: var(--vv-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--vv-accent-gold-light);
  border-radius: 6px;
  border: 2px solid var(--vv-bg);
}

/* ===== ARIA/LAYOUT ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--vv-accent-gold);
  outline-offset: 0.5px;
}

/* ===== LUXURY PREMIUM DECOR: gold & shadows ===== */
.card, .testimonial-card, .faq-item {
  border-right: 2.5px solid var(--vv-accent-gold-light);
}
section, .faq-item, .testimonial-card, .card {
  box-shadow: var(--vv-shadow);
}
.testimonial-card {
  border-left: 5px solid var(--vv-accent-gold);
}

/* ===== PRINT FRIENDLY ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
