/* RESET & NORMALIZE */
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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
    display:block;
}
body { line-height: 1.5; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
*:focus { outline: 2px dashed #E7533A; outline-offset: 3px; }

/* ROOT & BRAND COLORS */
:root {
  --bt-blue: #1A567A;
  --bt-sky: #4EC6E3;
  --bt-cream: #FAFAF5;
  --bt-retro-gold: #FFB759;
  --bt-retro-brown: #8D6748;
  --bt-retro-red: #E7533A;
  --bt-retro-cyan: #7fe7df;
  --bt-retro-green: #C2CE6C;
  --bt-dark: #212019;
  --bt-gray: #f5ece5;
  --bt-card-shadow: 0 2px 12px 0 rgba(22,22,22,0.10);
  --bt-radius: 12px;
  --shadow-light: 0 1.5px 7px 0 rgba(165,110,70,.12);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bt-cream);
  color: var(--bt-dark);
  font-size: 16px;
  min-height: 100vh;
  box-sizing: border-box;
  scroll-behavior: smooth;
  letter-spacing: 0.04em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--bt-blue);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.5rem; text-shadow: 1px 2px var(--bt-retro-gold); }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; color: var(--bt-retro-brown); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

@media (max-width:600px){
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

p, li {
  color: var(--bt-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
strong { color: var(--bt-retro-red); }

.container {
  width: 100%;
  max-width: 1150px;
  padding:0 24px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bt-cream);
  border-radius: var(--bt-radius);
  box-shadow: var(--shadow-light);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 28px;
}

/* ========== NAVIGATION BAR ========== */
header {
  background: var(--bt-retro-gold);
  border-bottom: 5px solid var(--bt-retro-brown);
  box-shadow: 0 3px 20px 0 rgba(145,120,80,.07);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 16px 24px;
}
.main-nav > a img {
  height: 50px;
  width: auto;
  display:block;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav li { display: flex; }
.main-nav a {
  color: var(--bt-dark);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 28px;
  background: transparent;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus:not(.btn-primary) {
  background: var(--bt-retro-brown);
  color: #fff;
}
.btn-primary {
  background: var(--bt-retro-red);
  color: #fff !important;
  border-radius: 28px;
  font-size: 1.05rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-shadow: 1px 1px 1px rgba(30,30,30,.08);
  padding: 10px 32px;
  box-shadow: var(--bt-card-shadow);
  border: none;
  font-weight: 700;
  transition: background .18s;
  margin-left: 16px;
  cursor: pointer;
}
.btn-primary:hover,.btn-primary:focus{
  background: var(--bt-blue);
  color: var(--bt-retro-gold) !important;
}
@media (max-width:900px) {
  .main-nav ul {
    gap: 12px;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 2rem;
  background: var(--bt-blue);
  color: var(--bt-retro-gold);
  border: none;
  border-radius: 50%;
  padding: 7px 14px;
  z-index: 3001;
  cursor: pointer;
  transition: background .18s, color .16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--bt-retro-red);
  color: #fff;
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--bt-retro-gold);
  box-shadow: 0 12px 40px 0 rgba(70,60,30,.22);
  z-index: 4000;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.78,-0.01,.31,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--bt-retro-red);
  font-size: 2.1rem;
  border: none;
  margin: 20px 0 16px 26px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 4901;
  transition: color .16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--bt-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 0 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight:700;
  color: var(--bt-retro-brown);
  font-size: 1.15rem;
  padding: 14px 0;
  width: 100%;
  border-radius: 8px;
  background: none;
  border-bottom: 1px dotted var(--bt-retro-brown);
  transition: background .17s, color .18s;
  margin-bottom: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--bt-retro-red);
  color: #fff;
}

/* ====== LAYOUT & FLEX PATTERNS ====== */
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =============== FEATURES SECTION =============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > li {
  flex: 1 1 200px;
  min-width: 220px;
  background: var(--bt-gray);
  box-shadow: var(--bt-card-shadow);
  border-radius: var(--bt-radius);
  padding: 24px 18px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--bt-retro-gold);
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .16s;
}
.feature-grid > li:hover {
  box-shadow: 0 5px 30px 1px rgba(101,80,60,.14);
  transform: translateY(-5px) scale(1.025);
}
.feature-grid img {
  height: 40px; margin-bottom: 8px;
}

/* =============== SERVICE CARDS =============== */
.service-cards, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
  justify-content: flex-start;
}
.service-card {
  background: var(--bt-retro-cyan);
  border-radius: 13px;
  box-shadow: var(--shadow-light);
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  flex: 1 1 215px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--bt-blue);
  transition: box-shadow .19s,transform .13s;
  position: relative;
  z-index: 3;
}
.service-card img {
  width: 38px; height: 38px; margin-bottom: 7px;
}
.service-card h3, .service-card h4 {
  color: var(--bt-retro-brown);
}
.service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(90,75,55,0.15);
  transform: translateY(-3px) scale(1.03);
  border-color: var(--bt-retro-gold);
}

/* =============== TESTIMONIALS =============== */
.testimonial-slider {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}
.testimonial-card {
  background: #fff8f2;
  border-radius: var(--bt-radius);
  box-shadow: 0 2px 7px 0 rgba(200,100,30,0.10);
  border: 1.6px solid var(--bt-retro-gold);
  padding: 22px 24px;
  min-width: 230px;
  max-width: 360px;
  font-size: 1.06rem;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .12s, border-color .17s, transform .12s;
  color: #311302;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #442711;
  margin-bottom: 10px;
}
.testimonial-card .testimonial-name, .testimonial-card span {
  color: var(--bt-retro-brown);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(220,160,80,0.13);
  border-color: var(--bt-retro-brown);
  transform: translateY(-2px) scale(1.025);
}

/* ============== FAQ ACCORDION ============== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--bt-gray);
  border-radius: 10px;
  box-shadow: 0 2.5px 10px 0 rgba(60,44,22,0.06);
  padding: 22px 16px;
  border-left: 6px solid var(--bt-retro-gold);
  transition: box-shadow .13s;
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.2rem;
  color: var(--bt-retro-red);
  margin-bottom: 8px;
}
.faq-item p { color: #29241E; }
.faq-item:hover {
  box-shadow: 0 9px 32px 0 rgba(90,45,11,0.07);
}
.faq-list {
  display: flex; flex-direction: column; gap: 20px; margin: 0;
}
.faq-list li {
  background: #fcf3e4;
  border-radius: 8px;
  box-shadow: 0 2px 6px 0 rgba(150,120,60,0.06);
  padding: 20px 12px 18px 19px;
  border-left: 6px solid var(--bt-retro-red);
  margin-bottom: 14px;
}
.faq-list strong {
  color: var(--bt-blue);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ================ FOOTER ================ */
footer {
  background: #E7D9B9;
  border-top: 4px solid var(--bt-retro-brown);
}
footer .container {
  padding-top: 40px; padding-bottom: 30px;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  height: 42px; width: auto;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
.footer-nav a, .footer-legal a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--bt-retro-brown);
  font-weight: 600;
  transition: color .16s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--bt-retro-red);
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--bt-dark);
  max-width: 350px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
  height: 19px;
}
@media (max-width: 1000px) {
  .content-wrapper{
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-logo { order:1; }
  .footer-nav { order:2; }
  .footer-legal { order:3; }
  .footer-contact { order:4; }
}

/* ========== FORMS & BUTTONS ========== */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid var(--bt-blue);
  padding: 10px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
  background: #fffaf7;
  box-shadow: 0 1.5px 6px 0 rgba(170, 110, 30,.04);
  transition: border .17s;
}
input:focus, textarea:focus {
  border-color: var(--bt-retro-red);
}
.contact-details ul, .contact-details li {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
}
.contact-details li {
  display: flex; align-items: center; gap:7px;
  margin-bottom: 9px;
}
.contact-details img { width:19px; height:19px; margin-right:6px; }

/* ========== UTILITIES & MISC ========== */
.map-location img {
  vertical-align: middle;
  margin-right: 8px;
  height: 19px;
}
.team-highlights h3 {
  color: var(--bt-retro-green);
  margin-bottom: 7px;
}

/* ========== CARDS ========== */
.card {
  background: #fcf6ec;
  border-radius: var(--bt-radius);
  box-shadow: 0 2.5px 11px 0 rgba(90,60,20,0.10);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow .14s, border-color .11s;
  border: 1.5px solid var(--bt-retro-gold);
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(90,65,25,0.13);
  border-color: var(--bt-retro-brown);
}

/* ========== TEXT COLORS & BADGES ========== */
.badge {
  display: inline-block;
  background: var(--bt-retro-red);
  color: #fff; 
  border-radius: 12px;
  font-size: 0.89rem;
  padding: 4px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
}

/* ========== HERO & CTA ========== */
.hero-subtitle {
  font-size: 1.22rem;
  color: var(--bt-retro-brown);
  margin:12px 0 24px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: -185px; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: #fffbe6;
  color: var(--bt-dark);
  border-top: 4px solid var(--bt-retro-gold);
  box-shadow: 0 -2px 20px 0 rgba(120,90,40,0.12);
  padding: 28px 10vw 16px 10vw;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  animation: fadeInCookie .72s;
}
@keyframes fadeInCookie {
  from { transform:translateY(80px); opacity:0; } to { transform:none; opacity:1;}
}
.cookie-banner button {
  margin: 6px 10px 0 0;
  border: none;
  padding: 10px 26px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .13s;
}
.cookie-banner .accept {
  background: var(--bt-retro-green);
  color: #212019;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--bt-retro-brown);
  color: #fff;
}
.cookie-banner .reject {
  background: var(--bt-retro-red);
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--bt-blue);
}
.cookie-banner .settings {
  background: var(--bt-retro-cyan);
  color: var(--bt-retro-brown);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--bt-retro-gold);
}

/* ===== COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40,26,18,0.31);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .15s;
}
@keyframes fadeInModal {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal-content {
  background: #fff9f0;
  border-radius: 18px;
  box-shadow: 0 6px 30px 0 rgba(110,45,18,0.16);
  width: 94vw;
  max-width: 450px;
  padding: 38px 24px 30px 24px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--bt-retro-brown);
  font-size: 1.25rem;
  margin-bottom: 19px;
}
.cookie-modal-content label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--bt-retro-green);
  width: 18px; height: 18px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--bt-retro-red);
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius:50%;
  width:32px; height:32px;
  text-align:center;
  line-height:30px;
  cursor:pointer;
}
.cookie-categories {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  .main-nav {
    flex-direction: row;
    gap: 12px;
    padding: 14px 10px 14px 18px;
  }
  .container { padding: 0 10px; }
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid, .service-cards, .services-list, .testimonial-slider, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 28px 3vw;
    margin-bottom: 40px;
  }
  .testimonial-card, .service-card, .card {
    min-width: unset;
    max-width: 100%;
    padding: 18px 10px 16px 14px;
  }
  .feature-grid > li {
    min-width: unset;
    padding: 16px 11px;
  }
  .faq-item {
    padding: 14px 9px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 19px 4vw 10px 4vw;
    font-size: 0.97rem;
  }
  .cookie-modal-content {
    padding: 24px 8px 18px 10px;
  }
}

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

/* ========== MICRO-INTERACTIONS & HOVER ========== */
a, button {
  transition: color .15s, background .17s, border .14s, box-shadow .13s, transform .14s;
}
a:active, button:active {
  transform: scale(.97);
}

.btn-primary:active {
  background: var(--bt-retro-brown);
}

/* ========== CUSTOM TYPOGRAPHY UTILITIES ========== */
.text-retro-shadow {
  text-shadow: 2px 2px 0 var(--bt-retro-gold), 0 3px 6px rgba(100,40,0,.11);
}
.bg-retro-stripes {
  background: repeating-linear-gradient(135deg, #FFF8DD, #FFF8DD 28px, #F8ECC2 28px, #F8ECC2 56px);
}

/* ========== SELECTION COLOR ========== */
::selection { background: var(--bt-retro-red); color: #fff; }
::-moz-selection { background: var(--bt-retro-red); color: #fff; }

/* ======== VINTAGE CORNER RIBBONS (DECORATIVE) ======== */
.vintage-ribbon {
  position: absolute;
  top: -14px; right: -18px;
  background: var(--bt-retro-red);
  color: #fff!
  text-transform: uppercase;
  font-size: 0.88rem;
  padding: 3px 22px;
  border-radius: 8px 0 8px 0;
  z-index: 2;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1.5px 6px 0 rgba(80,34,14,.07);
}

/* ========== RETRO DECORATIVE BORDERS ========== */
.retrostroke {
  border: 3px double var(--bt-retro-green);
  box-shadow: 0 3px 14px 0 rgba(130,120,95,0.16);
  border-radius: 12px;
}

/* ========== Accessibility: High contrast for testimonials & reviews ========== */
.testimonial-card,
.testimonial-slider .testimonial-card,
.testimonial-card > p,
.testimonial-card > span, 
.testimonial-card > .testimonial-name {
  background: #fff8f2;
  color: #262006;
}

/* Prevent overlapping: ensure all flex items have spacing */
.feature-grid > li, .service-card, .testimonial-card, .faq-list li, .card {
  margin-bottom: 20px;
}
.card-container > * + * ,
.service-cards > * + *,
.feature-grid > * + *,
.testimonial-slider > * + *,
.faq-list > * + * {
  margin-left: 0; /* only use gap property not margin-left */
}

/* =========== END =========== */
