/* === 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, main, 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;
}
body {
  line-height: 1;
  background: #FCFCFD;
  color: #222A35;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: #20435C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDBA3A;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, .btn {
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #20435C;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #20435C;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #20435C;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #20435C;
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 2.0rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.1rem; }
}
p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.subhead {
  color: #4B6177;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.brand-story {
  font-size: 1.07rem;
  color: #20435C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 20px;
}

/* === CONTAINER, SECTIONS, SPACING === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #20435C;
  color: #FFFFFF;
  box-shadow: 0 3px 8px 0 rgba(32,67,92,0.06);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 12px;
}
.site-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.site-logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #FCFCFD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 0;
  border-radius: 2px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDBA3A;
  text-decoration: none;
}
.btn.btn-primary {
  background: #FDBA3A;
  color: #20435C;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 32px;
  margin-left: 20px;
  box-shadow: 0 2px 8px 0 rgba(253,186,58,0.10);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #20435C;
  color: #FDBA3A;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}
.btn.btn-secondary {
  background: #20435C;
  color: #FDBA3A;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 32px;
  margin-top: 14px;
  box-shadow: 0 1px 4px 0 rgba(32,67,92,0.08);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #FDBA3A;
  color: #20435C;
  transform: translateY(-2px) scale(1.04) rotate(2deg);
}

/* Mobile menu burger button */
.mobile-menu-toggle {
  display: none;
  background: #FDBA3A;
  color: #20435C;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background 0.15s, box-shadow 0.18s;
  z-index: 105;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #20435C;
  color: #FDBA3A;
  box-shadow: 0 0 18px 0 rgba(253,186,58,0.30);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #20435C;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 44px;
  padding-left: 0;
  box-shadow: -12px 0 40px 0 rgba(32,67,92,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -12px 0 40px 0 rgba(32,67,92,0.21);
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: #FDBA3A;
  color: #20435C;
  font-size: 2rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 130;
  transition: background .15s, color .15s;
  outline: none;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #20435C;
  color: #FDBA3A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 26px;
  padding-left: 42px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #FCFCFD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 4px 0;
  transition: color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDBA3A;
}
@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    height: 68px;
  }
}

/* === HERO & HEADERS === */
section:first-of-type {
  padding-top: 44px;
}
section:first-of-type h1 {
  font-size: 2.2rem;
  letter-spacing: -1.1px;
  background: linear-gradient(90deg, #20435C 60%, #FDBA3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 600px) {
  section:first-of-type h1 {
    font-size: 1.6rem;
    line-height: 1.18;
  }
}

/* === GENERAL CARDS, FEATURES, FLEX LAYOUTS === */
.card-container, .feature-grid, .service-card-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.card, .feature-card, .service-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(32,67,92,0.08);
  border-radius: 18px;
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover, .feature-card:hover, .service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,67,92,0.13);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
}
.feature-card img, .service-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
}
.feature-card h3, .service-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FDBA3A;
}
.feature-card p, .service-card p {
  color: #20435C;
}
.service-card-list {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.service-card {
  background: #F2F6F8;
  border-left: 5px solid #FDBA3A;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 4px 16px 0 rgba(253,186,58,0.08);
}
.service-price {
  font-size: 1rem;
  font-weight: 800;
  color: #20435C;
  background: #FDBA3A;
  border-radius: 8px;
  padding: 2px 10px;
  margin-left: 10px;
}

/* === FLEX SPACING/ALIGNMENT CLASSES === */
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .card-container, .feature-grid, .service-card-list, .content-grid { gap: 14px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FCFCFD;
  border: 2px solid #FDBA3A;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(32,67,92,0.07);
  color: #1B2634;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card p {
  color: #20435C;
  font-style: italic;
}
.testimonial-meta {
  align-self: flex-end;
  color: #7E97A9;
  font-size: 0.99rem;
  font-weight: 600;
  padding-top: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TAGS / BADGES === */
.tag {
  display: inline-block;
  background: #FDBA3A;
  color: #20435C;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: bold;
  margin: 0 6px 6px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
}

/* === LISTS, LINKS, FAQS, ACCORDIONS === */
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
  color: #20435C;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul li strong, ol li strong {
  color: #FDBA3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #F2F6F8;
  padding: 34px 0 0 0;
  margin-top: 60px;
  color: #20435C;
  border-top: 3px solid #20435C;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  gap: 24px;
}
.footer-logo {
  flex: 1 0 auto;
  margin-bottom: 26px;
}
.footer-logo img {
  width: 48px;
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #20435C;
  text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FDBA3A;
}
.footer-contact {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #4B6177;
}
.footer-contact a {
  color: #20435C;
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-logo {
    margin-bottom: 12px;
  }
  .footer-nav {
    margin-bottom: 8px;
  }
}

/* === COOKIES CONSENT BANNER === */
.cookies-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #20435C;
  color: #FCFCFD;
  z-index: 1250;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  min-height: 58px;
  box-shadow: 0 -1px 18px 0 rgba(32,67,92,0.14);
  font-size: 0.99rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookies-slideIn .5s cubic-bezier(.71,0,.15,1) both;
}
@media (max-width: 700px) {
  .cookies-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 14px 8px; }
}
@keyframes cookies-slideIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookies-banner p {
  color: #FCFCFD;
  margin-bottom: 0;
}
.cookies-actions {
  display: flex;
  gap: 14px;
}
.cookies-banner button {
  padding: 7px 20px;
  border-radius: 20px;
  color: #20435C;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FDBA3A;
  font-weight: 600;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookies-banner button:hover, .cookies-banner button:focus {
  background: #20435C;
  color: #FDBA3A;
}
.cookies-banner .cookie-settings {
  background: #FCFCFD;
  color: #20435C;
  font-weight: 600;
  border: 1px solid #FDBA3A;
}
.cookies-banner .cookie-settings:hover, .cookies-banner .cookie-settings:focus {
  background: #FDBA3A;
  color: #20435C;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1600;
  background: rgba(32,67,92,0.55);
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s both;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #FCFCFD;
  color: #20435C;
  border-radius: 18px;
  min-width: 320px;
  max-width: 98vw;
  padding: 34px 28px 26px 28px;
  box-shadow: 0 8px 32px 0 rgba(32,67,92,0.20);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-slideIn .35s cubic-bezier(.7,0,.21,1) both;
}
@keyframes modal-slideIn {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-pref-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #e9e9ea;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-switch:checked {
  background: #FDBA3A;
}
.cookie-switch::before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  position: absolute;
  left: 2px;
  top: 1.5px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(32,67,92,0.12);
}
.cookie-switch:checked::before {
  left: 23px;
}
.cookie-essential-label {
  opacity: .72;
  font-size: 0.97rem;
}
.cookie-essential-lock {
  margin-left: 5px;
  color: #20435C;
  font-size: 0.95em;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal-actions button {
  padding: 7px 18px;
  border-radius: 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #FDBA3A;
  color: #20435C;
  border: none;
  transition: background .13s, color .13s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #20435C;
  color: #FDBA3A;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #FDBA3A;
  color: #20435C;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #20435C;
  color: #FDBA3A;
}

/* === RESPONSIVE / MOBILE ADJUSTMENTS === */
@media (max-width: 900px) {
  .service-card-list, .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav { gap: 14px; }
  .btn { margin-left: 10px; }
}
@media (max-width: 600px) {
  .card, .feature-card, .service-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 14px 10px 18px 14px;
  }
  .feature-grid, .service-card-list, .card-container, .content-grid {
    gap: 12px;
  }
  .footer-logo img {
    width: 42px;
    height: 42px;
  }
}

/* === ARTISTIC, CREATIVE STYLISTIC ACCENTS === */
/* Section accents: underline strokes, colored dot indicators, brush-stroke-like backgrounds */
.content-wrapper > h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.content-wrapper > h2::after {
  display: inline-block;
  content: '';
  margin-left: 16px;
  width: 42px;
  height: 8px;
  background: #FDBA3A;
  border-radius: 5px 16px 12px 4px;
  opacity: .72;
  vertical-align: middle;
  box-shadow: 0 1px 8px rgba(253,186,58,0.19);
}
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 24px 0 rgba(32,67,92,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.15s;
}
section:hover {
  box-shadow: 0 10px 36px 0 rgba(253,186,58,0.12);
}

/* Artistic Font for Hero & Highlights */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.5px;
}
.feature-card h3, .service-card h3, .testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Artistic dot */
.content-wrapper > h2::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 10px;
  background: #20435C;
  border-radius: 50%;
  vertical-align: middle;
}

/* Subtle animated underline on hover for links */
.main-nav a, .footer-nav a, .mobile-nav a {
  position: relative;
}
.main-nav a::after, .footer-nav a::after, .mobile-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #FDBA3A;
  transition: width .18s;
  position: absolute;
  left: 0; bottom: -2px;
}
.main-nav a:hover::after, .footer-nav a:hover::after, .mobile-nav a:hover::after {
  width: 100%;
}

/* === ANIMATIONS & MICROINTERACTIONS === */
.card, .feature-card, .service-card {
  transition: box-shadow 0.17s, transform 0.17s, background 0.13s;
}
.card:hover, .feature-card:hover, .service-card:hover {
  box-shadow: 0 12px 32px 0 rgba(253,186,58,0.19);
  background: #FCEBCB;
}
.btn:active {
  transform: scale(0.97) rotate(-1deg);
}
@media (hover: none) and (pointer: coarse) {
  .btn:hover { background: inherit; color: inherit; }
}

/* === MISC / UTILS === */
strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F2F6F8;
}
::-webkit-scrollbar-thumb {
  background: #FDBA3A;
  border-radius: 4px;
}

/* === ENSURE FLEXBOX — PREVENT OVERLAPPING === */
.card-container, .feature-grid, .service-card-list, .content-grid, .text-image-section, .testimonial-card, .feature-item, .container, .footer-nav, .cookies-actions, .cookie-modal-actions, .cookie-pref-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .feature-card, .service-card {
    max-width: 96vw;
  }
  .service-card-list, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* === ENSURE CONTENT DOES NOT OVERLAP === */
.card, .feature-card, .service-card, .testimonial-card, section, .footer-contact, .brand-story {
  margin-bottom: 20px;
}
section:last-of-type {
  margin-bottom: 0;
}

/* === PRINT FRIENDLY === */
@media print {
  header, footer, .mobile-menu, .cookies-banner, .cookie-modal { display: none !important; }
  section { box-shadow: none!important; border: none!important; background: #fff!important; }
}

