/* ================ CSS RESET & BASE ================ */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #283030;
  background: #FAF9F7;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  border-radius: 10px;
}

/* ================ BRAND COLORS AS VARIABLES ================ */
:root {
  --primary: #2563A6;
  --secondary: #F1C232;
  --accent: #FFFFFF;
  --bg: #FAF9F7;
  --text-main: #283030;
  --text-dark: #1a1a1a;
  --text-light: #fff;
  --shadow: 0 2px 16px rgba(35, 44, 65, 0.09),0 1.5px 6px 0 rgba(241, 194, 50, 0.07);
  --shadow-soft: 0 4px 24px 0 rgba(37,99,166,0.09),0 1.5px 8px 0 rgba(241, 194, 50, 0.04);
}

/* ================ TYPOGRAPHY ================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--primary);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--primary);
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text-main);
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

/* ================ LAYOUT CONTAINERS ================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* ================ NAVIGATION ================ */
header {
  background: var(--accent);
  box-shadow: 0 2px 12px 0 rgba(37,99,166, 0.06);
  position: sticky;
  top: 0; z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 78px;
  gap: 20px;
}
.logo-link img {
  display: block;
  height: 52px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--text-dark);
}
.cta-primary {
  background: var(--primary);
  color: var(--text-light) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 26px;
  margin-left: 8px;
  box-shadow: var(--shadow);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--secondary);
  color: var(--text-dark) !important;
  box-shadow: var(--shadow-soft);
}


/* ================ MOBILE BURGER MENU ================ */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: var(--shadow);
  transition: background 0.18s, color 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: rgba(250,249,247, 0.97);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.84,.09,.38,1.01);
  display: flex;
  flex-direction: column;
  /* Only visible when open with .open class */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  margin: 18px 24px 12px 0;
  padding: 8px 13px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus {
  outline: none;
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: var(--primary);
  padding: 10px 0 10px 14px;
  border-radius: 12px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--text-dark);
}

/* ================ HERO SECTION ================ */
.hero {
  background: linear-gradient(120deg, #f7e6c5 0%, #faf9f7 55%, #e3eefd 100%);
  margin-bottom: 60px;
  padding-top: 48px;
  padding-bottom: 56px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 28px 0 rgba(241,194,50,0.06);
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 650px;
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--text-main);
  margin-bottom: 22px;
}

/* ================ CTA BUTTON ================ */
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  margin-top: 3px;
  display: inline-block;
  letter-spacing: 0.01em;
  transition: background 0.23s, color 0.17s, box-shadow 0.19s, transform 0.09s;
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 8px 32px 0 rgba(37,99,166,0.12);
  transform: translateY(-2px) scale(1.025);
}

/* ================ FEATURES & CARDS ================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
  margin-top: 8px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 330px;
  background: #fffcef;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(241,194,50,0.09);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  background: #fffbe8;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(241, 194, 50, 0.08);
}
.feature h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.21rem;
}
.feature p {
  font-size: 1rem;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffef8;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 18px 20px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 230px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
}

/* ================ TESTIMONIALS ================ */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 20px 0 rgba(37,99,166,0.09),0 1.5px 8px 0 rgba(241, 194, 50, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex: 1 1 300px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.testimonial-card p {
  font-size: 1.09rem;
  color: var(--primary);
  margin-bottom: 9px;
}
.testimonial-card span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-style: italic;
  color: #4C4C4C;
  min-width: 110px;
}
.statistics {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.statistics p {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0;
}

.star-ratings, .average-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.star-ratings img,
.average-rating img {
  width: 25px;
  height: 25px;
  margin: 0 1px;
}
.star-ratings span, .average-rating span {
  font-size: 1.08rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-left: 6px;
}

/* ================ CONTACT & FOOTER ================ */
.contact-info {
  background: #fafdff;
  border-radius: 17px;
  box-shadow: 0 2px 15px 0 rgba(241,194,50,0.08);
  padding: 22px 24px 24px 22px;
  margin-top: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.contact-info img {
  vertical-align: middle;
  width: 22px;
  margin-right: 7px;
}
.contact-info a.cta-button {
  margin-top: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}
.footer-nav a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--secondary);
  color: var(--text-dark);
}
.footer-contact p {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.65;
}
footer {
  background: #fff;
  border-top: 2px solid #f7e6c5;
}


/* ================ UTILITIES & REUSABLE CLASSES ================ */
.filter-info, .calendar-info, .services-list {
  background: #fffbe8;
  border-radius: 11px;
  padding: 13px 17px;
  box-shadow: 0 2px 11px 0 rgba(241,194,50,0.07);
  margin-top: 8px;
  margin-bottom: 10px;
}
.text-section {
  background: #fafdff;
  border-radius: 14px;
  padding: 20px 24px 18px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(241,194,50,0.07);
}

/* MANDATORY FLEX LAYOUTS (Template-enforced) */
.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; }

/* ================ COOKIE BANNER ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: #fffbe2;
  color: #474141;
  box-shadow: 0 -3px 32px 0 rgba(37,99,166,0.16);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px;
  gap: 30px;
  border-radius: 18px 18px 0 0;
  animation: slideUp 0.6s cubic-bezier(.84,.09,.38,1.01);
}
@keyframes slideUp {
  from { transform: translateY(140%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__content {
  max-width: 520px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-btn,
.cookie-accept,
.cookie-reject {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 26px;
  font-size: 1rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  margin-bottom: 4px;
  box-shadow: var(--shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cookie-accept {
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: var(--secondary);
  color: var(--text-dark);
  border-color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right:0; bottom: 0;
  background: rgba(37,99,166,0.18);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffef7;
  border-radius: 22px;
  box-shadow: 0 10px 50px 0 rgba(37,99,166,0.15);
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: slideModal 0.29s cubic-bezier(.84,.09,.38,1.01);
}
@keyframes slideModal {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-modal-close {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.58rem;
  padding: 2px 9px;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  color: var(--primary);
}
.cookie-switch {
  position: relative;
  width: 44px; height: 26px;
  margin-right: 3px;
  flex-shrink: 0;
}
.cookie-switch input {
  opacity: 0;
  width: 44px; height: 26px;
}
.cookie-slider {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 26px;
  background: #e3eefd;
  border-radius: 22px;
  transition: background 0.21s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--primary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.21s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-category label {
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.cookie-category .locked {
  color: #969696;
  font-size: 0.97rem;
  font-style: italic;
  margin-left: 6px;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}

/* ================ LISTS, UL/OL STYLES ================ */
ul, ol {
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-main);
}
li strong {
  color: var(--primary);
}

/* ================ ANIMATIONS & MICRO-INTERACTIONS ================ */
.card, .testimonial-card, .feature {
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .feature:hover {
  box-shadow: 0 8px 32px 0 rgba(241,194,50,0.13);
  transform: translateY(-3px) scale(1.018);
}

.cta-button, .cta-primary, .main-nav a, .footer-nav a {
  transition: background 0.19s, color 0.17s, box-shadow 0.19s, transform 0.09s;
}
.footer-nav a:focus,
.main-nav a:focus,
.cta-primary:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ================ RESPONSIVE DESIGN ================ */
@media (max-width: 1200px) {
  .container { max-width: 93vw; }
  .features-grid { gap: 20px; }
}
@media (max-width: 950px) {
  .main-nav { gap: 12px; }
  .features-grid { gap: 15px; }
  .testimonial-card { min-width: 180px; max-width: 99vw; }
  .feature { min-width: 160px; }
}
@media (max-width: 900px) {
  .footer-container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-nav { gap: 13px; }
}
@media (max-width: 790px) {
  .main-nav { gap: 7px; }
  .cta-primary { padding: 10px 14px; font-size: 0.99rem; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .hero { padding-top: 36px; padding-bottom: 39px; border-radius: 0 0 27px 27px; }
  .section {
    padding: 27px 7px;
    border-radius: 14px;
  }
  .card, .feature, .testimonial-card, .contact-info { padding: 14px 10px 14px 13px; border-radius: 13px; }
  .features-grid, .testimonials-slider, .card-container {
    gap: 12px;
  }
  .feature {
    min-width: 95vw;
    width: 100%;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-container { flex-direction: column; gap: 13px; align-items: flex-start; }
  .footer-nav { gap: 7px; flex-wrap: wrap; }
  .content-grid, .features-grid, .testimonials-slider {
    flex-direction: column;
    gap: 16px;
    min-width: 80vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.29rem; }
  .container { max-width: 98vw; }
  .section { padding: 13px 2px; }
  .hero { padding-top: 19px; padding-bottom: 24px; }
  .footer-contact p { font-size: 0.98rem; }
  .cookie-banner { padding: 14px 2px; flex-direction: column; gap: 20px; align-items: stretch; }
  .cookie-modal { padding: 18px 7px; border-radius: 12px; }
  .cookie-modal__header { font-size: 1.05rem; }
}

/* ================ CUSTOM SCROLLBAR ================ */
::-webkit-scrollbar {
  width: 13px;
  background: #fffbe2;
  border-radius: 15px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 15px;
  border: 3px solid #fffbe2;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* ================ Z-INDEX LAYERING ================ */
header { z-index: 90; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 150; }
.cookie-modal-overlay { z-index: 200; }

/* ================ MISC ================ */
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
}

/* ================ END OF STYLES ================ */
