/* -----------------------------------------------------
   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, 
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F4F7;
  color: #243144;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #335270;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}

/* -----------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #1A2836;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p, li, span, address {
  font-family: 'Roboto', Georgia, serif;  
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #243144;
}
strong { font-weight: 700; }
em { font-style: italic; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* -----------------------------------------------------
   GLOBAL LAYOUT UTILITIES
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(51,82,112,0.06);
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
    border-radius: 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(51,82,112,0.06);
  background: #fff;
  position: relative;
  padding: 24px;
  min-width: 250px;
  flex: 1 1 300px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #F9FAFB;
  border-left: 5px solid #FFB200;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(51,82,112,0.08);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #243144;
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #335270;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(51,82,112,0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item:hover {
  box-shadow: 0 6px 18px rgba(51,82,112,0.10);
}

/* -----------------------------------------------------
   MAIN NAVIGATION (DESKTOP & MOBILE)
----------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(51,82,112,0.08);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
.main-nav ul {
  display: flex;
  gap: 24px;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  color: #335270;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F3F4F7;
  color: #FFB200;
}
.main-nav .btn-primary {
  margin-left: 20px;
}

@media (max-width: 1000px) {
  .main-nav ul,
  .main-nav .btn-primary {
    display: none;
  }
}

/* -----------------------------------------------------
   BURGER MOBILE MENU
----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: inline-block;
    background: #fff;
    border: 1px solid #335270;
    border-radius: 6px;
    font-size: 2rem;
    color: #335270;
    padding: 4px 14px;
    margin-right: 10px;
    cursor: pointer;
    transition: background .2s, border .2s;
    z-index: 120;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #F3F4F7;
    border-color: #FFB200;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFF;
  box-shadow: 0 0 40px rgba(51,82,112,0.12);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 32px 32px 32px;
  gap: 24px;
  opacity: 0.98;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.mobile-menu-close {
  background: #ffffff;
  color: #335270;
  border: 2px solid #FFB200;
  border-radius: 8px;
  font-size: 2rem;
  line-height: 1;
  position: absolute;
  top: 18px; right: 18px;
  z-index: 1001;
  cursor: pointer;
  padding: 3px 14px;
  transition: background .15s, color .15s, border .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F3F4F7;
  color: #ff8400;
  border-color: #335270;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 58px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  color: #335270;
  padding: 9px 14px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F3F4F7;
  color: #FFB200;
}

@media (max-width: 1000px) {
  .mobile-menu {
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-menu.open {
    visibility: visible;
    pointer-events: all;
  }
}

/* -----------------------------------------------------
   BUTTONS & LINKS
----------------------------------------------------- */
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Georgia, serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  line-height: 1.25;
  min-width: 170px;
  min-height: 44px;
  box-sizing: border-box;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow .2s;
  margin-top: 8px;
}
.btn-primary {
  background: #335270;
  color: #FFF !important;
  border: none;
  box-shadow: 0 2px 12px rgba(51,82,112,0.08);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #25405b;
  color: #FFB200 !important;
  box-shadow: 0 4px 18px rgba(51,82,112,0.12);
}
.btn-secondary {
  background: #FFB200;
  color: #243144;
  border: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #f1a400;
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    min-width: 110px;
    min-height: 40px;
    padding: 0 10px;
  }
}

/* -----------------------------------------------------
   HERO & SECTIONS
----------------------------------------------------- */
.hero-section {
  background: #335270;
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 40px 0;
  border-radius: 0 0 36px 36px;
}
.hero-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.hero-section p {
  color: #FFEBC1;
  font-size: 1.15rem;
}
.hero-section .btn-primary {
  background: #FFB200;
  color: #335270;
}
.hero-section .btn-primary:hover,
.hero-section .btn-primary:focus {
  background: #f7a908;
  color: #fff;
}

@media (max-width:600px) {
  .hero-section {
    min-height: 180px;
    border-radius: 0 0 20px 20px;
    padding: 32px 0 16px 0;
  }
  .hero-section h1 {
    font-size: 1.4rem;
  }
}

.features-section,
.services-list-section,
.cta-section,
.testimonials-preview-section,
.about-section,
.services-section,
.faq-highlight-section,
.faq-section,
.contact-section,
.legal-section,
.project-highlights-section,
.process-overview-section,
.thank-you-section,
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .features-section,
  .services-list-section,
  .cta-section,
  .testimonials-preview-section,
  .about-section,
  .services-section,
  .faq-highlight-section,
  .faq-section,
  .contact-section,
  .legal-section,
  .project-highlights-section,
  .process-overview-section,
  .thank-you-section,
  .testimonials-section {
    padding: 22px 6px;
    margin-bottom: 36px;
  }
}

/***** Features grid and descriptions *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.feature-grid li {
  font-family: 'Montserrat', Georgia, serif;
  color: #335270;
  font-size: 1.2rem;
  background: #F8F8F8;
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: 0 1px 6px rgba(51,82,112,0.04);
  margin-bottom: 0;
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
.feature-icons span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #335270;
}
.feature-icons img {
  width: 26px; height: 26px;
}
.feature-descriptions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.feature-descriptions li {
  color: #243144;
  font-size: 1.03rem;
  background: #F3F4F7;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 1px 6px rgba(51,82,112,0.02);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-list li {
  background: #fffefc;
  border-left: 4px solid #FFB200;
  border-radius: 8px;
  padding: 16px 18px 10px 18px;
  margin-bottom: 0;
  box-shadow: 0 1px 6px rgba(51,82,112,0.06);
  color: #243144;
  font-size: 1.06rem;
}
.services-list strong {
  color: #335270;
  font-weight: 700;
}
.services-list span {
  display: inline-block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #FFB200;
}

.trust-signals {
  margin-top: 22px;
  font-size: 1.08rem;
  color: #335270;
}
.trust-signals ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.trust-signals li {
  background: #f4efd8;
  color: #243144;
  border-radius: 7px;
  padding: 7px 14px;
}

/***** FAQ highlight *****/
.faq-highlight-section p a {
  color: #FFB200;
  font-weight: 500;
  text-decoration: underline;
}
.faq-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(51,82,112,0.07);
  padding: 20px 24px;
  color: #335270;
}
.faq-item h2 {
  font-size: 1.15rem;
  color: #243144;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 1.05rem;
}
@media (max-width:600px) {
  .faq-item {
    padding: 15px 10px;
  }
}

/***** Testimonials & Cards Preview *****/
.testimonials-preview-section .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

/* -----------------------------------------------------
   CTA (Call to Action) Section
----------------------------------------------------- */
.cta-section {
  background: #335270;
  color: #fff;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(51,82,112,0.12);
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
}
.cta-section p {
  color: #FFEBC1;
}
.cta-section .btn-primary {
  margin: 16px auto 0 auto;
}
@media (max-width:700px) {
  .cta-section,
  .cta-section .btn-primary {
    min-width: 80px;
    font-size: 1rem;
  }
}

/* -----------------------------------------------------
   ABOUT, LEGAL, CONTACT, PROJECTS - TEXT SECTIONS
----------------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.05rem;
  color: #243144;
}
.text-section ul, .text-section ol {
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  list-style: disc inside;
}
.text-section a {
  color: #335270;
  font-weight: 500;
  text-decoration: underline;
}
.note {
  color: #FFB200;
  font-family: 'Montserrat', Georgia, serif;
  font-style: italic;
}
.form-instruction {
  color: #335270;
  background: #f7eacd;
  border-radius: 6px;
  padding: 7px 10px;
  font-weight: 500;
}

/***** Process Overview, Project Highlights *****/
.process-overview-section ol {
  margin-left: 22px;
  font-size: 1.07rem;
}
.process-overview-section li {
  margin-bottom: 10px;
  list-style: decimal inside;
}

/***** Thank You Section *****/
.thank-you-section {
  text-align: center;
}
.thank-you-section h1 {
  margin-bottom: 20px;
  color: #335270;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: #FFF;
  border-top: 1px solid #DFE3EA;
  font-size: 1rem;
}
.footer-top {
  padding: 18px 0 12px 0;
  background: #F3F4F7;
  border-bottom: 1px solid #DFE3EA;
  display: flex;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}
.footer-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: #335270;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.1s, color 0.1s;
  margin-bottom: 8px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #FFB200;
  color: #335270;
}
.footer-bottom {
  background: #FFF;
  padding: 28px 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand-signature img {
  width: 48px; height: 48px;
  margin-bottom: 6px;
}
.brand-signature address {
  font-size: 0.98rem;
  font-style: normal;
  color: #7C90A4;
}
.brand-signature span, .brand-signature a {
  color: #243144;
  font-size: 0.98rem;
}
.brand-signature a {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  .footer-top {
    padding: 7px 0 5px 0;
  }
  .footer-bottom { padding: 14px 0 6px 0; }
  .brand-signature img { width: 38px; height: 38px; }
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFF;
  border-top: 2px solid #FFB200;
  box-shadow: 0 -2px 12px rgba(51,82,112,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  z-index: 1200;
  font-size: 1.02rem;
  transition: transform 0.5s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  min-width: 120px;
  min-height: 40px;
  margin: 0 0 0 8px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: #335270;
  color: #fff;
  box-shadow: 0 1px 6px rgba(51,82,112,0.10);
  transition: background .19s, color .19s;
}
.cookie-banner .cookie-reject {
  background: #F3F4F7;
  color: #335270;
  border: 2px solid #335270;
}
.cookie-banner .cookie-settings {
  background: #FFB200;
  color: #243144;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #ffb200;
  color: #335270;
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    gap: 7px;
    margin-top: 6px;
  }
  .cookie-banner button {
    min-width: 90px;
    font-size: 0.95rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(51,82,112,0.23);
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(51,82,112,0.18);
  max-width: 410px;
  width: 97vw;
  padding: 34px 28px 26px 28px;
  position: relative;
  z-index: 1202;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  color: #335270;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #243144;
}
.cookie-modal .category-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: #fff;
  color: #335270;
  border: 2px solid #FFB200;
  border-radius: 7px;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 3px 13px;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #FFB200;
  color: #fff;
}
@media (max-width: 470px) {
  .cookie-modal {
    padding: 14px 7px 12px 7px;
    max-width: 96vw;
  }
  .cookie-modal h2 { font-size: 1.05rem; }
}

/***** Cookie switches (custom checkbox) *****/
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #F3F4F7;
  transition: background-color .2s;
  border-radius: 24px;
}
.cookie-switch input:checked + .cookie-slider {
  background: #FFB200;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #335270;
  border-radius: 50%;
  transition: transform .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: #fff;
}

/***** Animations (for overlays/slide) *****/
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(48px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal {
  animation: modalFadeIn .44s cubic-bezier(.33,.7,.12,1.1);
}
/***** END COOKIE CONSENT *****/

/* -----------------------------------------------------
   RESPONSIVE LAYOUT (Mobile First)
----------------------------------------------------- */
@media (min-width: 900px) {
  .testimonial-cards {
    flex-direction: row;
  }
}
@media (max-width:850px) {
  .card-container, .testimonial-cards { flex-direction: column; }
}

/***** General Gaps, Breathing Room *****/
section,
.section,
.card,
.card-container > *,
.testimonial-card,
.feature-item {
  margin-bottom: 20px;
}

/***** Spacing between all content *****/
main > section, main > .section {
  margin-bottom: 60px;
}

/***** Misc + Accessibility *****/
:focus-visible {
  outline: 2px solid #FFB200 !important;
  outline-offset: 2px;
}

/* Hide visually but keep accessible for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -----------------------------------------------------
    END OF STYLE.CSS
----------------------------------------------------- */
