/* --- CSS RESET & NORMALIZATION --- */
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,
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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #FFF9F1;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF9F1;
  color: #42403A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #185371;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B87746;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Gill Sans', 'Futura', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #185371;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.75rem; color: #1C1513; letter-spacing: 1.5px; }
h2 { font-size: 2.1rem; color: #185371; letter-spacing: 1.2px; }
h3 { font-size: 1.4rem; color: #B87746; margin-bottom: 10px }
h4, h5, h6 { color: #185371; font-size: 1.1rem; font-weight: 500; }
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  margin-bottom: 16px;
}
strong { color: #634942; font-weight: 700; }

/* --- VINTAGE RETRO COLORS & PATTERNS --- */
:root {
  --primary: #185371;
  --secondary: #40B2E6;
  --accent: #EFFBFD;
  --vintage-navy: #185371;
  --vintage-turquoise: #68BEB4;
  --vintage-coral: #FFBC8A;
  --vintage-gold: #F7D38C;
  --vintage-brown: #947052;
  --vintage-cream: #FFF9F1;
  --vintage-olive: #C7B09E;
  --vintage-red: #D66A55;
  --vintage-deepblue: #233B4D;
}

/* --- MAIN LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: var(--vintage-cream);
  border-radius: 32px;
  box-shadow: 0 6px 24px 0 rgba(36,41,53,0.07),0 1.5px 3px 0 rgba(70,59,28,0.08);
  padding: 34px 28px 34px 28px;
  max-width: 850px;
  margin: 0 auto;
  border: 2.5px dashed var(--vintage-turquoise);
}
.features-section {
  background: linear-gradient(90deg, var(--vintage-cream) 75%, var(--vintage-coral) 100%);
  border-radius: 24px;
  padding: 34px 30px;
  margin-bottom: 20px;
}

/* --- FLEX LAYOUTS --- */
.feature-grid, .service-list, .step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 20px;
  margin-top: 10px;
}
.card-container { 
  display: flex; flex-wrap: wrap; gap: 24px; 
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--vintage-gold);
  border-radius: 16px;
  box-shadow: 0 2.5px 12px 0 rgba(139, 67, 36, 0.07);
  padding: 30px 22px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vintage-cream);
  border-radius: 18px;
  border: 2px solid var(--vintage-turquoise);
  padding: 28px 18px 24px 18px;
  box-shadow: 0 4px 16px 0 rgba(130,79,37,0.09);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 24px;
  transition: box-shadow 0.28s, transform 0.22s;
}
.feature-item:hover, .feature-item:focus-visible {
  box-shadow: 0 8px 36px 0 rgba(130,79,37,0.18);
  transform: translateY(-2.5px) scale(1.03);
}
.service-item {
  background: var(--vintage-cream);
  border-radius: 15px;
  border: 2px dotted var(--vintage-olive);
  box-shadow: 0 3px 14px 0 rgba(0,0,0,0.06);
  padding: 21px 18px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
  transition: background 0.18s, box-shadow 0.18s;
}
.service-item:hover {
  box-shadow: 0 6px 24px 0 rgba(130,79,37,0.15);
  background: var(--vintage-gold);
}

/* --- TESTIMONIALS --- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 18px;
  justify-content: start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 26px 24px 22px 24px;
  background: #FFF6EC;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(41,21,9,0.10);
  min-width: 265px;
  max-width: 370px;
  flex: 1 1 265px;
  border: 2.5px solid var(--vintage-coral);
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 44px 0 rgba(57,30,10,0.20);
  transform: scale(1.025);
}
.testimonial-rating {
  font-family: 'Montserrat', 'Gill Sans', 'Futura', sans-serif;
  font-size: 1.7rem;
  color: #E2A93D;
  letter-spacing: 4px;
}
.testimonial-card p {
  color: #185371;
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-client {
  color: #947052;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
}

/* --- SPACING/LIST/CONTENT UTILITY --- */
ul, ol {
  padding: 0 0 0 0;
  margin-bottom: 20px;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #42403A;
  margin-bottom: 8px;
}

/* --- BUTTONS & CTAs --- */
.cta-primary,
button.cta-primary,
input[type="submit"].cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vintage-navy);
  color: var(--vintage-cream);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 34px;
  font-size: 1.18rem;
  border: none;
  border-radius: 33px;
  box-shadow: 0 4px 16px 0 rgba(24,83,113,0.10);
  cursor: pointer;
  letter-spacing: 1.5px;
  margin: 16px 0;
  text-shadow: 1px 1px 2px rgba(41,21,9,0.06);
  text-decoration: none;
  position: relative;
  transition: background 0.21s, transform 0.18s, box-shadow 0.22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--vintage-coral);
  color: #15455B;
  transform: translateY(-1.5px) scale(1.022);
  box-shadow:0 8px 30px 0 rgba(24,83,113,0.12);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vintage-coral);
  color: #233B4D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 25px;
  font-size: 1.06rem;
  border: 2px solid var(--vintage-navy);
  border-radius: 30px;
  margin: 10px 0;
  box-shadow: 0 2.5px 8px 0 rgba(139, 67, 36, 0.07);
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.18s, color 0.16s, border-color 0.18s, box-shadow 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vintage-navy);
  color: var(--vintage-cream);
  border-color: var(--vintage-coral);
}

button, input[type="submit"], .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #B87746;
  outline-offset: 4px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #F9E1B8 url('data:image/svg+xml;utf8,<svg width="100%" height="60" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="30" width="100%" height="30" rx="35" fill="%23E2A93D" fill-opacity=".13"/><rect x="27" y="12" width="90%" height="12" rx="15" fill="%233A4B5C" fill-opacity=".02"/></svg>') repeat-x;
  border-bottom: 3px solid var(--vintage-coral);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo img {
  height: 50px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Gill Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: #233B4D;
  padding: 6px 4px 3px 4px;
  letter-spacing: 1.2px;
  border-bottom: 2px solid transparent;
  opacity: 0.97;
  transition: border-color 0.17s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B87746;
  border-bottom: 2px solid var(--vintage-coral);
}

header .cta-primary {
  margin-left: 24px;
  font-size: 1.07rem;
  padding: 10px 24px;
  border-radius: 24px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  margin-left: 26px;
  background: none;
  color: #185371;
  border-radius: 8px;
  padding: 3px 8px;
  transition: background 0.08s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F7D38C;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(240,238,228,0.97);
  box-shadow: 0 10px 50px 0 rgba(64,32,18,0.18);
  transform: translateX(-100%);
  transition: transform 0.48s cubic-bezier(.55,.11,.72,1.01);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  font-size: 2.3rem;
  color: #185371;
  border: none;
  z-index: 1230;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 80px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #185371;
  letter-spacing: 2px;
  padding: 10px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B87746;
  border-color: var(--vintage-coral);
}


/* --- FOOTER --- */
footer {
  background: #F9E1B8;
  border-top: 3px double #B87746;
  padding: 45px 0 30px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  flex: 1 1 265px;
}
.footer-left img {
  height: 44px;
}
.footer-left p {
  color: #185371;
  font-size: 1rem;
  margin-top: 5px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-nav a {
  font-size: 0.97rem;
  color: #634942;
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D66A55;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
  flex: 1 1 265px;
}
.footer-right ul li {
  color: #65451A;
  font-size: 0.99rem;
}
.footer-right p {
  color: #947052;
  font-size: 0.93rem;
}


/* --- PRICING TABLE --- */
.pricing-section {
  background: var(--vintage-cream);
  border-radius: 25px;
  box-shadow: 0 6px 20px 0 rgba(22,83,113,0.06);
  padding: 30px 26px 40px 26px;
}
.pricing-table {
  width: 100%;
  border-spacing: 0;
  margin: 38px 0 30px 0;
  background: #FFFFF1;
  border-radius: 15px;
  box-shadow: 0 3px 14px 0 rgba(24,83,113,0.10);
  overflow: hidden;
  font-size: 1.08rem;
}
.pricing-table th, .pricing-table td {
  padding: 20px 17px;
  text-align: left;
  border-bottom: 1px solid #F4E9D6;
  font-family: 'Montserrat', 'Gill Sans', Arial, sans-serif;
}
.pricing-table th {
  background: var(--vintage-navy);
  color: #FFFBEA;
  font-size: 1.14rem;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody tr:hover {
  background: #F4DEB0;
  transition: background 0.13s;
}

/* --- FAQ SECTION --- */
.faq-section {
  background: var(--vintage-accent, #EFFBFD);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(22,83,113,0.09);
  padding: 32px 28px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FFEAD1;
  border-radius: 13px;
  padding: 15px 20px;
  border-left: 4px solid #B87746;
  transition: box-shadow 0.18s;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
}
.faq-item h3 {
  font-size: 1.15rem;
  color: #185371;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.faq-answer {
  font-size: 1rem;
  color: #4A4741;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- MISC: MODALS, BANNERS, ETC. --- */
/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 3000;
  width: 100vw;
  background: #FFEAD1;
  border-top: 2.5px solid #B87746;
  color: #363839;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 26px 24px 20px 24px;
  box-shadow: 0 -4px 14px 0 rgba(41, 21, 9, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.cookie-consent-banner p {
  flex: 2 1 260px;
  font-size: 1.04rem;
  margin: 0 8px 0 0;
}
.cookie-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--vintage-navy);
  color: var(--vintage-cream);
  border: none;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  padding: 11px 22px;
  margin: 0 2px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(24,83,113,.08);
  transition: background 0.15s, color 0.19s, box-shadow 0.12s;
}
.cookie-btn.settings {
  background: #DFC292;
  color: #233B4D;
  border: 1.5px solid #947052;
}
.cookie-btn.reject {
  background: #947052;
  color: #FCE6C8;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--vintage-coral);
  color: var(--vintage-navy);
  box-shadow: 0 4px 14px 0 #E2A93D;
}

/* Cookie Consent Modal Popup */
.cookie-modal-bg {
  position: fixed;
  z-index: 3700;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(230, 204, 175, 0.86);
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-bg.open {
  display: flex;
}
.cookie-modal {
  background: #FFF8ED;
  border-radius: 22px;
  max-width: 390px;
  width: 94vw;
  box-shadow: 0 6px 32px 0 rgba(41,21,9,0.26);
  padding: 32px 28px 28px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233B4D;
  position: relative;
}
.cookie-modal h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: #B87746;
  font-weight: 700;
}
.cookie-modal ul {
  margin-bottom: 0;
}
.cookie-modal li {
  font-size: 0.99rem;
  color: #65451A;
  gap: 8px;
  position: relative;
}
.cookie-switch-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 14px 0 18px 0;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.cookie-toggle label {
  font-size: 1.09rem;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  width: 25px; height: 25px;
  accent-color: #185371;
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: #FFEAD1;
  border: 1.5px solid #B87746;
  color: #B87746;
  border-radius: 60%;
  padding: 6px 12px;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #B87746;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E2A93D;
  color: #233B4D;
}


/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
:focus {
  outline: 2px solid var(--vintage-coral);
  outline-offset: 2px;
}
section, .section, .feature-item, .service-item, .testimonial-card, .faq-item {
  transition: box-shadow 0.22s, border-color 0.13s, background 0.21s, transform 0.18s;
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    box-shadow: 0 4px 28px 0 rgba(184,119,70,0.12);
    background: #FFF7E3;
  }
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1080px) {
  .feature-grid, .service-list, .content-grid, .testimonial-list {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .service-list, .testimonial-list {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }
  .card, .service-item, .feature-item, .testimonial-card {
    min-width: 180px;
    max-width: 480px;
    margin-right: 0;
    flex: 1 1 200px;
  }
  .footer-left, .footer-right {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  header .container {
    height: auto;
    flex-direction: row;
    padding: 0 8px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    z-index: 1001;
    margin-left: 4px;
  }
  header .cta-primary {
    display: none;
  }
  .feature-grid, .service-list, .content-grid, .testimonial-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-section, .features-section, .pricing-section, .faq-section {
    padding: 22px 7px 20px 7px;
    border-radius: 16px;
  }
  .feature-item, .service-item, .testimonial-card, .card {
    min-width: 98%;
    margin-bottom: 18px;
    max-width: none;
    border-radius: 11px;
    padding: 18px 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.09rem; }
  footer .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-left, .footer-right { align-items: flex-start; }
}
@media (max-width: 520px) {
  header .container, .container {
    padding: 0;
  }
  .section, section {
    padding: 21px 0;
  }
  .feature-item, .service-item, .testimonial-card {
    padding: 10px 3px 10px 8px;
    border-radius: 7px;
  }
  .footer-left img, .logo img {
    height: 39px;
  }
  .pricing-table th, .pricing-table td {
    padding: 7px 3px;
    font-size: 0.93rem;
  }
  .faq-section, .pricing-section {
    padding: 8px 3px 8px 3px;
  }
  .cookie-consent-banner { padding: 12px 6px; font-size: 0.98rem; }
  .cookie-modal { padding: 15px 4vw; }
}
