/* ==== CSS RESET & NORMALIZATION ==== */
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, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #f4f6fa;
  color: #171c26;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ull, ol {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
:root {
  --color-primary: #24407a;
  --color-secondary: #f3b13e; /* Gold */
  --color-accent: #f4f6fa;
  --color-bg-light: #ffffff;
  --color-bg-dark: #21273b;
  --color-text: #171c26;
  --color-text-light: #f4f6fa;
  --color-shadow: rgba(36,64,122,0.06);
  --color-gold-dark: #c79024;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px var(--color-shadow), 0 1.5px 4px rgba(243,177,62,0.07);
  --transition: all 0.17s cubic-bezier(.7,0,.3,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --sp-8: 8px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-60: 60px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 16px;
  background: var(--color-accent);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: var(--sp-16);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: var(--sp-24); }
h2 { font-size: 2rem; line-height: 1.23; margin-bottom: var(--sp-20); }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: var(--sp-8); }
h4 { font-size: 1.12rem; margin-bottom: var(--sp-8); }
.subtitle {
  font-family: var(--font-body);
  color: var(--color-primary);
  opacity: 0.85;
  font-size: 1.15rem;
  margin-bottom: var(--sp-24);
  font-weight: 500;
}

p, li, address {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--sp-16);
}
strong, b { font-weight: 700; }
i, em { font-style: italic; }

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

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

/* ==== FLEX SPACING LAYOUTS ==== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--color-bg-light); border-radius: var(--radius-md); box-shadow: var(--shadow); transition: var(--transition); }
.card-content { display: flex; flex-direction: column; justify-content: center; padding: var(--sp-24); }
.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: flex-start; gap: 20px; padding: 20px; background: var(--color-bg-light); border-radius: var(--radius-md); box-shadow: var(--shadow); min-width: 280px; margin-bottom: 24px; border-left: 6px solid var(--color-secondary); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section { padding: 24px 8px; }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { min-width: 0; }
}

/* ==== HEADER ==== */
header {
  background: var(--color-bg-light);
  box-shadow: 0 2px 8px rgba(36,64,122,0.07);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 44px; max-height: 44px; }

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(243,177,62,0.1);
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-secondary) 80%, var(--color-gold-dark));
  color: var(--color-bg-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(244,182,62,0.09);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.024em;
  transition: background 0.18s, transform 0.18s, color 0.13s;
  outline: none;
  display: inline-block;
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-secondary));
  color: var(--color-bg-light);
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 4px 16px rgba(243,177,62,0.14);
}

/* Hamburger mobile menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 301;
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: 50%;
  border: none;
  font-size: 2.25rem;
  width: 48px;
  height: 48px;
  box-shadow: 0 0 0 0px var(--color-secondary);
  cursor: pointer;
  transition: box-shadow .2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 4px var(--color-secondary);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,42,0.94);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.38s cubic-bezier(0.8, .1, .2, 1) 0s;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.43s cubic-bezier(.7,.14,0,1), opacity 0.24s;
}
.mobile-menu-close {
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 22px 22px 8px 0;
  cursor: pointer;
  z-index: 410;
  box-shadow: 0 2px 8px rgba(36,64,122,0.07);
  transition: background 0.18s, color 0.19s, box-shadow 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin: 36px 28px;
  font-family: var(--font-display);
}
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-light);
  padding: 8px 12px 8px 7px;
  border-radius: var(--radius-md);
  transition: background .14s, color .15s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(108deg, var(--color-bg-light) 85%, rgba(243,177,62,0.08));
  padding: 0;
}
.hero .container {
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: var(--sp-16);
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
  margin-bottom: var(--sp-16);
  line-height: 1.13;
}
.hero .subtitle {
  font-size: 1.2rem;
  max-width: 560px;
  color: var(--color-primary);
  opacity: 0.82;
}
@media (max-width: 700px) {
  .hero .container { min-height: unset; }
  .hero .content-wrapper { gap: 8px; }
  .hero h1 { font-size: 2rem; }
}

/* ==== FEATURES SECTION ==== */
.features, .services, .testimonials, .about, .text-section, .contact {
  margin-bottom: var(--sp-60);
  padding: var(--sp-40) var(--sp-20);
}
.features ul, .features .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.08rem;
  line-height: 1.6;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 18px var(--sp-16);
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(36,64,122,0.03);
  border-left: 4px solid var(--color-secondary);
}
.features img {
  height: 32px;
  width: 32px;
  margin-top: 2px;
}
.features strong { color: var(--color-primary); }

/* ==== SERVICES/CARD GRIDS ==== */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.service-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  min-width: 240px;
  flex: 1 1 250px;
  max-width: 300px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  border-top: 6px solid var(--color-secondary);
  transition: box-shadow .17s, transform .17s;
}
.service-card h3 {
  font-size: 1.19rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.service-card .price {
  margin-top: 12px;
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 1.14rem;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 6px 20px rgba(36,64,122,0.13);
  transform: translateY(-2px) scale(1.025);
  border-top: 6px solid var(--color-gold-dark);
}

/* ==== TESTIMONIAL ==== */
.testimonials .content-wrapper {
  gap: var(--sp-24);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-light);
  min-width: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 24px 16px 24px;
  margin-bottom: 24px;
  border-left: 6px solid var(--color-secondary);
  color: var(--color-text);
  gap: 10px;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 8px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-body);
  margin-top: 10px;
}
.star-rating {
  color: var(--color-secondary);
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.testimonial-name {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==== CONTACT CARDS/INFO ==== */
.contact-info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: var(--sp-20);
}
.contact-info-blocks > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.09rem;
  background: var(--color-accent);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(36,64,122,0.03);
}
.contact-info-blocks img {
  height: 22px;
  width: 22px;
}

address p { margin-bottom: 5px; }

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-24);
  padding: 40px 18px 14px 18px;
}
.footer-logo img { height: 44px; margin-bottom: 14px; }
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  transition: background 0.14s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer-contact img { height: 18px; width: 18px; }
.footer-social {
  display: flex;
  gap: 13px;
  align-items: center;
}
.footer-social a {
  background: var(--color-secondary);
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--color-gold-dark);
  box-shadow: 0 0 0 5px rgba(243,177,62,0.23);
}
.footer-social img { height: 26px; width: 26px; }
.footer-note {
  width: 100%;
  color: var(--color-text-light);
  font-size: 0.97rem;
  text-align: center;
  margin-top: 20px;
  opacity: 0.83;
  letter-spacing: 0.03em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 32px 16px 11px 16px;
  }
  .footer-social {
    margin-bottom: 0;
    gap: 10px;
  }
  .footer-note { margin-top: 14px; }
}

/* ==== POLICY/TEXT SECTIONS ==== */
.text-section, .about.text-section, .contact.text-section {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.text-section h2, .text-section h3, .about h3 {
  margin-top: 15px;
}
.text-section ul {
  margin-left: 1.2em;
  padding-left: 0;
  list-style: disc;
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: var(--color-text);
}

/* ==== PRICING TABLES/LISTS ==== */
.courses-list, .coaching-sessions-list, .pricing-table, .pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-table li, .pricing-grid li {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(36,64,122,0.05);
  font-size: 1.01rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 4px;
}
.pricing-table b, .pricing-grid b {
  color: var(--color-secondary);
}

/* ==== VISUAL DETAILS ==== */
.card, .testimonials .testimonial-card, .service-card, .contact-info-blocks > div, .features li, .text-section {
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  transition: box-shadow 0.19s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(36,64,122,0.09);
}

hr {
  border-color: var(--color-accent);
  margin: 18px 0;
}

/* ==== ANIMATIONS / MICRO-INTERACTIONS ==== */
a, button, .btn-primary, .footer-menu a, .mobile-nav a {
  transition: color .17s, background .16s, box-shadow .13s, transform .17s;
}
.card, .service-card, .testimonial-card, .features li {
  transition: box-shadow .18s, transform .17s;
}
.card:active, .service-card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ==== BUTTONS/INTERACTION ==== */
button {
  cursor: pointer;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.08rem; }
  .hero .content-wrapper { gap: 5px; }
  .container { padding: 0 6px; }
  .section, .features, .testimonials, .about, .text-section, .services, .contact {
    padding: 16px 3px;
    margin-bottom: 20px;
  }
}

/* ==== COOKIE CONSENT BANNER & PREFERENCES MODAL ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-bg-light);
  color: var(--color-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 18px 20px 18px;
  box-shadow: 0 -2px 12px rgba(36,64,122,0.07);
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 1.06rem;
  animation: cookieBannerIn 0.61s cubic-bezier(.71,0,.25,1) 0s;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 7px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1.04rem;
  transition: background .18s, color .13s, box-shadow .14s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-gold-dark);
  color: #fff;
}
.cookie-banner .reject {
  background: #ececec;
  color: var(--color-primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .settings {
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  padding: 7px 15px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  color: var(--color-gold-dark);
  background: rgba(243,177,62,0.11);
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,28,42,0.51);
  z-index: 10011;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieBackdropIn 0.33s cubic-bezier(.51,0,.23,1) 0s;
}
@keyframes cookieBackdropIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(36,64,122,0.14);
  max-width: 385px;
  width: 97vw;
  padding: 32px 28px 28px 28px;
  position: relative;
  animation: cookieModalIn .52s cubic-bezier(.71,0,.25,1) 0s;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h4 {
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 1.01rem;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
  margin-right: 6px;
}
.cookie-category .cookie-toggle {
  cursor: pointer;
  accent-color: var(--color-secondary);
}
.cookie-modal .desc {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 19px;
  opacity: 0.92;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal .close-modal {
  position: absolute; right: 12px; top: 12px;
  background: none;
  color: var(--color-primary);
  border: none;
  font-size: 1.65rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  transition: background .12s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* ==== UTILITY CLASSES ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.no-shadow { box-shadow: none !important; }
.text-center { text-align: center; }

/* For links inside features, etc. */
.features li a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
  transition: color .12s;
}
.features li a:hover, .features li a:focus {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

/* ==== END CSS ==== */
