/*--- CSS RESET & UNIVERSAL STYLES ---*/
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;
}
html { width: 100%; height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; width: 100%; background: #F6F3E7; color: #3B3B64; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.65; }
*, *:before, *:after { box-sizing: border-box; }
ul, ol { list-style: none; }
a { color: #3B3B64; text-decoration: underline; transition: color 0.2s; }
a:hover, a:focus { color: #C84B31; text-decoration-thickness: 2px; }
img { max-width: 100%; border: none; display: block; }

:root {
  --primary: #3B3B64;
  --secondary: #F4BF50;
  --accent: #FFFFFF;
  --retro-orange: #E0812C;
  --retro-green: #64A46E;
  --retro-cream: #FFF8EC;
  --retro-brown: #664A38;
  --retro-red: #CF4049;
  --shadow-card: 0 2px 12px rgba(72,56,38,0.13);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Verdana', 'Arial', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/*--- TYPOGRAPHY ---*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
}
h1 { font-size: 2.8rem; margin-bottom: 22px; line-height: 1.12; letter-spacing: 2px; }
h2 { font-size: 2rem; margin-bottom: 24px; letter-spacing: 1.5px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 1.2px; color: var(--retro-orange); }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li { font-family: var(--font-body); color: #3B3B64; font-size: 1rem; margin-bottom: 12px; }
.subheadline { font-size: 1.35rem; font-family: var(--font-display); font-style: italic; color: var(--retro-red); margin-bottom: 22px; letter-spacing: 0.5px; }

strong { font-weight: bold; color: var(--retro-brown); }
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--retro-brown);
  background: var(--retro-cream);
  padding: 12px 22px;
  border-left: 6px solid var(--secondary);
  border-radius: 8px;
  font-size: 1.08rem;
}

/*--- LAYOUT CONTAINERS ---*/
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  padding: 0;
  margin-bottom: 36px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-cream);
  border-radius: 18px;
}
/*--- CARD & FLEX CONTAINERS ---*/
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 16px; background: var(--accent); box-shadow: var(--shadow-card); padding: 30px 24px; }
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  border: 2px dotted var(--retro-orange);
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/*--- HEADER & NAVIGATION ---*/
header {
  background: var(--primary);
  border-bottom: 10px double var(--secondary);
  box-shadow: 0 3px 16px 0 rgba(59,59,100,0.09);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 58px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--secondary);
  background: transparent;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-button {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  padding: 10px 30px 10px 40px;
  border-radius: 24px 12px 24px 12px;
  box-shadow: 0 5px 18px 0 rgba(244,191,80,0.13);
  letter-spacing: 1.6px;
  border: 2px solid var(--primary);
  margin-left: 18px;
  text-shadow: 0 1px 0 #FFF8EC;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}
.cta-button:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 45%;
  width: 14px;
  height: 14px;
  background: var(--retro-orange);
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(224,129,44,0.14);
  transform: translateY(-50%);
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--secondary);
  box-shadow: 0 6px 28px 0 rgba(244,191,80,0.25);
}
.cta-button:active { scale: 0.97; }

/*--- HERO SECTION ---*/
.hero {
  background: repeating-linear-gradient(135deg, var(--retro-cream) 0 28px, #F9E7C3 29px 56px);
  border-bottom: 5px dashed var(--retro-orange);
  padding-top: 28px;
  padding-bottom: 28px;
}
.hero .container { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero .content-wrapper { text-align: center; margin-bottom: 0; padding: 0; }

/*--- FEATURES ---*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature {
  flex-basis: 276px;
  min-width: 220px;
  flex: 1 1 33%;
  background: var(--accent);
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  padding: 28px 18px 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: 2px dashed var(--secondary);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  filter: sepia(32%) hue-rotate(-12deg) brightness(0.95) saturate(1.05);
}
.feature:hover, .feature:focus {
  box-shadow: 0 9px 29px 0 rgba(250,180,32,0.10);
  border-color: var(--retro-orange);
}

/*--- SERVICE LIST ---*/
.service-list {
  margin-top: 12px;
  margin-bottom: 18px;
}
.service-list li {
  background: var(--retro-cream);
  border-radius: 7px;
  border: 1.5px solid var(--retro-orange);
  margin-bottom: 14px;
  padding: 12px 18px;
  font-size: 1.02rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 2px 8px rgba(224,129,44,0.07);
  transition: background 0.14s;
}
.service-list li a { text-decoration: none; color: var(--primary); }
.service-list li a strong { color: var(--retro-orange); }
.service-list li:hover, .service-list li:focus { background: #FFF5D5; }

/*--- TEXT SECTIONS ---*/
.text-section {
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: 1.02rem;
  font-family: var(--font-body);
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 12px;
}
.text-section ul li, .text-section ol li {
  padding-left: 0;
  list-style-type: square;
  margin-bottom: 7px;
}

/*--- TESTIMONIALS ---*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 14px;
  border: 2px dotted var(--retro-green);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  color: #3B3B64;
  font-size: 1.07rem;
}
.testimonial-card blockquote {
  background: none;
  border-left: 0;
  font-size: 1.07rem;
  font-family: var(--font-display);
  color: var(--retro-brown);
  padding: 0 20px 0 0;
  border-radius: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--retro-brown);
  font-family: var(--font-display);
  white-space: nowrap;
}

/*--- FOOTER ---*/
footer {
  background: var(--primary);
  border-top: 5px double var(--secondary);
  color: var(--secondary);
  padding: 36px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--secondary);
  text-decoration: underline;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--retro-orange); }
.footer-contact small {
  color: #FCF6E9;
  font-family: var(--font-body);
  font-size: 0.99rem;
}

/*--- MOBILE MENU ---*/
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 1070;
  background: var(--secondary);
  border: 2.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  border-radius: 11px;
  padding: 4px 13px;
  box-shadow: 0 2px 12px rgba(59,59,100,0.15);
  cursor: pointer;
  display: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-orange);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--secondary);
  z-index: 1080;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.7,0.1,0.22,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 24px 36px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 26px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  font-family: var(--font-display);
  cursor: pointer;
  z-index: 1081;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--retro-orange); }
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 26px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.18rem;
  font-family: var(--font-display);
  background: none;
  border-radius: 10px;
  padding: 15px 7px 15px 7px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  outline: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-orange);
  background: var(--retro-cream);
}

/*--- RESPONSIVE DESIGN ---*/
@media (max-width: 920px) {
  .container { max-width: 99vw; }
  nav { gap: 11px; }
  header .container { gap: 12px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
  }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-left: 0;
  }
  .content-grid, .feature-grid, .card-container, .footer-nav {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .hero .container { padding: 0 4vw; }
  .section { padding: 32px 8px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 9px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.72rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .footer-contact small{ font-size: 0.89rem; }
  .cta-button { font-size: 0.99rem; }
  .feature, .card { padding-left: 13px; padding-right: 13px; }
}

/*--- MICRO-INTERACTIONS & ANIMATIONS ---*/
.card, .feature, .testimonial-card, .service-list li {
  transition: box-shadow 0.14s, transform 0.13s, border-color 0.14s, background 0.14s;
}
.card:hover, .feature:hover, .service-list li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(59,59,100,0.13), 0 1.5px 0px 0 var(--secondary);
  transform: translateY(-3px) scale(1.018);
  border-color: var(--retro-orange);
}
button,.cta-button{cursor:pointer;outline:none;border:none;}
button:focus-visible, .cta-button:focus-visible {
  outline: 2.5px dashed var(--retro-orange);
  outline-offset: 2px;
}

/* Vintage Retrowave Details */
.section {
  border: 4px double var(--retro-orange);
  background-color: var(--retro-cream);
  box-shadow: 0 6px 22px 0 rgba(240,157,89,0.05);
}
.feature, .card {
  background: var(--accent);
  border: 2px solid var(--retro-green);
  box-shadow: var(--shadow-card);
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--retro-brown);
  color: var(--accent);
  z-index: 2050;
  padding: 18px 16px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 16px 0 rgba(89,54,0,0.11);
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: cookie-banner-slide-in 0.6s cubic-bezier(.7,.1,.28,1);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-btn {
  margin: 0 9px;
  padding: 10px 24px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--retro-brown);
  transition: background 0.18s, color 0.18s, border 0.14s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--retro-orange);
  color: var(--accent);
  border-color: var(--secondary);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--retro-green);
  color: var(--accent);
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: var(--primary);
  color: var(--secondary);
}

/*--- COOKIE MODAL ---*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 2060;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(60,40,10,0.50);
  display: flex; align-items: center; justify-content: center;
  animation: cookie-modal-fade-in 0.44s cubic-bezier(.7,.1,.28,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--retro-cream);
  color: #3B3B64;
  border-radius: 22px;
  box-shadow: 0 7px 44px 0 rgba(89,54,0,0.14);
  padding: 40px 28px 28px 28px;
  min-width: 300px; max-width: 420px;
  font-family: var(--font-body);
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 18px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0; padding: 0;
}
.cookie-modal li {
  margin-bottom: 13px;
  display: flex; align-items: center; gap: 12px;
  font-size: 1.02rem;
}
.cookie-modal .cookie-toggle {
  width: 42px; height: 22px;
  border-radius: 15px;
  border: 1.5px solid var(--retro-orange);
  background: #FFE1B0;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
  margin-left: auto;
}
.cookie-modal .cookie-toggle input[type=checkbox] {
  position: absolute; opacity: 0; width: 42px; height: 22px; left: 0; top: 0; margin: 0;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--retro-orange);
  transition: left 0.15s, background 0.13s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  left: 22px; background: var(--retro-green);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  border: none;
  background: none;
  font-size: 1.44rem;
  color: var(--retro-orange);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--primary); }
.cookie-modal .cookie-modal-btns { display: flex; gap: 14px; margin-top: 22px; }
.cookie-modal .cookie-btn { padding: 7px 16px; font-size: 1rem; border-radius: 8px; }

/*--- UTILITY CLASSES & VINTAGE DECOR ---*/
.vintage-shadow {
  box-shadow: 0 2px 24px 0 rgba(216,122,0,0.09) !important;
}
.vintage-border {
  border: 2.7px groove var(--retro-orange) !important;
}
.vintage-pattern {
  background: repeating-linear-gradient(135deg, #F6F3E7 0 26px, #FCF1CC 27px 52px);
  opacity: 0.8;
}

/*--- FORMS & INPUTS (where used) ---*/
input, textarea, select {
  font: inherit;
  border: 2px solid var(--retro-orange);
  border-radius: 8px;
  padding: 8px 14px;
  background: #FFF7E7;
  box-shadow: 0 1px 0 rgba(224,129,44,0.04);
  margin-bottom: 16px;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}

/*--- SCROLLBAR STYLES ---*/
::-webkit-scrollbar { width: 13px; background: var(--retro-cream); }
::-webkit-scrollbar-thumb { background: var(--retro-orange); border-radius: 8px; }

/*--- ACCESSIBILITY ---*/
:focus-visible { outline: 2px dashed var(--retro-orange); outline-offset: 2px; }

/*--- NO GRID, FLEX ONLY ---*/
/* All complex layouts above use flexbox– NEVER grid or columns. */
