/* ===========================================
   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 { font-size: 100%; }
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #14213D;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #14213D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:active {
  outline: 2px dashed #FCA311;
  outline-offset: 2px;
}
a:hover {
  color: #FCA311;
}

/* Selection Color */
::selection {
  background: #FCA311;
  color: #fff;
}

/* ===========================================
   Layout Containers & Structure
=========================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-flex, .footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ===========================================
   Typography
=========================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600|Source+Sans+Pro:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #14213D;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
}
.subtitle {
  font-size: 1.2rem;
  color: #374151;
  font-weight: 400;
  margin-bottom: 16px;
}
p, .text-section p, ul, ol, li {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #374151;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: #14213D;
}

.text-section ul, .feature-list, .benefit-list {
  margin: 12px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 1.1em;
}
.text-section ul li,
.feature-list li, .benefit-list li {
  list-style: disc inside;
}
.feature-list li img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
.category-tag {
  display: inline-block;
  background: #14213D;
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 12px;
  border-radius: 12px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ===========================================
   Section Spacing (per pattern)
=========================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.card-container,
.feature-grid,
.service-list,
.testimonial-slider,
.testimonial-list,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #E5E5E5;
  box-shadow: 0 2px 8px 0 rgba(20,33,61,0.08);
  min-width: 270px;
  max-width: 400px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.artwork-descriptions {
  margin-top: 20px;
  font-size: 1em;
  color: #374151;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-list li {
  background: #F3F6FA;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(20,33,61,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.post-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(20,33,61,0.13);
  border-left: 5px solid #FCA311;
}

/* ===========================================
   Header, Navigation, Logo
=========================================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(20,33,61,0.09);
  position: sticky;
  z-index: 100;
  top: 0;
}
.logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  font-weight: 600;
  color: #14213D;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FCA311;
  border-bottom: 2px solid #FCA311;
}

.cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  outline: none;
  border: none;
  margin-left: 16px;
  box-shadow: 0 2px 6px rgba(20,33,61,0.09);
}
.cta-btn.primary {
  background: #14213D;
  color: #fff;
  border: none;
}
.cta-btn.secondary {
  background: #FCA311;
  color: #14213D;
  border: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #1b2957;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #e29905;
  color: #fff;
}

button {
  font-family: inherit;
  font-size: 1em;
  border: none;
  background: none;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: #14213D;
  margin-left: 12px;
  z-index: 120;
}

/* ===========================================
   MOBILE MENU STYLES
=========================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,33,61, 0.97);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.45,.05,.55,.95);
  z-index: 250;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 260;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 90px 40px 40px 40px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FCA311;
}

/* ===========================================
   HERO STYLES
=========================================== */
.hero {
  background: #F3F6FA;
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: #374151;
  margin: 6px 0 0 0;
}

/* ===========================================
   CARD STYLES (features, services, etc.)
=========================================== */
.feature-grid,
.service-list,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-card,
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20,33,61,0.09);
  padding: 28px 22px 24px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-card:hover,
.service-card:hover {
  box-shadow: 0 6px 18px 0 rgba(20,33,61,0.16);
  transform: translateY(-4px);
}
.feature-card img,
.service-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 7px;
}
.service-price {
  margin-top: 12px;
  font-weight: 700;
  color: #14213D;
  background: #E5E5E5;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 16px;
}

/* ===========================================
   TESTIMONIALS
=========================================== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #E5E5E5;
  color: #14213D;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(20,33,61,0.09);
  padding: 20px 22px;
  flex: 1 1 270px;
  max-width: 400px;
  min-width: 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(20,33,61,0.17);
}
.testimonial-card p {
  font-weight: 500;
  font-style: italic;
  color: #14213D;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #4B587C;
  font-size: 1rem;
  font-weight: 500;
}

/* ===========================================
   Listicles & Benefit Styles
=========================================== */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-list li {
  font-size: 1rem;
  color: #374151;
  padding-left: 6px;
}

/* ===========================================
   Footer
=========================================== */
footer {
  background: #14213D;
  color: #fff;
  padding: 42px 0 22px 0;
  margin-top: 60px;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FCA311;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #F3F6FA;
}
.footer-contact img {
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 7px;
}

/* ===========================================
   CTA Section, Contact Teasers
=========================================== */
.contact-teaser, .cta-section, .service-cta {
  background: #E5E5E5;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 12px;
}
.contact-teaser h2, .cta-section h2, .service-cta h2 {
  color: #14213D;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===========================================
   Cookie Consent Banner
=========================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #14213D;
  color: #fff;
  padding: 32px 16px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 -2px 14px 0 rgba(20,33,61,0.19);
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.44s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__content {
  flex: 1 1 210px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 8px 22px;
  background: #FCA311;
  color: #14213D;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 1px 5px 0 rgba(20,33,61,0.07);
  cursor: pointer;
}
.cookie-btn.cookie-settings {
  background: #E5E5E5;
  color: #14213D;
}
.cookie-btn.accept {
  background: #FCA311;
  color: #14213D;
}
.cookie-btn.reject {
  background: #E5E5E5;
  color: #14213D;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #fff3d2;
  color: #14213D;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(20,33,61,0.75);
  z-index: 11000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #14213D;
  border-radius: 12px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 10px 24px 0 rgba(20,33,61,0.23);
  padding: 38px 32px 22px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.7rem;
  background: none;
  color: #14213D;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #14213D;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #14213D;
}
.cookie-category .cookie-always {
  font-size: 0.95rem;
  color: #4B587C;
  font-weight: 500;
  margin-left: 10px;
}

/* ===========================================
   Responsive Design (Mobile-First!)
=========================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .header-flex, .footer-flex {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.11rem; }
  .hero { padding: 40px 0 30px 0; }
  .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .feature-grid,.service-list,.card-container,.testimonial-slider,.testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: stretch !important;
    gap: 18px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact {
    padding-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.97rem;
    padding: 21px 10px 17px 10px;
  }
}

@media (max-width: 540px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .hero {
    padding: 22px 0 17px 0;
  }
  .feature-card, .service-card {
    padding: 18px 6px 16px 6px;
    min-width: 0;
    max-width: 100%;
  }
  .section {
    padding: 23px 6px;
  }
  .cookie-modal {
    padding: 14px 7px 8px 7px;
    min-width: 0;
  }
}

/* ===========================================
   Animations / Micro-interactions
=========================================== */
.cta-btn,
.cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.13s;
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 3px 0 rgba(20,33,61,0.10);
}

.feature-card, .service-card, .testimonial-card, .post-list li {
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover, .service-card:hover, .testimonial-card:hover, .post-list li:hover {
  box-shadow: 0 4px 18px 0 rgba(20,33,61,0.21);
  transform: translateY(-3px);
}

/* ===========================================
   Utilities
=========================================== */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-20 { margin-bottom: 20px!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.flex { display: flex!important; }
.flex-col { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items: center!important; }
.gap-12 { gap: 12px!important; }

/* ===========================================
   Hide elements for accessibility
=========================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===========================================
   Fixes & Miscellaneous
=========================================== */
::-webkit-input-placeholder { color: #B3B7BE; }
::-moz-placeholder { color: #B3B7BE; }
:-ms-input-placeholder { color: #B3B7BE; }
::placeholder { color: #B3B7BE; }

/* ===========================================
   END STYLE.CSS
=========================================== */
