/* ================= CSS 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;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F6F2;
  color: #3E312B;
  min-height: 100vh;
}
article,aside,details,figcaption,figure, 
footer,header,hgroup,menu,nav,section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background 0.22s cubic-bezier(0.45,0.3,0.45,1.13);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  font-family: inherit;
  cursor: pointer;
  background: none;
  outline: none;
}

/* ================= VINTAGE RETRO COLOR PALETTE ================= */
:root {
  --color-primary: #24476A; /* Brand blue */
  --color-secondary: #F4F7FB; /* Pale ivory blue */
  --color-accent: #BA6600; /* Vintage orange */
  --color-accent-alt: #E98C2F; /* Lighter accent (for hovers, highlights) */
  --color-bg: #F7F6F2;
  --color-bg-dark: #e6e1d8;
  --color-cream: #FFF8E4;
  --color-brown: #7A4D24;
  --color-vintage-blue: #486C86;
  --color-dark: #3E312B;
  --color-white: #fff;
}

body {
  background: var(--color-bg);
  color: var(--color-dark);
  font-size: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ==================== FONT STACKS ==================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.22rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, li, span, a, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
  color: var(--color-brown);
}

/* =============== RETRO PATTERNS AND VINTAGE ELEMENTS =============== */
section, .section {
  background: var(--color-cream);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 8px 30px -14px rgba(122,77,36,0.09), 0 2px 6px 0 rgba(122,77,36,0.04);
  border: 1.5px solid var(--color-vintage-blue);
  position: relative;
}
section.hero, .hero {
  background: repeating-linear-gradient(135deg, #FFF8E4, #FFF8E4 30px, #F7F6F2 30px, #F7F6F2 60px), var(--color-secondary);
  border: none;
  box-shadow: 0 10px 46px -10px #BA660005, 0 2px 14px 0 #BA660010;
  padding-top: 44px;
}

/* ================ CONTAINER & SPACING =================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ============== HEADER & NAVIGATION (DESKTOP) ============ */
header {
  background: var(--color-primary);
  color: var(--color-white);
  width: 100%;
  box-shadow: 0 1px 16px 0 rgba(36,71,106,0.12);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 48px; width: auto; }
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 4px 0 2px 0;
  font-size: 1rem;
  position: relative;
  text-shadow: 0 2px 8px rgba(36,71,106,0.11);
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent-alt);
}
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 11px 33px;
  box-shadow: 0 3px 8px -2px #BA660025;
  letter-spacing: 0.05em;
  border: 2px solid var(--color-accent);
  margin-left: 24px;
  margin-right: 6px;
  transition: transform 0.13s cubic-bezier(.64,.09,.32,1.09), background 0.15s, color 0.14s;
  text-shadow: 0 2px 8px rgba(186,102,0,0.08);
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-3px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, color 0.12s;
  margin-left: 18px;
  z-index: 102;
  border: 2px solid var(--color-accent);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff;
  color: var(--color-accent);
  outline: none;
}

/* ========================= MOBILE MENU ========================== */
.mobile-menu {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.64,.09,.32,1.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  opacity: 0.99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  margin: 24px 0 0 18px;
  align-self: flex-start;
  border: 2px solid var(--color-accent);
  transition: background 0.12s, color 0.12s;
  z-index: 910;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 60px 0 0 18px;
  width: 80vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 4px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* =========== HERO SECTION =========== */
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  font-family: 'Montserrat', cursive, sans-serif;
  text-shadow: 0 2px 16px #e6e1d855;
  margin-bottom: 12px;
}
.hero p {
  color: var(--color-brown);
  margin-bottom: 18px;
  font-size: 1.14rem;
  max-width: 520px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  text-shadow: 0 2px 12px #fff1e1aa;
}
.hero .cta-btn {
  margin-top: 10px;
}

/* =========== FEATURES & CARDS (VINTAGE PATTERN) =========== */
.features, .about-preview, .services-preview, .services, .process, .testimonial-preview, .cta-section, .contact-cta, .contact, .thank-you, .support-offered, .faq-accordion, .text-section {
  background: var(--color-cream);
  border-radius: 18px;
  box-shadow: 0 8px 30px -14px #BA660025,0 2px 6px 0 #7A4D241a;
  margin-bottom: 60px;
  padding: 40px 20px;
  border: 1px solid var(--color-vintage-blue);
}
.features .content-wrapper, .features ul,
.services-preview ul, .services ul, .process ul,
.faq-accordion > div, .support-offered ul,
.about-preview .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li,
.services-preview ul li,
.about-preview .text-section ul li,
.services ul li,
.process ul li,
.support-offered ul li,
.thank-you ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.features ul li img {
  width: 30px;
  height: 30px;
}

/* =========== TESTIMONIALS & CARDS =========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 20px 24px;
  background: var(--color-secondary);
  border-radius: 16px;
  box-shadow: 0 2px 24px -11px #486C8650;
  min-width: 260px;
  max-width: 530px;
  border: 1.5px dashed var(--color-vintage-blue);
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.1rem;
  margin-bottom: 0;
  font-family: 'Roboto', serif, sans-serif;
}
.testimonial-info {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

/* ========== CARDS ================== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-cream);
  border: 1.5px solid var(--color-primary);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px -8px #BA660025, 0 1px 4px 0 #24476A13;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.14s,cubic-bezier(.77,.42,.22,1), box-shadow 0.18s;
}
.card:hover,
.card:focus-within {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 8px 34px -10px #BA66003d, 0 4px 28px -20px #24476A2a;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

/* ========== FAQ ACCORDION ========= */
.faq-accordion > div {
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 20px;
  background: var(--color-bg-dark);
  box-shadow: 0 1.5px 8px -2px #486C8640;
}
.faq-accordion h2 {
  color: var(--color-accent);
  font-size: 1.16rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}
.faq-accordion p {
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ========== MISC LAYOUTS & FLEX ========= */
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== BUTTONS ========== */
button, a.cta-btn {
  cursor: pointer;
  transition: background 0.16s, color 0.12s, border-color 0.13s, box-shadow 0.16s, transform 0.13s;
}
button:active, a.cta-btn:active {
  transform: scale(0.98);
}

/* ========== LINKS ========== */
a {
  color: var(--color-accent);
  text-decoration-skip-ink: auto;
}
nav a {
  color: inherit;
}
nav a:hover, nav a:focus {
  color: var(--color-accent-alt);
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 16px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 148px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.96rem;
  text-shadow: 0 2.5px 11px rgba(36,71,106,0.18);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  min-width: 180px;
}
.footer-contact p {
  color: #fff;
  font-size: 0.97rem;
  line-height: 1.5;
  text-shadow: 0 1.5px 4px rgba(36,71,106,0.12);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.social-links a {
  border-radius: 50%;
  background: #fff2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background 0.14s;
  border: 2px solid var(--color-accent);
}
.social-links a:hover,
.social-links a:focus {
  background: var(--color-accent);
}
.social-links img {
  width: 24px;
  height: 24px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--color-cream);
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -4px 18px -8px #BA660025;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 20px 10vw 20px 10vw;
  font-size: 1rem;
  color: var(--color-dark);
  animation: slideUp 0.6s cubic-bezier(.72,1.48,.36,.96);
}
@keyframes slideUp {
  from { transform: translateY(180px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 auto;
  color: var(--color-dark);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  padding: 9px 19px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 4px;
  transition: background 0.16s, color 0.13s, border-color 0.14s;
  box-shadow: 0 2px 12px -4px #BA66006e;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: var(--color-accent);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 2010;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(36, 71, 106, 0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  animation: fadein 0.25s linear;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal .modal-content {
  width: 90vw;
  max-width: 430px;
  background: var(--color-bg-dark);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 8px 28px -11px #24476A33;
  padding: 32px 22px 24px 22px;
  border: 2px solid var(--color-accent);
  margin-bottom: 0;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--color-dark);
}
.cookie-modal h3 {
  font-size: 1.17rem;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin-bottom: 2px;
}
.cookie-option label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: var(--color-dark);
}
.cookie-option input[type=checkbox], .cookie-option input[type=radio] {
  accent-color: var(--color-accent);
  width: 19px;
  height: 19px;
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  position: absolute;
  left: calc(100vw - 42px - 29px);
  top: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  width: 39px;
  height: 39px;
  color: #fff;
  font-size: 1.7rem;
  border: 2px solid var(--color-accent);
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #fff;
  color: var(--color-accent);
}

/* ========== RESPONSIVE: MOBILE FIRST ========== */
@media (max-width: 991px) {
  .container {
    max-width: 96vw;
    padding: 0 9px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  section, .section, .features, .testimonial-card, .about-preview, .services-preview, .card, .content-wrapper, .cta-section, .process, .faq-accordion > div, .thank-you {
    padding: 24px 7px;
    margin-bottom: 32px;
    border-radius: 11px;
  }
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 17px;
  }
  .hero h1 { font-size: 1.37rem; }
  .hero p { font-size: 1rem; max-width: 95%; }
  .testimonial-card { padding: 18px 8px 13px 8px; min-width: unset; max-width: 100vw; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .features ul, .services-preview ul, .services ul, .process ul, .faq-accordion > div, .about-preview .text-section ul, .support-offered ul { gap: 12px; }
  footer .content-wrapper { gap: 14px; }
  .footer-contact { min-width: unset; }
  .social-links { gap: 8px; }
  .cookie-banner { flex-direction: column; padding: 19px 5vw; gap: 18px; font-size: 0.96rem; }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 9px; }
}

@media (max-width: 465px) {
  .cookie-modal .modal-content {
    padding: 14px 5px 18px 10px;
    max-width: 95vw;
    font-size: 0.97rem;
  }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-btn, .card, .mobile-menu-close, .mobile-menu-toggle, .social-links a,
button, .cookie-banner button, .cookie-modal .modal-close {
  transition: all 0.16s cubic-bezier(.72,1.48,.36,.96);
}
.card:hover, .card:focus-within, .cta-btn:hover, .cta-btn:focus, .social-links a:hover, .social-links a:focus, .cookie-banner button:hover, .cookie-modal .modal-close:hover {
  box-shadow: 0 8px 36px -12px #24476A25, 0 3px 15px -8px #BA660035;
}

/* ========== CUSTOM RETRO DETAILS ========== */
/* Decorative border stripe for sections */
section:not(.hero)::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 18px;
  width: 5px;
  height: 80%;
  background: linear-gradient(135deg,var(--color-accent) 36%, transparent 100%);
  border-radius: 4px;
  opacity: 0.6;
  z-index: 1;
}
@media (max-width: 768px) {
  section:not(.hero)::before {
    display: none;
  }
}

/* Add playful vintage-style dots (optional, for cards or testimonials) */
.card::after, .testimonial-card::after {
  content: '';
  position: absolute;
  right: 19px;
  top: 19px;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 100%;
  opacity: 0.22;
  pointer-events: none;
}

/* ========== OVERRIDES & FIXES ========== */
::-webkit-scrollbar { width: 10px; background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 14px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

input, textarea, select {
  font-family: inherit;
  border-radius: 6px;
  border: 1.5px solid var(--color-primary);
  padding: 8px 10px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

/* ========== PRINT ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; }
  .container { max-width: 98vw !important; }
}
