/* =======================================================
   RESET & BASE STYLES (Normalize & Reset)
   ======================================================= */
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%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #1A2634;
  background: #F3F8FA;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.03em;
  min-height: 100vh;
  position: relative;
  word-break: break-word;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #1A2634;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus { outline: 2px solid #4CB852; outline-offset: 2px; }
a:hover { color: #4CB852; }
ul, ol {
  list-style: none;
}

/* =======================================================
   BRANDING & COLOR PALETTE (Elegant Classic)
   ======================================================= */
:root {
  --primary: #1A2634;
  --secondary: #4CB852;
  --accent: #F3F8FA;
  --text: #23262B;
  --muted: #7A8A99;
  --border: #E1E5EA;
  --white: #fff;
  --shadow: 0 4px 16px 0 rgba(26,38,52,0.08);
  --radius: 12px;
  --transition: 0.22s cubic-bezier(.5,.25,0,1);
}

/* -------------------------------------------------------
   CONTAINERS & LAYOUT
-------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
}

/* Global flexbox helpers */
.card-container,
.service-list,
.event-calendar,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .card-container,
  .service-list,
  .event-calendar,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:last-child { margin-bottom: 0; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
}
.testimonial-card {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 310px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(26,38,52,0.14);
  transform: translateY(-6px) scale(1.018);
}
.testimonial-card p {
  font-size: 1.125rem;
  color: var(--text);
  font-family: 'Georgia', serif;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card .user-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-card .user-city {
  color: var(--muted);
  font-size: 0.95rem;
}

.features-list,
.faq-list,
.step-list,
.team-list,
.resource-list,
.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  margin: 0 0 8px 0;
}
.features-list li,
.faq-list li,
.step-list li,
.team-list li,
.resource-list li,
.checklist li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.05rem;
  background: none;
  border: none;
  padding: 0;
}
.features-list img,
.step-list img,
.team-list img,
.resource-list img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.service-list {
  gap: 1px;
}
.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 244px;
  min-width: 220px;
  max-width: 320px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(26,38,52,0.16);
  transform: translateY(-4px) scale(1.012);
}
.service-item h3 {
  font-family: 'Georgia', serif;
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}
.service-item p {
  color: var(--muted);
  font-size: 1.05rem;
}
.service-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  display: block;
}
@media (max-width: 768px) {
  .service-list {
    gap: 16px;
    flex-direction: column;
  }
  .service-item {
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 28px 16px;
  }
}

.event-calendar {
  gap: 20px;
}
.event-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}
.event-item h3 {
  font-family: 'Georgia', serif;
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 600;
}
.event-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-info, .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info {
  flex: 1 1 50%;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  padding: 2px 0;
  transition: color .18s;
}
.footer-nav a:hover {
  color: var(--secondary);
}

/* -------------------------------------------------------
   TYPOGRAPHY (Elegant, Serif-First, Classic Hierarchy)
-------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", serif;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.16;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  margin-top: 6px;
}
h3 {
  font-size: 1.3rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, li, ul, ol {
  font-family: 'Georgia', serif;
  font-size: 1.07rem;
  color: var(--text);
  font-weight: 400;
}
strong {
  font-weight: 600;
  color: var(--primary);
}
.tagline {
  color: var(--secondary);
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 25px;
  font-family: 'Georgia', serif;
}
@media (max-width: 768px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.18rem;}
  h3 {font-size: 1.08rem;}
  .tagline { font-size: 1rem; }
}

/* -------------------------------------------------------
   BUTTONS & LINKS
-------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Georgia", serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  background: var(--secondary);
  color: var(--white) !important;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(76,184,82,0.10);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 10px;
  margin-bottom: 8px;
  text-decoration: none;
}
.btn-primary:focus {
  box-shadow: 0 0 0 3px #c5efc8;
  outline: none;
}
.btn-primary:hover, .btn-primary:active {
  background: #388d43;
  color: var(--white);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 5px 18px 0 rgba(76,184,82,0.14);
}
@media (max-width: 480px) {
  .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* -------------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 14px 0 rgba(26,38,52,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 22;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: var(--primary);
  font-family: "Georgia", serif;
  font-size: 1.09rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.90;
  border-radius: 6px;
  padding: 7px 11px;
  transition: background .2s, color .16s;
}
header nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}
header img {
  height: 39px;
  width: auto;
}
@media (max-width: 991px) {
  header .container {
    flex-wrap: wrap;
    height: auto;
    gap: 16px;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    height: 64px;
    min-height: 44px;
  }
  header nav { display: none; }
  header img { height: 30px; }
  .btn-primary { font-size: 0.98rem; padding: 9px 16px; }
}

/* -------------------------------------------------------
   MOBILE MENU (Hamburger, Overlay, Animation)
-------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 125;
  background: var(--secondary);
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1;
  padding: 6px 15px 7px 15px;
  border-radius: 42px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  box-shadow: 0 2px 8px 0 rgba(76,184,82,0.15);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #388d43;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,38,52,0.92);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin: 26px 28px 28px 0;
  font-size: 2rem;
  background: none;
  color: #F3F8FA;
  border: 2px solid #F3F8FA;
  border-radius: 50%;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .16s, border .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #728a77;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.mobile-nav a {
  width: 90%;
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 13px 0;
  text-align: center;
  background: none;
  transition: background .18s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(76,184,82, 0.16);
  color: var(--secondary);
  outline: none;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* -------------------------------------------------------
   TABLES (Elegant Classic)
-------------------------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  margin-bottom: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: 'Georgia', serif;
  font-size: 1.02rem;
  overflow: hidden;
}
.comparison-table thead tr {
  background: #e8f2ea;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.comparison-table th {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.95rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 9px 6px;
  }
}

/* -------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px;
}
footer img {
  height: 32px;
  margin-bottom: 8px;
}
footer .footer-info {
  align-items: flex-start;
  gap: 7px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 16px 6px;
  }
  footer .footer-info {
    gap: 6px;
    padding-bottom: 8px;
  }
}

/* -------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: var(--accent);
  border-top: 1.5px solid var(--border);
  z-index: 800;
  padding: 24px 18px;
  box-shadow: 0 -2px 12px 0 rgba(26,38,52,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  animation: banner-in .5s;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0.0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  margin-bottom: 0;
  flex-basis: 300px;
  flex-shrink: 1;
}
.cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-btn,
.cookie-btn-accept,
.cookie-btn-reject {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .15s, box-shadow .18s;
  box-shadow: 0 2px 10px 0 rgba(76,184,82,0.05);
}
.cookie-btn-reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn-settings {
  background: var(--muted);
  color: var(--white);
}
.cookie-btn:hover,
.cookie-btn-accept:hover {
  background: #388d43;
}
.cookie-btn-reject:hover {
  background: #e7e7e7;
  color: #256012;
}
.cookie-btn-settings:hover {
  background: #badbd2;
  color: var(--primary);
}
@media (max-width:600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 1rem;
    padding: 18px 6px;
  }
  .cookie-btns {
    width: 100%;
    gap: 7px;
    flex-wrap: wrap;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,38,52,0.72);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  animation: modal-in .26s;
}
@keyframes modal-in {
  from { opacity: 0.0; transform: scale(0.97); }
  to   { opacity: 1.0; transform: scale(1); }
}
.cookie-modal.hide { display: none; opacity: 0; visibility: hidden; }
.cookie-modal-dialog {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px 28px 30px;
  max-width: 420px;
  width: 92%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-dialog-in .25s;
}
@keyframes modal-dialog-in {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0)    ; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  font-size: 1.28rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover {
  background: #f1f1f1;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f3f3f3;
}
.cookie-category-row:last-child {
  border-bottom: none;
}
.cookie-category-name {
  flex: 1 1 80%;
  font-family: 'Georgia', serif;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #E1E5EA;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle.enabled {
  background: var(--secondary);
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px 0 #c9c9c9;
  transition: left .16s, background .16s;
}
.cookie-toggle.enabled .cookie-toggle-slider {
  left: 21px;
  background: #def8e3;
}
.cookie-category-desc {
  flex: 1 1 100%;
  color: var(--muted);
  font-size: 0.97rem;
}

/* -------------------------------------------------------
   MISC FORMS & HELPERS
-------------------------------------------------------- */
input, button, textarea, select {
  font: inherit;
  outline: none;
}

/* Utility classes */
.mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; } .mt-4 { margin-top: 32px !important; }
.mb-1 { margin-bottom: 8px !important; } .mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; } .mb-4 { margin-bottom: 32px !important; }
.pl-1 { padding-left: 8px !important; } .pl-2 { padding-left: 16px !important; }
.mb0 { margin-bottom: 0 !important; }
.gap24 { gap: 24px !important; }

/* Card Layout helper */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Text section block for Contact and Thank you */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.map {
  margin-top: 14px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  color: var(--primary);
  font-family: 'Georgia', serif;
  box-shadow: 0 2px 10px 0 rgba(26,38,52,0.06);
}
@media (max-width: 768px) {
  .map {padding: 10px 7px; font-size: 0.98rem;}
}

/* Miscellaneous (Checklist, FAQ) */
.checklist li::before {
  content: '\2713';
  color: var(--secondary);
  margin-right: 10px;
  font-weight: 700;
}

/* Hide scroll on main when modal/mobile menu open */
body.menu-open,
body.cookie-modal-open {
  overflow: hidden !important;
}

/* Accessibility hiding for visually-hidden elements */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
