/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6F0;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* FONTS (PLAYFUL + ENERGETIC) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #355D4A;
  --secondary: #FFC16B;
  --accent: #F4F6F0;
  --white: #fff;
  --black: #222;
  --gray: #888;
  --danger: #E85D5D;
  --shadow: 0 5px 32px rgba(80,60,24,0.10), 0 1.5px 6px rgba(53,93,74,0.10);

  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.25rem;
  color: var(--secondary);
  text-shadow: 1px 3px 0 var(--primary);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

h2 {
  font-size: 1.75rem;
  color: var(--primary);
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

p, li {
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 1rem;
}

strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.text-section {
  align-items: flex-start;
  max-width: 720px;
}

/* PLAYFUL COLORS, ENERGY, ANIMATION */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--primary);
  background: var(--secondary);
  border-radius: 40px 12px 30px 24px;
  box-shadow: 0 6px 32px rgba(255, 193, 107, 0.12),0 1.5px 4px rgba(53, 93, 74, 0.12);
  letter-spacing: 1.5px;
  position: relative;
  transition: background 0.24s cubic-bezier(0.7,0.2,0.3,1), color 0.24s, box-shadow 0.3s;
  z-index: 1;
  border: 2px solid var(--primary);
  outline: none;
  cursor: pointer;
  overflow: hidden;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 12px 36px rgba(53, 93, 74, 0.16);
  border-color: var(--secondary);
  transform: scale(1.045) rotate(-2deg);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.01rem;
  color: #ffc16b;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  position: relative;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
nav a:hover,
nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.09) skewX(-8deg) skewY(1deg);
}

/* HEADER */
header {
  background: var(--primary);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 3px 24px rgba(53,93,74,0.06);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  position: relative;
  gap: 18px;
}
header img[alt="Aurea Foam Yoga"] {
  height: 44px;
  width: auto;
  margin-right: 10px;
  filter: drop-shadow(1px 2px 0 var(--secondary));
  animation: bounceIn 0.9s cubic-bezier(0.22,0.8,0.46,1) 1;
}
@keyframes bounceIn {
  0% { transform: scale(0.6); opacity:0; }
  80% { transform: scale(1.1); opacity:1;}
  100% { transform: scale(1);}
}

header nav {
  gap: 15px;
}
header .btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(255,193,107,0.17);
  font-size: 1.02rem;
  letter-spacing: 1px;
  font-family: var(--font-display);
}
header .btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--secondary);
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--secondary);
  background: var(--primary);
  padding: 8px 19px;
  border-radius: 16px;
  margin-left: 16px;
  z-index: 101;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  transform: scale(1.1) rotate(-3deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--secondary);
  color: var(--primary);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 32px 16px 16px 32px;
  min-height: 100vh;
  width: 100vw;
  transform: translateX(102vw);
  transition: transform 0.4s cubic-bezier(0.76,0.06,0.1,1), box-shadow 0.3s;
  box-shadow: 0 8px 36px rgba(53, 93, 74, 0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 14px;
  align-self: flex-end;
  margin-bottom: 22px;
  padding: 6px 17px 4px 11px;
  transition: background 0.18s, transform 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  outline: none;
  transform: scale(1.12) rotate(7deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: 1.2px;
  padding: 12px 0 7px 0;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s, transform 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.06) skewY(2deg);
}

/* SECTION & CARDS, FLEX SPACING PATTERN */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.24s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 14px 38px 0 rgba(53,93,74,0.13);
  transform: scale(1.03) skewX(-2deg);
}

.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;
}

.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 16px 26px;
  background: var(--white);
  border-radius: 28px 18px 24px 16px;
  box-shadow: 0 6px 24px 0 rgba(53,93,74,0.09);
  max-width: 380px;
  min-width: 280px;
  min-height: 160px;
  transition: box-shadow 0.22s, transform 0.15s;
  margin-bottom: 0;
  border-left: 5px solid var(--secondary);
  border-right: 4px solid var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 18px 48px 0 rgba(53,93,74,0.17);
  transform: scale(1.04) rotate(-0.7deg);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.01rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 22px 21px 18px 12px;
  box-shadow: var(--shadow);
  padding: 28px 18px 22px 18px;
  min-width: 230px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 0;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.17s;
  border: 3px dashed var(--secondary);
  z-index: 1;
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 0 var(--secondary)) drop-shadow(0 3px 8px #fff);
}
.feature-grid > div:hover {
  box-shadow: 0 12px 40px rgba(255,193,107,0.14),0 2px 8px rgba(255,193,107,0.07);
  transform: scale(1.05) rotate(-2deg);
  background: var(--accent);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 0;
  margin-bottom: 18px;
}
.service-list li {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 26px 20px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 0;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.service-list li h3 {
  color: var(--primary);
  font-size: 1.16rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.service-list li p {
  font-size: 1rem;
  color: var(--gray);
}
.service-list li:hover {
  box-shadow: 0 10px 38px rgba(255,193,107,0.18);
  background: var(--accent);
  transform: scale(1.03) rotate(2deg);
}

/* TABLES (pricing, schedule) */
.schedule-table, .pricing-table {
  width: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th, .pricing-table th {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.07rem;
  padding: 13px 10px;
  text-align: left;
}
.schedule-table td, .pricing-table td {
  padding: 13px 10px;
  color: var(--primary);
  font-size: 1rem;
  border-bottom: 1px solid #f5e7cd;
}
.schedule-table tr:last-child td, .pricing-table tr:last-child td {
  border-bottom: none;
}
.schedule-table a, .pricing-table a {
  color: var(--white);
  background: var(--primary);
  padding: 7px 18px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.18s, color 0.13s;
  border: 2px solid var(--secondary);
  font-size: 0.98rem;
}
.schedule-table a:hover, .pricing-table a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}

/* LISTS (in text sections) */
.text-section ul {
  list-style: disc inside none;
  margin-left: 22px;
  margin-bottom: 17px;
}
.text-section ul li {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.75;
  display: flex;
  align-items: center;
  gap: 10px;
}
.text-section ul li img {
  width: 19px; height: 19px; margin-right: 7px;
}

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

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0 22px 0;
  border-top: 5px solid var(--secondary);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-right: 18px;
}
.footer-menu a {
  color: var(--secondary);
  font-size: 1.01rem;
  text-decoration: underline;
  font-family: var(--font-display);
}
.footer-menu a:hover { color: var(--accent); }
footer img[alt="Aurea Foam Yoga"] {
  margin: 0 34px 12px 17px;
  filter: drop-shadow(0 2px 12px #fff4);
  height: 52px;
}
footer > .container > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  text-align: right;
  min-width: 220px;
}
footer p {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.footer-social img {
  height: 28px;
  width: 28px;
  filter: drop-shadow(0 3px 7px #fff5) drop-shadow(3px 2px 0 var(--secondary));
  transition: filter 0.18s, transform 0.15s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: drop-shadow(0 4px 12px #FFC16B) drop-shadow(0 0 7px var(--secondary));
  transform: scale(1.14) rotate(-7deg);
}

/***************************************************
 * COOKIE CONSENT BANNER & MODAL
 ***************************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(53,93,74,0.14);
  z-index: 5000;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 19px 10px 16px 20px;
  font-size: 1rem;
  animation: cookieSlideUp 0.8s cubic-bezier(0.21, 1.01, 0.29, 1) 1;
}
@keyframes cookieSlideUp {
  from { transform: translateY(40px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  margin: 0 18px 0 0;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  border-radius: 18px;
  background: var(--primary);
  color: var(--secondary);
  padding: 10px 20px;
  margin-left: 13px;
  font-weight: 700;
  border: 2px solid var(--primary);
  font-size: 1rem;
  transition: background 0.14s, color 0.13s, transform 0.15s;
}
.cookie-btn:hover,
.cookie-btn:focus,
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.07) rotate(-4deg);
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
  margin-left: 0;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--primary);
  color: var(--danger);
  border-color: var(--danger);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height:100vh;
  z-index: 5001;
  background: rgba(40,47,37, 0.48);
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 20px 70px #3336;
  min-width: 320px;
  max-width: 94vw;
  padding: 24px 30px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: bounceIn 0.6s cubic-bezier(0.35,0.97,0.37,0.83) 1;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.32rem;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.03rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px;
  height: 19px;
}
.cookie-modal .essential {
  font-style: italic;
  color: var(--gray);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 11px; right: 13px;
  font-size: 1.85rem;
  color: var(--gray);
  background: #fff;
  border-radius: 11px;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal .close-cookie-modal:hover {
  background: var(--secondary);
  color: var(--primary);
}

/********************** FLEX BASIS: Responsive ********************/
@media (max-width: 1100px) {
  .footer-menu { margin-right: 4px; }
  .service-list li, .feature-grid > div { max-width: 100%; min-width:150px; }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-right: 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-grid,
  .service-list,
  .testimonials-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper,
  .card-container,
  .feature-grid,
  .service-list,
  .testimonials-row {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials-row {
    align-items: flex-stretch;
  }
  .card, .feature-grid > div, .service-list li, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .schedule-table, .pricing-table {
    font-size: 0.96rem;
    overflow-x: auto;
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 32px;
    padding: 22px 7px;
  }
  footer .container > div:last-child { align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  .btn-primary { font-size: 0.98rem; padding: 10px 18px; }
  header .btn-primary { display: none; }
  .feature-grid > div,
  .service-list li {
    padding: 15px 8px 14px 10px;
  }
  .testimonial-card {
    padding: 13px 8px 12px 9px;
  }
  .footer-social img { height: 23px; width: 23px; }
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 930px) {
  header nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}

/* Responsive Cookie Banner Font */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    font-size:0.96rem;
    padding: 15px 8px;
  }
  .cookie-banner p { margin-right: 0; margin-bottom: 7px; }
}

/************************* ANIMATION TRICKS ************************/
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .service-list li, .feature-grid > div, .testimonial-card, .cookie-btn, .cookie-settings-btn {
    transition: box-shadow 0.18s, color 0.16s, background 0.17s, transform 0.16s;
  }
}

/************************ SPECIFIC LAYOUTS *************************/
/* THANK YOU page center */
body.thank-you main > section {
  display: flex;
  align-items: center;
  justify-content: center;
}

/************************* FOCUS STATES YC  ************************/
.btn-primary:focus,
nav a:focus, .mobile-menu-toggle:focus,.mobile-nav a:focus,
.cookie-btn:focus, .cookie-settings-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 2px 14px #ffc16b44;
}

/* Extra: Table responsiveness */
@media (max-width: 520px) {
  .schedule-table td, .pricing-table td, .schedule-table th, .pricing-table th { font-size: 0.92rem; padding: 6px 4px; }
  .schedule-table a, .pricing-table a { font-size: 0.90rem; padding: 5px 9px; }
}

/************************* UTILITIES *************************/
.mt-10 { margin-top: 10px; } .mb-10 { margin-bottom: 10px; }
.mt-20 { margin-top: 20px; } .mb-20 { margin-bottom: 20px; }

/************************* PRINT SUPPORT *************************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {display:none !important;}
  .container { max-width: 100%; padding:0; }
}
