/*------------------------------
 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F4ECD8;
  min-height: 100vh;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #21395B;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
*:focus {
  outline: 2px dashed #21395B;
  outline-offset: 2px;
}

/*------------------------------
 Font-face for vintage/retro
------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
/* Retro display for headings */
@font-face {
  font-family: 'Monoton';
  font-style: normal;
  font-weight: 400;
  src: local('Monoton'), url('https://fonts.gstatic.com/s/monoton/v19/5h1aiZUrOngCibe4fkU5.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

/*------------------------------
 Color Palette (vintage/retro + brand)
------------------------------*/
:root {
  --retro-blue: #21395B;
  --retro-green: #6ACCA3;
  --retro-yellow: #FFD966;
  --retro-orange: #FFB174;
  --retro-red: #CA4D3C;
  --retro-dark: #47323A;
  --retro-brown: #827060;
  --retro-bg: #F4ECD8;
  --retro-cream: #F9F6F1;

  --brand-primary: #21395B;
  --brand-secondary: #6ACCA3;
  --brand-accent: #F2F2F2;
}

/*------------------------------
 Layout Structure
------------------------------*/
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/*------------------------------
 Typography (vintage/retro feel)
------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Monoton', 'Arial Black', Arial, sans-serif;
  color: var(--retro-blue);
  text-shadow: 1px 2px 0 #FFD966, 2px 4px 4px #82706022;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
h1 {
  font-family: 'Monoton', 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--retro-dark);
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--retro-brown);
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--retro-dark);
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--retro-blue);
}
strong {
  font-weight: 900;
  color: var(--retro-dark);
}

/* Links */
a {
  color: var(--retro-red);
  text-decoration: underline dotted;
}
a:hover, a:focus {
  color: var(--retro-blue);
  background: var(--retro-yellow);
  text-decoration: underline solid;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

/*------------------------------
 Vintage/Retro Patterns/Effects
------------------------------*/
body {
  background: var(--retro-bg);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-cream);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(74,57,40,0.08);
  position: relative;
}
section.hero {
  background: linear-gradient(120deg, #FFD966 90%, #FFB174 100%);
  border: 2px solid #FFB174;
  border-radius: 0 0 48px 0;
  box-shadow: 0 8px 24px rgba(202,77,60,0.04);
}
section.features {
  background: repeating-linear-gradient(135deg, #F4ECD8 0 15px, #FFD966 15px 30px);
  border: 2px solid #FFD966;
}

/* Decorative dotted border for retro effect */
section.about, section.contact, section.footer {
  border: 2px dotted var(--retro-blue);
  background: var(--retro-cream);
}

/* Section container flex patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffced;
  border-radius: 16px;
  border: 1.5px solid var(--retro-brown);
  box-shadow: 0 4px 24px rgba(67, 50, 41,0.10);
  padding: 32px 24px;
  min-width: 280px;
  flex: 1 1 320px;
}
.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;
  border-radius: 15px;
  background: #fffced;
  border: 1.5px solid var(--retro-brown);
  box-shadow: 0 2px 12px rgba(67,50,41,0.09);
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 670px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .content-wrapper, .content-grid, .feature-grid, .service-cards, .blog-preview-grid {
    flex-direction: column !important;
  }
  .testimonial-card {
    max-width: 100%;
  }
  section {
    padding: 28px 6px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.15rem; }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/*------------------------------
 Main Navigation styles
------------------------------*/
header {
  background: var(--retro-blue);
  border-bottom: 6px solid #FFD966;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo img {
  max-height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #FFD966;
  font-weight: 800;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 5px;
  text-shadow: 1px 1px rgba(67,50,41,0.10);
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #FFD966;
  color: var(--retro-dark);
  text-decoration: none;
}
.btn-primary {
  background: #FFD966;
  color: var(--retro-blue);
  border-radius: 24px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  border: 2px solid #FFD966;
  box-shadow: 0 2px 8px #fd6a263a;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  position: relative;
  z-index: 2;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--retro-blue);
  color: #FFD966;
  border: 2px solid #FFD966;
  box-shadow: 0 4px 16px #FFB17480;
}
.btn-secondary {
  background: var(--retro-green);
  color: var(--retro-blue);
  border-radius: 18px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: 2px dashed var(--retro-blue);
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.17s, color 0.22s, border 0.17s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--retro-yellow);
  color: var(--retro-dark);
  border: 2px solid var(--retro-red);
}

/*------------------------------
 MOBILE MENU (hamburger overlay)
------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: #FFD966;
  border: none;
  color: var(--retro-blue);
  font-size: 2em;
  border-radius: 8px;
  padding: 4px 16px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 1px 5px #47323a33;
  z-index: 20;
  transition: background 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFB174;
  color: var(--retro-dark);
  box-shadow: 0 3px 12px #FFD96688;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244,236,216,0.98);
  z-index: 222;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  box-shadow: 0 0 60px #FFD96622;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 16px;
  margin-left: 14px;
  font-size: 2.4em;
  background: #FFD966;
  color: var(--retro-blue);
  border: none;
  border-radius: 7px;
  padding: 0 12px;
  cursor: pointer;
  box-shadow: 0 1px 6px #FFD96644;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--retro-red);
  color: #fff;
}
.mobile-nav {
  margin-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--retro-dark);
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 14px 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD966cc;
  color: var(--retro-blue);
}

@media (max-width: 1000px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1000px) {
  .mobile-menu { display: none !important; }
}

/*-------------------------
 HERO Section
--------------------------*/
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 16px;
  padding: 34px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--retro-dark);
  font-family: 'Monoton','Montserrat',Arial Black,Arial,sans-serif;
  line-height: 1.15;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 3px 8px #FFD96680;
}
.hero p {
  font-size: 1.18rem;
  color: var(--retro-blue);
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero .content-wrapper { padding: 18px 0; }
}

/*----------------------------
 Feature & Card Styles
-----------------------------*/
.features .content-wrapper, 
.about .content-wrapper, 
.services .content-wrapper {
  gap: 20px;
}
.feature-grid, .blog-preview-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-block: 24px 8px;
}
.feature-grid li, .feature-item, .services ul li, .about ul li, .features ul li {
  background: #FFD96633;
  padding: 20px 20px 18px 70px;
  border: 2.5px dashed var(--retro-green);
  border-radius: 16px;
  position: relative;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 230px;
  box-shadow: 0 2px 12px #FFD96637;
}
.feature-grid li img {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 8px #FFD96633;
}
.blog-preview-grid article {
  background: #fffced;
  border: 2px solid #FFD966;
  border-radius: 12px;
  box-shadow: 0 2px 8px #FFD96644;
  padding: 20px 26px 16px 24px;
  min-width: 210px;
  max-width: 360px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.blog-preview-grid article:hover {
  box-shadow: 0 8px 24px #FFD96675;
  transform: translateY(-6px) scale(1.02);
}
@media (max-width: 800px) {
  .feature-grid, .blog-preview-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
}

/* Service Cards */
.service-cards {
  gap: 28px;
  margin-bottom: 24px;
}
.service-card {
  background: #fffced;
  border: 2px solid var(--retro-green);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(67,50,41,0.08);
  padding: 32px 26px 22px 26px;
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.13s;
  position: relative;
}
.service-card h3 {
  color: var(--retro-red);
  font-size: 1.13rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-card p {
  font-size: 1rem;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 10px 32px #FFD96688;
  border-color: #FFD966;
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*----------------------------
 TESTIMONIALS CARDS
-----------------------------*/
.testimonials {
  background: #F9F6F1;
  border: 2px dashed #FFD966;
  border-radius: 24px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-card {
  background: #fffced;
  border: 2px solid var(--retro-green);
  margin-bottom: 24px;
  padding: 28px 26px 16px 26px;
  border-radius: 19px;
  color: #21395B;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 4px 24px #FFD9663d;
  position: relative;
}
.testimonial-card p {
  color: #47323a;
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-style: italic;
  text-shadow: 0 1px 8px #FFD96615;
}
.testimonial-card span {
  color: var(--retro-red);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
}

/* OFFICE INFO (Footer/contact) */
.footer-info span, .footer-info {
  color: #47323a;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
}

/*-------------------------
 Footer styles
--------------------------*/
footer {
  background: var(--retro-blue);
  color: #FFD966;
  border-top: 8px solid #FFD966;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
footer a {
  color: #FFD966;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline dotted #FFD966a0;
  margin: 0 6px;
  transition: color 0.19s;
}
footer a:hover,
footer a:focus {
  color: var(--retro-yellow);
  text-decoration: underline solid #FFD966;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  footer .container {
    padding: 0 3px;
  }
}

/*----------------------
 Responsive flex stacking
----------------------*/
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .card-container,
  .features .content-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/*-------------------------
 Micro Interactions
--------------------------*/
.btn-primary, .btn-secondary, .main-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.14s, border 0.14s, box-shadow 0.17s, transform 0.12s;
}
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.19s, border 0.14s, transform 0.14s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 32px #FFD96667;
  transform: translateY(-3px) scale(1.01);
  border-color: var(--retro-green);
}

/*----------------------------
 Cookie Consent Banner
------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #FFD966ee;
  color: var(--retro-blue);
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -2px 18px #FFD96699;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 26px 12px 20px 12px;
  gap: 32px;
  transition: transform 0.4s cubic-bezier(.68, -.55, .27, 1.55);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-content {
  flex: 1;
  max-width: 700px;
  font-size: 1.06rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .btn-cookie {
  background: var(--retro-blue);
  color: #FFD966;
  border: 2px solid var(--retro-blue);
  border-radius: 18px;
  padding: 8.5px 22px;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border 0.12s;
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: #FFD966;
  color: var(--retro-blue);
  border: 2px solid var(--retro-blue);
}
.cookie-banner .btn-cookie-settings {
  background: #fffced;
  color: var(--retro-blue);
  border: 2px dashed var(--retro-green);
  padding: 8.5px 18px;
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--retro-green);
  border-style: solid;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 3px 8px 3px;
    gap: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  background: #fffced;
  color: var(--retro-blue);
  border-radius: 21px;
  box-shadow: 0 8px 40px #FFD96677;
  border: 2.5px solid #FFD966;
  width: 95vw;
  max-width: 415px;
  max-height: 74vh;
  overflow-y: auto;
  padding: 34px 26px 20px 26px;
  transform: translate(-50%, -60%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: var(--retro-red);
  margin-bottom: 14px;
  font-size: 1.23rem;
}
.cookie-modal .modal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  cursor: pointer;
  margin-bottom: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--retro-green);
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.cookie-modal .btn-cookie-save {
  width: 100%;
  margin-top: 22px;
  background: var(--retro-blue);
  color: #FFD966;
  border: none;
  border-radius: 15px;
  padding: 12px 0;
  font-weight: bold;
  font-size: 1.09rem;
  transition: background 0.12s;
  cursor: pointer;
}
.cookie-modal .btn-cookie-save:hover {
  background: var(--retro-green);
  color: var(--retro-blue);
}
.cookie-modal .btn-cookie-close {
  position: absolute;
  top: 16px;
  right: 17px;
  font-size: 1.5em;
  background: #FFD966;
  border: none;
  color: var(--retro-blue);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 10px #FFD96644;
  transition: background 0.15s;
}
.cookie-modal .btn-cookie-close:hover {
  background: var(--retro-red);
  color: #fff;
}

/*----------------------------
 Miscellaneous
------------------------------*/
.disclaimer {
  margin-top: 12px;
  font-size: 0.97rem;
  color: #827060;
  font-style: italic;
}

/* Thank You / Success page accent */
.thank-you .hero {
  background: var(--retro-green);
  color: #fff;
  text-align: center;
  padding: 48px 0;
  border-radius: 24px 24px 0 0;
}

/* Decorative corners for vintage accent */
section:before, section:after {
  content: '';
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg fill="%23FFD966" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12"/></svg>') no-repeat center center / 80%;
  opacity: 0.13;
}
section:before {
  top: 10px;
  left: 10px;
}
section:after {
  bottom: 10px;
  right: 10px;
}

@media (max-width: 640px) {
  section:before, section:after {
    width: 13px;
    height: 13px;
  }
}

/*----------------------------
 End of CSS
------------------------------*/
