/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #233143;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
:root {
  --primary: #233143;
  --secondary: #B39C6E;
  --accent: #F4F6F8;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --border-radius: 12px;
  --shadow: 0 2px 16px rgba(35, 49, 67, 0.06);
  --shadow-card: 0 1px 8px rgba(35,49,67,0.10);
  --shadow-hover: 0 4px 20px rgba(35,49,67,0.12);
  --transition: all 0.2s cubic-bezier(.4,.14,.34,1);
  --container-max: 1120px;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--primary);
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--primary);
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--primary);
}
h1, h2, h3, h4 {
  letter-spacing: 0.01em;
}
p, ul, ol, address {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--primary);
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--secondary);
  outline: none;
  text-decoration: underline;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HERO */
.hero {
  background: var(--accent);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  min-height: 250px;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
}
.hero p {
  font-size: 1.25rem;
  max-width: 480px;
  margin-bottom: 20px;
  color: var(--primary);
}

/* FEATURES */
.features .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.features .content-wrapper > ul > li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 18px 24px 18px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  transition: box-shadow 0.17s;
}
.features .content-wrapper > ul > li:hover {
  box-shadow: var(--shadow-hover);
}
.features .content-wrapper > ul > li img {
  width: 36px;
  margin-bottom: 10px;
  filter: grayscale(0.15) brightness(0.90);
}
.features .content-wrapper > ul > li strong {
  margin-bottom: 6px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.features .content-wrapper > ul > li p {
  margin-bottom: 0;
  color: #333;
  font-size: 1rem;
}

.features.faqs ul > li {
  align-items: flex-start;
  flex-direction: row;
  gap: 18px;
}
.features.faqs ul > li img {
  margin-top: 6px;
}

.features .content-wrapper > .pricing-table {
  width: 100%;
  margin-bottom: 32px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 14px 18px;
}
.pricing-table th {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
}
.pricing-table tr:not(:last-child) td {
  border-bottom: 1px solid #ececec;
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  font-size: 1.07rem;
  color: var(--primary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-card p {
  margin-bottom: 0;
  flex: 1 1 auto;
  color: #1F2530;
}
.testimonial-card span {
  white-space: nowrap;
  color: var(--primary);
  font-size: 0.96rem;
  font-weight: 400;
  opacity: 0.93;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}

/* SERVICE LISTS */
.services .content-wrapper > ul,
.services ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style-type: disc;
  margin-bottom: 12px;
}
.services .content-wrapper > ul > li {
  font-size: 1.08rem;
  color: #222;
}
.services .content-wrapper > .cta-btn {
  margin-top: 16px;
}

/* ABOUT PAGE TIMELINE */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-type: disc;
  margin-left: 16px;
  margin-bottom: 24px;
  color: #233143;
}
.history-timeline strong {
  color: var(--secondary);
  font-size: 1.05em;
}

/* CARD & FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CONTACT-DETAILS PAGE */
.contact-details .content-wrapper {
  gap: 13px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.contact-item a {
  color: var(--secondary);
}
.contact-item a:hover {
  color: var(--primary);
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  background: var(--primary);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  padding: 13px 32px;
  margin-top: 7px;
  margin-bottom: 7px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition), box-shadow 0.18s;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow-hover);
  outline: none;
}

/* HEADER STYLES */
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  min-height: 78px;
}
header a img {
  width: 154px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-size: 1.02rem;
  color: var(--primary);
  padding: 6px 1px;
  font-family: var(--font-body);
  opacity: 0.92;
  border-radius: 5px;
  transition: background 0.16s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--secondary);
  background: var(--accent);
}
header .cta-btn {
  margin-left: 32px;
  margin-right: 0;
  padding: 8px 22px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 22px;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
  outline: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,49,67,0.93);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,.14,.34,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.1s;
}
.mobile-menu-close:focus {
  color: var(--secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: 10px 0;
  opacity: 0.95;
  border-radius: 6px;
  transition: color 0.18s, background 0.13s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  background: rgba(244,246,248,0.10);
}

/* --- FOOTER --- */
footer {
  background: #fff;
  padding: 38px 0 30px 0;
  box-shadow: 0 -2px 12px rgba(35,49,67,0.04);
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 6px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.97rem;
  color: var(--primary);
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.87;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  outline: none;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.99rem;
  color: #222;
  opacity: 0.93;
}
.footer-contact address {
  font-style: normal;
  color: #233143;
  margin-right: 8px;
}
.footer-contact img {
  width: 18px;
  margin-right: 6px;
  vertical-align: sub;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  color: #9197af;
  opacity: 0.85;
  margin-top: 8px;
}
.footer-brand img {
  width: 32px;
}

/* UTILITY CLASSES */
.text-section {
  width: 100%;
  max-width: 700px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(35,49,67,0.11);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px 22px 18px;
  gap: 21px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  transition: transform 0.32s;
  border-radius: 14px 14px 0 0;
}
.cookie-consent-banner.closed {
  transform: translateY(100%);
}
.cookie-consent-banner .cc-btn {
  margin-left: 11px;
  margin-right: 0;
  padding: 9px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.13s;
  box-shadow: var(--shadow-card);
}
.cookie-consent-banner .cc-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-consent-banner .cc-btn.reject {
  background: #F7F7F7;
  color: var(--primary);
  border: 1px solid #E1E6EF;
}
.cookie-consent-banner .cc-btn.settings {
  background: var(--secondary);
  color: #fff;
  margin-left: 9px;
}
.cookie-consent-banner .cc-btn:focus, .cookie-consent-banner .cc-btn:hover {
  box-shadow: var(--shadow-hover);
  outline: none;
  opacity: .95;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 20000;
  left: 0; top:0;
  width: 100vw; height: 100vh;
  background: rgba(35,49,67,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  font-family: var(--font-body);
  border-radius: 16px;
  padding: 36px 32px 24px 32px;
  max-width: 390px;
  box-shadow: 0 8px 36px rgba(35,49,67,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 250px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-family: var(--font-display);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 8px;
  background: var(--accent);
  padding: 12px 10px;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-category .essential {
  pointer-events: none;
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: var(--font-display);
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 1rem;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-actions button.secondary {
  background: #F7F7F7;
  color: var(--primary);
  border: 1px solid #E1E6EF;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  box-shadow: var(--shadow-hover);
  outline: none;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:focus {
  color: var(--secondary);
  outline: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 980px;
  }
  .features .content-wrapper > ul {
    gap: 14px;
  }
  .card-container {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  .features .content-wrapper > ul{
    gap: 11px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 98vw;
  }
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features .content-wrapper > ul {
    flex-direction: column;
    gap: 16px;
  }
  .features .content-wrapper > ul > li {
    min-width: unset;
    width: 100%;
  }
  .section, .hero, .services, .about, .features, .testimonials {
    padding: 25px 8px;
    margin-bottom: 28px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    font-size: 0.98rem;
  }
}
@media (max-width: 500px) {
  h1, .hero h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  header .container a img {
    width: 100px;
  }
  .footer-contact,
  .footer-nav {
    font-size: 0.92rem;
  }
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .main-nav a, .mobile-nav a, .testimonial-card {
    transition: var(--transition);
  }
  .testimonial-card {
    transition: box-shadow 0.19s, transform 0.12s;
  }
  .testimonial-card:hover {
    transform: translateY(-3px) scale(1.015);
  }
}

/* FOCUS VISIBLE */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* OVERRIDES: HTML TABLES (pricing) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 1rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-display);
}
tr:not(:last-child) td {
  border-bottom: 1px solid #ececec;
}

/* FORMS (if any) */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #E0E7F3;
  background: #FAFBFC;
  color: var(--primary);
  margin-bottom: 12px;
  transition: border-color 0.13s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

/* DISABLED STATE */
[disabled] {
  pointer-events: none;
  opacity: 0.54;
}

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