/* ========== CSS RESET & NORMALIZE ==========
   Modern CSS Reset. Only flexbox for layout. No grid/columns. */
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;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #F4F4F4;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #264653;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
*::-webkit-scrollbar {width: 10px; background: #F4F4F4;}
*::-webkit-scrollbar-thumb {background: #E9C46A; border-radius: 8px;}

:root {
  --vintage-blue: #264653;
  --vintage-yellow: #E9C46A;
  --vintage-accent: #F4F4F4;
  --vintage-orange: #f4a261;
  --vintage-rose: #ba7c68;
  --vintage-dark: #2a2420;
  --vintage-paper: #fffaf3;
  --vintage-shadow: rgba(50,45,30,0.08);
  --radius-card: 18px;
  --radius-btn: 6px;
  --shadow-card: 0 3px 24px var(--vintage-shadow);
  --shadow-hover: 0 8px 32px rgba(26,21,15,0.13);
}

/* ========== TYPOGRAPHY: Vintage Retro Feel ==========*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--vintage-paper);
  color: var(--vintage-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  color: var(--vintage-blue);
  text-shadow: 1px 1px 0 #fffde2, 2px 2px 0 var(--vintage-yellow);
}
h2 {
  font-size: 2rem;
  color: var(--vintage-rose);
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #fffde2;
}
h3 {
  font-size: 1.35rem;
  color: var(--vintage-orange);
  font-weight: 700;
}
h4, h5, h6 {
  font-weight: 700;
}
.subtitle, .lead {
  font-size: 1.25rem;
  color: var(--vintage-rose);
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}
ul li::before {
  content: '\2738'; /* vintage sun/star */
  color: var(--vintage-yellow);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
}
blockquote {
  border-left: 6px solid var(--vintage-yellow);
  background: #fff5db;
  color: #2a2420;
  padding: 16px 32px 16px 20px;
  margin: 0 0 16px 0;
  font-family: 'Montserrat', serif;
  font-size: 1.15rem;
  font-style: italic;
  border-radius: var(--radius-card);
}
address {
  font-style: normal;
  color: var(--vintage-dark);
  font-size: 1rem;
  margin-top: 6px;
}
.table, table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 1rem;
}
table th, table td {
  padding: 14px 14px;
  border-bottom: 2px solid var(--vintage-yellow);
  background: #fffbe9;
}
table th {
  color: var(--vintage-blue);
  font-family: 'Montserrat', serif;
  font-weight: 700;
  background: var(--vintage-yellow);
}
table tr:nth-child(odd) td { background: #fffaf3; }
table tr:nth-child(even) td { background: #fffbe9; }

/* ========== COMMON LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.feature-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.service-cards {
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 min(280px, 100%);
  background: #fffdf7;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 22px;
  position: relative;
  margin-bottom: 20px;
  min-width: 240px;
  border: 2px solid var(--vintage-yellow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.025);
  border-color: var(--vintage-orange);
}
.service-card .price {
  font-size: 1.15rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--vintage-blue);
  margin-top: 8px;
}

.feature-grid > div {
  flex: 1 1 240px;
  background: #fcefdc;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 14px;
  min-width: 200px;
  border: 1.5px solid var(--vintage-yellow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.23s, transform 0.18s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.018);
  border-color: var(--vintage-orange);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  filter: sepia(100%) hue-rotate(-20deg) brightness(0.95);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffbe9;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 16px;
  margin-bottom: 20px;
  position: relative;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 8px 0;
}
.text-section ul li img {
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: -3px;
  filter: sepia(70%) hue-rotate(-15deg);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: #fffefb;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  border: 2px dashed var(--vintage-yellow);
  transition: box-shadow .21s, border-color .2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--vintage-orange);
}
.testimonial-card blockquote {
  margin: 0; 
  padding: 0;
  background: none;
  border-left: 5px solid var(--vintage-yellow);
  color: var(--vintage-dark);
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  min-width: 0;
}
.testimonial-name {
  font-family: 'Montserrat', serif;
  color: var(--vintage-rose);
  font-weight: bold;
  letter-spacing: 1px;
  margin-left: 18px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.faq-item {
  background: #fcefdc;
  border-left: 6px solid var(--vintage-yellow);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px 18px 16px 22px;
  transition: box-shadow .15s;
}
.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.offer-comparison-table {
  width: 100%;
  font-size: 1rem;
  margin-bottom: 28px;
  background: #fffdf8;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.offer-comparison-table th, .offer-comparison-table td {
  padding: 13px 9px;
}
.offer-comparison-table th {
  color: var(--vintage-blue);
  background: var(--vintage-yellow);
  font-family: 'Montserrat', serif;
  font-weight: 700;
  border-bottom: 2.5px solid var(--vintage-blue);
}
.offer-comparison-table tr td {
  background: #fffaf4;
  text-align: center;
  border-bottom: 1px solid #f3e4b7;
}
.offer-comparison-table tr:last-child td {
  border-bottom: none;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--vintage-blue);
  padding: 0;
  color: #fff;
  box-shadow: 0 3px 18px rgba(42,36,32,0.045);
  width: 100%;
  position: relative;
  z-index: 30;
}
header .container {
  min-height: 66px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 18px;
}
.logo img {
  height: 50px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-family: 'Montserrat', sans-serif;
}
.main-nav a {
  font-size: 1.13rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  color: var(--vintage-yellow);
  background: transparent;
  transition: background .16s, color .19s, box-shadow .18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  box-shadow: 0 3px 13px #eed68b38;
}
.main-nav .cta.primary {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  font-weight: 900;
  margin-left: 4px;
  box-shadow: 0 2px 10px #e6b45a2e;
  border-radius: var(--radius-btn);
  border: 2px solid var(--vintage-yellow);
  transition: background .17s, color .19s, border-color .13s, box-shadow .19s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  border-color: var(--vintage-orange);
  background: var(--vintage-orange);
  color: #fff;
  box-shadow: 0 4px 18px #e170552d;
}
.mobile-menu-toggle {
  display: none;
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  border-radius: var(--radius-btn);
  font-size: 2.1rem;
  padding: 3px 12px 2px;
  border: 2px solid var(--vintage-yellow);
  transition: background .14s, color .14s;
  margin-left: 12px;
  z-index: 100;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-orange);
  color: #fff;
  border-color: var(--vintage-orange);
}

/* ========== MOBILE NAV ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(38, 70, 83, 0.99);
  z-index: 999;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.57,.21,.23,1.02);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 16px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--vintage-yellow);
  font-size: 2rem;
  border: none;
  margin: 12px 19px 0 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-btn);
  transition: background .1s, color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 30px 14px 26px;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: var(--vintage-yellow);
  font-family: 'Montserrat', serif;
  font-weight: 700;
  padding: 10px 0;
  border-radius: var(--radius-btn);
  width: 100%;
  transition: background .13s, color .13s;
  margin-bottom: 0.2em;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  padding-left: 6px;
}

/* ========== CTA BUTTONS ========== */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Montserrat', serif;
  font-size: 1.17rem;
  padding: 11px 32px;
  border-radius: var(--radius-btn);
  margin-top: 10px;
  letter-spacing: 1.5px;
  background: var(--vintage-blue);
  color: var(--vintage-yellow);
  border: 2px solid var(--vintage-blue);
  box-shadow: 0 2px 10px #26465324;
  font-weight: 800;
  position: relative;
  text-shadow: none;
  transition: background .17s, color .17s, border-color .16s, box-shadow .17s, transform .16s;
  cursor: pointer;
}
.cta.primary {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  border-color: var(--vintage-yellow);
}
.cta:hover, .cta:focus {
  background: var(--vintage-orange);
  color: #fffdf7;
  border-color: var(--vintage-rose);
  box-shadow: 0 5px 10px #ba7c6831;
  transform: scale(1.04) translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
  background: var(--vintage-blue);
  color: var(--vintage-yellow);
  padding: 32px 0 22px 0;
  box-shadow: 0 -2px 16px rgba(38,70,83,0.07);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Montserrat', serif;
}
.footer-navigation a {
  color: var(--vintage-yellow);
  font-size: 1.07rem;
  font-weight: 700;
  opacity: 0.92;
  background: transparent;
  border-radius: var(--radius-btn);
  padding: 7px 12px;
  transition: background .17s, color .17s;
}
.footer-navigation a:hover {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
}
.contact-short {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-short img {
  width: 50px;
  height: auto;
  margin-right: 10px;
  filter: sepia(100%) hue-rotate(-23deg) brightness(1.02);
}
.contact-short address, .contact-short a {
  color: var(--vintage-yellow);
  font-size: 1rem;
  text-align: left;
}
.contact-short a:hover {
  text-decoration: underline;
  color: #fffde2;
}

/* ============== COOKIE CONSENT BANNER & MODAL ============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  border-top: 3px solid var(--vintage-orange);
  box-shadow: 0 -2px 18px #ba7c6812;
  padding: 22px 18px 20px 18px;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerAppear .39s .08s cubic-bezier(.72,0,.26,1) both;
}
@keyframes cookieBannerAppear {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner button {
  background: var(--vintage-blue);
  color: var(--vintage-yellow);
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--vintage-blue);
  margin-left: 10px;
  margin-bottom: 5px;
  font-weight: 700;
  transition: background .14s, color .14s, border-color .12s, transform .13s;
  box-shadow: 0 2px 8px #2646531a;
}
.cookie-consent-banner button.accept {
  background: var(--vintage-rose);
  color: #fffbe9;
  border-color: var(--vintage-rose);
}
.cookie-consent-banner button.reject {
  background: #fffbe9;
  color: var(--vintage-blue);
  border: 2px dashed var(--vintage-blue);
}
.cookie-consent-banner button.settings {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
  border: 2px solid var(--vintage-blue);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--vintage-orange);
  color: #fffde2;
  border-color: var(--vintage-blue);
  transform: translateY(-2px) scale(1.03);
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,70,83,.93);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1300;
  animation: cookieModalAppear .22s cubic-bezier(.55,.07,.37,1.09) both;
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content {
  background: #fffefb;
  border-radius: 21px;
  box-shadow: 0 12px 40px #2a242036;
  padding: 38px 24px 24px;
  max-width: 370px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--vintage-blue);
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.14rem;
  color: var(--vintage-blue);
  margin-bottom: 10px;
  font-family: 'Montserrat', serif;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal-content label {
  font-size: 1.02rem;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--vintage-yellow);
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  color: var(--vintage-rose);
  font-size: 1.6rem;
  background: none;
  border: none;
  padding: 3px 8px;
  cursor: pointer;
  transition: background .16s,color .13s;
  border-radius: var(--radius-btn);
}
.cookie-modal-close:hover {
  background: var(--vintage-yellow);
  color: var(--vintage-blue);
}

/* ========== MISC RETRO DECORATIVE ELEMENTS ========== */
section {
  background: none;
  position: relative;
}
section:last-child {
  margin-bottom: 0 !important;
}
section::before {
  content: "";
  display: block;
  position: absolute;
  left: -34px; top: 30px;
  width: 44px; height: 44px;
  background: url("../assets/retro_dots.png") repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}
section:nth-child(even)::after {
  content: "";
  display: block;
  position: absolute;
  right: -36px; bottom: 26px;
  width: 40px; height: 40px;
  background: url("../assets/retro_grid.png") repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* ========== SPACING FOR LAYOUT (MANDATORY) ========== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== RESPONSIVE DESIGN (Mobile-First Approach) ========== */
@media (max-width: 1079px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 13px; }
  .footer-navigation { gap: 12px; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .main-nav {gap: 8px;}
  .footer-navigation { gap: 8px; }
  .feature-grid, .service-cards, .content-grid{
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-card, .card {
    min-width: 185px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.36rem; }
  .section { margin-bottom: 36px; padding: 28px 8px; }
  .card {
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 10px;
  }
  .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .contact-short {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 6px; }
  .logo img, .contact-short img { width: 44px; }
  .footer-navigation {
    font-size: .95rem;
  }
}
@media (max-width: 400px) {
  .cta, .cta.primary {
    font-size: 1.05rem;
    padding: 9px 10px;
  }
  .mobile-menu-toggle { font-size: 1.6rem; }
}

/* ========== INTERACTION & MICRO-ANIMATIONS ========== */
a, button, .cta, .main-nav a, .footer-navigation a {
  transition: color .14s, background .13s, box-shadow .13s, transform .13s;
}
.card, .service-card, .feature-grid > div, .faq-item {
  transition: box-shadow .22s, border-color .2s, transform .21s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.012) translateY(-2px);
}

/* ========== PRINT (Optional) ========== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; }
  .card, .feature-grid > div, .service-card, .section, section {
    box-shadow: none !important; background: #fff !important; color: #111 !important;
  }
}
