/* 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;
  vertical-align: baseline;
  background: transparent;
  font-size: 100%;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F3EF;
  color: #2C4673;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:root {
  --primary: #2C4673;
  --secondary: #FFFFFF;
  --bg-section: #F6F3EF;
  --accent: #C2662C;
  --accent-soft: #E39B72;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Lato', Arial, sans-serif;
  --radius: 20px;
  --shadow-strong: 0 8px 32px rgba(44,70,115,0.12);
  --shadow-soft: 0 4px 14px rgba(44,70,115,0.06);
  --transition: all 0.22s cubic-bezier(.57,2,.57,.55);
}
body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  background: var(--bg-section);
  color: var(--primary);
}
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 32px;
    padding: 24px 6px;
    border-radius: 10px;
  }
  .container {
    padding: 0 8px;
  }
}

/* TYPOGRAPHY - BOLD MODERN */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--primary);
  line-height: 1.12;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1.12rem;
  font-family: var(--body-font);
}
strong {
  font-weight: 700;
  color: var(--accent);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.12rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 15px 38px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 2px 10px rgba(226,155,114,.09);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0,0,0,0.04);
  margin-top: 14px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(44,70,115,0.19);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 11px 30px;
  border-radius: 40px;
  transition: var(--transition);
  font-weight: 700;
  border: none;
  margin-top: 6px;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
/* BUTTON GENERAL ACCESSIBILITY */
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* FLEXBOX PATTERNS AND LAYOUT */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
  }
}
.feature-grid, .features > .container > .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > div,
.features > .container > .content-wrapper > ul > li {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px 18px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-left: 8px solid var(--accent);
}
/* General pattern for sections with images + text */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  margin-bottom: 20px;
  position: relative;
  padding: 34px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .feature-grid, .features > .container > .content-wrapper > ul,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* TESTIMONIALS */
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(44,70,115,0.05);
  border-radius: var(--radius);
  margin-bottom: 24px;
  border-left: 8px solid var(--primary);
  min-width: 220px;
}
.testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #1a2a45;
  font-weight: 600;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.testimonial-info span:last-child {
  color: var(--accent);
  font-weight: bold;
  font-family: var(--heading-font);
  font-size: 1.1rem;
}

/* Cta section */
.cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  margin-bottom: 60px;
}
.cta h2, .cta p {
  color: #fff;
  margin-bottom: 16px;
}
.cta a.btn-primary {
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(44,70,115,0.09);
}
.cta a.btn-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero section */
.hero {
  background: linear-gradient(90deg, #F6F3EF 60%, #E39B72 200%);
  margin-bottom: 48px;
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.hero h1 {
  color: var(--primary);
}
.hero p {
  color: #484848;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero .btn-primary {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 1px;
    padding: 20px 0;
    margin-bottom: 28px;
    border-radius: 10px;
  }
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 3px 17px rgba(44,70,115,0.09);
  position: sticky;
  z-index: 12;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header a img {
  display: block;
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--primary);
  padding: 4px 0;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.main-nav a.active {
  color: var(--accent);
}
header .btn-primary {
  margin-left: 32px;
  min-width: 155px;
  font-size: 1rem;
}
/* MOBILE MENU BUTTON (BURGER) */
.mobile-menu-toggle {
  font-size: 2.1rem;
  background: none;
  color: var(--accent);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background 0.17s;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe2d1;
  color: var(--primary);
}
@media (max-width: 1024px) {
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 2900;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 12px 60px 0 rgba(44,70,115,0.22);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.57,2,.57,.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--accent);
  position: absolute;
  top: 26px;
  right: 18px;
  z-index: 3000;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 50px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.19rem;
  padding: 8px 0;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent-soft);
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 19px rgba(44,70,115,0.11);
  margin-top: 44px;
  padding: 32px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.04rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1rem;
  color: #444;
}
.footer-contact img {
  width: 19px; height: 19px; vertical-align: middle; margin-right: 7px;
}
.footer-copy {
  margin-top: 8px;
  color: #9ca3af;
  letter-spacing: 0.01em;
  font-size: 0.97rem;
}
@media (max-width: 768px) {
  footer .container {
    gap: 13px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 9px;
  }
}

/* ABOUT and GENERAL SECTIONS */
.about > .container > .content-wrapper {
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
.about ul, .about ol {
  margin-top: 10px;
  margin-bottom: 12px;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about li {
  font-size: 1.1rem;
  color: #355986;
  position: relative;
  padding-left: 12px;
}
.about li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* CONTACT */
.contact-info-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 16px 0 30px 0;
}
.contact-info-panel > div {
  flex: 1 1 300px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 22px 20px;
}
.contact-info-panel h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.contact-info-panel ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info-panel li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.04rem;
  padding-left: 0;
}
.contact-info-panel li img {
  width: 20px; height: 20px;
}
.map-placeholder {
  background: #eee8e0;
  border: 2px dashed var(--accent);
  border-radius: 13px;
  color: #bb8d67;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.99rem;
  font-style: italic;
}
.contact-extra {
  margin-top: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  padding: 20px 18px 12px 18px;
}
.contact-extra ul {
  gap: 7px;
}
.contact-extra li {
  font-size: 1.04rem;
  color: #1a2a45;
}
@media (max-width: 900px) {
  .contact-info-panel {
    flex-direction: column;
    gap: 20px;
  }
}

/* PRICING & SERVICES */
.services ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services ul li {
  background: #fff;
  border-left: 7px solid var(--primary);
  border-radius: 12px;
  padding: 18px 18px 15px 24px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(44,70,115,0.08);
  margin-bottom: 8px;
}
.services ul li strong {
  color: var(--accent);
}
@media (max-width: 600px) {
  .services ul li {
    padding-left: 13px;
    font-size: 1rem;
  }
}

/* FAQ */
.features > .container > .content-wrapper > ul li {
  border-left: 7px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  font-size: 1.09rem;
  box-shadow: 0 2px 11px rgba(44,70,115,0.07);
  padding: 16px 16px 14px 22px;
  margin-bottom: 8px;
  color: #2C4673;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) scale(1);
  width: 96vw;
  max-width: 440px;
  background: #fff;
  color: #202a45;
  box-shadow: 0 10px 30px rgba(44,70,115,.20);
  border-radius: 24px;
  padding: 28px 32px 22px 32px;
  z-index: 4000;
  font-family: var(--body-font);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 1;
  pointer-events: all;
  transition: opacity .27s cubic-bezier(.55,1,.99,.61), transform .33s;
}
.cookie-consent.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.95);
}
.cookie-consent .cookie-consent-title {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.33rem;
  margin-bottom: 8px;
}
.cookie-consent .cookie-consent-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-consent .btn {
  font-family: var(--heading-font);
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(44,70,115,.06);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-consent .btn-accept { background: var(--accent); color: #fff; }
.cookie-consent .btn-accept:hover { background: var(--primary); color: #fff; }
.cookie-consent .btn-reject { background: #e5e5e5; color: var(--primary); }
.cookie-consent .btn-reject:hover { background: #efcccc; color: var(--accent); }
.cookie-consent .btn-settings { background: var(--primary); color: #fff; }
.cookie-consent .btn-settings:hover { background: var(--accent-soft); color: var(--primary); }

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 420px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(44,70,115,0.22);
  border-radius: 26px;
  transform: translate(-50%,-50%) scale(1);
  z-index: 4010;
  padding: 38px 30px 28px 30px;
  animation: modal-popin .35s cubic-bezier(.32,1,.48,1);
  pointer-events: all;
}
@keyframes modal-popin { from { opacity: 0;  transform: translate(-50%,-54%) scale(.92);} to { opacity: 1; transform: translate(-50%,-50%) scale(1);}}
.cookie-modal.hide {
  display: none;
  pointer-events: none;
}
.cookie-modal .modal-title {
  font-family: var(--heading-font);
  font-size: 1.18rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 18px;
}
.cookie-modal .modal-category {
  font-family: var(--body-font);
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 14px;
  padding: 13px 16px;
  margin-bottom: 10px;
  background: #f7f4ef;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal .modal-category input[type="checkbox"],
.cookie-modal .modal-category input[type="radio"] {
  width: 21px;
  height: 21px;
  accent-color: var(--accent);
  margin-left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-cancel {
  background: #e5e5e5;
  color: var(--primary);
}
.cookie-modal .btn-save {
  background: var(--accent);
  color: #fff;
}
.cookie-modal .btn-cancel:hover { background: #fbebeb; color: var(--accent); }
.cookie-modal .btn-save:hover { background: var(--primary); color: #fff; }

/* General microinteractions and transitions */
*:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input, textarea {
  background: #f7f7f7;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--accent);
}

/* Utility for accent colored inline icons */
.icon-accent {
  color: var(--accent);
}
.icon-primary {
  color: var(--primary);
}

/* Misc: Map Placeholder, Accessibility, etc. */
[aria-hidden="true"], .hide, .hidden { display: none !important; }

/* Ensure NO element overlaps: enforce min spacing */
.section, section, .card, .card-container > *, .feature-grid > *, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* Rows/gap for any flex parent by pattern */
.card-container, .content-grid, .feature-grid, .footer-contact, .footer-nav, .main-nav, .mobile-nav, .contact-info-panel {
  gap: 20px;
}

/* Responsive adjustments for mobile spacing */
@media (max-width: 768px) {
  .footer-contact, .footer-nav,
  .main-nav, .card-container, .content-grid, .feature-grid, .about ul, .services ul {
    gap: 10px;
  }
  .testimonial-card, .card, .feature-grid > div, .features > .container > .content-wrapper > ul > li {
    margin-bottom: 12px;
    padding: 18px 10px 18px 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}
