/* Lyon Cozy style.css – Scandinavian Clean UI – Flexbox ONLY */

/* ------------------ 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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #F6F6F3;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #274164;
  background: #F6F6F3;
  line-height: 1.6;
}

/* Font Imports (Montserrat for display, Roboto for body) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* ------------------ TYPOGRAPHY ------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274164;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.18rem; }
p, li, ul, ol, span, em, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #274164;
}
p { margin-bottom: 15px; }
a {
  color: #274164;
  text-decoration: none;
  transition: color 0.18s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #E4A04B;
}
strong { font-weight: 700; }

.subheadline { font-size: 1.15rem; color: #446184; margin-bottom: 24px; font-weight: 500; }

/* ------------------ CONTAINER & LAYOUTS ------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ------------------ FLEXBOX PATTERNS ------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(39,65,100,0.065);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(39,65,100,0.16);
  transform: translateY(-4px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
    gap: 14px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(39,65,100,0.07);
  border-left: 5px solid #E4A04B;
  max-width: 460px;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.testimonial-card:hover {
  border-color: #274164;
  box-shadow: 0 6px 20px rgba(39,65,100,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

/* ------------------ HEADER & NAVIGATION ------------------ */
header {
  background: #fff;
  border-bottom: 1px solid #ECE7DE;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px 12px 18px;
}
.logo-nav a img {
  height: 36px;
  min-width: 90px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 8px;
  color: #274164;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F3E9D2;
  color: #E4A04B;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E4A04B;
  color: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1.07rem;
  font-weight: 700;
  box-shadow: 0 1px 8px rgba(39,65,100,0.10);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #274164;
  color: #fff;
  box-shadow: 0 4px 16px rgba(39,65,100,0.16);
}
.mini-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E4A04B;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline dotted;
  padding: 2px 0 2px 0;
  transition: color 0.18s;
}
.mini-cta:hover, .mini-cta:focus {
  color: #274164;
}

.mobile-menu-toggle {
  background: #fff;
  color: #274164;
  border: none;
  font-size: 2.15rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 18px;
  display: none;
  z-index: 220;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(39,65,100,0.06);
  transition: background 0.16s;
}
.mobile-menu-toggle:hover {
  background: #F3E9D2;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo-nav {
    padding-bottom: 10px;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(39,65,100, 0.95);
  z-index: 333;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.37,.01,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  padding: 18px 24px 12px 0;
  cursor: pointer;
  border-radius: 50%;
  align-self: flex-end;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E4A04B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  gap: 8px;
  padding: 48px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 0;
  font-weight: 600;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255, 0.10);
  letter-spacing: 0.01em;
  transition: color 0.18s, background 0.16s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E4A04B;
  background: rgba(243,233,210,0.05);
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------ HERO BLOCK ------------------ */
.hero-section {
  background: #F3E9D2;
  border-radius: 16px;
  margin: 32px 0;
  padding: 40px 0 36px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section h1 {
  color: #274164;
  font-size: 2.6rem;
  font-weight: 700;
}
.hero-section .cta-btn {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 26px 0;
    margin: 16px 0 10px 0;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
}

/* ------------------ FEATURES, BENEFITS, & CARDS ------------------ */
.feature-grid, .value-list, .service-list, .service-categories, .benefits-grid, .trust-badges, .tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 15px;
}
.feature-grid li, .value-list li,.benefits-grid li, .trust-badges li, .tips-list li, .service-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(39,65,100,0.07);
  padding: 18px 14px 18px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  color: #274164;
  min-width: 210px;
  flex: 1 1 210px;
  border-left: 4px solid #E4A04B;
  transition: box-shadow 0.14s, border-color 0.18s;
}
.feature-grid li:hover, .value-list li:hover,.benefits-grid li:hover, .trust-badges li:hover, .tips-list li:hover, .service-list li:hover {
  border-left: 4px solid #274164;
  box-shadow: 0 4px 16px rgba(39,65,100,0.10);
}
.feature-grid img, .value-list img, .benefits-grid img, .trust-badges img, .tips-list img, .service-list img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  margin-right: 8px;
}
@media (max-width: 650px) {
  .feature-grid, .value-list, .benefits-grid, .trust-badges, .tips-list, .service-list, .service-categories {
    flex-direction: column;
    gap: 14px;
  }
}

/* ------------------ CLIENT LOGOS ------------------ */
.client-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}
.client-logos img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(30%);
  transition: filter 0.18s, opacity 0.18s;
}
.client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ------------------ TEXT SECTIONS & FAQ ------------------ */
.text-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(39,65,100,0.045);
  margin-bottom: 16px;
}
.text-section:last-child {
  margin-bottom: 0;
}
.faq {
  background: #F3E9D2;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(39,65,100,0.06);
}
.faq strong {
  color: #E4A04B;
  font-weight: 600;
}
.expert-advices {
  background: #fff6e2;
  border-radius: 9px;
  padding: 16px 15px;
  margin-bottom: 18px;
  box-shadow: 0 1px 5px rgba(228,160,75,0.08);
}

/* ------------------ PROJECT HIGHLIGHTS ------------------ */
.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-highlights .text-section {
  flex: 1 1 340px;
  min-width: 210px;
}
@media (max-width: 768px) {
  .project-highlights {
    flex-direction: column;
    gap: 12px;
  }
}

/* ------------------ CONTACT DETAILS ------------------ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #fff;
  border-top: 1px solid #ECE7DE;
  padding: 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 27px 18px 16px 18px;
}
.footer-content a img {
  height: 32px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #446184;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #E4A04B;
}
.legal-mentions {
  color: #889BB7;
  font-size: 0.95rem;
  flex: 1 1 100%;
  margin-top: 12px;
}
@media (max-width: 730px) {
  .footer-content {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* ------------------ BUTTONS & INTERACTIONS ------------------ */
button, .btn, input[type="submit"], .cta-btn {
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
}

/* ------------------ GENERAL UTILITIES ------------------ */
ul, ol {
  padding-left: 22px;
}
ul li {
  margin-bottom: 7px;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border: none;
}

/* ----------- Cookie Consent Banner (Fixed Bottom) ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #274164;
  z-index: 999;
  box-shadow: 0 -2px 18px rgba(39,65,100,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px 18px 22px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.38,.16,.49,1), opacity 0.31s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex-grow: 1;
  font-size: 1rem;
  color: #274164;
  margin-bottom: 0;
  min-width: 190px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  margin: 0 1px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #E4A04B;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #274164;
  color: #fff;
}
.cookie-banner .reject {
  background: #F3E9D2;
  color: #274164;
  font-weight: 600;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #e8dbbd;
  color: #E4A04B;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #274164;
  border: 1px solid #ECE7DE;
  font-weight: 600;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #F3E9D2;
  color: #274164;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(39,65,100, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 405px;
  width: 98vw;
  box-shadow: 0 12px 48px rgba(39,65,100,0.15);
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #274164;
  font-size: 1.16rem;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3E9D2;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 11px;
  font-size: 1rem;
}
.cookie-modal-content .cookie-category.essential {
  opacity: 0.65;
  font-style: italic;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: #ECE7DE;
  position: relative;
  outline: none;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-modal-content .toggle:checked {
  background: #E4A04B;
}
.cookie-modal-content .toggle::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.17s;
}
.cookie-modal-content .toggle:checked::before {
  transform: translateX(18px);
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-content .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 13px;
  font-size: 1rem;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
}
.cookie-modal-content .accept {
  background: #E4A04B;
  color: #fff;
  font-weight: 700;
}
.cookie-modal-content .accept:hover {
  background: #274164;
}
.cookie-modal-content .close {
  background: #F3E9D2;
  color: #274164;
  font-weight: 600;
  margin-left: 6px;
}
.cookie-modal-content .close:hover {
  background: #EBDED2;
}
.cookie-modal-close-x {
  position: absolute;
  top: 18px;
  right: 19px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #274164;
  cursor: pointer;
  font-weight: 700;
  border-radius: 50%;
  padding: 3px;
  transition: background 0.14s;
}
.cookie-modal-close-x:hover {
  background: #F3E9D2;
}

/* ------------------ RESPONSIVE BREAKPOINTS ------------------ */
@media (max-width: 900px) {
  .container, .footer-content, .logo-nav {
    max-width: 100vw;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 570px) {
  .hero-section h1 { font-size: 1.48rem; }
  .hero-section .cta-btn { font-size: 1rem; }
  h1 { font-size: 1.23rem; }
  .cta-btn { padding: 9px 13px; font-size: .99rem; }
}

/* ------------------ MICRO-INTERACTIONS ------------------ */
.main-nav a, .footer-nav a, .cta-btn, .mini-cta, .mobile-nav a, .cookie-banner .cookie-btn, .cookie-modal-content .cookie-btn {
  outline-offset: 1px;
}
.main-nav a:focus-visible, .footer-nav a:focus-visible, .cta-btn:focus-visible, .mini-cta:focus-visible, .mobile-nav a:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #E4A04B;
  outline-offset: 2px;
}

/* ------------------ SCANDINAVIAN VISUALS ------------------ */
.section, .text-section, .faq, .card, .feature-grid li, .value-list li, .benefits-grid li, .tips-list li, .testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(39,65,100,0.04);
}
.section {
  box-shadow: none;
}

/* ------------------ ENSURE NO CONTENT OVERLAP ------------------ */
.section, .card, .testimonial-card, .text-section, .faq, .project-highlights .text-section, .feature-grid li, .value-list li, .benefits-grid li, .trust-badges li, .tips-list li, .service-list li {
  margin-bottom: 20px;
}

/* ------------------ DARK TEXT IN TESTIMONIALS ------------------ */
.testimonial-card {
  color: #274164;
  background: #fff;
  border-left: 5px solid #E4A04B;
  box-shadow: 0 2px 10px rgba(39,65,100,0.08);
}
.testimonial-card p {
  color: #274164;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  color: #446184;
  font-size: 0.98rem;
  font-weight: 600;
}

/* Extra: Star ratings, if any */
.testimonial-card span:last-child {
  color: #E4A04B;
  letter-spacing: 2px;
  font-size: 1.13rem;
}

/* ------------------ SCROLLBAR STYLE (subtle, clean) ------------------ */
::-webkit-scrollbar {
  width: 9px;
  background: #F3E9D2;
}
::-webkit-scrollbar-thumb {
  background: #ECE7DE;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E4A04B;
}

/* ------------------ MISC ------------------ */
::selection {
  background: #E4A04B;
  color: #fff;
}

/* Prevent accidental image drag ghosting */
img { user-select: none; }

/* Hide outline for mouse click, keep for keyboard (accessibility) */
a, button, .cta-btn, .cookie-btn {
  outline: none;
}

a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #E4A04B;
  outline-offset: 2px;
}

/* ------------------ END OF CSS ------------------ */
