/* ===================== 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 {
  font-size: 16px;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FCFAF7;
  color: #222;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* =================== BRAND COLORS =================== */
:root {
  --primary: #205B4E;
  --secondary: #7FD1B2;
  --accent: #FCFAF7;
  --gold: #C9A14D;
  --heading: #181818;
  --body: #222;
  --white: #fff;
  --grey-bg: #F6F3ED;
  --border: #E4DED3;
  --shadow: rgba(32,91,78,0.08);
  --shadow-strong: rgba(32,91,78,0.15);
}

/* =================== TYPOGRAPHY =================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.18;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li, span, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--body);
}
strong, b {
  font-weight: 600;
}

/* =================== LAYOUT =================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
main {
  margin-top: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section-cta {
  background: var(--primary);
  color: var(--white);
  padding: 45px 0 55px 0;
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 6px 32px var(--shadow-strong);
  position: relative;
}
.section-cta h2, .section-cta .cta-button {
  color: var(--white);
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header a img {
  height: 42px;
  width: auto;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(87deg,var(--gold) 84%,#e9c47c);
  color: var(--primary);
  border-radius: 26px;
  padding: 0.81em 2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  border: none;
  box-shadow: 0 4px 20px var(--shadow);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-shadow: 0 1px 0 var(--white);
  transition: box-shadow 0.18s, background 0.22s, color 0.18s;
  margin-left: 24px;
  min-width: 160px;
  justify-content: center;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(87deg,#e9c47c 84%,var(--gold));
  color: var(--primary);
  box-shadow: 0 8px 32px var(--shadow-strong);
}

/* =================== MOBILE MENU =================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-left: 20px;
  z-index: 104;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 350px;
  height: 100vh;
  background: var(--accent);
  box-shadow: -12px 0 32px var(--shadow-strong);
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(.6,.05,.55,.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px 28px;
  gap: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  border: 2px solid var(--gold);
  font-size: 1.55rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gold);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
  padding: 12px 0 12px 6px;
  border-radius: 10px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ================= HERO ================= */
.hero {
  min-height: 315px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 0 28px 28px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 50px var(--shadow-strong);
  margin-bottom: 60px;
  padding: 55px 0 45px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero p {
  color: var(--white);
}
.hero .content-wrapper {
  gap: 18px;
}
.hero .cta-button {
  margin-top: 14px;
  box-shadow: 0 6px 32px var(--shadow);
}

/* ================= FEATURES / SERVICE CARDS ================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 265px;
  gap: 15px;
  background: var(--grey-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px var(--shadow);
  padding: 32px 22px 22px 22px;
  transition: box-shadow 0.18s, transform 0.13s, border 0.18s;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.feature-grid li:hover {
  box-shadow: 0 10px 34px var(--shadow-strong);
  transform: translateY(-5px) scale(1.025);
  border-color: var(--gold);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.feature-grid h3 {
  color: var(--primary);
  font-size: 1.23rem;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.feature-grid p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.5;
}

/* ================= TEXT SECTIONS ================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 6px;
}
.text-section ul li {
  padding-left: 26px;
  position: relative;
  color: var(--primary);
  font-size: 1rem;
}
.text-section ul li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
}
.text-section p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

.text-section.legal ul li {
  padding-left: 0;
  color: var(--body);
}
.text-section.legal ul {
  gap: 9px;
}

/* ================= CARDS, FLEX LAYOUTS ================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 26px 22px;
  border: 1px solid var(--border);
  transition: box-shadow 0.14s, border 0.18s;
}
.card:hover {
  box-shadow: 0 8px 25px var(--shadow-strong);
  border-color: var(--gold);
}
/* grid-alike with flex only */
.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;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 6px solid var(--gold);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px var(--shadow-strong);
  font-size: 1.1rem;
  line-height: 1.5;
}
.testimonial-card p {
  color: #181818;
  font-size: 1.08rem;
  margin-bottom: 0 !important;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FOOTER ========= */
footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 64px;
  padding: 34px 0 20px 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -6px 40px var(--shadow-strong);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--gold);
}
.footer-branding img {
  width: 36px;
  height: 36px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f8f5ed;
  box-shadow: 0 -4px 24px var(--shadow-strong);
  border-top: 2px solid var(--gold);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px 22px 14px;
  gap: 34px;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 auto;
  color: var(--primary);
  font-size: 1.02rem;
  margin-right: 12px;
  line-height: 1.58;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  border: none;
  border-radius: 22px;
  padding: 0.72em 1.55em;
  box-shadow: 0 2px 12px var(--shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
}
.cookie-banner .cookie-accept {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--primary);
  color: var(--gold);
}
.cookie-banner .cookie-reject {
  background: var(--border);
  color: var(--primary);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
  box-shadow: none;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--gold);
  color: var(--primary);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 400px;
  background: var(--white);
  box-shadow: 0 8px 48px var(--shadow-strong);
  border-radius: 30px;
  z-index: 100004;
  transform: translate(-50%, 110%);
  transition: transform 0.33s cubic-bezier(.56,.12,.65,1.06);
  opacity: 0;
  pointer-events: none;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.active {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal label {
  flex: 1 1 auto;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--gold);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  font-size: 1rem;
  padding: 0.65em 1.38em;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ======= MISC FORM STYLES & ACCESSIBILITY ====== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 8px 12px;
  box-shadow: 0 2px 9px var(--shadow);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--gold);
  outline: none;
  box-shadow: 0 4px 11px var(--shadow-strong);
}

/* =========== ANIMATIONS =========== */
@keyframes floating {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.cta-button:hover {
  animation: floating 0.95s ease-in-out;
}

/* =========================== RESPONSIVE DESIGN =========================== */
@media (max-width: 1050px) {
  .feature-grid li {
    max-width: 340px;
    min-width: 180px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    min-height: 190px;
    padding: 38px 0 32px 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .section-cta {
    padding: 32px 0 40px 0;
    margin-bottom: 36px;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid li {
    min-width: 130px;
    max-width: 100%;
    padding: 19px 12px 15px 16px;
    border-radius: 12px;
  }
  .card-container {
    gap: 14px;
  }
  .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    font-size: 0.99rem;
    padding: 0.65em 1.3em;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 550px) {
  .container {
    padding: 0 7px;
  }
  .footer-nav, .footer-branding {
    flex-direction: column;
    gap: 8px !important;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 18px 7px 15px 7px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    max-width: 99vw;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    margin-bottom: 32px;
    padding: 18px 0 12px 0;
  }
}

/* ========== UTILITIES & OVERRIDES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.rounded-14 { border-radius: 14px; }

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

/* ========== FOCUS STYLES ========== */
a:focus, .cta-button:focus, button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 2;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main, section, .container {
    padding: 0;
    margin: 0;
  }
}
