/* =========================================================
   Green Harmony Phonhong - VINTAGE RETRO CSS
   Modern, vintage-inspired, mobile-first, ALL FLEXBOX LAYOUT
   ========================================================= */

/**************
 * CSS RESET *
 **************/
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: #f6eedf;
}
ul, ol {
  list-style: none;
  margin: 0 0 1.2em 0;
  padding: 0;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}

/* ===================
   BRAND FONT & COLORS
   =================== */
:root {
  --primary: #276139;          /* Deep classic green */
  --secondary: #7AC98B;        /* Muted mid-mint green */
  --accent-bg: #F1F6F2;        /* Off-white/vintage paper */
  --accent2: #F6EBD7;          /* Vintage light tan bg */
  --brown: #967259;            /* Soft vintage saddle brown */
  --yellow: #F7C873;           /* Retro warm yellow */
  --shadow: 0 4px 16px 0 rgba(65,51,24,0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --side-padding: 20px;
  --vintage-font: 'Noto Sans Lao', 'Roboto', Arial, sans-serif;
  --retro-heading: 'Noto Sans Lao', 'Roboto Slab', serif;
  --heading-base: 2.2rem;
  --text-lg: 1.18rem;
  --text-md: 1rem;
  --text-sm: 0.98rem;
  --transition: 0.25s cubic-bezier(.3,1.05,.69,0.96);
}

html {
  font-size: 16px;
}

body {
  font-family: var(--vintage-font);
  background: var(--accent-bg);
  color: #433b27;
  min-height: 100vh;
}

/* =============
   TYPOGRAPHY
   ============= */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--retro-heading);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.19;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px #e7dcc7;
}
h2 {
  font-size: 1.48rem;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px #ede2c8;
}
h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
h4,h5,h6 {
  font-size: 1rem;
}

p, li, ul, ol {
  font-family: var(--vintage-font);
  font-size: var(--text-md);
  color: #433b27;
  line-height: 1.65;
  margin-bottom: 14px;
}
strong { font-weight: 700; color: var(--primary); }
em, i { font-style: italic; }

.text-section {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

ul li, ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
ul li:before, ol li:before {
  content: '';
  border-radius: 100%;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  position: absolute;
  left: 0;
  top: 0.45em;
  box-shadow: 0 1px 2px #b6a07422;
}
ol li:before { content: counter(li) "."; width:auto; height:auto; background: none; color: var(--brown); font-weight: bold; left:0;}
ol {
  counter-reset: li;
}
ol li {
  counter-increment: li;
}

/* =============
   STRUCTURE
   ============= */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  box-sizing: border-box;
}

main {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 60vh;
  background: inherit;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--accent-bg);
  border: 2px solid #e0d5be;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 #c9b89c33;
  position: relative;
  padding: 26px 20px 22px 20px;
  min-width: 250px;
  flex: 1 1 280px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.card:focus-visible {
  box-shadow: 0 10px 32px 0 #af9674a8;
  transform: translateY(-4px) scale(1.017);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fffdfa;
  border: 2px solid #edd9ab;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 14px 0 #be9c6838;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  color: #322918;
  font-size: var(--text-lg);
  max-width: 680px;
}
.testimonial-footer {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
  text-align: right;
  margin-top: 8px;
  align-self: flex-end;
}

.testimonial-card p {
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***************************
 * HERO & PAGE BANNERS     *
 ***************************/
.hero {
  background: linear-gradient(108deg, #FCF7ED 60%, #efead8 100%);
  border-bottom: 4px double var(--brown);
  margin-bottom: 40px;
  padding: 32px 0 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  font-family: var(--retro-heading);
  font-size: 2.8rem;
  color: var(--brown);
  text-shadow: 1px 4px 0 #f6e0b1b5, 0 2px 7px #eedbb370;
}
.hero p {
  font-size: 1.12rem;
  color: #453c27;
}

/***************************
 * NAVIGATION (DESKTOP)    *
 ***************************/
header {
  background: var(--accent-bg);
  border-bottom: 4px double var(--primary);
  box-shadow: 0 2px 8px 0 #c9c1b144;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
header img {
  height: 52px;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--vintage-font);
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  position: relative;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus-visible:not(.btn-primary) {
  background: var(--yellow);
  color: var(--brown);
}
.main-nav .btn-primary {
  margin-left: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fffbee;
  font-size: 2.5rem;
  border-radius: var(--radius);
  padding: 2px 16px 4px 16px;
  cursor: pointer;
  border: 2px solid var(--brown);
  margin-left: 12px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus-visible {
  background: var(--yellow);
  color: var(--brown);
}

/***************************
 * MOBILE NAVIGATION MENU  *
 ***************************/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(95deg, #F7C873 5%, #fffdfa 70%);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.85,0,.18,1.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px var(--side-padding) 0 var(--side-padding);
  opacity: 0.99;
  box-shadow: 0 4px 32px 0 #baa97f69;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: white;
  font-size: 1.9rem;
  position: absolute;
  top: 22px;
  right: 24px;
  border-radius: var(--radius);
  border: 2px solid var(--brown);
  padding: 8px 15px;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:focus-visible {
  background: var(--yellow);
  color: var(--primary);
}
.mobile-nav {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  font-size: 1.4rem;
  font-family: var(--retro-heading);
  color: var(--primary);
  background: #fff9ee;
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  margin-bottom: 8px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 2px 8px #c1ab8044;
}

/***************************
 * BUTTONS                 *
 ***************************/
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--retro-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fffbee;
  letter-spacing: 0.02em;
  border: 2.5px solid var(--brown);
  box-shadow: 0 2px 6px #baa97f38;
  text-shadow: 0 1px 2px #210e0e44;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--yellow);
  color: var(--primary);
  box-shadow: 0 5px 20px 0 #cbb37044;
}
.btn-secondary {
  background: var(--yellow);
  color: var(--brown);
  border-color: var(--primary);
  font-weight: 700;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--secondary);
  color: #175027;
}

/***************************
 * FEATURE / ICON GRID     *
 ***************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fffbee;
  flex: 1 1 210px;
  min-width: 180px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--secondary);
  box-shadow: 0 2px 14px 0 #e5d8c679;
  text-align: center;
  padding: 24px 13px 18px 13px;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 24px #b08d5ba8;
  border-color: var(--brown);
}
.feature-grid img {
  width: 48px;
  margin-bottom: 10px;
}

/***************************
 * TESTIMONIALS / CARDS    *
 ***************************/
.testimonial-summary, .testimonial-story {
  background: #fdfcf3;
  border-left: 7px solid var(--primary);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  padding: 18px 28px;
  box-shadow: 0 1px 6px #d8c49933;
}
.testimonial-summary ul li:before {
  background: var(--secondary);
}
.testimonial-story span {
  display: block;
  color: var(--brown);
  margin-top: 10px;
  font-size: 1rem;
}

/***************************
 * FOOTER                  *
 ***************************/
footer {
  background: var(--primary);
  color: #eed2a7;
  padding: 40px 0 20px 0;
  margin-top: 0px;
  border-top: 6px double var(--brown);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  font-family: var(--retro-heading);
  font-size: 1.4rem;
  font-weight: 900;
  gap: 14px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #e9c77b;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  color: var(--yellow);
  text-decoration: underline;
}
.footer-contact p {
  color: #efe2b8;
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer-contact span {
  font-size: 0.98rem;
  color: #e2d786;
}

/***************************
 * COOKIE CONSENT BANNER   *
 ***************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 10000;
  background: repeating-linear-gradient(135deg,#f5deb3 0 21px,#f6e5be 21px 42px);
  box-shadow: 0 -6px 20px #8f7f6044;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px var(--side-padding) 18px var(--side-padding);
  border-top: 4px solid var(--brown);
  animation: cookie-slide-in 0.5s ease;
}
@keyframes cookie-slide-in {
  from {transform:translateY(100%);opacity: 0;}
  to {transform:translateY(0);opacity: 1;}
}
.cookie-banner-content {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
}
.cookie-banner p {
  flex: 2 1 240px;
  margin: 0;
  color: #654b20;
  font-family: var(--retro-heading);
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner button {
  background: var(--primary);
  color: #fffefa;
  border-radius: var(--radius-lg);
  font-family: var(--retro-heading);
  font-size: 1rem;
  border: 2px solid var(--brown);
  margin: 0 8px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button:hover, .cookie-banner button:focus-visible {
  background: var(--yellow);
  color: var(--primary);
}
.cookie-banner .btn-secondary {
  background: var(--yellow);
  color: var(--brown);
  border-color: var(--primary);
}
.cookie-banner .btn-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
}

/***************************
 * COOKIE CONSENT MODAL    *
 ***************************/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(51, 33, 10, 0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.25s;
}
@keyframes fadeInBg {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #f6ede2;
  border-radius: var(--radius-lg);
  max-width: 420px;
  min-width: 260px;
  padding: 36px 30px 26px 30px;
  border: 4px double var(--brown);
  box-shadow: 0 8px 36px #99844861;
  position: relative;
  color: #433b27;
  text-align: center;
  font-family: var(--vintage-font);
  animation: modalUp 0.44s cubic-bezier(.23,1.3,.75,.90);
}
@keyframes modalUp {
  from {transform: translateY(50px) scale(0.95); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: var(--retro-heading);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px dashed #ceb483;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .category-toggle {
  margin-left: 10px;
}
.cookie-modal .category-toggle input[type=checkbox] {
  accent-color: var(--secondary);
  width: 24px;
  height: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 1.44rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100%;
  width: 38px;
  height: 38px;
  border: 2px solid var(--brown);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-close:focus-visible {
  background: var(--yellow);
  color: var(--primary);
}
.cookie-modal .modal-buttons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.cookie-modal .modal-buttons button {
  padding: 9px 19px;
}

/***************************
 * RESPONSIVE DESIGN       *
 ***************************/
@media (max-width: 1120px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
  .feature-grid {
    gap: 16px;
  }
  .footer-brand img, header img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-brand img, header img {
    height: 32px;
  }
  .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  .text-section {
    padding: 0 2px;
  }
  .testimonial-card, .testimonial-summary, .testimonial-story {
    padding: 12px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-brand {font-size: 1.08rem;}
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 17px;
  }
  .footer-brand img, header img {
    height: 21px;
  }
}

/**********************
  ANIMATIONS/MICS
**********************/
@media (hover: hover) {
  .card:hover,
  .feature-grid > div:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    filter: brightness(1.06);
    cursor: pointer;
  }
}
.card,
.feature-grid > div,
.btn-primary,
.btn-secondary,
.main-nav a,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-banner button,
.cookie-modal button {
  transition: box-shadow 0.2s, background 0.2s, color 0.18s, transform 0.16s;
}

/***** Utility Classes *****/
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4em !important; }
.mb-2 { margin-bottom: 1.5em !important; }

/**********************
 *  PATTERNED DETAILS
 **********************/
.section {
  background: repeating-linear-gradient(45deg, #fdf6ea 0 36px, #f6e8cf 36px 72px);
  border: 2px dashed #decdac;
  box-shadow: 0 6px 32px #bcad9260;
}

/***********************
 *  VINTAGE SHADOW-FRAME ON HERO BANNERS
 ***********************/
.hero {
  border-width: 5px;
  border-style: double;
  border-color: var(--brown);
}

/***********************
 *  VINTAGE DECOR ELEMENT SAMPLES (can be used in HTML)
 ***********************/
.vintage-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border: 3px solid var(--brown);
  border-radius: 50%;
  bottom: -13px;
  left: -13px;
  z-index: 0;
}

/**********************
 *  ACCESSIBILITY RULES
 **********************/
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px dashed var(--primary);
  outline-offset: 2px;
}

/**********************
 *  END OF CSS         *
 **********************/
