/* -----------------------------
  CSS RESET & NORMALIZATION
----------------------------- */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #F4F6F8;
  color: #253048;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #253048;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
    outline: 2px solid #C3A385;
    outline-offset: 2px;
}
a:hover, a:active {
  color: #C3A385;
}
hr {
  border: none;
  border-top: 1px solid #C3A385;
  margin: 32px 0;
}

/* -----------------------------
  BRAND TYPOGRAPHY
----------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #253048;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}
p, ul, ol, li, span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #253048;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}

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

/* Layout helper classes (MANDATORY patterns) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37,48,72,0.06);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(37,48,72,0.13);
  transform: translateY(-3px);
}
.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: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,48,72,0.10);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 540px;
  border-left: 4px solid #C3A385;
  transition: box-shadow 0.20s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(37,48,72,0.13);
  border-color: #253048;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.project-summary {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(37,48,72,0.06);
  margin-bottom: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.service-list > li {
  flex: 1 1 330px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,48,72,0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 280px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-list > li:hover {
  box-shadow: 0 10px 38px rgba(37,48,72,0.11);
  transform: translateY(-4px);
}
.service-list img {
  height: 52px;
  width: 52px;
  margin-bottom: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list > div {
  background: #F4F6F8;
  border-radius: 10px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  padding: 18px 20px;
  transition: box-shadow 0.15s;
  border-left: 3px solid #C3A385;
}
.faq-list > div:hover {
  box-shadow: 0 4px 20px rgba(37,48,72,0.09);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

/* -----------------------------
  HEADER & NAVIGATION
----------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e7eaed;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #253048;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #C3A38513;
  color: #C3A385;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #253048;
  color: #fff !important;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 12px 26px 12px 26px;
  box-shadow: 0 1px 6px rgba(37,48,72,0.07);
  margin-left: 8px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C3A385;
  color: #253048 !important;
  box-shadow: 0 6px 16px rgba(195,163,133,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* ----------- MOBILE NAV ----------- */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 2.1rem;
  color: #253048;
  cursor: pointer;
  margin-left: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C3A38518;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #253048ee;
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.39,.575,.565,1);
  box-shadow: 0 0 20px rgba(37,48,72,0.11);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 0 15px 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 5px;
  transition: background 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #C3A38533;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #C3A3853b;
  color: #C3A385;
}

/* Hide main-nav and cta on mobile, show burger */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -----------------------------
  HERO & CONTENT SECTIONS
----------------------------- */
section {
  background: #F4F6F8;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(37,48,72,0.04);
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding: 0 12px;
}

/* List icons & features */
ul li, ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 1rem;
}
ul li img {
  width: 26px;
  height: 26px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* -----------------------------
  FOOTER
----------------------------- */
footer {
  background: #253048;
  color: #fff;
  padding: 34px 0 16px 0;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-nav {
  gap: 22px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.94;
  transition: color 0.14s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C3A385;
  opacity: 1;
}
footer p {
  color: #C3A385;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
}

/* -----------------------------
  COOKIE CONSENT BANNER & MODAL
----------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #253048;
  color: #fff;
  padding: 20px 15px 20px 15px;
  box-shadow: 0 -2px 18px rgba(37,48,72,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1200;
  animation: slideUpBanner 0.7s cubic-bezier(.6,-0.34,.2,1.36);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-content {
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  color: #253048;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: #C3A385;
  color: #253048;
}
.cookie-btn.reject {
  background: #e31c1c;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #253048;
}
.cookie-btn.accept:hover {
  background: #253048;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #ce1717;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #C3A385;
  color: #253048;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,48,72,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #253048;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37,48,72,0.19);
  padding: 32px 24px 28px 24px;
  max-width: 360px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.7s cubic-bezier(.65,-0.32,.05,1.48);
  position: relative;
}
@keyframes fadeInModal {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: #253048;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 10px;
}
.cookie-modal p, .cookie-modal label {
  font-size: 1rem;
  margin-bottom: 0;
  color: #253048;
}
.cookie-modal ul {
  margin-bottom: 0;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  gap: 10px;
}
.cookie-switch { 
  position: relative; 
  width: 38px; height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #e3e7ee;
  border-radius: 18px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #C3A385;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  transition: transform 0.18s;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.09);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.4rem;
  color: #C3A385;
  border: none;
  background: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 5px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #25304813; }
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* -----------------------------
  RESPONSIVENESS
----------------------------- */
@media (max-width: 1160px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .section, section {
    padding: 30px 6px;
    margin-bottom: 36px;
    border-radius: 9px;
  }
  .service-list > li {
    padding: 18px 10px;
  }
}
@media (max-width: 850px) {
  .service-list, .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper {
    gap: 20px;
  }
  section, .section {
    padding: 18px 3px;
    margin-bottom: 24px;
    border-radius: 7px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.19rem;
    margin-bottom: 7px;
  }
  .main-nav {
    gap: 5px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-list > li {
    min-width: 95vw;
    width: 100%;
    align-items: flex-start;
    padding: 18px 7px;
  }
  .testimonial-card, .card {
    padding: 16px 11px;
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .faq-list > div {
    padding: 14px 7px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.96rem;
    justify-content: center;
  }
}

/* Ensure content spacing is robust */
@media (max-width: 520px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .testimonial-card, .card {
    padding: 12px 3px;
  }
  .cookie-modal {
    padding-left: 9px; padding-right: 9px; padding-top: 18px; padding-bottom: 18px;
  }
}

/* Ensure mobile menu always above all */
@media (max-width: 900px) {
  .mobile-menu {
    padding-top: 0;
    gap: 0;
  }
}

/* Micro-interactions (transitions) */
.card, .testimonial-card, .faq-list > div, .service-list > li, .cta-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.15s, color 0.15s, transform 0.18s;
}

/* Utility: visually hidden text */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* -----------------------------
  SCROLLBAR STYLING
----------------------------- */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: #d8dbe2;
  border-radius: 12px;
}
body::-webkit-scrollbar-track {
  background: #F4F6F8;
}

/* -------------
  FORM ELEMENTS
------------- */
input, select, textarea {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #253048;
  border: 1px solid #e4e8ef;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 1rem;
  margin-bottom: 12px;
}
input:focus, textarea:focus {
  outline: 2px solid #C3A385;
}
button {
  font-family: inherit;
}

/* -------------
  MISCELLANEOUS
------------- */
blockquote {
  border-left: 4px solid #C3A385;
  margin: 24px 0;
  padding: 14px 24px;
  color: #253048;
  background: #F4F6F8;
  font-size: 1.11rem;
  font-style: italic;
  border-radius: 8px;
}

/* -------------
  OVERLAY PREVENTION
------------- */
.card, .testimonial-card, .project-summary, .faq-list > div {
  z-index: 1;
}
.cookie-banner, .cookie-modal-overlay {
  z-index: 2200;
}

/* -------------
  SHADOWS AND ELEVATION
------------- */
.card, .testimonial-card, .project-summary, .service-list > li {
  box-shadow: 0 2px 8px rgba(37,48,72,0.07);
}
.cookie-modal {
  box-shadow: 0 8px 32px rgba(37,48,72,0.19);
}

/* -------------
  ACCESSIBILITY
------------- */
:focus {
  outline: 2px solid #C3A385;
  outline-offset: 2px;
}

/* -------------
  BRAND FONT IMPORT (for Google Fonts in production, declare in HTML <head>)
------------- */
/*
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
*/

/* ========== END ========== */
