/* ========================================================================== */
/* Lumina Jet "Scandinavian Clean" CSS Theme                                 */
/* ========================================================================== */

/* -------------- RESET & BOX SIZING -------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, li, a, img, figure, figcaption, blockquote, dl, dd {
  margin: 0; padding: 0; font-weight: inherit; font-style: inherit;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }

/* -------------- ROOT VARIABLES (with fallback) -------------- */
:root {
  --color-primary: #3C406D;
  --color-secondary: #C7B9A3;
  --color-accent: #F7F3EE;
  --color-bg: #F7F3EE;
  --color-white: #fff;
  --color-black: #222;
  --color-text: #2F2F2F;
  --color-grey: #EAE8E4;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
  --shadow-card: 0 4px 24px 0 rgba(60,64,109,0.06);
  --radius: 14px;
  --radius-large: 22px;
  --transition: 0.2s cubic-bezier(.7,.3,.3,1);
  --border-card: 1px solid #E2E2E2;
}

@media (-webkit-min-device-pixel-ratio:0) {
  :root {
    --shadow-card: 0 4px 18px 0 rgba(60,64,109,0.09);
  }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------- TYPOGRAPHY -------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 22px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.5px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}

@media (min-width: 600px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}

@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration-skip-ink: auto;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
  outline: none;
}

/* -------------- CONTAINERS & LAYOUTS -------------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  max-width: 1160px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}

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

@media (min-width: 992px) {
  .section {
    padding: 62px 0 62px 0;
    margin-bottom: 80px;
  }
}

/* --- Features & Cards --- */
.feature-grid, .feature-item, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 18px;
}
.feature-grid {
  flex-direction: column;
}

@media (min-width: 700px) {
  .feature-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.feature-item { /* fallback if used */
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border: var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px;
  flex: 1 1 240px;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,64,109,0.15);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1px solid var(--color-grey);
  flex-direction: column;
  max-width: 524px;
}
.testimonial-card blockquote {
  margin: 0 0 6px 0;
  padding: 0; 
  color: var(--color-primary);
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-card p {
  color: var(--color-text);
  font-size: 1.1rem;
}
.testimonial-card span {
  display: block;
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
}
/* Ensuring dark text on light background */
.testimonial-card, .testimonial-card p, .testimonial-card blockquote {
  color: #2E2E2E;
}

@media (min-width: 700px) {
  .testimonial-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* --- Text Section --- */
.text-section {
  background: none;
  border-radius: var(--radius);
  padding: 10px 0 18px 0;
  color: var(--color-text);
  margin-bottom: 0;
}
.text-section h3, .text-section strong { color: var(--color-primary); font-size: 1.13em; margin-bottom: 7px; }

/* --- Section headings and callouts --- */
.section > .container > .content-wrapper > h2,
.section > .container > .content-wrapper > h1 {
  margin-bottom: 9px;
}

/* -------------- HEADER & NAVIGATION -------------- */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey);
  box-shadow: 0 2px 14px 0 rgba(60,64,109,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1px;
  color: var(--color-primary);
  background: transparent;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.button-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 28px;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(60,64,109,0.05);
  transition: background var(--transition), box-shadow var(--transition);
  cursor: pointer;
  letter-spacing: 1px;
  text-align: center;
}
.button-primary:hover, .button-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(60,64,109,0.18);
  text-decoration: none;
}

/* Hamburger button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  padding: 8px 14px;
  margin-left: 10px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

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

/* Hide nav on mobile */
@media (max-width: 899px) {
  header nav {
    display: none;
  }
  .button-primary {
    display: none;
  }
}

/* -------------- MOBILE MENU -------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 370px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -2px 0 32px 0 rgba(44,42,36,0.14);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 18px 20px 16px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  padding: 0 26px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 14px 2px;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* Overlay effect (darken background) on mobile menu open */
body.mobile-menu-active::after {
  content: '';
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(60,64,109,0.13);
  z-index: 1090;
  pointer-events: all;
  transition: background 0.23s cubic-bezier(.65,.05,.36,1);
}

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

/* -------------- MAIN LAYOUT SPACING -------------- */
main {
  flex: 1 0 auto;
  width: 100%;
  margin-top: 0px;
}
section {
  width: 100%;
  display: block;
}

/* -------------- FOOTER -------------- */
footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-grey);
  margin-top: 72px;
  padding: 40px 0 14px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px 64px;
  justify-content: flex-start;
}
.footer-brand {
  flex: 0 1 110px;
  margin-bottom: 12px;
}
.footer-contact {
  flex: 1 1 240px;
  min-width: 190px;
  font-size: 1rem;
  color: var(--color-primary);
}
.footer-contact h3 { font-size: 1.15rem; margin-bottom: 7px; color: var(--color-primary); font-family: var(--font-display); font-weight: 700; }
.footer-links {
  flex: 2 1 290px;
  min-width: 170px;
  font-size: 0.98rem;
  margin-bottom: 12px;
}
.footer-links nav a {
  color: var(--color-primary);
  margin: 0 3px;
  font-family: var(--font-display);
}
.footer-social {
  flex: 0 1 80px;
  display: flex;
  gap: 14px;
}
.footer-social a {
  background: var(--color-accent);
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-secondary); }
.footer-social img { width: 26px; height: 26px; }

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* -------------- BUTTONS -------------- */
button, .button-primary {
  font-family: var(--font-display);
  outline: none;
}
button:focus-visible, .button-primary:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* -------------- COOKIE CONSENT BANNER -------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1200;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -2px 24px 0 rgba(60,64,109,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 18px 18px 18px;
  font-size: 1rem;
  transition: transform 0.27s var(--transition), opacity 0.2s var(--transition);
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner[aria-hidden="true"] {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
#cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cookie-choices button {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius);
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-accept {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-reject {
  background: #EEF1F3;
  color: var(--color-primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ECDFD0;
  color: var(--color-primary);
}
.cookie-settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  border-color: var(--color-primary); background: #E9E5DF;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,64,109,0.17);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s var(--transition);
}
#cookie-modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-large);
  box-shadow: 0 8px 44px 0 rgba(44,42,36,0.13);
  padding: 38px 28px 24px 28px;
  width: 96vw;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.23rem;
  margin-bottom: 9px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.cookie-modal-category input[type=checkbox] {
  width: 26px;
  height: 26px;
  accent-color: var(--color-primary);
  border-radius: 7px;
  border: 1px solid var(--color-secondary);
}
.cookie-modal-category input[disabled] {
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  padding-top: 8px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius);
  padding: 9px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 7px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* -------------- ACCESSIBILITY FOCUS HANDLING -------------- */
a:focus-visible, button:focus-visible, .button-primary:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* -------------- FORM ELEMENTS -------------- */
input, select, textarea {
  border: 1px solid var(--color-grey);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--color-white);
  font-size: 1rem;
  color: var(--color-primary);
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* -------------- RESPONSIVE LAYOUTS -------------- */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    padding: 18px 11px;
    gap: 11px;
  }
  .footer-brand,
  .footer-contact,
  .footer-links,
  .footer-social {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 540px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.15rem; }
  h3, .h3 { font-size: 1rem; }
  .section { padding: 30px 6px; }
  .container { padding: 0 5px; }
  .testimonial-card { font-size: 0.96rem; }
}

/* -------------- MICRO-INTERACTIONS -------------- */
.button-primary, .cookie-choices button {
  will-change: background, box-shadow, color;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button-primary:active {
  transform: scale(0.98);
}
.mobile-menu-toggle:active { transform: scale(0.96); }
.mobile-nav a:active {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* -------------- ICONS & IMAGES -------------- */
.feature-grid img, .feature-item img {
  width: 48px; height: 48px;
  margin-bottom: 6px;
}

/* -------------- UTILITY CLASSES -------------- */
.d-none { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center !important; }

/* -------------- Print Styles (optional) -------------- */
@media print {  
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
}

/* ==========================================
 * End of Lumina Jet Scandinavian Clean Theme
 * ========================================== */
