/* 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;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background-color: #F8F8F8;
  color: #24324D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.subtitle {
  font-weight: 400;
  color: #24324D;
  font-size: 1.2rem;
  margin: 20px 0 0 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY HIERARCHY */
h1 {
  font-size: 2.5rem;
  color: #24324D;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  color: #37B59B;
  margin-bottom: 24px;
  line-height: 1.18;
}
h3 {
  font-size: 1.5rem;
  color: #24324D;
  margin-bottom: 10px;
}
p, li, a, span {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* CREATIVE ARTISTIC THEME COLORS */
:root {
  --primary: #24324D;
  --secondary: #37B59B;
  --accent: #F8F8F8;
  --vibrant1: #FF7A61; /* coral highlight */
  --vibrant2: #786FFB; /* purple highlight */
  --vibrant3: #FFD765; /* yellow pop for accent */
  --white: #FFF;
  --black: #0d1832;
  --border: #E3E6EC;
  --shadow-light: 0 4px 24px 0 rgba(50,80,160,0.06);
  --shadow-strong: 0 8px 32px 0 rgba(70,50,120,0.14);
}

/* SPACING & FLEXBOX LAYOUT PATTERNS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  padding: 24px 24px 32px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: var(--shadow-strong);
  z-index: 3;
}
.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(--white);
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(60,32,100,0.12);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 310px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(105deg, var(--vibrant1) 5%, var(--white) 26%, var(--vibrant2) 75%, var(--vibrant3) 100%);
  padding: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 12px 0 rgba(55,181,155,0.10);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
  padding: 0 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition: color .22s, border-color .22s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--white);
  border-radius: 18px 3px 18px 3px;
  padding: 12px 32px;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 22px 0 rgba(55,181,155, .19);
  margin-left: 18px;
  margin-right: 0;
  transition: background .24s, box-shadow .16s, transform .12s;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--vibrant3);
  box-shadow: 0 10px 28px 0 rgba(36,50,77,0.14);
  transform: translateY(-2px) scale(1.03);
}
header img[alt="Aether Tone Fitness"] {
  max-height: 46px;
  width: auto;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--white);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background .2s;
  z-index: 61;
  position: relative;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vibrant1);
}
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(0.75,0,0.25,1);
  box-shadow: -6px 0 20px 0 rgba(36,50,77,.08);
  z-index: 1001;
  padding: 38px 26px 26px 46px;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--white);
  color: var(--primary);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 12px 0 rgba(55,181,155,0.12);
  border-radius: 12px;
  float: right;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  margin-right: 0;
  border: none;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vibrant1);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  border-radius: 6px;
  padding: 16px 0;
  text-align: left;
  background: none;
  transition: background .16s, color .16s;
  min-height: 32px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}

/* SECTIONS & ARTISTIC ELEMENTS */
section {
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 14px;
}

ul {
  padding-left: 0;
}
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.07rem;
  color: var(--primary);
  margin-bottom: 18px;
  min-height: 40px;
}
ul > li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(55,181,155,0.12));
}

.text-section {
  background: var(--vibrant3);
  border-radius: 22px;
  padding: 24px 36px;
  color: var(--primary);
  box-shadow: var(--shadow-light);
  font-size: 1rem;
}
.text-section h3 {
  margin-top: 14px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  background: var(--white);
  color: var(--primary);
  border-left: 6px solid var(--secondary);
  box-shadow: 0 4px 18px 0 rgba(55,181,155,0.09);
  transition: box-shadow .18s, border-color .18s;
  padding: 26px 24px 22px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 440px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(55,181,155,0.23);
  border-left: 6px solid var(--vibrant1);
  z-index: 2;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: var(--primary);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #534c63;
}
.testimonial-card strong {
  color: var(--secondary);
}

/* TABLES */
table {
  width: 100%;
  margin-bottom: 24px;
  border-spacing: 0;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 2px 10px 0 rgba(55,181,155,0.05);
  border-radius: 16px;
  overflow: hidden;
}
thead th {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 16px;
}
tbody td {
  color: var(--primary);
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--vibrant2) 2%, var(--white) 72%, var(--vibrant1) 100%);
  color: var(--primary);
  padding: 32px 0 12px 0;
  border-radius: 16px 16px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 14px 0 rgba(55,181,155,0.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.contact-footer img {
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
footer p {
  color: #333;
  font-size: 0.87rem;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* BUTTONS, LINKS, MICRO-INTERACTIONS */
button, .cta-btn {
  transition: all .18s cubic-bezier(.75,0,.63,1);
  cursor: pointer;
}
button:focus, .cta-btn:focus, a:focus {
  outline: 3px solid var(--vibrant2);
  outline-offset: 1px;
}

/* ANIMATIONS */
@keyframes slideIn {
  0% {transform: translateY(60px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
@keyframes fadeBanner {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 96vw;
  max-width: 600px;
  z-index: 1500;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 22px 0 rgba(36,50,77,0.08);
  padding: 22px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeBanner .7s;
}
.cookie-banner p {
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .btn {
  background: var(--secondary);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(55,181,155,0.09);
  transition: background .15s, color .15s;
}
.cookie-banner .btn:last-child {
  margin-right: 0;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--primary);
  color: var(--vibrant3);
}
.cookie-banner .btn-settings {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .btn-settings:hover {
  background: var(--secondary);
  color: var(--white);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,50,77,0.19);
  pointer-events: auto;
  animation: fadeBanner .22s;
}
.cookie-modal {
  position: fixed;
  z-index: 2011;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 94vw;
  max-width: 430px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 14px 40px 0 rgba(36,50,77,0.12);
  animation: slideIn .35s;
  padding: 28px 26px 24px 32px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h3 {
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 22px;
}
.cookie-modal label {
  font-size: 1rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #d2ded8;
  border-radius: 20px;
  position: relative;
  outline: none;
  margin-left: 6px;
  margin-right: 6px;
  transition: background .16s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:disabled {
  background: #ddd;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 2px 8px rgba(36,50,77,0.13);
  transition: left .25s;
}
.cookie-toggle:checked::before {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--vibrant1);
  color: var(--white);
  border-radius: 8px;
  font-size: 1.34rem;
  width: 38px;
  height: 38px;
  transition: background .15s;
  cursor: pointer;
  border: none;
  z-index: 2022;
}
.cookie-modal-close:hover {
  background: var(--vibrant2);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 14px;
  }
  footer {
    padding: 24px 0 7px 0;
  }
  .card {
    padding: 18px 10px 22px 12px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 6vw;
  }
  header .container, .footer-nav, .contact-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin: 0 0 0 auto;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 12px;
  }
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 4vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 10px 14px 10px;
    margin-bottom: 16px;
  }
  .text-section {
    padding: 18px 10px;
  }
  table, thead th, tbody td {
    font-size: 0.98rem;
    padding: 10px 6px;
  }
}
@media (max-width: 500px) {
  h1 {font-size:2rem;}
  h2 {font-size:1.36rem;}
  .cookie-banner {padding:14px 6px 16px 10px;}
  .cookie-modal {padding:13px 4px 10px 8px;}
  .footer-nav, .contact-footer {gap: 8px;}
}

/* ARTISTIC EXTRAS (ASYMMETRIC SHAPES) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: 18px;
  left: -26px;
  width: 64px;
  height: 64px;
  border-radius: 46% 54% 32% 68%/38% 52% 48% 62%;
  background: var(--vibrant1);
  opacity: .07;
  pointer-events: none;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 12px;
  right: -37px;
  width: 52px;
  height: 52px;
  border-radius: 61% 39% 42% 58%/44% 51% 49% 56%;
  background: var(--vibrant2);
  opacity: .05;
  pointer-events: none;
}

/* DECORATIVE: make sure only decorative, not core content! */

/* MISC */
dialog, [hidden] {display:none !important;}

/* ACCESSIBILITY FOR HIGHLIGHTED LINKS */
a[aria-current="page"], a.active {
  color: var(--secondary) !important;
  border-bottom: 2px solid var(--secondary);
}

::-webkit-input-placeholder { color: #726F84; }
::-moz-placeholder { color: #726F84; }
:-ms-input-placeholder { color: #726F84; }
::placeholder { color: #726F84; }

/* Hide outline on mouse, show on focus/Tab */
:focus:not(:focus-visible) {
  outline: none;
}

/*******
  FLEXBOX ENFORCEMENT
*******/
/* All layout is flexbox, NO grid or column properties used! */
/* All known containers already set above; for extra safety: */
.card-grid, .features, .footer-nav, .contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* END CSS */
