/* 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,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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F8F4E6;
  color: #34495E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

:root {
  --brand-primary: #34495E;
  --brand-secondary: #A3D9C7;
  --brand-accent: #F8F4E6;
  --brand-gold: #BFA76F;
  --brand-gold-dark: #987B36;
  --text-dark: #222;
  --text-light: #fff;
  --border-radius: 14px;
  --shadow: 0 6px 28px rgba(44, 50, 63,0.08), 0 1.5px 4px 0px rgba(44, 50, 63,0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Cambria, serif;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 18px;
  line-height: 1.7;
}

strong, b {
  font-weight: bold;
  color: var(--brand-primary);
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}

a {
  color: var(--brand-gold-dark);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--brand-secondary);
  text-decoration-thickness: 2px;
}

.container {
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER NAVIGATION */
header {
  background: var(--text-light);
  box-shadow: 0 2px 14px rgba(44, 50, 63, 0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header a img {
  height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--brand-primary);
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.1px;
  text-decoration: none;
  position: relative;
  padding: 4px 4px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-gold-dark);
  text-decoration: underline;
}

header .cta.primary {
  margin-left: 28px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 8px 12px;
  transition: background 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-gold);
}

/* MOBILE NAVIGATION / SLIDEIN MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52,73,94,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.6,.36,0,1.13);
  z-index: 2000;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--brand-gold);
  align-self: flex-end;
  margin: 28px 24px 20px auto;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 28px;
  gap: 23px;
}
.mobile-nav a {
  color: var(--brand-gold);
  font-family: 'Roboto Slab', Cambria, serif;
  font-size: 1.45rem;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.20s, color 0.20s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}


/* HERO & CONTENT WRAPPER */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  padding: 55px 0 40px 0;
}
.content-wrapper h1 {
  margin-bottom: 0;
}

/* GENERAL BUTTONS AND CTAs */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Slab', Cambria, serif;
  font-size: 1.15rem;
  font-weight: 600;
  min-width: 165px;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(44,50,63,.09);
  transition: background 0.22s, color 0.19s, box-shadow 0.2s;
  text-decoration: none;
}
.cta.primary {
  background: var(--brand-gold);
  color: var(--text-light);
  border: 2px solid var(--brand-gold);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-gold-dark);
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(191,167,111,0.25);
}
.cta.secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #85c1ad;
  color: var(--brand-primary);
}

/* FLEXBOX ALIGNMENT LAYOUTS - MANDATORY STYLES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 9px 38px rgba(191,167,111,.1);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(44,50,63,0.10);
  background: var(--brand-accent);
  margin-bottom: 26px;
  margin-top: 8px;
  border-left: 5px solid var(--brand-gold);
  color: var(--text-dark);
  font-size: 1.04rem;
  transition: box-shadow 0.19s, border-color 0.15s;
}
.testimonial-card span {
  font-style: italic;
  font-size: 0.99rem;
  color: var(--brand-gold-dark);
  font-family: 'Roboto Slab', Cambria, serif;
}
.testimonial-card:hover {
  border-left: 5px solid var(--brand-gold-dark);
  box-shadow: 0 6px 28px rgba(191,167,111,.11);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}
.feature-item {
  flex: 1 1 235px;
  background: var(--text-light);
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 30px 22px 24px 22px;
  position: relative;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  border-top: 3.5px solid var(--brand-gold);
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.feature-item h3 {
  color: var(--brand-gold-dark);
  margin-bottom: 4px;
}
.feature-item:hover {
  box-shadow: 0 9px 38px rgba(191,167,111,0.13);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.service-item {
  background: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: 0 1.5px 9px rgba(44,50,63,0.07);
  padding: 26px 24px 24px 24px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  border-bottom: 2.5px solid var(--brand-gold);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.20s, border-color 0.14s;
}
.service-item h3 {
  color: var(--brand-gold-dark);
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.service-item:hover {
  box-shadow: 0 7px 22px rgba(44,50,63,0.11);
  border-bottom: 2.5px solid var(--brand-gold-dark);
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 34px;
  margin-top: 16px;
}
.pricing-table > div {
  font-family: 'Roboto Slab', Cambria, serif;
  font-size: 1.06rem;
  background: var(--brand-accent);
  padding: 20px 18px;
  border-radius: 8px;
  flex: 1 1 220px;
  color: var(--brand-primary);
  box-shadow: 0 1.5px 7px rgba(44,50,63,0.07);
  margin-bottom: 20px;
}

.text-section {
  margin-bottom: 24px;
}

.faq-list, .faq-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list h3, .faq-preview h3 {
  color: var(--brand-gold-dark);
  font-size: 1.08rem;
  margin: 8px 0 6px 0;
}

/* FOOTER */
footer {
  background: #f3f3eb;
  border-top: 3px solid var(--brand-gold);
  padding: 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 32px;
}
footer img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5px;
}
.footer-nav a {
  color: var(--brand-gold-dark);
  font-weight: 500;
  text-decoration: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  padding: 2px 4px;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
footer p {
  text-align: center;
  font-size: 0.99rem;
  color: #555;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--text-light);
  box-shadow: 0 -2px 10px rgba(44,50,63,0.08);
  border-top: 3px solid var(--brand-gold);
  padding: 22px 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 9999;
  font-size: 1rem;
  animation: bannerSlideUp 0.6s cubic-bezier(.56,.22,0,1.17);
}
@keyframes bannerSlideUp {
  0% { transform: translateY(100%); opacity:0; }
  60%{ opacity:1;}
  100% { transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  color: var(--brand-primary);
  margin-bottom: 0;
  max-width: 67vw;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner button {
  border: none;
  padding: 9px 20px;
  border-radius: 34px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Roboto Slab', Cambria, serif;
  font-size: 1rem;
  transition: background 0.19s, color 0.17s;
}
.cookie-banner .accept {
  background: var(--brand-gold);
  color: var(--text-light);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--brand-gold-dark);
}
.cookie-banner .reject {
  background: #eef1e8;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-gold);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--brand-gold);
  color: var(--text-light);
}
.cookie-banner .settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #85c1ad;
  color: var(--brand-primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,50,63,0.16);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalPop 0.38s cubic-bezier(.6,.31,0,1.15);
}
@keyframes modalPop {
  0%{ transform: scale(0.7) translateY(-50px);opacity:0; }
  100%{ transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal-content {
  background: var(--brand-accent);
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(44,50,63,0.13);
  padding: 42px 32px 34px 32px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h2 {
  margin-bottom: 12px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 14px;
  background: #e0e6DF;
  border: 1px solid var(--brand-gold);
  position: relative;
  outline: none;
  margin-right: 8px;
  transition: background 0.19s;
}
.cookie-modal-content .toggle:checked {
  background: var(--brand-gold);
}
.cookie-modal-content .toggle:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.19s;
}
.cookie-modal-content .toggle:checked:after {
  transform: translateX(14px);
}
.cookie-modal-content .close-modal {
  background: none;
  border: none;
  color: var(--brand-gold-dark);
  font-size: 2rem;
  position: absolute;
  right: 26px;
  top: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  color: var(--brand-gold);
}
.cookie-modal-footer {
  margin-top: 22px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-modal-footer button {
  font-size: 1rem;
  border-radius: 34px;
  font-weight: 600;
  padding: 9px 22px;
}
.cookie-modal-footer .accept {
  background: var(--brand-gold);
  color: var(--text-light);
}
.cookie-modal-footer .accept:hover {
  background: var(--brand-gold-dark);
}
.cookie-modal-footer .save {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal-footer .save:hover {
  background: #85c1ad;
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.cta:active, button:active {
  transform: scale(0.98);
}
.card, .service-item, .feature-item, .testimonial-card {
  will-change: box-shadow, border;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1170px) {
  .container { max-width: 98vw; }
}
@media (max-width: 920px) {
  .container { max-width: 99vw; }
  .feature-item, .service-item { max-width: 100%; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 7px; }
  header .container {
    padding-left: 9px;
    padding-right: 9px;
    gap: 8px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 21px;
    top: 20px;
  }
  .cta.primary {
    min-width: 130px;
    font-size: 1rem;
    padding: 11px 16px;
    margin-left: 0;
  }
  .content-wrapper { padding-top: 32px; padding-bottom: 0; gap: 18px; }
  .feature-grid, .services-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .pricing-table {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .feature-item, .service-item, .card, .faq-list, .faq-preview { min-width: 0; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.98rem;
    padding: 16px 10px 14px 16px;
  }
  .cookie-banner p { max-width: 99vw; }
}
@media (max-width: 540px) {
  h1 { font-size: 2.01rem; }
  h2 { font-size: 1.3rem; }
}
/* ENHANCED CONTRAST FOR TESTIMONIALS AND REVIEW SECTIONS */
.testimonial-card, .testimonial-card p {
  color: #1d2636;
  background: #fff;
}

/* VISUAL DETAILS & DECORATIVE LUXURY */
.feature-item, .service-item, .card {
  position: relative;
}
.feature-item:after {
  content: '';
  display: block;
  position: absolute;
  top: 20px; left: 20px;
  width: 34px; height: 2.5px;
  background: var(--brand-gold);
  opacity: 0.14;
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}
.card:before {
  content: '';
  position: absolute;
  right: 16px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0.12;
  z-index: 0;
}

/* FORM ELEMENTS (future proof) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
  border-radius: 10px;
  border: 1.5px solid var(--brand-secondary);
  padding: 10px 16px;
  margin-bottom: 18px;
  background: var(--brand-accent);
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-gold-dark);
}

button {
  font-family: inherit;
  outline: none;
}

/* ACCESSIBLE FOCUS OUTLINES */
a:focus, button:focus, .cta:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/* ENSURE NO GRID, NO COLUMNS - TRUE FLEXBOX ONLY! */
/* (All layout containers above are flex and wrap for multi-items) */

/* OVERRIDE BEFORE EXPORT - TEST ALL LAYOUTS! */
