/* ========================
   Vestimi Qui CSS - NATURE ORGANIC
   ======================== */

/* ========== CSS Reset & Normalize ========== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F2EA;
  color: #38425A;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
img {
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #6EA96A;
  outline-offset: 2px;
}

/* ========== Custom Properties for Brand & Nature Organic ========== */
:root {
  --primary: #38425A; /* brand dark blue */
  --secondary: #EEC9D2; /* brand pink */
  --accent: #FDF6F2; /* brand light accent */
  --green-olive: #6EA96A;
  --brown-clay: #9D7345;
  --sand: #F6F2EA;
  --dark-sage: #556B54;
  --font-display: 'Merienda', cursive, serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --radius-xl: 30px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-card: 0 6px 28px rgba(61, 79, 66, 0.08), 0 1.5px 5px rgba(67, 48, 34, 0.04);
  --transition-main: all 0.3s cubic-bezier(.4,0,.2,1);
  --gap-lg: 32px;
  --gap-md: 24px;
  --gap: 20px;
  --gap-sm: 12px;
}

/* ========== Typography ========== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark-sage);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
h4, .h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark-sage);
  font-family: var(--font-body);
}
h5, h6 {
  font-size: 1rem;
  font-family: var(--font-body);
}
p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--dark-sage);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
strong {
  font-weight: 600;
  color: var(--green-olive);
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.1rem; }
}

/* ========== Layout Containers ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: var(--accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-lg);
}
@media (max-width: 800px) {
  .section {
    padding: 28px 5vw;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
  .text-section {
    padding: 20px 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  transition: box-shadow .26s cubic-bezier(.4,0,.2,1), transform .19s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 10px 28px rgba(61, 79, 66, 0.14), 0 4px 9px rgba(67, 48, 34, 0.06);
  transform: translateY(-4px) scale(1.015);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .21s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(61,79,66,0.13), 0 5px 20px rgba(67,48,34,.09);
  transform: translateY(-3px);
}
.testimonial-card p {
  color: #2c3222;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.testimonial-card span {
  color: var(--green-olive);
  font-size: 0.97rem;
  font-weight: 500;
}

/* ========== Product & Service Cards ========== */
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.product-card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 16px;
  flex: 1 1 330px;
  min-width: 260px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .21s cubic-bezier(.4,0,.2,1);
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(110,169,106,.09);
  transform: translateY(-6px);
}
.product-card h3 {
  margin-bottom: 4px;
}
.product-card span {
  color: var(--green-olive);
  font-size: 1rem;
  margin-top: 6px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 16px;
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .21s cubic-bezier(.4,0,.2,1);
}
.service-item:hover {
  box-shadow: 0 10px 32px rgba(110,169,106,0.13);
  transform: translateY(-4px);
}
.service-item h3 {
  margin-bottom: 4px;
}
.service-item span {
  color: var(--green-olive);
  font-size: .97rem;
  margin-top: 6px;
}

/* ========== Feature Items Generic ========== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ========== Header & Nav ========== */
header {
  background: var(--accent);
  box-shadow: 0 2px 14px 0 rgba(61, 79, 66, 0.05);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 68px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-md);
}

nav {
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: .05em;
  padding: 7px 13px;
  border-radius: var(--radius-md);
  transition: background .2s, color .18s;
}
header nav a:hover, header nav a.active {
  background: var(--green-olive);
  color: #fff;
}

/* Hamburger (mobile) styles */
.mobile-menu-toggle {
  display: none;
  background: var(--green-olive);
  color: #fff;
  padding: 11px 14px;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-left: 10px;
  box-shadow: 0 1px 6px rgba(67,48,34,.07);
  transition: background .2s, box-shadow .2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--brown-clay);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ========== Mobile Slide Menu Overlay ========== */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 50px 0 rgba(61, 79, 66, 0.17);
  transform: translateX(-110vw);
  transition: transform .38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 0 10px 30px;
  font-size: 2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--green-olive);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 30px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-body);
  padding: 11px 0 3px 0;
  transition: color .18s, background .19s;
  border-radius: var(--radius-md);
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--green-olive);
  background: #E4ECDD;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== CTA Button ========== */
.cta-button {
  display: inline-block;
  padding: 13px 34px;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  background: var(--green-olive);
  color: #fff;
  border-radius: 50px 30px 45px 25px/40px 36px 32px 48px; /* organic shape */
  box-shadow: 0 9px 24px rgba(110,169,106,0.09);
  letter-spacing: 1px;
  border: 2px solid var(--green-olive);
  transition: background .2s, color .16s, box-shadow .21s, transform .18s;
  margin-top: 9px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brown-clay);
  border-color: var(--brown-clay);
  color: #fffbea;
  box-shadow: 0 12px 32px rgba(157,115,69,.12);
  transform: translateY(-2px) scale(1.04);
}

/* ========== Lists & Ul ========== */
ul, ol {
  padding-left: 22px;
}
ul li {
  position: relative;
  margin-bottom: 8px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(45deg, var(--green-olive) 60%, var(--brown-clay) 100%);
  border-radius: 50%;
}
.text-section ul li::before {
  background: var(--green-olive);
}

/* ========== Footer ========== */
footer {
  background: var(--dark-sage);
  color: #fff;
  padding: 38px 0 22px 0;
}
footer .container {
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
footer img {
  height: 38px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
}
footer nav {
  flex-direction: row;
  gap: 28px;
}
footer nav a {
  color: #fff;
  opacity: .93;
  font-size: .99rem;
  font-family: var(--font-body);
  padding: 2px 8px;
  border-radius: 9px;
  font-weight: 400;
  transition: background .15s, color .15s;
}
footer nav a:hover {
  opacity: 1;
  background: var(--green-olive);
  color: #fff;
}
.footer-contact {
  font-size: 0.99rem;
  color: #fff;
  line-height: 1.4;
}
.footer-contact a {
  color: #EEC9D2;
  border-bottom: 1.5px dotted #EEC9D2;
  transition: color .17s;
}
.footer-contact a:hover {
  color: #fff;
  border-bottom: 1.5px solid #fff;
}

/* ========== Responsive Spacing ========== */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  footer {
    padding: 22px 0 12px 0;
  }
  footer .container {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .footer-contact p {
    font-size: .97rem;
  }
}

/* ========== Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  z-index: 10001;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2.5px solid var(--green-olive);
  box-shadow: 0 -2px 24px rgba(61, 79, 66, 0.2);
  padding: 18px 6vw 12px 6vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110px);
  transition: opacity .27s, transform .27s cubic-bezier(.6,0,.18,1);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-msg {
  color: var(--primary);
  font-size: 1rem;
  max-width: 600px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 25px;
  padding: 9px 23px;
  margin-left: 0;
  transition: background .17s, color .15s, box-shadow .19s, border .19s;
  border: 1.5px solid var(--green-olive);
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--green-olive);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brown-clay);
  border-color: var(--brown-clay);
  color: #fffbea;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--green-olive);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #EEC9D2;
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--green-olive);
  color: #fff;
  border-color: var(--green-olive);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 18px 12px 18px;
    gap: 10px;
  }
  .cookie-banner .cookie-msg {
    font-size: 0.97rem;
    margin-bottom: 7px;
  }
}

/* ========== Cookie Modal ========== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10002;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(56,66,90, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s cubic-bezier(.7,0,.2,1);
}
.cookie-modal-backdrop.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(61, 79, 66, 0.25);
  padding: 36px 30px;
  min-width: 340px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: fadein-cookie-modal .4s cubic-bezier(.6,0,.2,1);
}
@keyframes fadein-cookie-modal {
  from { transform: scale(.89) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0);    opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal ul {
  margin-bottom: 0;
  padding-left: 18px;
}
.cookie-modal .category {
  margin-bottom: 9px;
}
.cookie-modal .cat-title {
  color: var(--green-olive);
  font-weight: 600;
  font-size: 1.01rem;
}
.cookie-modal .switch {
  margin-left: 13px;
  font-size: 1.25rem;
  accent-color: var(--green-olive);
  vertical-align: middle;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: #FADFEC;
  color: var(--brown-clay);
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.8rem;
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brown-clay);
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 22px 8px;
    min-width: 0;
  }
  .cookie-modal-close {
    top: 7px; right: 7px;
    width: 32px; height: 32px;
    font-size: 1.3rem;
  }
}

/* ========== Miscellaneous & Utility ========== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: #e4e4e4;
  border-radius: 9px;
}

main {
  min-height: 65vh;
}

/* Organic edges for cards */
.card, .testimonial-card, .product-card, .service-item {
  border-radius: 35px 20px 25px 32px/28px 38px 28px 30px;
}

/* Decorative organic backgrounds (example) */
.section {
  position: relative;
  background: linear-gradient(103deg, var(--accent) 80%, rgba(110,169,106,0.09) 100%);
  border-radius: 45px 27px 38px 49px/34px 38px 55px 34px;
}
.section:nth-of-type(even) {
  background: linear-gradient(248deg, #FBF8F4 85%, rgba(157,115,69,0.12) 115%);
}

/* Responsive card/grid layouts */
@media (max-width: 1100px) {
  .card-container, .product-cards, .service-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .section {
    border-radius: var(--radius-md);
    padding: 20px 3vw;
  }
  .testimonial-card, .product-card, .service-item, .card {
    border-radius: var(--radius-md);
    min-width: 80vw;
    max-width: 98vw;
  }
}

/* Spacing, avoid overlap, white space */
.card, .testimonial-card, .product-card, .service-item {
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 20px;
}

.section + .section {
  margin-top: 0;
}

/* ========== Interactive Effects ========== */
a, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .17s, transform .18s, box-shadow .19s;
}

/* ========== Forms (for contact page placeholder) ========== */
input, textarea, select {
  background: #fff;
  border: 1.3px solid var(--green-olive);
  border-radius: var(--radius-md);
  padding: 10px 13px;
  font-size: 1.03rem;
  width: 100%;
  margin-bottom: 14px;
  transition: border .19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brown-clay);
  background: #f6fff5;
}

/* ========== Accessibility: focus-visible ========== */
a:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2.5px solid var(--brown-clay);
  outline-offset: 1px;
  box-shadow: 0 0 0 2px var(--green-olive);
}

/* ========== Print Hide for Navigation/Interactive ========== */
@media print {
  nav, .cta-button, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
}

/* ========== End of CSS ========== */
