/* -------------------
   CSS RESET & BASE
---------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #F0F4F8;
  color: #22516A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #377293;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #C29B51;
}
ul, ol {
  padding-left: 1.5em;
}
ul {
  margin: 0 0 1.5em 0;
}
li {
  margin-bottom: 0.5em;
}
strong {
  font-weight: 600;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
::selection {
  background: #E2BC7C;
  color: #22516A;
}

/* -------------------
   BRAND FONTS
---------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  color: #22516A;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.5rem; margin-bottom: 0.7em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, label, span, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.section .tagline, .tagline {
  font-size: 1.35rem;
  font-family: 'Merriweather', serif;
  font-weight: 300;
  color: #377293;
  margin-bottom: 0.9em;
}

/* -------------------
   LAYOUT CONTAINERS
---------------------*/
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34,81,106,0.05);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

.text-section {
  gap: 10px;
  margin-bottom: 10px;
}

/* -------------------
   HEADER & NAVIGATION
---------------------*/
header {
  width: 100%;
  background: #F0F4F8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px 18px 20px;
  border-bottom: 2px solid #e7e7e7;
  position: relative;
  z-index: 20;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-right: 16px;
}
.brand-logo img {
  max-height: 52px;
  width: auto;
  height: 52px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #22516A;
  padding: 6px 10px;
  opacity: 0.95;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #377293;
  background: #E2BC7C22;
}

.cta-btn {
  background: #C29B51;
  color: #fff;
  padding: 11px 30px;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(34,81,106,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
  text-align: center;
  letter-spacing: 0.01em;
}
.cta-btn:active, .cta-btn:focus, .cta-btn:hover {
  background: #377293;
  color: #fff;
  box-shadow: 0 3px 24px rgba(34,81,106,0.14);
}
.cta-btn.secondary {
  background: transparent;
  color: #22516A;
  border: 2px solid #C29B51;
}
.cta-btn.secondary:hover {
  background: #C29B51;
  color: #fff;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
  }
  header {
    padding: 14px 7px 14px 13px;
  }
}

/* Hide main nav, show burger on mobile */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 28px;
    top: 23px;
    background: #E2BC7C;
    color: #22516A;
    border: none;
    font-size: 2.1rem;
    padding: 7px 20px 7px 20px;
    border-radius: 28px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 120;
    transition: background 0.2s;
  }
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C29B51;
  color: #FFF;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 82vw;
  max-width: 350px;
  height: 100vh;
  box-shadow: 4px 0 32px rgba(34,81,106,0.18);
  z-index: 2000;
  padding: 25px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.14,.46,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #22516A;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E2BC7C;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px;
  width: 100%;
  padding-left: 32px;
  padding-bottom: 32px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  color: #22516A;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.21s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F0F4F8;
  color: #377293;
}

/* Overlay effect for mobile menu */
.mobile-menu::after {
  content: '';
  display: none;
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
  body.menu-open {
    overflow: hidden;
  }
}
/* Prevent overlay scroll when open */
body.menu-open {
  height: 100vh;
  overflow: hidden;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -------------------
   HERO SECTION
---------------------*/
.hero-section {
  background: linear-gradient(120deg, #F0F4F8 82%, #E2BC7C11 100%);
  margin-bottom: 60px;
  padding: 70px 0 60px 0;
  border-bottom-left-radius: 62px;
  border-bottom-right-radius: 62px;
  box-shadow: 0 7px 36px rgba(34,81,106,0.05);
}
.hero-section .container {
  justify-content: center;
  align-items: center;
  min-height: 330px;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 24px;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #22516A;
  font-weight: 700;
  text-align: center;
  margin-bottom: 9px;
}
.hero-section p {
  font-size: 1.18rem;
  text-align: center;
  color: #377293;
}
.hero-section .cta-btn {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 34px 0 27px 0;
    margin-bottom: 32px;
    border-radius: 0 0 32px 32px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

/* -------------------
   FEATURES SECTION
---------------------*/
.features-section {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 3px 32px rgba(34,81,106,0.04);
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
}
.features-list li {
  flex: 1 1 170px;
  background: #F0F4F8;
  border-radius: 16px;
  padding: 26px 16px 18px 16px;
  font-size: 1.07rem;
  color: #22516A;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  min-width: 160px;
  box-shadow: 0 1px 8px rgba(194,155,81,0.06);
  transition: box-shadow 0.22s, background 0.19s;
}
.features-list li:hover {
  background: #fff;
  box-shadow: 0 6px 22px rgba(34,81,106,0.11);
}
.features-list img {
  margin-bottom: 12px;
  height: 38px;
  width: auto;
}
.features-list span {
  font-size: 0.98rem;
  color: #377293;
  margin-top: 7px;
  opacity: 0.95;
  text-align: center;
}
@media (max-width: 900px) {
  .features-list {
    flex-direction: column;
    gap: 18px;
  }
  .features-list li {
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 0;
    min-width: 0;
  }
}

/* -------------------
   SERVICE CARDS & HIGHLIGHTS
---------------------*/
.services-highlight {
  background: #F0F4F8;
  border-radius: 20px;
  margin-bottom: 60px;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,81,106,0.07);
  flex: 1 1 265px;
  margin-bottom: 20px;
  padding: 27px 23px 19px 23px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: flex-start;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.service-card:hover {
  box-shadow: 0 7px 32px rgba(194,155,81,0.13);
  transform: translateY(-7px) scale(1.02);
}
.service-card h3 {
  font-size: 1.22rem;
  color: #22516A;
  margin-bottom: 0.6em;
  font-family: 'Merriweather', serif;
}
.service-card p {
  color: #377293;
  font-size: 1rem;
  margin-bottom: 10px;
}
.service-price {
  margin-top: 6px;
  background: #F0F4F8;
  color: #C29B51;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 40px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
@media (max-width: 1020px) {
  .services-cards {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    gap: 15px;
  }
  .service-card {
    width: 100%;
    min-width: 0; 
  }
}

/* -------------------
   TESTIMONIALS
---------------------*/
.testimonials-section {
  background: none;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 230px;
  max-width: 380px;
  background: #fff;
  color: #22516A;
  padding: 24px 23px 20px 24px;
  border-radius: 18px;
  box-shadow: 0 3px 22px rgba(34,81,106,0.09);
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 34px rgba(34,81,106,0.18);
  transform: translateY(-4px) scale(1.01);
}
.testimonial-card p {
  color: #377293;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0.5em;
}
.testimonial-author {
  font-family: 'Merriweather', serif;
  color: #C29B51;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.2em;
}
@media (max-width: 550px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* -------------------
   CTA BANNER
---------------------*/
.cta-banner {
  background: #22516A;
  color: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 32px 0;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
  text-align: center;
}
.cta-banner .cta-btn {
  margin: 0 auto;
  background: #E2BC7C;
  color: #22516A;
}
.cta-banner .cta-btn:hover, .cta-banner .cta-btn:focus {
  background: #fff;
  color: #C29B51;
}
@media (max-width: 700px) {
  .cta-banner {
    padding: 20px 0;
    border-radius: 14px;
    margin-bottom: 30px;
  }
}

/* -------------------
   FOOTER
---------------------*/
footer {
  background: #fff;
  margin-top: 40px;
  padding: 36px 0 2px 0;
  border-top: 2px solid #e7e7e7;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #377293;
  font-size: 1.02rem;
  padding: 5px 4px;
  transition: color 0.2s;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C29B51;
  background: #E2BC7C22;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  color: #377293;
  font-size: 1rem;
}
.footer-contact a {
  text-decoration: underline;
  color: #377293;
  transition: color 0.18s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #C29B51;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.footer-social a img {
  height: 31px;
  width: 31px;
  border-radius: 6px;
  transition: filter 0.18s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: brightness(1.15) saturate(1.2);
}
.footer-brand {
  text-align: center;
  color: #8ba2b9;
  font-size: 1rem;
  margin-top: 9px;
}

@media (max-width: 600px) {
  footer {
    padding: 20px 0 0 0;
    gap: 10px;
  }
}

/* ---------------------------------
   BLOG ARTICLES & ARTICLE LISTS
-----------------------------------*/
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.blog-article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 12px rgba(34,81,106,0.08);
  flex: 1 1 260px;
  padding: 21px 18px 17px 21px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: flex-start;
  min-width: 210px;
  transition: box-shadow 0.18s, background 0.19s;
}
.blog-article:hover {
  box-shadow: 0 6px 22px rgba(34,81,106,0.16);
  background: #F0F4F8;
}
.blog-article h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.blog-meta {
  font-size: 0.92rem;
  color: #8ba2b9;
  margin-bottom: 3px;
}
.blog-article a {
  color: #C29B51;
  margin-top: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  transition: color 0.18s;
}
.blog-article a:hover {
  color: #22516A;
}
@media (max-width: 800px) {
  .article-list {
    flex-direction: column;
    gap: 16px;
  }
  .blog-article {
    min-width: 0;
    width: 100%;
  }
}

/* -------------------
   NEWSLETTER
---------------------*/
.newsletter-signup {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34,81,106,0.04);
  padding: 30px 0 26px 0;
  text-align: center;
  margin-bottom: 60px;
}
.newsletter-signup h2 {
  color: #22516A;
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.newsletter-signup p {
  color: #377293;
  font-size: 1.029rem;
  margin-bottom: 14px;
}
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  margin-top: 7px;
}
.newsletter-signup input[type=email],
.newsletter-signup input[type=text] {
  border: 1.5px solid #E2BC7C;
  border-radius: 32px;
  padding: 10px 22px;
  font-size: 1rem;
  background: #F0F4F8;
  color: #22516A;
  margin-bottom: 0;
  outline: none;
  transition: border 0.18s;
}
.newsletter-signup input:focus {
  border: 1.5px solid #22516A;
}
.newsletter-signup button {
  background: #C29B51;
  color: #fff;
  font-size: 1.01rem;
  border: none;
  border-radius: 32px;
  padding: 10px 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.12s;
  box-shadow: 0 1px 7px rgba(34,81,106,0.08);
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: #22516A;
  color: #fff;
}
@media (max-width: 550px) {
  .newsletter-signup form {
    flex-direction: column;
    gap: 10px;
  }
}

/* -------------------
   CONTACT FORM
---------------------*/
.contact-form-section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 1px 13px rgba(194,155,81,0.06);
}
.contact-form-section h2 {
  margin-bottom: 20px;
}
.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.contact-form-section label {
  color: #22516A;
  font-family: 'Merriweather', serif;
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-form-section input,
.contact-form-section textarea {
  padding: 10px 16px;
  border-radius: 18px;
  border: 1.3px solid #C29B51;
  background: #F0F4F8;
  color: #22516A;
  font-size: 1rem;
  transition: border 0.18s, background 0.13s;
  margin-bottom: 0;
  outline: none;
  resize: vertical;
}
.contact-form-section input:focus,
.contact-form-section textarea:focus {
  border-color: #377293;
  background: #fff;
}
.contact-form-section textarea {
  min-height: 110px;
  font-size: 1rem;
  resize: vertical;
}
.contact-form-section button[type="submit"] {
  background: #C29B51;
  color: #fff;
  font-size: 1.07rem;
  border: none;
  border-radius: 32px;
  padding: 10px 31px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(34,81,106,0.08);
  align-self: flex-start;
  margin-top: 3px;
  transition: background 0.15s, box-shadow 0.15s;
}
.contact-form-section button[type="submit"]:hover, .contact-form-section button[type="submit"]:focus {
  background: #22516A;
  color: #fff;
}

/* ---------------------------------
   PRICING, FAQ & SERVICES-LIST
-----------------------------------*/
.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}
.services-list li {
  background: #F0F4F8;
  border-radius: 18px;
  padding: 24px 19px 17px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(194,155,81,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services-list li h2 {
  font-size: 1.15rem;
  color: #22516A;
  margin-bottom: 3px;
}
.services-list .service-price {
  margin-top: 8px;
  color: #C29B51;
  font-weight: 600;
  font-size: 1.05rem;
  background: #fff7ee;
  padding: 5px 15px;
  border-radius: 24px;
  letter-spacing: 0.01em;
}

.service-prices {
  margin: 12px 0 18px 0;
  padding: 0 0 0 1em;
}
.service-prices li {
  color: #22516A;
  margin-bottom: 10px;
}

.weekly-schedule {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 20px 0;
  border-radius: 14px;
  box-shadow: 0 1px 9px rgba(34,81,106,0.07);
  overflow: hidden;
}
.weekly-schedule th, .weekly-schedule td {
  padding: 15px 13px;
  text-align: left;
  font-size: 1rem;
  color: #22516A;
}
.weekly-schedule thead th {
  background: #E2BC7C22;
  color: #22516A;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.07rem;
}
.weekly-schedule tbody tr:nth-child(even) {
  background: #F0F4F8;
}
.weekly-schedule tbody tr:nth-child(odd) {
  background: #fff;
}
@media (max-width: 600px) {
  .weekly-schedule th, .weekly-schedule td {
    padding: 8px 6px;
    font-size: 0.97rem;
  }
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 11px;
}
.faq-accordion > div {
  background: #F0F4F8;
  border-radius: 18px;
  padding: 18px 14px;
  box-shadow: 0 1px 8px rgba(34,81,106,0.05);
  margin-bottom: 8px;
}
.faq-accordion h3 {
  font-size: 1.11rem;
  color: #22516A;
  margin-bottom: 0.2em;
  font-family: 'Merriweather', serif;
}
.faq-accordion p {
  color: #377293;
  font-size: 1rem;
}

/* Thank you page special style */
.thank-you-section h1 {
  font-size: 2.3rem;
  color: #22516A;
  margin-bottom: 19px;
  font-weight: 700;
}
.thank-you-section .cta-btn {
  margin-top: 22px;
}

/* ---------------------------------
   COOKIE CONSENT BANNER
-----------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  background: #fff;
  color: #22516A;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -3px 32px rgba(34,81,106,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 2px solid #E2BC7C;
  animation: cookie-banner-slidein 0.5s;
}
@keyframes cookie-banner-slidein {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: #22516A;
  margin: 0;
  flex: 2 1 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
}
.cookie-banner button {
  font-family: 'Merriweather', serif;
  font-size: 0.98rem;
  background: #C29B51;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 7px rgba(34,81,106,0.07);
  transition: background 0.17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #22516A;
  color: #fff;
}
.cookie-banner .cookie-actions .secondary {
  background: #fff;
  color: #C29B51;
  border: 2px solid #E2BC7C;
}
.cookie-banner .cookie-actions .secondary:hover {
  background: #E2BC7C;
  color: #22516A;
}

@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 5vw 12px 5vw;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 11px;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,81,106,0.27);
  z-index: 19999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.35s;
}
@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #22516A;
  border-radius: 23px;
  max-width: 410px;
  width: 90vw;
  padding: 40px 28px 28px 28px;
  box-shadow: 0 10px 34px rgba(34,81,106,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie-modal-slidein 0.35s;
}
@keyframes cookie-modal-slidein {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  background: none;
  border: none;
  color: #22516A;
  font-size: 2rem;
  border-radius: 50%;
  padding: 7px 13px 5px 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-modal-close:focus, .cookie-modal .cookie-modal-close:hover {
  background: #F0F4F8;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 10px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.08rem;
}
.cookie-modal .cookie-category-desc {
  color: #377293;
  font-size: 0.98rem;
  margin-top: 2px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 27px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  height: 27px; width: 48px;
  background: #F0F4F8;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.19s;
  border: 1.5px solid #E2BC7C;
}
.cookie-switch input:checked + .cookie-slider {
  background: #E2BC7C;
  border: 1.5px solid #C29B51;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 21px;
  width: 21px;
  border-radius: 50%;
  left: 3px;
  bottom: 3px;
  background: #C29B51;
  transition: transform 0.21s;
  box-shadow: 0 1px 4px rgba(34,81,106,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(19px);
  background: #22516A;
}
.cookie-category-essential .cookie-switch {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  padding: 10px 21px;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  box-shadow: 0 1px 7px rgba(34,81,106,0.09);
  color: #fff;
  background: #C29B51;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
}
.cookie-modal .cookie-modal-actions button.secondary {
  background: #fff;
  color: #C29B51;
  border: 2px solid #E2BC7C;
}
.cookie-modal .cookie-modal-actions button.secondary:hover {
  background: #E2BC7C;
  color: #22516A;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #22516A;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 25px 5vw 14px 5vw;
    border-radius: 12px;
  }
}

/* -------------------
   RESPONSIVE FLEXBOX LAYOUTS   
---------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 230px;
}
.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;
}

@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}

/* For text section responsiveness */
@media (max-width: 700px) {
  .content-wrapper, .text-section {
    gap: 10px;
  }
}

/* ---------------------------------
   UTILS: SHADOWS, RADIUS, ETC
-----------------------------------*/
.card, .card-container, .service-card, .blog-article, .testimonial-card, .features-list li {
  border-radius: 18px;
  box-shadow: 0 1px 12px rgba(34,81,106,0.07);
}

/* ---------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
-----------------------------------*/
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button {
  transition: background 0.2s, color 0.18s, box-shadow 0.16s, border 0.17s;
}
input, textarea {
  transition: background 0.15s, border 0.2s, color 0.17s;
}
.card, .service-card, .blog-article, .testimonial-card, .features-list li {
  transition: box-shadow 0.17s, transform 0.18s, background 0.13s;
}

/* ---------------------------------
   PRINT STYLES (minimal)
-----------------------------------*/
@media print {
  header, .mobile-menu, footer, .cookie-banner, .cookie-modal, .cta-btn {
    display: none !important;
  }
  body, .container, main, section {
    background: #fff !important;
    color: #000 !important;
  }
}

/* ---------------------------------
   CODE END
-----------------------------------*/
