/* ===========================================
   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, 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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAF6EE;
  color: #2C2B24;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
strong {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1d2424;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0px;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #fffbed;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  color: #24517A;
  background: #FFF7D6;
  border-left: 6px solid #FFB300;
  padding: 12px 24px;
  margin: 18px 0 24px;
  border-radius: 16px 0 0 16px;
}

/* ===========================================
   VINTAGE/RETRO COLOR PALETTE
============================================ */
:root {
  --primary: #24517A;         /* Brand Blue */
  --secondary: #F5F5F5;      /* Light Paper */
  --accent: #FFB300;          /* Warm Retro Yellow */
  --retro-red: #E06B47;
  --retro-green: #79B793;
  --retro-brown: #B3966A;
  --retro-dark: #2C2B24;
  --retro-offwhite: #FAF6EE;
  --card-shadow: rgba(34,23,12,0.09);
  --vintage-border: #d8cfc1;
  --pattern-bg: #f7ecd5;
}

/* ===========================================
   TYPOGRAPHY: RETRO & VINTAGE EFFECT
============================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--retro-offwhite);
  color: var(--retro-dark);
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 #fffbed;
}
h2 {
  font-size: 2rem;
  color: var(--retro-red);
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #fffbed;
}
h3 {
  font-size: 1.25rem;
  color: var(--retro-brown);
}

/************************
   LAYOUT CONTAINERS
************************/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*************************
SECTION, FEATURES, CARDS
*************************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pattern-bg);
  border-radius: 26px;
  box-shadow: 0 6px 36px var(--card-shadow);
  position: relative;
  z-index: 1;
}

.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 38px;
  justify-content: flex-start;
  margin-bottom: 20px;
  flex-direction: row;
}
.feature {
  background: #fffbed;
  border: 2px solid var(--vintage-border);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--card-shadow);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 250px;
  max-width: 340px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
  filter: sepia(0.35) contrast(1.05) brightness(1.10);
}
.feature:hover {
  box-shadow: 0 10px 60px #E06B4745,0 2px 5px var(--card-shadow);
  transform: translateY(-5px) scale(1.01);
}

/***************
  CARDS
***************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffbed;
  border: 2px solid var(--vintage-border);
  border-radius: 21px;
  box-shadow: 0 4px 16px var(--card-shadow);
  transition: box-shadow 0.18s, transform 0.18s;
  padding: 32px 24px;
}
.card:hover {
  box-shadow: 0 8px 32px #E06B4740, 0 2px 8px var(--card-shadow);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/**********************
 TESTIMONIALS & REVIEWS
**********************/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #FFFFFF;
  border: 2px solid var(--retro-brown);
  border-radius: 22px;
  box-shadow: 0 8px 30px #b3966a23, 0 0px 2px #c2a57344;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
  color: #2C2B24;
  max-width: 390px;
  min-width: 220px;
}
.testimonial-card p {
  color: #1e272b;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  margin-top: 2px;
  color: var(--retro-red);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
}

/**********************
 PROJECT SUMMARIES
**********************/
.project-summary {
  background: #fff1e1;
  border: 2px solid var(--vintage-border);
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(193, 135, 88, 0.09);
  padding: 24px 22px 14px 22px;
  margin-bottom: 20px;
  max-width: 420px;
}
.project-summary h3 {
  font-size: 1.2rem;
  color: var(--retro-green);
  margin-bottom: 6px;
}
.project-summary p {
  color: #523923;
}

/**********************
  TEXT/IMAGE SECTIONS
**********************/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/**********************
    HERO STYLES
*********************/
.hero {
  background: radial-gradient(circle at 35% 75%, #ffe5c3 30%, #FAF6EE 100%);
  border-radius: 0 0 35px 35px;
  padding: 60px 0 50px;
  margin-bottom: 38px;
  box-shadow: 0 16px 48px #eedfaa50 inset;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.35rem;
  text-shadow: 2px 4px 0 #FFB30025;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.13rem;
  color: #7e7465;
  margin-bottom: 28px;
}
.hero .cta-btn {
  font-size: 1.15rem;
  padding: 13px 38px;
}

/***********************
    CTAs & BUTTONS
***********************/
.cta {
  background: linear-gradient(90deg, #FFB300 20%, #ffe8a9 100%);
  border-radius: 32px;
  padding: 36px 0 34px;
  box-shadow: 0 6px 24px #ffe0a847 inset;
  margin-bottom: 50px;
  text-align: center;
}
.cta h2 {
  color: var(--primary);
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fffef8;
  background: var(--primary);
  padding: 14px 38px;
  margin-top: 16px;
  border-radius: 86px;
  box-shadow: 0 4px 16px #20528338,0 1px 2px #dbcda354;
  border: 2px solid var(--primary);
  outline: 0;
  transition: background .19s, color .19s, border .14s, transform .18s;
  cursor: pointer;
  letter-spacing: 0.09em;
  position: relative;
  z-index: 1;
}
.cta-btn::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #FFD756;
  opacity: 0;
  border-radius: 86px;
  transition: opacity .22s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
  transform: scale(1.045);
}
.cta-btn.secondary {
  background: #fffbed;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--accent);
  color: #fffbed;
  border: 2px solid var(--primary);
}

/***********************
   NAVIGATION
***********************/
header {
  background: #fffbed;
  border-bottom: 2px solid var(--vintage-border);
  box-shadow: 0 5px 15px #b3966a13;
  padding-top: 0.3rem;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  gap: 14px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.16s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #1d2424;
}
header .cta-btn {
  margin-left: 12px;
  margin-top: 0;
}
header img {
  width: 80px;
  margin-right: 18px;
}

/***********************
   FOOTER
***********************/
footer {
  background: #ede0ca;
  border-top: 2px solid var(--vintage-border);
  padding: 36px 0 18px;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #344554;
}
footer nav a {
  color: #344554;
  opacity: 0.78;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
  opacity: 1;
}
.footer-info {
  font-size: 0.98rem;
  color: #523923;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 6px;
}

/***********************
   FAQ Section
***********************/
.faq-list {
  margin-top: 14px;
  margin-bottom: 32px;
}
.faq-list dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-top: 22px;
  color: var(--primary);
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 8px;
  color: #704d21;
  font-size: 1rem;
  margin-top: 3px;
}

/***********************
   CONTACT Info Section
***********************/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 22px 0 16px;
}
.contact-info img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 9px;
  filter: sepia(0.39) brightness(1.09);
}
.contact-info a {
  color: var(--retro-red);
  border-bottom: 1px dashed var(--accent);
  transition: color .18s, border .18s;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

/***********************
   MISC: LISTS, MODALS
***********************/
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
  color: #67431b;
}
ul li, ol li {
  margin-bottom: 6px;
  font-size: 1rem;
}
ul li strong, ol li strong {
  color: var(--primary);
  font-weight: 700;
}

/***********************
   MOBILE NAVIGATION
***********************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 23px;
  background: var(--accent);
  color: #2C2B24;
  border-radius: 60px;
  padding: 12px 17px 10px 17px;
  font-size: 1.9rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  z-index: 1501;
  transition: background 0.14s,color 0.14s,border 0.14s;
  box-shadow: 0 2px 12px #b3966a27;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fffbed;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9ec;
  box-shadow: 0 12px 80px #978d7930;
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,0,.8,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--retro-red);
  color: #fffbed;
  border-radius: 60px;
  border: 2px solid var(--primary);
  padding: 10px 16px;
  font-size: 1.5rem;
  box-shadow: 0 2px 10px #E06B4744;
  margin: 22px 8px 20px auto;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;

}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: #ffeeca;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--primary);
  background: none;
  padding: 13px 0;
  border-bottom: 1px solid #edd6b7;
  width: 260px;
  max-width: 80vw;
  display: block;
  transition: color .18s, background .14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: #fff1e1;
}

/***********************
   COOKIE CONSENT BANNER
***********************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2C2B24;
  color: #fffbed;
  font-size: 1rem;
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -4px 24px #70522b60;
  transition: transform 0.42s cubic-bezier(.7,0,.8,1);
  transform: translateY(120%);
}
.cookie-banner.active {
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(.7,0,.8,1);
}
.cookie-banner .cookie-message {
  max-width: 600px;
  margin-right: 35px;
  font-size: 1.08rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 11px 22px 10px 22px;
  border-radius: 17px;
  margin-right: 8px;
  transition: background .17s, color .16s, border .13s, transform .13s;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--accent);
  color: #2C2B24;
}
.cookie-btn.accept {
  background: var(--retro-green);
  color: #fffbed;
}
.cookie-btn.reject {
  background: var(--retro-red);
  color: #fffbed;
}
.cookie-btn.settings {
  background: #fffbed;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fffbed;
  border-color: var(--accent);
  transform: scale(1.04);
}

/***********************
   COOKIE MODAL
***********************/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,23,12,0.61);
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-dialog {
  background: #fffbed;
  border: 3px solid var(--primary);
  border-radius: 22px;
  box-shadow: 0 14px 64px #B3966Aaa;
  padding: 36px 24px 20px 36px;
  min-width: 300px;
  max-width: 97vw;
  max-height: 82vh;
  overflow-y: auto;
}
.cookie-modal-dialog h2 {
  color: var(--primary);
}
.cookie-modal-dialog .cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-modal-dialog .toggle {
  width: 40px; height: 20px;
  border-radius: 14px;
  background: #FFB30066;
  border: 2px solid var(--accent);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .17s, border .13s;
}
.cookie-modal-dialog .toggle.active {
  background: var(--retro-green);
  border-color: var(--retro-green);
}
.cookie-modal-dialog .toggle::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fffbed;
  border-radius: 50%;
  transition: transform .20s;
  box-shadow: 0 2px 6px #b3966a36;
}
.cookie-modal-dialog .toggle.active::before {
  transform: translateX(18px);
}
.cookie-modal-dialog .toggle-label {
  font-size: 1.07rem;
  color: #2C2B24;
}
.cookie-modal-dialog .essential {
  opacity: 0.67;
  font-style: italic;
}
.cookie-modal-dialog .cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-dialog .cookie-btn {
  margin: 0;
  font-size: 1.01rem;
  padding: 10px 21px;
}
.cookie-modal-dialog .cookie-btn.close {
  background: #fffbed;
  border: 2px solid var(--retro-red);
  color: var(--retro-red);
}
.cookie-modal-dialog .cookie-btn.close:hover {
  background: var(--retro-red);
  color: #fffbed;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/*****************************
   RESPONSIVE: MOBILE FIRST
*****************************/
@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
  .features, .feature-grid {
    gap: 28px 15px;
  }
  .project-summary {
    max-width: 97vw;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .features, .feature-grid {
    gap: 17px 0px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .hero {
    padding: 40px 0 32px;
  }
  h1 { font-size: 2.1rem; }
  .cta {
    padding: 20px 0 16px;
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 30px 0 24px;
  }
  .features, .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: 0;
    padding: 16px 12px;
    font-size: 1rem;
  }
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .project-summary {
    padding: 15px 8px 8px 14px;
    font-size: 1rem;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 18px 7px;
    border-radius: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 4vw 12px 4vw;
  }
  .cookie-banner .cookie-message {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    flex-wrap: wrap;
  }
  .footer-info { font-size: 0.92rem; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  .cta-btn,
  .cta-btn.secondary { font-size: 1rem; padding: 11px 20px; }
  .mobile-menu-close { font-size: 1.25rem; padding: 8px 12px; }
  .mobile-nav a { width: 80vw; font-size: 1.03rem; padding: 10px 0; }
  .card, .feature {
    padding: 14px 8px 18px 8px;
    font-size: 1rem;
    min-width: 0;
    max-width: 98vw;
  }
  .project-summary {
    font-size: .98rem;
    padding: 8px 4px;
  }
}

/***********************
   VISUAL NOSTALGIA/RETRO
***********************/
.section, .features, .feature, .card, .testimonial-card, .project-summary, .cookie-modal-dialog {
  background-image: repeating-linear-gradient(135deg, #f4e7c1 0px, #f4e7c1 9px, #ffc9702d 12px, #ffc9702d 19px);
  background-blend-mode: lighten;
}
@media (max-width:768px){
  .section, .features, .feature, .card, .testimonial-card, .project-summary, .cookie-modal-dialog { background-image: none; }
}

/***********************
   VISUAL MICRO-EFFECTS
***********************/
a, .cta-btn, .cookie-btn {
  transition: color .12s, background .16s, border .13s, box-shadow .15s, transform .13s;
}
.card:active, .feature:active { transform: scale(0.98); }

/***********************
   UTILITY CLASSES
***********************/
.text-center { text-align: center; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 24px; }
.mr-1 { margin-right: 8px; }
.gap-2 { gap: 8px; }
.hide { display: none !important; }

/****** END OF CSS ******/
