/* --- 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer p {
  color: white;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FFF8F0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #21374C;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #E3B505;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ad8b0b;
}
ul, ol {
  padding-left: 1.3em;
}
strong, b {
  font-weight: 600;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #21374C;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.65rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
h5, h6 { font-size: 0.95rem; }

p, li, span, label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #21374C;
}
.subheadline {
  font-size: 1.22rem;
  color: #856321;
  font-weight: 400;
  margin-bottom: 24px;
}

/* --- CONTAINER & LAYOUT UTILITIES --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(233, 171, 54, 0.12), 0 1.5px 6px 0 rgba(33,55,76,0.04);
}

@media (max-width: 900px) {
  .section { padding: 32px 8px; }
}

@media (max-width: 600px) {
  .container { padding: 0 6px; }
  .section { padding: 24px 4px; }
  .content-wrapper { gap: 20px; }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #F9EBC8;
  box-shadow: 0 1px 8px rgba(233,171,54,0.10);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
header img {
  height: 56px;
  width: auto;
  border-radius: 12px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: #21374C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a.cta {
  background: #E3B505;
  color: #21374C;
  border-radius: 18px;
  font-weight: 700;
  padding: 11px 20px;
  box-shadow: 0 2px 8px rgba(227,181,5,0.08);
}
nav a.cta:hover, nav a.cta:focus {
  background: #ffd953;
  color: #2C4F67;
}
nav a:hover, nav a:focus {
  background: #E3B50522;
  color: #ad8b0b;
}
.mobile-menu-toggle {
  display: none;
  background: #E3B505;
  color: #21374C;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin-left: 16px;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(227,181,5,0.13);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd953;
  outline: none;
  box-shadow: 0 3px 24px 0 rgba(227,181,5,0.22);
}
@media (max-width:990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF8F0;
  box-shadow: 0 2px 20px 0 rgba(227,181,5,0.15);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-110vw);
  transition: transform 0.45s cubic-bezier(.72,2.1,.46,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 26px 26px 0 0;
  background: #E3B505;
  color: #21374C;
  font-size: 2.1rem;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(227,181,5,0.14);
  z-index: 11;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffd953;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 40px 0 0 32px;
  width: 80%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 12px 4px;
  color: #21374C;
  border-radius: 10px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  display: block;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3B50533;
  color: #ad8b0b;
}
@media (min-width:991px) {
  .mobile-menu { display: none; }
}

/* --- MAIN/BODY CONTENTS --- */
main {
  padding-top: 36px;
  padding-bottom: 36px;
}

/* --- HERO / CTA BUTTONS --- */
.cta {
  display: inline-block;
  background: #E3B505;
  color: #21374C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 22px;
  padding: 14px 34px;
  margin-top: 6px;
  box-shadow: 0 2px 14px 0 rgba(233, 171, 54, 0.12);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #FFD953;
  color: #1C293B;
  box-shadow: 0 4px 26px 0 rgba(233, 171, 54, 0.21);
}

/* --- FEATURE / SERVICE LISTS --- */
.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #FFF8F0;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(227,181,5,0.09);
  padding: 13px 20px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 14px;
  min-width: 225px;
  min-height: 54px;
  margin-bottom: 6px;
}
.feature-grid img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFF3CD;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 15px;
  margin-top: 4px;
  margin-bottom: 16px;
}
.feature-list li {
  background: #FFF8F0;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 1px 7px 0 rgba(227,181,5,0.12);
  font-size: 1.04rem;
}

@media (max-width: 900px) {
  .feature-grid, .feature-list { flex-direction: column; }
}

/* --- SERVICE LIST / CARDS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.service-card {
  background: #FFF8F6;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(33, 55, 76, 0.07);
  padding: 26px 25px 22px 25px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 255px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 34px 0 rgba(227,181,5,0.19), 0 1.5px 6px 0 rgba(33,55,76,0.04);
  transform: translateY(-2px) scale(1.02);
}
.service-card h3, .service-card h2 {
  color: #21374C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.service-card .price {
  color: #E3B505;
  font-weight: 600;
  font-size: 1.12rem;
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-card {
    max-width: 100%;
    min-width: 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 4px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background: #F9EBC8;
  padding: 24px 28px;
  border-radius: 22px;
  min-width: 260px;
  flex: 1 1 295px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(233, 171, 54, 0.13);
  font-size: 1.08rem;
  color: #21374C;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:after {
  content: '\201C';
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-size: 2.8rem;
  color: #E3B50522;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(227,181,5,0.19);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-name {
  margin-top: 6px;
  color: #856321;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- BLOG & POST CARDS --- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.blog-post {
  background: #FFF8F0;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(33,55,76,0.05);
  padding: 22px 20px 19px 20px;
  flex: 1 1 260px;
  margin-bottom: 18px;
  font-size: 1.04rem;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.blog-post:hover, .blog-post:focus-within {
  box-shadow: 0 4px 22px 0 rgba(227,181,5,0.12);
  transform: scale(1.014);
}
.blog-categories span {
  color: #856321;
  font-size: 0.99rem;
  font-style: italic;
}
@media (max-width: 900px) {
  .blog-list { flex-direction: column; gap: 16px; }
}

/* --- GENERIC CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF8F6;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(227,181,5,0.11);
  padding: 20px 18px;
  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: 800px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom: 28px;
}
.text-section h2 {
  margin-bottom: 9px;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
  font-size: 1.04rem;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
  height: 22px;
}
.contact-details a {
  color: #21374C;
  font-weight: 500;
  text-decoration: underline;
}
.contact-details a:hover, .contact-details a:focus {
  color: #ad8b0b;
}

/* --- FOOTER --- */
footer {
  background: #21374C;
  color: #FFF8F0;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #E3B505;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 7px 10px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFF8F0;
  color: #21374C;
}
.brand-info {
  font-size: 0.95rem;
  color: #FFF8F0;
  opacity: 0.91;
  line-height: 1.7;
}
@media (max-width:700px) {
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF8F6;
  box-shadow: 0 -2px 15px 0 rgba(227,181,5,0.14);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  z-index: 1100;
  gap: 22px;
  transition: transform 0.4s cubic-bezier(.53,1.7,.65,.93);
}
.cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #21374C;
  font-size: 1.04rem;
  max-width: 530px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #E3B505;
  color: #21374C;
  border: none;
  border-radius: 14px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
  box-shadow: 0 1.5px 7px 0 rgba(227,181,5,0.09);
}
.cookie-btn:focus, .cookie-btn:hover, .cookie-settings-btn:focus, .cookie-settings-btn:hover {
  background: #ffd953;
  color: #21374C;
}
.cookie-reject-btn {
  background: #FFF8F6;
  color: #b3911c;
  border: 1px solid #E3B505;
  transition: background 0.12s, color 0.12s;
}
.cookie-reject-btn:focus, .cookie-reject-btn:hover {
  background: #E3B50544;
  color: #21374C;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 16px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 10px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33,55,76,0.25);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.25s;
  animation: modalFadeIn 0.23s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF8F6;
  border-radius: 22px;
  box-shadow: 0 8px 38px 0 rgba(227,181,5,0.21);
  padding: 34px 30px 30px 30px;
  max-width: 425px;
  width: 95vw;
  position: relative;
  z-index: 1202;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: modalPop 0.23s cubic-bezier(.3,2,.24,.95);
}
@keyframes modalPop {
  from { transform: scale(0.96); }
  to   { transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #E3B505;
  color: #21374C;
  font-size: 1.4rem;
  border-radius: 9px;
  border: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffd953;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #E3B505;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #21374C;
  font-weight: 500;
}
.cookie-category .cookie-always-on {
  color: #bda119;
  font-size: 0.97rem;
  font-style: italic;
  margin-top: 2px;
  margin-left: 2px;
}
.cookie-modal .cookie-btns {
  margin-top: 14px;
  gap: 13px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 4vw 19px 4vw;
    max-width: 99vw;
  }
  .cookie-modal-close {
    top: 5px; right: 5px;
  }
}

/* --- MICRO-INTERACTIONS --- */
button, .cta, .cookie-btn, .cookie-settings-btn, .cookie-reject-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.15s, box-shadow 0.18s, transform 0.18s;
}
button:active, .cta:active, .cookie-btn:active, .cookie-settings-btn:active, .cookie-reject-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}

/* --- SPACING & LAYOUT PATTERNS (MANDATORY) --- */
.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;
}

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

/* --- FOCUS STATES --- */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px dashed #E3B505;
  outline-offset: 2px;
}

/* --- SCROLLBAR (OPTIONAL) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
  background: #E3B50588;
  border-radius: 8px;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

/* FONTS (GOOGLE FONTS) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
