/* ================================================================
  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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F7FA;
  color: #183153;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
a {
  color: #B26538;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #183153;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.3em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* Vintage Retro Colors & Patterns */
:root {
  /* Primary palette (vintage retro) */
  --sf-blue: #183153;
  --sf-green: #47B881;
  --sf-cream: #F5F7FA;
  --sf-warm: #fdcea7;
  --sf-orange: #d67130;
  --sf-brown: #B26538;
  --sf-yellow: #FAD980;
  --sf-shadow: rgba(107, 96, 76, 0.09);
  /* Accent patterns */
  --sf-checkers: repeating-linear-gradient(135deg, #FAD980 0 8px, #fdcea7 8px 16px);
}

/* FONT IMPORTS (fallback if not locally available) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: #183153;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; color: #B26538; }
h2 { font-size: 2rem; line-height: 1.15; color: #d67130; }
h3 { font-size: 1.3rem; color: #183153; }
h4 { font-size: 1.1rem; }
p, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #183153;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #183153;
}

/* HEADERS - Retro Accent Line */
h2, h3 {
  position: relative;
}
h2:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 38px; height: 6px;
  margin-right: 14px;
  background: var(--sf-orange);
  border-radius: 2px;
}

/* =========== MAIN STRUCTURE/CONTAINERS =========== */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px var(--sf-shadow);
  position: relative;
}

/* =========== HEADER & NAVIGATION =========== */
header {
  width: 100%;
  background: var(--sf-blue);
  color: #fff;
  box-shadow: 0 3px 16px rgba(24,49,83,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s;
}
nav a:not(.button):hover,
nav a:not(.button):focus {
  color: #FAD980;
}
nav .button {
  margin-left: 10px;
}

/* ========== BUTTONS ========== */
.button {
  display: inline-block;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  border-radius: 7px;
  background: var(--sf-orange);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px var(--sf-shadow);
  border: 2px solid var(--sf-brown);
  cursor: pointer;
  text-shadow: 1px 1px 0 #B2653833;
  transition: background 0.22s, color 0.15s, box-shadow 0.22s;
  position: relative;
}
.button.primary {
  background: var(--sf-orange);
  color: #fff !important;
}
.button.secondary {
  background: var(--sf-blue);
  color: #fff;
  border-color: var(--sf-blue);
}
.button.outline {
  background: transparent;
  color: var(--sf-brown);
  border: 2px solid var(--sf-brown);
}
.button:hover, .button:active {
  background: var(--sf-brown);
  color: #fff;
  box-shadow: 0 4px 18px var(--sf-shadow);
  top: -2px;
}
.button:focus {
  outline: 2px solid var(--sf-yellow);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--sf-yellow);
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 14px;
  color: var(--sf-brown);
  border: 2px solid var(--sf-brown);
  cursor: pointer;
  transition: background .18s, border .18s, box-shadow .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--sf-orange);
  border-color: var(--sf-orange);
  color: #fff;
  box-shadow: 0 4px 14px #0001;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--sf-cream);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .34s cubic-bezier(.88,.07,.22,.97), opacity .22s;
  box-shadow: 16px 0 64px #18315333;
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: var(--sf-orange);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 14px;
  margin-bottom: 28px;
  cursor: pointer;
  border: none;
  transition: background .19s, color .19s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--sf-blue);
  color: var(--sf-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 32px;
  margin-top: 16px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: var(--sf-brown);
  font-weight: 700;
  margin-bottom: 0;
  padding: 9px 0;
  border-bottom: 1px solid #FAD98066;
  transition: color 0.18s, border-bottom 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--sf-blue);
  border-bottom: 1px solid var(--sf-blue);
  background: #fdcea733;
}

/* ========== GRID-LIKE FLEXBOX LAYOUTS ========== */
.features-grid, .services-list, .tech-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  margin-bottom: 16px;
}
.features-grid > div, .services-list > div, .tech-stack-list > ul {
  flex: 1 1 230px;
  background: #fcf5e9;
  border-radius: 16px;
  box-shadow: 0 2px 12px #8e65481a;
  padding: 28px 18px 22px 18px;
  margin-bottom: 20px;
  border: 1.5px solid #fad98066;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 10px;
  position: relative;
}
.features-grid > div img, .services-list > div img {
  margin-bottom: 18px;
  height: 44px;
}
.features-grid > div span {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--sf-blue);
  font-weight: 700;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fffde6;
  border: 2.5px solid var(--sf-yellow);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px #fad98033;
  max-width: 520px;
}
.testimonial-card p {
  color: #183153;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--sf-brown);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: bold;
}

/* Text and Image Flex Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* List Styling (Retro Bullets) */
ul li {
  position: relative;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 13px; height: 13px;
  margin-right: 11px;
  background: var(--sf-yellow);
  border-radius: 50%;
  border: 2px solid var(--sf-orange);
  vertical-align: middle;
  box-shadow: 1px 1px 0 var(--sf-warm) inset;
}
ol {
  counter-reset: retro-num;
}
ol li {
  counter-increment: retro-num;
  margin-bottom: 10px;
}
ol li:before {
  content: counter(retro-num) ". ";
  color: var(--sf-orange);
  font-weight: 700;
  margin-right: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Map Placeholder */
.map-placeholder {
  background: var(--sf-checkers);
  border: 2.5px dashed var(--sf-orange);
  border-radius: 16px;
  padding: 24px;
  color: var(--sf-brown);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 14px var(--sf-shadow);
  position: relative;
  padding: 24px;
  flex: 1 1 260px;
}

/* Feature-item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fcf4ea;
  border-radius: 14px;
  padding: 18px;
  border: 1.5px solid #fad98077;
}

/* Misc */
address {
  font-style: normal;
  color: var(--sf-brown);
}
input[type="text"] {
  padding: 9px 17px;
  border-radius: 8px;
  border: 2px solid #fdcea7;
  background: #fff9eb;
  color: #183153;
  font-size: 1em;
  transition: border 0.16s;
}
input[type="text"]:focus {
  border-color: var(--sf-orange);
}

/* =============== FOOTER =============== */
footer {
  background: #183153;
  color: #fff;
  padding: 48px 0 0 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
}
.footer-grid > div {
  min-width: 150px;
  max-width: 310px;
  flex: 1 1 220px;
}
.footer-grid img {
  height: 44px;
  margin-bottom: 14px;
}
.footer-grid h3 {
  margin-top: 0;
  color: #fad980;
  font-size: 1.1rem;
}
.footer-grid nav a {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1rem;
  border-bottom: 1.5px dotted #FAD98055;
  display: inline-block;
  transition: color 0.14s;
}
.footer-grid nav a:hover, .footer-grid nav a:focus {
  color: #FAD980;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.contact-info img {
  height: 21px;
}


/* =========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  padding: 24px 20px;
  background: #FAD980;
  color: #183153;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  z-index: 14000;
  box-shadow: 0 -3px 28px #18315333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform .35s, opacity .16s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner .button {
  padding: 7px 22px;
  font-size: 1rem;
  border-radius: 7px;
  box-shadow: 0 1px 5px #b2653811;
  background: var(--sf-orange);
  color: #fff;
  border: 2px solid var(--sf-brown);
  transition: background .16s, color .15s;
}
.cookie-banner .button.secondary {
  background: #fff;
  color: var(--sf-orange);
  border: 2px solid var(--sf-orange);
}
.cookie-banner .button:focus,
.cookie-banner .button:hover {
  background: var(--sf-brown);
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 15000;
  background: rgba(24,49,83,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffde6;
  border-radius: 16px;
  box-shadow: 0 2px 35px #18315344;
  padding: 32px 32px 20px 32px;
  min-width: 300px;
  max-width: 94vw;
  color: #183153;
}
.cookie-modal h3 {
  color: var(--sf-orange);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal label {
  font-size: 1em;
  color: #B26538;
  font-family: 'Roboto', Arial;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sf-orange);
  margin-right: 4px;
}
.cookie-modal .cookie-actions {
  margin-top: 18px;
  justify-content: flex-end;
  gap: 14px;
}

/* ============ SPACING/RESPONSIVE BEHAVIOR ============= */
@media (max-width: 1260px) {
  .container { max-width: 98vw; }
}
@media (max-width: 940px) {
  .container { max-width: 95vw; }
  .footer-grid { gap: 18px; }
}
@media (max-width: 840px) {
  .footer-grid {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .footer-grid > div { max-width: 100%; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    max-width: 100vw;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .features-grid, .services-list, .tech-stack-list {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .services-list > div, .tech-stack-list > ul {
    padding: 18px 12px;
    min-width: 0;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card { padding: 16px; }
  .content-wrapper { padding: 0; }
  .footer-grid { gap: 16px; }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .mobile-menu {
    display: flex;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.05rem; }
  .features-grid > div, .services-list > div, .card, .testimonial-card {
    padding: 12px 7px;
    border-radius: 11px;
  }
  .cookie-modal {
    padding: 18px 4vw 12px 4vw;
    min-width: 0;
    border-radius: 8px;
  }
  .map-placeholder {
    padding: 12px 4px;
    border-radius: 8px;
    font-size: 0.97rem;
  }
}

/* =============== MICRO-INTERACTIONS & TRANSITIONS =============== */
.button,
nav a,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-banner .button {
  transition: background 0.2s, color 0.15s, box-shadow 0.18s, border 0.19s, top 0.18s;
}
section, .section, .testimonial-card, .card {
  transition: box-shadow 0.25s, border 0.19s, background 0.29s;
}
.features-grid > div:hover, .services-list > div:hover, .card:hover, .testimonial-card:hover {
  background: #fff7e2;
  box-shadow: 0 4px 30px #fad98055;
  border-color: #d67130cc;
}

/* =============== MISC RETRO VINTAGE ACCENTS =============== */
.section {
  background: #fff;
  border: 3.5px double #fdcea7;
  box-shadow: 0 8px 32px #fad98040;
  position: relative;
}
.section:before {
  /* retro pattern accent */
  content: "";
  display: block;
  width: 110px;
  height: 14px;
  background: var(--sf-checkers);
  border-radius: 0 0 11px 11px;
  margin: 0 auto 14px auto;
}

/* Subtle grain effect overlay for retro flair */
body:before {
  content: '';
  pointer-events: none;
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  opacity: 0.04;
  z-index: 1;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="13" r="0.9" fill="%23B26538"/><circle cx="20" cy="6" r="0.7" fill="%23d67130"/><circle cx="41" cy="11" r="1" fill="%23183153"/><circle cx="35" cy="32" r="0.8" fill="%2347B881"/><circle cx="6" cy="43" r="0.7" fill="%23B26538"/></svg>');
  background-repeat: repeat;
}

/* End of CSS */
