/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.65;
  min-height: 100vh;
  background: #FFFAF2;
  color: #473119;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
ul,ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
a {
  color: #1F2937;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #FFCE39;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* VINTAGE RETRO FONTS (Fallbacks included) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,700&display=swap');
:root {
  --brand-primary: #1F2937;
  --brand-secondary: #5CABDD;
  --brand-accent: #FFCE39;
  --retro-red: #C44E52;
  --retro-blue: #6A8CAF;
  --retro-green: #7EB77F;
  --retro-brown: #B99576;
  --retro-bg: #FFFAF2;
  --retro-border: #E5D3B3;
  --shadow: 0 4px 18px rgba(54,34,14,0.10), 0 1.5px 5px rgba(196,78,82,.04);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #473119;
  text-shadow: 0 2px 0 rgba(255,206,57,0.15);
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
}
p, li, ol, ul, td, th {
  font-family: 'Roboto', 'Arial Rounded MT', Arial, sans-serif;
  color: #473119;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.8;
}

/* PATTERNED RETRO BACKGROUNDS */
body, .hero {
  background: repeating-linear-gradient(135deg, #FFFAF2, #FFFAF2 40px, #FAE8B4 40px, #FAE8B4 48px);
}
.hero {
  background-color: #F7D882;
  background-image: repeating-linear-gradient(90deg, #F7D882 0 20px,transparent 20px 40px);
  border-bottom: 4px solid #E5D3B3;
  padding: 60px 0 40px 0;
}

.container {
  width: 92%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2vw;
}

/********************************/
/* HEADER / NAVIGATION STYLES   */
/********************************/
header {
  width: 100%;
  background: #FFF8E1;
  border-bottom: 3px solid #B99576;
  position: relative;
  z-index: 40;
  padding: 0 0 8px 0;
}
.main-nav {
  width: 100%;
  max-width: 1160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2vw 0 2vw;
  margin: 0 auto;
  position: relative;
}
.main-nav > a img {
  height: 40px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-left: 14px;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 0 5px 3px;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #473119;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-accent);
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Arial Rounded MT', Arial, sans-serif;
  font-weight: bold;
  background: #FFCE39;
  color: #2E2321;
  border-radius: 28px;
  font-size: 1.12rem;
  padding: 11px 30px 11px 30px;
  box-shadow: 0 2px 7px rgba(247,216,130,0.11);
  border: 2px solid #E5D3B3;
  text-shadow: 0 1px 0 #fff5cc;
  letter-spacing: 0.02em;
  transition: background .23s, box-shadow .23s, color .17s, border .18s;
  margin-left: 18px;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #FFD964;
  color: #744400;
  box-shadow: 0 3px 12px rgba(196,78,82,0.11);
  border: 2px solid #FFCE39;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: var(--brand-accent);
  color: #473119;
  border: none;
  border-radius: 24px;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 17px;
  display: none;
  z-index: 120;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 2px 8px rgba(247,216,130,0.13);
}
.mobile-menu-toggle:active {
  background: #FFD964;
  color: #7D511A;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F7D882;
  box-shadow: 0 6px 32px rgba(32,22,1,0.13);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.57,0.14,0.18,1.01);
  opacity: 0.96;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #473119;
  font-size: 2.2rem;
  margin: 18px 0 16px 22px;
  cursor: pointer;
  z-index: 210;
  align-self: flex-end;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #C44E52;
}
.mobile-nav {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  padding: 15px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #473119;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  width: 90vw;
  transition: color 0.2s, border 0.2s, background 0.22s;
  border-radius: 14px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFCE39;
  color: #C44E52;
  border-bottom: 2px solid #B99576;
}

/********************************/
/* SECTION / PANEL / CARD LAYOUT */
/********************************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9E2;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container, .service-cards, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .service-card {
  flex: 1 1 260px;
  min-width: 230px;
  background: #FFFBEE;
  border-radius: 19px;
  box-shadow: 0 2px 12px #E5D3B357;
  margin-bottom: 20px;
  padding: 24px 22px;
  position: relative;
  border: 1.5px solid #B99576;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.21s, border-color 0.18s, transform 0.18s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 4px 24px #C44E5233;
  border-color: #FFCE39;
  transform: translateY(-2px) scale(1.025);
}

/********************************/
/* TESTIMONIALS                 */
/********************************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF8E1;
  padding: 24px 20px;
  margin-bottom: 24px;
  border-radius: 19px;
  box-shadow: 0 1.5px 8px #7EB77F33;
  border-left: 7px solid var(--retro-blue);
  border-top: 2.5px dotted var(--brand-accent);
  color: #2E2321;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  min-width: 210px;
  max-width: 550px;
  word-break: break-word;
}
.testimonial-card p {
  font-size: 1.02rem;
  margin-bottom: 0;
  color: #2E1A05;
}
.testimonial-card strong {
  font-weight: 800;
  font-size: 1.03rem;
  color: #473119;
  font-family: 'Montserrat', Arial, sans-serif;
}

/********************************/
/* TABLES & PRICING             */
/********************************/
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  background: #F3E3B9;
  border-radius: 11px;
  box-shadow: 0 1px 4px #B9957644;
  overflow: hidden;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1.5px dashed #E5D3B3;
  text-align: left;
  color: #473119;
}
th {
  background: #FFF8E1;
  font-weight: bold;
}
tr:last-child td {
  border-bottom: none;
}

/********************************/
/* TEXT BLOCKS & FEATURES       */
/********************************/
.text-section {
  max-width: 690px;
  padding: 0 10px;
  font-size: 1.07rem;
  color: #473119;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF7E5;
  border-radius: 13px;
  padding: 14px 16px;
  border: 1.5px solid #B99576;
  margin-bottom: 15px;
}

/********************************/
/* BUTTONS                      */
/********************************/
button,
input[type="button"],input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  background: var(--brand-accent);
  color: #2E2321;
  border: 2px solid #B99576;
  border-radius: 27px;
  padding: 8px 25px;
  box-shadow: 0 1px 3px #EBB75322;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background .2s, border .2s, color .14s, box-shadow .19s;
  margin: 6px 4px;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #FFD964;
  color: #744400;
  border: 2px solid #FFCE39;
  box-shadow: 0 5px 16px #B9957635;
}

/********************************/
/* ORDERED & UNORDERED LISTS    */
/********************************/
ul, ol {
  margin: 0 0 15px 0;
  padding-left: 0;
}
ul li, ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 7px;
  line-height: 1.7;
}
ul li::before {
  content: '◉';
  color: #C44E52;
  display: inline-block;
  position: absolute;
  left: 0;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.85;
}
ol li::before {
  content: counter(li) '.';
  color: #7EB77F;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  left: 0;
  counter-increment: li;
  opacity: 0.93;
}
ol {
  counter-reset: li;
}

/********************************/
/* FOOTER                       */
/********************************/
footer {
  background: #FFE4B0;
  border-top: 3px solid #B99576;
  padding: 34px 0 20px 0;
  margin-top: 45px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #473119;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  opacity: 0.92;
  transition: color 0.16s, text-decoration 0.22s;
  padding: 3px 7px;
  border-radius: 4px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #C44E52;
  text-decoration: underline dotted; 
  background: #FFECB3;
}

/********************************/
/* COOKIE CONSENT BANNER        */
/********************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #473119;
  color: #FFF8E1;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 18px 10px;
  z-index: 999;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -4px 20px #C44E5229;
  font-size: 1.04rem;
  opacity: 1;
  animation: slideUpBanner .6s cubic-bezier(0.75,0.1,0.37,1.1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-action-btn {
  background: #FFCE39;
  color: #473119;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 8px 21px;
  margin: 0 6px;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background .16s, color .15s, box-shadow .14s;
}
.cookie-banner .cookie-action-btn:hover,
.cookie-banner .cookie-action-btn:focus {
  background: #FFD964;
  color: #744400;
  box-shadow:0 2.5px 11px #FFCE3939;
}
.cookie-banner .cookie-settings-btn {
  background: #FFF8E1;
  color: #B99576;
  border: 1.5px solid #FFCE39;
  margin-right: 4px;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #FFCE3922;
  color: #C44E52;
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 410px;
  background: #FFF8E1;
  color: #473119;
  z-index: 1001;
  border-radius: 23px;
  transform: translate(-50%,-51%) scale(1.03);
  box-shadow: 0 4px 28px #B9957629;
  padding: 34px 22px 22px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: showModal .42s cubic-bezier(0.17,0.68,0.24,1.27);
}
@keyframes showModal {
  from { opacity:0; transform: translate(-50%,-80%) scale(0.92); }
  to { opacity:1; transform: translate(-50%,-51%) scale(1.03); }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.cookie-modal .cookie-options {
  margin: 18px 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFF2C2;
  border-radius: 11px;
  padding: 10px 8px;
}
.cookie-modal .cookie-category-label {
  flex: 1 1 0%;
  font-weight: 600;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom:0;
  background-color: #B99576;
  border-radius: 16px;
  transition: .2s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background-color: #7EB77F;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 19px; width: 19px;
  left: 3px; bottom: 2.5px;
  background-color: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px #B9957624;
  transition: .2s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
  background: #FFCE39;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .modal-close-btn {
  background: #FFD964;
  color: #473119;
  border-radius: 21px;
  padding: 7px 19px;
  border: 1.5px solid #FFCE39;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  font-size: .96rem;
  transition: background .16s, color .11s, border .13s;
}
.cookie-modal .modal-close-btn:hover,
.cookie-modal .modal-close-btn:focus {
  background: #FFFAF2;
  color: #B99576;
  border: 1.5px solid #C44E52;
}

/********************************/
/* THANK YOU PAGE               */
/********************************/
.thank-you .content-wrapper {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFBEE;
  border-radius: 20px;
  box-shadow: 0 2px 12px #B9957631;
  padding: 35px 22px 29px 22px;
  margin: 45px 0 56px 0;
}

/********************************/
/* MEDIA QUERIES - RESPONSIVE   */
/********************************/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    flex-direction: column;
    gap: 11px;
    padding: 9px 2vw 0 2vw;
  }
  .main-nav ul {
    gap: 11px;
    flex-wrap: wrap;
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .container { padding: 0 3vw; }
  .card-container, .service-cards, .feature-grid, .content-grid {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 35px 0 25px 0;
  }
  .section {
    padding: 31px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-section {
    padding: 0 2px;
  }
  .footer-nav {
    gap: 11px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 13px;
    min-width: 120px;
    font-size: 1rem;
  }
  .card, .service-card {
    min-width: 95vw;
    padding: 16px 12px;
  }
}
@media (max-width: 600px) {
  .container {
    width: 100vw;
    padding: 0 0.5vw;
  }
  .main-nav > a img {
    height: 28px;
  }
  h1 {
    font-size: 1.37rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .section {
    padding: 17px 2px;
    margin-bottom: 17px;
  }
}
@media (max-width: 480px) {
  .card, .service-card {
    min-width: 89vw;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 13px 5vw 11px 5vw;
  }
}
/********************************/
/* FLEX DIRECTION ADJUSTMENTS   */
/********************************/
.text-image-section, .content-grid, .content-wrapper {
  flex-direction: column;
}
@media (min-width: 769px) {
  .text-image-section, .content-grid {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
  }
  .content-wrapper {
    gap: 30px;
  }
}
/********************************/
/* MISC RETRO DECORATIVE EFFECTS*/
/********************************/
.hero h1, .hero h2 {
  background: linear-gradient(90deg, #FFCE39 40%, #5CABDD 73%, #C44E52 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 1.5px 1.5px 0 #FAE8B4;
}

.section, .card, .service-card {
  border-top: 4px solid #B99576;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 36px, #FFF3CB 36px, #FFF3CB 42px);
}

/* Decorative dots or geometric details for retro flair */
.section:after {
  content:'';
  display:block;
  margin: 18px auto 0 auto;
  width:48px;
  height:7px;
  border-radius:8px;
  background: repeating-linear-gradient(90deg,#C44E52 0, #C44E52 10px, #FFCE39 10px, #FFCE39 20px,#6A8CAF 20px, #6A8CAF 30px);
  opacity:.15;
}


/********************************/
/* UTILITY CLASSES              */
/********************************/
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.text-center { text-align: center; }

/********************************/
/* FOCUS VISIBLE OUTLINE         */
/********************************/
*:focus-visible {
  outline: 2px solid #C44E52;
  outline-offset: 2px;
  z-index: 50;
}

/********************************/
/* HIDE CONTENT OFFSCREEN (for modals)*/
/********************************/
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}
