/* === LUNARIS PEAK SPEAKING - GRADIENT_MODERN STYLE.CSS === */

/* === 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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #e5edf7;
  color: #123a5e;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: linear-gradient(120deg, #e5edf7 0%, #c9dcf4 100%);
}
a {
  color: #123a5e;
  text-decoration: none;
  transition: color .24s cubic-bezier(.45,.25,.66,1);
}
a:hover, a:focus {
  color: #F7C948;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* === TYPOGRAPHY === */
body,
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #123a5e;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #123a5e;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.75rem; line-height: 1.14; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.375rem; line-height: 1.22; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
strong { font-weight: bold; }

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

.section { margin-bottom: 60px; padding: 40px 20px; background: none; }
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.confirmation {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f7fafc;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(18,58,94,0.07);
  padding: 40px 20px;
}

/* === NAVIGATION HEADER === */
header {
  width: 100%;
  background: #123a5e;
  color: #fff;
  box-shadow: 0 1px 10px rgba(18,58,94,0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 30px;
}
.main-nav, .footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 2px;
  transition: color .2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F7C948;
}
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #F7C948 0%, #ffd985 100%);
  color: #123a5e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 32px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(18,58,94,0.11);
  transition: box-shadow .24s, background .18s,color .18s;
  margin-left: 20px;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(100deg, #ffd985 0%, #F7C948 100%);
  color: #123a5e;
  box-shadow: 0 6px 26px rgba(18,58,94,0.18);
  outline: 0;
}
.cta-secondary {
  display: inline-block;
  background: #fff;
  color: #123a5e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 22px;
  margin-top: 22px;
  border: 2px solid #F7C948;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F7C948;
  color: #123a5e;
  box-shadow: 0 4px 12px rgba(18,58,94,0.13);
}

/* === MOBILE MENU BURGER === */
.mobile-menu-toggle {
  display: none;
  background: #F7C948;
  color: #123a5e;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 1.9rem;
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s, color .2s;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 61;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffd985;
  color: #0e2c49;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #123a5ef7;
  box-shadow: 0 4px 20px rgba(18,58,94,.28);
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .40s cubic-bezier(.47,1.64,.41,.8);
  overflow-y: auto;
  padding: 36px 28px 24px 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  border-radius: 50%;
  font-size: 2rem;
  color: #123a5e;
  background: #F7C948;
  box-shadow: 0 1px 5px rgba(80,80,80,.12);
  border: none;
  padding: 5px 14px;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background .2s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffd985;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 15px 8px;
  border-radius: 8px;
  background: transparent;
  transition: background .18s, color .18s;
  min-width: 120px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7C948;
  color: #123a5e;
}

@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(112deg, #e5edf7 0%, #b9d3f1 100%);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
  box-shadow: 0 4px 18px rgba(18,58,94,0.09);
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 12px;
  align-items: flex-start;
}
.hero h1 {
  color: #123a5e;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 16px;
}
.hero p {
  color: #27496b;
  font-size: 1.18rem;
  margin-bottom: 12px;
}

/* === FEATURE GRID, SERVICE LIST, CARDS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 14px 0 0 0;
}
.feature-grid > li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 28px rgba(18,58,94,0.07);
  padding: 28px 24px 20px 24px;
  min-width: 210px;
  max-width: 350px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow .23s;
  margin-bottom: 20px;
}
.feature-grid > li img {
  width: 40px; height: 40px; margin-bottom: 6px;
}
.feature-grid > li:hover, .feature-grid > li:focus-within {
  box-shadow: 0 8px 36px rgba(247,201,72,.21),0 4px 12px rgba(18,58,94,.07);
  z-index: 2;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  margin-top: 12px;
}
.service-list > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(18,58,94,0.09);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: box-shadow .23s;
  position: relative;
}
.service-list > li:hover, .service-list > li:focus-within {
  box-shadow: 0 8px 24px rgba(247,201,72,.18),0 3px 11px rgba(18,58,94,.08);
}
.service-price {
  display: inline-block;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E5EDF7;
  color: #123a5e;
  padding: 4px 18px;
  border-radius: 16px;
  margin-top: 8px;
  font-size: 1.04rem;
}

@media (max-width: 800px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* === TESTIMONIAL CARD & SLIDER === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px 20px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(18,58,94,0.13);
  max-width: 370px;
  min-width: 220px;
  min-height: 110px;
  margin-bottom: 20px;
  transition: box-shadow .23s, background .18s;
  border-left: 5px solid #F7C948;
}
.testimonial-card p {
  color: #123a5e;
  font-size: 1.1rem;
}
.testimonial-meta {
  color: #1a3450;
  opacity: 0.8;
  font-size: 0.99rem;
  font-style: italic;
  margin-top: 3px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #F7C948;
  color: #123a5e;
  box-shadow: 0 12px 38px rgba(247,201,72,0.18),0 4px 12px rgba(18,58,94,.07);
}

/* But ALWAYS maintain dark text on light background for accessibility. */
.testimonial-card {
  color: #123a5e;
  background: #fff;
}
.testimonial-card:focus-within { outline: none; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(107deg, #F7C948 8%, #fff 100%);
  padding: 60px 0 54px 0;
  border-radius: 32px;
  box-shadow: 0 4px 18px rgba(18,58,94,0.08);
  margin: 60px 0 0 0;
}
.cta-section h2 {
  color: #123a5e;
  margin-bottom: 10px;
}
.cta-section p {
  color: #27496b;
}

/* === FOOTER === */
footer {
  background: #123a5e;
  color: #fff;
  margin-top: 45px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px rgba(18,58,94,0.10);
  padding-top: 38px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.footer-brand {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-links, .footer-contact, .footer-social {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.89;
  transition: color .19s, opacity .12s;
}
.footer-links a:hover, .footer-links a:focus { color: #F7C948; opacity: 1; }
.footer-contact h4 { color: #F7C948; margin-bottom: 6px; }
.footer-contact p { color: #fff; opacity: 0.86; line-height: 1.38; font-size: 0.98rem; }
.footer-social {
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.footer-social a img {
  width: 28px; height: 28px; filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .18s, filter .2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.1) sepia(1) hue-rotate(45deg) saturate(1.7);
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid #25486f;
  font-size: 0.95rem;
  color: #efefef;
  opacity: 0.7;
  padding: 8px 0 18px 0;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 950px) {
  .footer-grid { flex-direction: column; gap: 14px; }
  .footer-brand, .footer-links, .footer-contact, .footer-social { flex: 1 1 100%; }
  .footer-social { margin-top: 18px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #123a5e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 16px 16px 16px;
  box-shadow: 0 -2px 22px rgba(18,58,94,.18);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  animation: cookieBannerIn .5s cubic-bezier(.5,1.8,.57,.99);
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  text-align: center;
  max-width: 550px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  display: inline-block;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 19px;
  background: #fff;
  color: #123a5e;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .15s;
  margin-right: 5px;
  box-shadow: 0 1px 7px rgba(247,201,72,0.07);
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #F7C948 0%, #ffd985 100%);
  color: #123a5e;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #ffd985 0%, #F7C948 100%);
}
.cookie-btn.reject {
  background: #fff;
  color: #123a5e;
  border: 2px solid #F7C948;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7C948;
  color: #123a5e;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #F7C948;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F7C948;
  color: #123a5e;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 102;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18,58,94, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .34s cubic-bezier(.52,1.4,.62,.95);
}
@keyframes cookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 42px rgba(18,58,94,0.21);
  min-width: 310px;
  max-width: 430px;
  padding: 32px 34px 26px 34px;
  color: #123a5e;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieContentIn .36s cubic-bezier(.52,1.4,.62,.95);
}
@keyframes cookieContentIn {
  0% { opacity: 0; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal__close {
  background: #F7C948;
  color: #123a5e;
  border: none;
  position: absolute;
  top: 16px; right: 18px;
  border-radius: 50%;
  font-size: 1.7rem;
  width: 30px; height: 30px;
  cursor: pointer;
  transition: background .24s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #ffd985;
}
.cookie-modal__content h2 {
  margin-bottom: 10px;
  color: #123a5e;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #e5edf7;
  font-size: 1rem;
}
.cookie-modal__category:last-child { border-bottom: none; }
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 10px;
  background: #e5edf7;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: #F7C948;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(50,50,50,.11);
  transition: transform .22s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal__toggle--locked {
  opacity: .65;
  pointer-events: none;
}

.cookie-modal__footer {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-btn {
  margin: 0;
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 1000px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero {
    min-height: 220px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
    padding: 20px 0 32px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .navbar, .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-links, .footer-contact, .footer-social {
    flex: 1 1 100%;
    align-items: flex-start;
  }
  .feature-grid, .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* === FLEXBOX UTILITY CLASSES (CRITICAL) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(18,58,94,0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === GENERAL UI === */
::-webkit-scrollbar {
  width: 10px;
  background: #e5edf7;
}
::-webkit-scrollbar-thumb {
  background: #b9d3f1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:active {
  background: #a5bcce;
}

/* === MICRO-INTERACTIONS === */
button,
.cta-primary,
.cta-secondary,
.card,
.feature-grid > li,
.service-list > li,
.testimonial-card,
.cookie-btn {
  transition: box-shadow .19s, background .18s, color .18s;
}

/* === FOCUS STATES (for accessibility) === */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2.5px solid #F7C948;
  outline-offset: 2.5px;
}

/* === UTILITY SPACING CLASSES (SAFE) === */
.mb-20 { margin-bottom: 20px !important; }
.pt-20 { padding-top: 20px !important; }
.gap-20 { gap: 20px !important; }

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
