/* RESET & BASE TYPOGRAPHY -------------------------------------------------- */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  background-color: #F8F7F4;
  color: #24282D;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #274472;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB500;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #274472;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #274472;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
section {
  width: 100%;
}

/* LAYOUT CONTAINERS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0;
}

/* SECTIONS -------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.hero {
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  background: #f2f5f8;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.cta {
  margin-bottom: 0;
  background: #274472;
  color: #fff;
}
.cta .content-wrapper,
.cta .text-section {
  align-items: flex-start;
  color: #fff;
}
.cta h2, .cta h3, .cta h1 {
  color: #fff;
}

/* FLEXBOX UTILITY CLASSES -------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(39,68,114,0.08);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(39,68,114,0.17);
}
.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;
  background: #fff;
  padding: 32px 32px 24px 32px;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(39,68,114,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 34px rgba(39,68,114,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAF9F6;
  border-radius: 12px;
  box-shadow: 0 0.5px 6px rgba(27,84,116,0.08);
  padding: 28px 24px 22px 24px;
  min-width: 245px;
  flex: 1 1 250px;
  transition: box-shadow 0.15s, transform 0.12s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 2px 22px rgba(39,68,114,0.15);
  transform: translateY(-2px) scale(1.012);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
  list-style: disc;
  justify-content: flex-start;
}
.category-list li {
  background: #FFF;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #274472;
  box-shadow: 0 1px 3px rgba(39,68,114,0.04);
  transition: background 0.15s;
}
.category-list li:hover {
  background: #9BC1BC22;
}
.services-overview {
  background: #F5F6F8;
  border-radius: 8px;
  padding: 26px 24px 18px 24px;
  margin-top: 18px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.team-member {
  background: #F9F8F7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(39,68,114,0.055);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
}

/* HEADER & NAVIGATION -------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e1e3e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
header img[alt="Luminous Remont"] {
  width: 162px;
  height: auto;
  margin-right: 38px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: #274472;
  font-size: 1.06rem;
  padding: 4px 13px;
  border-radius: 5px;
  transition: background 0.13s, color 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  background: #9BC1BC44;
  color: #FFB500;
}
.btn-primary {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
  color: #fff;
  background: #274472;
  border-radius: 8px;
  padding: 12px 30px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.17s, box-shadow 0.18s, color 0.19s;
  box-shadow: 0 2px 14px rgba(39,68,114,0.10);
  border: none;
  cursor: pointer;
  margin-left: 22px;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB500;
  color: #273640;
  box-shadow: 0 6px 26px rgba(255,181,0,0.12);
}

/* MOBILE MENU -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #274472;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 4px 14px;
  z-index: 1101;
  transition: color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFB500;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px #27447222;
  z-index: 1100;
  padding: 28px 24px 24px 32px;
  transform: translateX(-100vw);
  transition: transform 0.44s cubic-bezier(.65,.05,.36,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #274472;
  border: none;
  font-size: 2.2rem;
  padding: 7px 8px 7px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.13s;
  margin-bottom: 12px;
  z-index: 1200;
}
.mobile-menu-close:focus {
  outline: 2px solid #FFB500;
  color: #FFB500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 15px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: #274472;
  padding: 10px 6px;
  border-radius: 7px;
  font-family: 'Montserrat', Georgia, serif;
  background: none;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #9BC1BC22;
  color: #FFB500;
}

/* MAIN CONTENT & PAGES -------------------------------------------------- */
main {
  min-height: 80vh;
  background: transparent;
  margin-bottom: 54px;
}

/* TESTIMONIALS -------------------------------------------------- */
.testimonials {
  background: #f5f7fa;
  padding-top: 48px;
  padding-bottom: 38px;
}
.testimonials h2 {
  color: #274472;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #24282D;
  font-size: 1.04rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-details {
  display: flex;
  gap: 13px;
  align-items: center;
}
.testimonial-details strong {
  color: #274472;
}
.stars {
  color: #FFB500;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* FOOTER -------------------------------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #e4e7ec;
  padding: 32px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  gap: 36px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logo-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 210px;
  max-width: 290px;
}
.footer-logo-contact img {
  width: 90px;
  margin-bottom: 8px;
}
.footer-logo-contact address {
  font-style: normal;
  color: #274472;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-logo-contact a {
  color: #9BC1BC;
  text-decoration: underline;
}
.footer-logo-contact a:hover {
  color: #FFB500;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
  margin-right: 30px;
}
.footer-nav a {
  color: #274472;
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #9BC1BC;
}

.newsletter-social {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  max-width: 370px;
  align-items: flex-end;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  width: 100%;
}
.newsletter-signup label {
  font-family: 'Montserrat', serif;
  font-size: 1.09rem;
  color: #274472;
  margin-bottom: 2px;
}
.newsletter-signup input[type=email] {
  font-size: 1rem;
  border: 1px solid #9BC1BC;
  border-radius: 6px;
  padding: 9px 14px;
  width: 100%;
  margin-bottom: 7px;
  font-family: 'Roboto', serif;
  outline: none;
  transition: border 0.17s, box-shadow 0.17s;
}
.newsletter-signup input[type=email]:focus {
  border-color: #FFB500;
  box-shadow: 0 0 5px #FFB50033;
}
.newsletter-signup button {
  font-family: 'Montserrat', serif;
  background: #274472;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(39,68,114,0.06);
  transition: background 0.18s;
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: #FFB500;
  color: #24282D;
}
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.social-icons a {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  background: #F6F6F8;
  transition: background 0.14s;
}
.social-icons a:hover {
  background: #9BC1BC44;
}
.social-icons img {
  width: 28px;
  height: 28px;
}

/* ADDRESS ICONS -------------------------------------------------- */
.footer-logo-contact address img {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 3px;
}

/* FORMS & BUTTONS ------------------------------------------------- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
input, textarea {
  border: 1px solid #9BC1BC;
  border-radius: 6px;
  padding: 10px 13px;
  background: #fff;
  transition: border 0.18s, box-shadow 0.17s;
}
input:focus, textarea:focus {
  border-color: #274472;
  box-shadow: 0 0 0 2px #FFB50033;
}
button, .btn {
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #FFB500;
  outline-offset: 2px;
}

/* Misc utility and specifics --------------------------------------- */
.services-overview ul {
  padding-left: 1.2em;
}
.services-overview ul li {
  list-style-type: disc;
  margin-bottom: 0.4em;
}
.team-member h3 {
  margin-bottom: 9px;
}


/* COOKIE BANNER & MODAL -------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f8f7f4;
  color: #274472;
  border-top: 1.5px solid #d7d8dd;
  box-shadow: 0 -2px 18px rgba(39,68,114,0.047);
  z-index: 2500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  gap: 22px;
  font-size: 1rem;
  animation: slideInBanner 0.6s;
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-consent-banner button,
.cookie-consent-banner .btn {
  border: none;
  background: #274472;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 18px;
  margin: 0;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-consent-banner button.accept {
  background: #FFB500;
  color: #24282D;
}
.cookie-consent-banner button.reject {
  background: #E9EEF2;
  color: #274472;
  border: 1.5px solid #9BC1BC;
}
.cookie-consent-banner button.settings {
  background: #9BC1BC;
  color: #274472;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  filter: brightness(0.94);
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,68,114,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 0 48px rgba(39,68,114,0.17);
  padding: 38px 36px 26px 36px;
  min-width: 340px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalDrop 0.34s;
}
@keyframes modalDrop {
  from { transform: translateY(-30px); opacity: 0;} to { transform: none; opacity: 1; }
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .toggle {
  margin-left: 12px;
}
.cookie-modal h2, .cookie-modal h3 {
  color: #274472;
}
.cookie-modal label {
  font-family: 'Montserrat', serif;
  font-size: 1.06rem;
}
.cookie-modal .toggle input[type="checkbox"] {
  accent-color: #274472;
  width: 18px; height: 18px;
}
.cookie-modal .close-modal {
  background: none;
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  color: #274472;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE DESIGN - MOBILE FIRST -------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid {
    gap: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .footer-logo-contact, .footer-nav, .newsletter-social {
    min-width: 180px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 15px;
  }
  .card-container {
    gap: 13px;
  }
  .footer-logo-contact img {
    width: 74px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .newsletter-social {
    align-items: flex-start;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header .container {
    padding: 12px 12px;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 10px 22px;
    font-size: 1rem;
  }
  .hero {
    padding: 38px 0 30px 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .content-wrapper,
  .section .container .content-wrapper,
  .footer-logo-contact, .newsletter-signup,
  .feature-item, .testimonial-card {
    max-width: 100vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .team-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 22px 16px 17px 16px;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 7px;
  }
  h1 {
    font-size: 1.34rem;
  }
  .btn-primary {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right:0;
    font-size: 1.01rem;
  }
  .hero, .section {
    padding-left: 0;
    padding-right: 0;
  }
  .cookie-consent-banner{
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 13px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal .cookie-modal-content {
    min-width: 92vw;
    padding: 14px 7px 18px 9px;
  }
}
