/* =========================================================
   RESET & BASE STYLES
========================================================= */
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;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F9F9F6;
  color: #202124;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: #226184;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #CA992E;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* =========================================================
   BRAND TYPOGRAPHY
========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #226184;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #CA992E;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #226184;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #202124;
}
.subheadline {
  color: #577E98;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
p, li {
  font-size: 1rem;
  color: #202124;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}

/* Artistic Font Touch (for display) */
h1, h2, .btn-primary, .feature h3, .service-card h3, .cta-section h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
}

/* =========================================================
   LAYOUT & CONTAINER
========================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(34, 97, 132, 0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cta-section {
  align-items: center !important;
  background: #CA992E12;
  border: 2px dashed #CA992E;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(202,153,46,0.10);
}

/* =========================================================
   HEADER & NAVIGATION
========================================================= */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(34, 97, 132, 0.04);
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  color: #226184;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.11rem;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #CA992E;
}
header img {
  max-height: 48px;
  width: auto;
  display: block;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #CA992E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  box-shadow: 0 2px 8px rgba(202,153,46,0.10);
  cursor: pointer;
  position: relative;
  margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #226184;
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,97,132,0.20);
  outline: none;
}

/* =========================================================
   MOBILE MENU
========================================================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 2100;
  width: 44px;
  height: 44px;
  background: #CA992E;
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(202,153,46,0.14);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #226184;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.43s cubic-bezier(0.87,0,0.13,1);
  box-shadow: 0 0 0 rgba(34,97,132,0);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 40px rgba(34,97,132,0.25);
}
.mobile-menu-close {
  background: #CA992E;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2220;
  border: none;
  box-shadow: 0 4px 14px rgba(202,153,46,0.18);
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #226184;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 90px;
  padding: 44px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #226184;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid #F6E8CF;
  transition: color 0.19s, background 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CA992E;
  background: #F9F9F6;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
  header nav {
    gap: 12px;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 10px 22px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #fffbe6;
  border-top: 2px solid #CA992E;
  box-shadow: 0 -4px 32px rgba(202,153,46,0.20);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #226184;
  transition: transform 0.25s cubic-bezier(.87,0,.13,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-action {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: #CA992E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 7px 20px;
  margin-left: 0;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.cookie-btn.cookie-settings {
  background: #226184;
  color: #fff;
}
.cookie-btn.cookie-reject {
  background: #F9F9F6;
  color: #CA992E;
  border: 1.5px solid #CA992E;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #577E98;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 12px;
    font-size: 0.93rem;
  }
  .cookie-banner .cookie-action {
    flex-direction: column;
    gap: 9px;
  }
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4100;
  background: rgba(34,97,132, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 40px 28px;
  min-width: 290px;
  max-width: 380px;
  box-shadow: 0 8px 44px rgba(34,97,132,0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #226184;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #CA992E;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #CA992E;
  color: #fff;
  border: none;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus{
  background:#226184;
}
@media (max-width: 600px){
  .cookie-modal-content {
    padding: 30px 10px;
    min-width: 210px;
    max-width: 98vw;
  }
}

/* =========================================================
   CARDS & FLEX GROUPS
========================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(34,97,132,0.12);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 34px rgba(202,153,46,0.12);
  transform: translateY(-6px) scale(1.02);
}
.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;
}
@media (max-width:900px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Feature grid ----------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 16px rgba(34,97,132,0.08);
  padding: 26px 20px;
  max-width: 265px;
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .18s, transform .14s;
}
.feature img {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  background: #CA992E14;
  padding: 6px;
  margin-bottom: 5px;
}
.feature:hover {
  box-shadow: 0 6px 32px rgba(202,153,46,0.15);
  transform: translateY(-4px) scale(1.012);
}

/* Service Cards ----------------------------------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.service-card {
  background: #226184;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(34,97,132,0.13);
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  border-bottom: 5px solid #CA992E88;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  color: #fff;
}
.service-card .service-price {
  margin-top: 10px;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  background: #CA992E;
  color: #fff;
  border-radius: 12px;
  padding: 5px 17px;
  font-weight: bold;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(202,153,46,0.16);
}
.service-card:hover, .service-card:focus {
  background: #CA992E;
  color: #fff;
  box-shadow: 0 7px 32px rgba(34,97,132,0.13);
}
.service-card:hover .service-price {
  background: #226184;
}

/* Posts Grid ----------------------------------------- */
.posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 12px;
}
.post-feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,97,132,0.11);
  flex: 1 1 260px;
  padding: 30px 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.13s;
  border-left: 6px solid #CA992E44;
  position: relative;
}
.post-feature:hover {
  box-shadow: 0 8px 31px rgba(202,153,46,0.12);
  transform: translateY(-4px) scale(1.011);
}
.post-feature h2 {
  color: #226184;
  font-size: 1.35rem;
  margin-bottom: 11px;
}
.post-tags {
  font-size: 0.98rem;
  color: #CA992E;
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0.03em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}
.tag {
  background: #22618411;
  color: #226184;
  font-weight: 700;
  font-size: .96rem;
  padding: 5px 14px;
  border-radius: 16px;
  letter-spacing: 0.03em;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 230px;
  background: #f9f9f6;
  color: #202124;
  border-left: 5px solid #226184;
  border-radius: 18px;
  box-shadow: 0 2px 15px rgba(34,97,132,0.09);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.18s, border-color 0.19s;
}
.testimonial-card h3 {
  font-size: 1.15rem;
  color: #226184;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #202124;
  margin-bottom: 8px;
}
.testimonial-author {
  color: #CA992E;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(202,153,46,0.11);
  border-left: 5px solid #CA992E;
}

/* For slider effect (simple fade) */
.testimonial-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.testimonial-card {
  scroll-snap-align: start;
}

/* Confirmation Message ------------------------ */
.confirmation-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 0;
}
.confirmation-message p {
  font-size: 1.15rem;
  color: #226184;
  margin-bottom: 6px;
}

/* =========================================================
   BLOG: Social, Newsletter
========================================================= */
.newsletter-signup {
  margin: 5px 0 18px 0;
}
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 13px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #CA992E11;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: background 0.19s;
}
.social-icons a:hover {
  background: #CA992E;
}
.social-icons img {
  height: 22px;
  width: 22px;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  background: #226184;
  color: #fff;
  width: 100%;
  padding-top: 38px;
  padding-bottom: 21px;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 3px 0;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: color .17s, border-color .14s;
}
footer nav a:hover, footer nav a:focus {
  color: #CA992E;
  border-bottom: 1px solid #CA992E;
}
footer img {
  max-height: 43px;
  display: block;
}
footer .contact-details {
  font-size: .97rem;
  color: #fffbe2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer .contact-details a {
  color: #CA992E;
  font-weight: 600;
  text-decoration: underline;
}
footer .copyright {
  color: #CA992E;
  opacity: 0.88;
  font-size: 0.95rem;
  margin-top: 4px;
}

@media (max-width: 900px) {
  footer .container {
    gap: 12px;
  }
  footer nav {
    gap: 7px;
  }
}

/* =========================================================
   MISC UTILITIES & RESPONSIVENESS
========================================================= */
.text-section {
  margin-bottom: 10px;
  font-size: 1.04rem;
  color: #202124;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive spacing and alignment ------------------- */
@media (max-width:768px) {
  .container, .content-wrapper, .section, .card-container,
  .card, .feature-grid, .feature, .service-list, .service-card, .testimonial-slider, .testimonial-card,
  .posts-grid, .post-feature, .tag-list, .footer .container {
    max-width: none;
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 25px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  header .container {
    flex-direction: row;
    padding-left: 7px;
    padding-right: 7px;
  }
  .feature-grid, .service-list, .card-container, .posts-grid, .testimonial-slider {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px;
  }
  .feature, .service-card, .card, .post-feature, .testimonial-card {
    min-width: 0;
    width: 100%;
    border-radius: 8px;
    padding: 17px 12px;
  }
}

/* =========================================================
   MICRO-ANIMATIONS & VISUAL ARTISTIC ELEMENTS
========================================================= */
.btn-primary, .cookie-btn, .service-card, .feature, .card, .post-feature, .testimonial-card {
  transition: box-shadow 0.22s, background 0.2s, color 0.15s, transform 0.12s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.98);
}
.cta-section {
  animation: fade-in-up 1s cubic-bezier(.19,1,.22,1);
}
@keyframes fade-in-up {
  from {opacity: 0; transform: translateY(28px);}
  to   {opacity: 1; transform: none;}
}

/* Subtle diagonal artistic overlay for artistic feel on header/cta */
.cta-section:after {
  content: "";
  display: block;
  position: absolute;
  top: -8px; left: 0; width: 101%; height: 12px;
  background: linear-gradient(90deg,#CA992E22 33%,transparent 90%);
  border-radius: 10px;
  z-index: 0;
  pointer-events:none;
}
.cta-section {
  position: relative;
  overflow: hidden;
}

/* Artistic headline underline */
h1, h2, .cta-section h2 {
  position: relative;
}
h1:after, .cta-section h2:after {
  content: "";
  display: block;
  position: absolute;
  left: 0; bottom: -10px;
  width: 72px;
  height: 5px;
  background: #CA992E;
  border-radius: 4px;
}
h2:after {
  content: '';
  background: #226184;
  width: 36px;
  height: 4px;
  border-radius: 3px;
  left: 2px; bottom: -7px;
}

@media (max-width: 600px) {
  h1:after, .cta-section h2:after {width: 32px; height: 3px; bottom: -5px;}
  h2:after {width: 17px; height: 2.5px;}
}

/* Misc minor formating ---------------------------------- */
::-webkit-input-placeholder { color: #b1b7bd; }
::-moz-placeholder { color: #b1b7bd; }
:-ms-input-placeholder { color: #b1b7bd; }
::placeholder { color: #b1b7bd; }

hr {
  border: 0;
  height: 2px;
  background: #f4ede1;
  margin: 30px 0;
}
/* Artistic color splashes for accent backgrounds (can be used as needed) */
.art-splash {
  background: #CA992E11;
  border-radius: 40px 160px 42px 128px/50px 47px 60px 90px;
  filter: blur(18px);
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
}

/* =========================================================
   SCROLLBAR STYLES
========================================================= */
::-webkit-scrollbar {width: 8px;background:#f5f7fa;}
::-webkit-scrollbar-thumb {background:#CA992E;border-radius:3px;}

/* =========================================================
   PRINT OVERRIDE
========================================================= */
@media print {
  *, *:before, *:after {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
}