/* ================================================================
   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;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F1EFEA;
  color: #25434C;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #25434C;
  text-decoration: none;
  transition: color 0.14s;
}
a:hover, a:focus {
  color: #B5905D;
  outline: none;
}
ul, ol {
  list-style-position: outside;
  margin-left: 1.125em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  font-weight: 700;
  color: #25434C;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.125rem;
}
p, li, dd, dt {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #25434C;
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}
button, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  margin: 8px 4px 8px 0;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 3px #B5905D55;
}

/* ================================================================
   BRAND COLORS & FONTS
===================================================================*/
:root {
  --color-primary: #25434C;
  --color-secondary: #B5905D;
  --color-accent: #F1EFEA;
  --color-heading: #25434C;
  --color-body: #25434C;
  --color-bg: #F1EFEA;
  --color-card-bg: #fff;
  --color-shadow: rgba(37,67,76,0.08);
  --color-contrast-text: #222;
  --color-testimonial-bg: #fff;
  --color-testimonial-text: #222;
  --color-link: #25434C;
  --color-link-hover: #B5905D;
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/* ================================================================
   HEADER & NAVIGATION
===================================================================*/
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 24px 18px 18px;
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-link);
  font-size: 1rem;
  letter-spacing: .2px;
  padding: 8px 0;
  transition: color 0.13s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-secondary);
}
.main-nav .cta-primary {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 8px;
  margin-left: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  padding: 0.6em 1.6em;
  letter-spacing: 1px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  transition: background 0.15s, box-shadow 0.15s, transform 0.11s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #937340;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 3px 14px #b5905d40;
}

/* Hamburger for mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin-left: auto;
  z-index: 1102;
  cursor: pointer;
  padding: 10px 16px 10px 0;
  line-height: 1;
  transition: color 0.2s, transform 0.15s;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
}

/* Mobile Menu Overlay/Drawer */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1100;
  background: #25434Cee;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.72,.05,.37,1) 0s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: 6px 0 36px #25434c30;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 24px 30px 10px 20px;
  margin-bottom: 0;
  align-self: flex-end;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 16px 30px 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.12s;
  margin-right: 0;
  padding: 10px 0;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

/* MOBILE: Hide Desktop Nav, show hamburger */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================================================================
   CONTENT CONTAINER & SECTIONS
===================================================================*/
main {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding-top: 0;
  min-height: 58vh;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 28px;
}

/* CARD CONTAINER FLEX PATTERN */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 18px var(--color-shadow);
  position: relative;
  padding: 32px 26px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 7px 32px #b5905d20;
  transform: translateY(-5px) scale(1.025);
  z-index: 2;
}

/* GRID FLEX PATTERN */
.content-grid, .feature-grid, .feature-tiles, .feature-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid, .feature-tiles, .feature-cards {
  margin-top: 24px;
}

/* Feature Blocks (cards in a grid) */
.feature-block {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 25px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.15s, border 0.13s;
  border: 2px solid transparent;
}
.feature-block img {
  height: 58px;
  margin-bottom: 8px;
}
.feature-block h3 {
  color: var(--color-secondary);
  margin-top: 8px;
  margin-bottom: 8px;
}
.feature-block p {
  color: #455e67;
}
.feature-block:hover, .feature-block:focus-within {
  box-shadow: 0 8px 32px #b5905d15;
  border-color: var(--color-secondary);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}

/* Service List */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 22px 28px 22px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 370px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.service-item h3 {
  color: var(--color-primary);
}
.service-item a {
  color: var(--color-secondary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 10px;
  text-decoration: underline;
  font-size: 1.05rem;
  transition: color 0.13s, text-decoration 0.13s;
}
.service-item a:hover {
  text-decoration: underline wavy 2px;
  color: var(--color-primary);
}
.service-item:hover {
  box-shadow: 0 5px 24px #25434c24;
  transform: translateY(-4px) scale(1.017);
}

/* TEXT-IMAGE FLEX PATTERN */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media(max-width:768px){
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* Feature List & FAQ */
.feature-list ul, .content-wrapper ul, .content-wrapper ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
  color: #25434C;
}
.feature-list li, .content-wrapper li {
  margin-bottom: 9px;
  font-size: 1.05rem;
}
dt {
  font-weight: 700;
  margin-top: 15px;
  color: var(--color-secondary);
}
dd {
  margin-bottom: 11px;
  margin-left: 12px;
}

/* Testimonial Card FLEX */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 24px 24px;
  background: var(--color-testimonial-bg);
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  min-width: 250px;
  max-width: 420px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  color: var(--color-testimonial-text);
  font-size: 1.08rem;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.13s, transform 0.13s;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font weight: 500;
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 8px;
}
.testimonial-card div {
  font-size: 0.98rem;
  color: #5A6A71;
  margin-bottom: 5px;
}
.testimonial-card img {
  height: 22px;
  margin-top: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #b5905d23;
  transform: translateY(-2px) scale(1.022);
}

/* Contact Info Section Flex */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px 6px 16px 0;
  font-size: 1.08rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-info img {
  height: 21px;
  width: 21px;
  margin-right: 7px;
}

/* Cookie settings link in footer */
.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 32px 0 5px 0;
  font-size: 0.97rem;
  color: #8e7e61;
}
.footer-menu a {
  color: #8e7e61;
  font-weight: 600;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer small {
  display: block;
  text-align: center;
  color: #ACA59A;
  padding-bottom: 18px;
  font-size: 0.92rem;
  margin-top: 0;
}

/* ================================================================
   BUTTONS & CTA
===================================================================*/
.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  font-size: 1.12rem;
  padding: 0.7em 2em;
  box-shadow: 0 2px 8px #b5905d16;
  transition: background 0.13s, box-shadow 0.15s, color 0.13s, transform 0.12s;
  margin-top: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #604823;
  color: #F1EFEA;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 3px 18px #b5905d3d;
}
.cta-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-weight: 700;
}
.cta-secondary:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* List of utility flex patterns */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================================================================
   COOKIES CONSENT BANNER & MODAL
===================================================================*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #25434C;
  box-shadow: 0 -2px 24px #25434c30;
  z-index: 1450;
  padding: 20px 18px 22px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.27s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-text {
  max-width: 670px;
  font-size: 1.05rem;
  margin-right: 12px;
  flex: 1 1 240px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 0.65em 1.5em;
  margin: 0 5px 0 0;
  cursor: pointer;
  transition: background 0.14s, transform 0.12s;
  box-shadow: 0 2px 8px #b5905d1a;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #604823;
  color: #fff;
  transform: translateY(-1.5px) scale(1.02);
}
.cookie-btn-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 67, 76, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s, visibility 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal-content {
  background: #fff;
  color: #25434C;
  border-radius: 23px;
  box-shadow: 0 8px 48px #25434c42;
  padding: 45px 34px 32px 34px;
  max-width: 94vw;
  width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-size: 1.27rem;
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 19px;
}
.cookie-modal label {
  font-weight: 600;
  font-size: 1.04rem;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-modal .switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 13px;
  transition: background-color 0.18s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: var(--color-secondary);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .switch input:disabled + .slider {
  background: #ccc;
  opacity: 0.68;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 13px; right: 16px;
  color: var(--color-primary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
@media(max-width:480px){
  .cookie-modal-content {
    width: 97vw;
    max-width: 380px;
    padding: 28px 8% 22px 8%;
  }
}

/* Hide Cookie Banner/Modal on print*/
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
===================================================================*/
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .feature-grid,.feature-tiles,.feature-cards,
  .service-list,.testimonials {
    gap: 16px;
  }
}
@media (max-width: 990px) {
  .container { max-width: 100vw; }
  .feature-block, .service-item, .testimonial-card {
    max-width: 100%;
    min-width:180px;
    flex: 1 1 240px;
  }
}
@media (max-width: 768px) {
  .section, section { padding: 24px 0; }
  .container { padding: 0 7px; }
  .card-container, .feature-grid, .feature-tiles, .feature-cards, .service-list, .testimonials {
    flex-direction: column;
    gap: 12px;
  }
  .feature-block, .service-item, .testimonial-card {
    min-width: unset;
    max-width: 100vw;
    padding: 22px 10px;
  }
  .content-wrapper { margin-bottom: 18px; }
}
@media (max-width:480px) {
  .testimonials, .service-list, .feature-cards, .feature-grid, .feature-tiles {
    gap: 7px;
  }
  .section, section {
    margin-bottom: 34px;
    padding: 16px 0px;
  }
}

/* ================================================================
   TYPOGRAPHY (Bold, Modern, Hierarchy)
===================================================================*/
.display-font, h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Headings with geometric background shape for style */
h2 {
  position: relative;
  display: inline-block;
  padding-left: 0.45em;
  margin-bottom: 23px;
  margin-top:19px;
}
h2:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 47%;
  width: 26px;
  height: 16px;
  background: var(--color-secondary);
  border-radius: 7px 24px 8px 13px;
  opacity: 0.18;
  transform: translateY(-60%);
  z-index: 0;
}
h2, .display-font {
  font-weight: 800;
}

h3 {
  font-weight: 700;
}

/* Bold list icons for modernity */
ul li:before {
  content: '\2022';
  color: var(--color-secondary);
  display: inline-block;
  font-weight: 900;
  line-height: 0;
  font-size: 1.36em;
  margin-right: 9px;
  vertical-align: middle;
}
ul li {
  list-style: none;
  font-size: 1.04rem;
  margin-bottom: 7px;
  font-weight: 500;
}

/* ================================================================
   MISC: HR, BLOCKQUOTE, ANIMATION
===================================================================*/
hr {
  border: none;
  border-top: 2px solid var(--color-secondary);
  border-radius: 1.5px;
  margin: 30px 0;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  margin: 16px 0;
  padding: 8px 15px;
  background: #fff8ee;
}
/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn .8s ease-out forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: none; }
}

/* ================================================================
   MICRO-INTERACTIONS / HOVER EFFECTS
===================================================================*/
.card, .feature-block, .service-item, .testimonial-card, .cta-primary, .cookie-btn {
  transition: box-shadow 0.16s, transform 0.13s, color 0.14s, background 0.14s;
}
.card:hover, .feature-block:hover, .service-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px #b5905d25;
  transform: translateY(-2px) scale(1.028);
}

/* ================================================================
   ACCESSIBILITY FIXES
===================================================================*/
a:focus, .cta-primary:focus, button:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 1px;
}

/* ====== VISUAL HIERARCHY, SPACING, HIGH CONTRAST ============ */
.section, section {
  background: none;
}
.card, .feature-block, .service-item, .testimonial-card {
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 20px;
}

/* Ensure spacing between all cards/sections */
.card, .feature-block, .service-item, .testimonial-card {
  margin-bottom: 20px;
}
.section, section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure no overlap */
.card, .feature-block, .service-item, .testimonial-card {
  z-index: 1;
}

/* ===============================================================
   END OF CSS FILE
================================================================= */
