/* 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F4EE;
  color: #2E3748;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #2E3748;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #E9B870;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* VINTAGE RETRO PALETTE & BRAND COLORS */
:root {
  --primary: #2E3748;
  --secondary: #53687E;
  --accent: #E9B870;
  --retro-peach: #F7E5C6;
  --retro-red: #E4715A;
  --retro-teal: #74A4A4;
  --retro-green: #7CA982;
  --retro-blue: #92B3CA;
  --light-bg: #FCF8F4;
  --white: #fff;
  --card-shadow: 0 2px 10px 0 rgba(46,55,72,0.085), 0 1.5px 6px 0 rgba(233,184,112,0.09);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.21s cubic-bezier(0.4,0,0.2,1);
  --focus-outline: 2px dashed var(--accent);
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;
  --pattern-bg: repeating-linear-gradient(135deg,#F7E5C6 0 8px,#fbecd3 8px 16px);
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--heading-font);
  font-size: 2.75rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  color: var(--primary);
}
p {
  margin-bottom: 1.1em;
}
strong {
  font-weight: 700;
}
body, .body {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--primary);
  line-height: 1.7;
}
.subheadline {
  font-size: 1.28rem;
  color: var(--retro-red);
  font-weight: 400;
  margin-bottom: 2em;
  font-style: italic;
}

/* GENERAL CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
main {
  margin-top: 0;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}

/* SECTION SPACING & PATTERNS */
section,
.section {
  background: var(--light-bg);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.hero {
  background: var(--pattern-bg);
  padding: 54px 0 46px 0;
  margin-bottom: 48px;
}
.services-teaser,
.about-teaser,
.testimonials-teaser {
  background: var(--retro-peach);
}
.cta {
  background: var(--retro-green);
  color: #fff;
  text-align: center;
}
.thank-you-section {
  background: var(--retro-blue);
  color: #fff;
  text-align: center;
}

/* FLEXBOX MANDATORY LAYOUTS */
.feature-grid, .audience-types-grid, .service-tabs, .testimonial-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 32px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { gap: 20px; }
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card, .blog-post, .newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 20px 28px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 22px 22px 20px 22px;
  min-width: 230px;
  flex: 1 1 220px;
  margin-bottom: 20px;
}
.value-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.value-icon {
  display: flex;
  align-items: center;
  background: var(--retro-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  gap: 10px;
  padding: 10px 24px 10px 10px;
  font-weight: bold;
  font-family: var(--body-font);
  font-size: 1.02rem;
  box-shadow: var(--card-shadow);
}
.case-studies-teaser {
  margin-top: 34px;
  margin-bottom: 0;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 18px rgba(46,55,72,0.10);
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo img {
  height: 44px;
  margin: 8px 0;
  filter: saturate(0.88) brightness(1.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--body-font);
  font-size: 1rem;
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
  outline: none;
}
.main-nav .cta-btn {
  background: var(--accent);
  color: var(--primary) !important;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 2px 8px 0 rgba(233,184,112,0.13);
  font-size: 1.07rem;
  padding: 8px 28px;
  margin-left: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #fff;
  color: var(--primary) !important;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--accent);
  background: transparent;
  border: none;
  margin-left: 18px;
  z-index: 45;
  padding: 8px 9px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(233,184,112,0.15);
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(0.36,0.66,0.04,1);
  z-index: 999;
  opacity: 0.99;
  box-shadow: 9px 0 20px 0 rgba(46,55,72,0.18);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  font-size: 2rem;
  color: var(--accent);
  background: transparent;
  border-radius: 10px;
  transition: background 0.17s;
  padding: 4px 8px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #E9B87022;
}
.mobile-nav {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 20px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-family: var(--body-font);
  font-size: 1.14rem;
  padding: 10px 10px 10px 0;
  border-radius: 3px;
  transition: color 0.18s, background 0.16s;
  min-width: 60vw;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: #fff2;
  outline: none;
}

/* HERO SECTION */
.hero h1 {
  color: var(--retro-red);
  font-size: 2.5rem;
  font-family: var(--heading-font);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px #e9b87011;
}
.hero .cta-btn {
  margin-top: 22px;
}

/* BUTTONS and CTA STYLES */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 12px 32px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 8px 0 rgba(233,184,112,0.11);
  margin-top: 14px;
  margin-bottom: 8px;
  min-width: 180px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  position: relative;
}
.cta-btn:focus,
.cta-btn:hover {
  background: #fff2c6;
  color: var(--retro-red);
  box-shadow: 0 4px 20px 0 rgba(233,184,112,0.21);
}
.cta-btn:active {
  background: var(--retro-red);
  color: #fff;
}

/* CARD/BLOCK STYLES */
.card, .blog-post {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.card:hover, .feature-item:hover, .blog-post:hover {
  box-shadow: 0 7px 26px 0 rgba(233,184,112,0.18);
  background: #fffdf7;
  transition: var(--transition);
}

/* TESTIMONIALS */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--white);
  border-left: 8px solid var(--accent);
  box-shadow: var(--card-shadow);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  min-width: 270px;
  max-width: 420px;
  flex: 1 1 320px;
  color: var(--primary);
  margin-bottom: 22px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card .star-ratings {
  color: var(--retro-red);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.testimonial-info {
  font-size: 0.97em;
  color: var(--secondary);
  margin-top: 4px;
}

/* CLIENT LOGOS */
.client-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.client-logos img {
  width: 54px;
  height: auto;
  filter: grayscale(0.5) brightness(1.02) contrast(0.86);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px #e9b87024;
  padding: 5px 8px;
  margin-bottom: 2px;
}

/* BLOG */
.blog-categories {
  margin: 10px 0 28px 0;
  font-family: var(--heading-font);
  font-size: 1.02rem;
  color: var(--retro-red);
  letter-spacing: 0.04em;
}
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  justify-content: stretch;
}
.blog-post {
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 370px;
  background: var(--white);
  border-left: 6px solid var(--retro-teal);
  margin-bottom: 0;
  font-size: 1.04rem;
  color: var(--primary);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
}

/* NEWSLETTER SIGNUP */
.newsletter-signup {
  background: var(--retro-green);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(124,169,130,.14);
  padding: 26px 32px;
  margin-top: 20px;
}
.newsletter-signup h3 {
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-details div {
  flex: 1 1 220px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.06rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-details img {
  width: 26px;
  height: 26px;
  filter: grayscale(22%) brightness(1.09) contrast(0.91);
}
.map {
  background: var(--retro-blue);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-style: italic;
  font-size: 0.98rem;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  font-family: var(--body-font);
  margin-top: 40px;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 12px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  align-items: flex-start;
  border-bottom: 1.5px solid #E9B87033;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.footer-brand {
  flex: 1 1 240px;
  min-width: 180px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-brand img {
  width: 120px;
}
.footer-navigation {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-navigation a {
  color: var(--accent);
  font-size: 1rem;
  transition: color 0.15s;
  padding: 4px 4px 4px 0;
  border-radius: 3px;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: var(--retro-red);
  background: #e9b87014;
  outline: none;
}
.footer-contact {
  flex: 2 1 180px;
  min-width: 180px;
  color: #fff;
  font-size: 1.02rem;
}
.footer-contact h3 {
  font-family: var(--heading-font);
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.97em;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.95em;
  color: #fff;
  opacity: 0.82;
  margin-top: 4px;
}

/* UTILITY */
@media (max-width: 1050px) {
  .footer-top { gap: 24px; }
  .feature-grid, .audience-types-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 18px; }
  .feature-grid, .audience-types-grid, .service-tabs, .testimonial-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper { padding: 0; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-top {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid, .audience-types-grid, .service-tabs, .testimonial-grid, .blog-post-list {
    flex-direction: column;
    gap: 16px;
  }
  .value-icons {
    flex-direction: column;
    gap: 8px;
  }
  .contact-details{
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero {
    padding: 36px 0 28px 0;
  }
}
@media (max-width: 560px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.45rem; }
  h3, .h3 { font-size: 1.13rem; }
  .feature-item, .card, .blog-post, .testimonial-card {
    padding: 17px 11px 14px 14px;
  }
  section, .section {
    padding: 24px 7px;
  }
  .newsletter-signup {
    padding: 13px 7px;
  }
  .container { padding-left: 4px; padding-right: 4px; }
}

/* FOCUS VISIBILITY */
a:focus, button:focus {
  outline: var(--focus-outline);
  outline-offset: 1.5px;
  background: #e9b87011;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn,
.card,
.feature-item,
.testimonial-card,
.blog-post {
  transition: var(--transition), box-shadow 0.13s, background 0.13s;
}
.card:hover .cta-btn, .feature-item:hover .cta-btn {
  filter: brightness(1.06) saturate(1.1);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe1;
  border-top: 4px solid var(--accent);
  color: var(--primary);
  box-shadow: 0 -2px 16px 0 #e9b87026;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  gap: 16px;
  padding: 18px 11px 14px 11px;
  font-size: 1rem;
  animation: cookieBannerIn 0.6s cubic-bezier(0.32,0,0.67,0) 1;
}
@keyframes cookieBannerIn {
  from { opacity:0; transform: translateY(50px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-msg {
  flex: 3;
  min-width: 110px;
  margin-right: 15px;
}
.cookie-banner .cookie-banner-actions {
  flex: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  border: none;
  padding: 8px 20px;
  margin-left: 0;
  box-shadow: 0 1px 2px rgb(233,184,112,0.09);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-red);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--accent);
  font-weight: 500;
  box-shadow: none;
}
.cookie-btn.cookie-settings:hover {
  background: #fff2c6;
  color: var(--retro-red);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10004;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46,55,72,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  animation: cookieModalIn 0.44s cubic-bezier(0.32,0,0.33,1);
}
@keyframes cookieModalIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 34px 0 #53687e1C;
  width: 97vw;
  max-width: 370px;
  padding: 24px 20px 18px 20px;
  position: relative;
  z-index: 10010;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal h2 {
  color: var(--retro-red);
  font-family: var(--heading-font);
  font-size: 1.24rem;
  margin-bottom: 7px;
}
.cookie-category {
  margin: 10px 0 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1.01rem;
  flex: 1 1 auto;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.cookie-switch input { display: none; }
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e9b87099;
  border-radius: 12px;
  transition: background 0.19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--accent);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s cubic-bezier(.6,.29,.11,1.16);
  box-shadow: 0 1px 1.4px #E9B87026;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  padding: 7px 18px;
  min-width: 90px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--accent);
  cursor: pointer;
  border-radius: 6px;
  padding: 3px 6px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e9b87018;
}

/* Hide cookie modal when not active */
.cookie-modal-overlay[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

/* MISC VINTAGE ELEMENTS */
section {
  position: relative;
  overflow: hidden;
}
section::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  width: 110px;
  height: 110px;
  left: -34px;
  top: -28px;
  border-radius: 50%;
  background: #e9b87017;
  pointer-events: none;
}
section .container,
section .content-wrapper,
section * {
  position: relative;
  z-index: 2;
}

/* UL LIST VINTAGE MARKERS */
ul, ol {
  padding-left: 26px;
}
ul li, ol li {
  line-height: 1.7;
  margin-bottom: 6px;
  font-size: 1.04em;
  font-family: var(--body-font);
}
ul li::marker {
  color: var(--retro-red);
  font-size: 1.1em;
}

/* RETRO DIVIDER for About, Testimonials, ... */
hr {
  border: none;
  border-top: 2px dotted var(--accent);
  margin: 24px 0;
}

/* --- END --- */
