/* CSS RESET & NORMALIZE -------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: #ececec !important;
  color: #21455E;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #21455E;
  text-decoration: underline;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #21455E;
  outline-offset: 2px;
}
a:hover {
  color: #6EC1B4;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #21455E;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 0 #e2d0ac, 0 1px 0 #ffffff;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
hr {
  border: 0;
  border-bottom: 1.5px dashed #dac495;
  margin: 32px 0;
}

/* BRAND VINTAGE_RETRO PALETTE & TYPOGRAPHY -------------------*/
:root {
  --color-primary: #21455E;
  --color-secondary: #6EC1B4;
  --color-accent: #F3E9D2;
  --color-headline-bg: #D6B87B;
  --color-highlight: #fff9ea;
  --color-muted: #99937C;
  --color-warning: #F7AA2B;
  --color-error: #DC6767;
  --radius-card: 15px;
  --radius-btn: 999px;
}

/* CONTAINER LAYOUTS -------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.text-section {
  background: var(--color-highlight);
  border-radius: 14px;
  padding: 32px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(33,69,94,0.07), 0 0.5px 0 #e2d0ac;
}

/* SECTION SPACING (MANDATORY) -------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff9ea;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 10px rgba(76,58,40,0.08), 0 1.5px 0 #e2d0ac;
  padding: 32px 24px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(76,58,40,0.17), 0 3px 0 #e2d0ac;
  transform: translateY(-4px) scale(1.015);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(33,69,94,0.10), 0 1.5px 0 #e2d0ac;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-left: 7px solid var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.star-rating-summary {
  background: var(--color-headline-bg);
  color: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  margin-top: 8px;
  font-size: 1.05em;
  letter-spacing: 0.05em;
}

/* HEADER NAVIGATION -------------------*/
header {
  background: var(--color-primary);
  padding: 0;
  box-shadow: 0 2px 9px rgba(76,58,40,0.09);
}
header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
header img {
  height: 52px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: auto;
  margin-right: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-secondary);
  scale: 0;
  transition: scale 0.19s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(110,193,180,0.18);
  color: #fff;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  scale: 1;
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(33,69,94,0.11);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s, transform 0.14s;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 14px rgba(246,177,22,0.12);
  opacity: 0;
  transition: opacity 0.18s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.cta-btn:hover::before,
.cta-btn:focus::before {
  opacity: 1;
}

/* MOBILE NAVIGATION -------------------*/
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  margin-left: 10px;
  z-index: 105;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.15,.4,1);
  box-shadow: 8px 0 40px rgba(76,58,40,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.37s cubic-bezier(.24,.85,.41,1.05);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-accent);
  margin: 24px 32px 10px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1200;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  padding: 0 42px 42px 50px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 12px 7px 0;
  border-radius: 0 9px 9px 0;
  outline: none;
  background: none;
  text-decoration: none;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
}

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

/* HERO + FEATURE STYLES -------------------*/
ul {
  padding-left: 0;
  margin-bottom: 18px;
}
ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  font-size: 1.07em;
}
ul li img {
  margin-right: 14px;
  vertical-align: middle;
  width: 34px;
  height: auto;
  display: inline-block;
}

/* CTA & INTERACTIVE -------------------*/
button, .cta-btn {
  transition: background 160ms, color 160ms, box-shadow 180ms, transform 110ms;
}
button:active,
.cta-btn:active {
  transform: scale(0.98) !important;
}

/* CARDS & TESTIMONIALS -------------------------*/
.card, .testimonial-card, .text-section {
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(33,69,94,0.09);
  margin-bottom: 24px;
}
.testimonial-card {
  background: #fff;
  color: #21455E;
  border-left: 7px solid var(--color-warning);
  box-shadow: 0 2.5px 14px rgba(33,69,94,0.13);
  font-style: italic;
  padding: 26px 30px;
  position: relative;
}
.testimonial-card strong {
  font-size: 1.08em;
  letter-spacing: 0.03em;
}
.testimonial-card span {
  display: inline-block;
  margin-left: 6px;
  color: #f6b016;
  font-size: 1.18em;
  letter-spacing: 0.07em;
}

/* FOOTER -------------------*/
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 38px 0 0 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 0.98em;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  font-size: 0.99em;
  line-height: 1.74;
  color: #ded1b3;
}
.footer-contact a {
  color: #f8edce;
  font-weight: 600;
  margin-right: 12px;
  text-decoration: none;
  transition: color 0.14s;
}
.footer-contact a:hover {
  color: var(--color-secondary);
}
.footer-contact img {
  width: 19px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 3px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16em;
  color: var(--color-headline-bg);
  letter-spacing: 0.03em;
}
.footer-brand img {
  width: 38px;
  height: auto;
}

/* COOKIE CONSENT BANNER --------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fff9ea;
  color: #21455E;
  border-top: 2.5px solid #D6B87B;
  box-shadow: 0 -2px 16px rgba(33,69,94,0.09);
  padding: 24px 22px 18px;
  z-index: 20000;
  gap: 20px;
  animation: fadein-bottom 0.8s;
}
@keyframes fadein-bottom {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  border: none;
  border-radius: var(--radius-btn);
  padding: 8px 28px;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-weight: 700;
  box-shadow: 0 1.5px 9px rgba(33,69,94,0.07);
}
.cookie-banner .btn-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .btn-accept:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #eee8d7;
  color: var(--color-muted);
}
.cookie-banner .btn-reject:hover {
  background: #e2d0ac;
  color: var(--color-primary);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 8px 20px;
}
.cookie-banner .btn-settings:hover {
  background: #fff5d7;
  color: var(--color-warning);
  border-color: var(--color-warning);
}

/* COOKIE SETTINGS MODAL -------------------------*/
.cookie-modal {
  position: fixed;
  z-index: 21000;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(33,69,94,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.33s;
}
.cookie-modal-inner {
  background: #fff9ea;
  color: #21455E;
  border-radius: 20px;
  box-shadow: 0 7px 34px rgba(33,69,94,0.19);
  padding: 40px 30px 34px 30px;
  min-width: 320px;
  max-width: 96vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popupIn 0.46s cubic-bezier(.46,1.65,.43,.97);
}
@keyframes popupIn {
  from { transform: scale(0.85) translateY(38px); opacity: 0; }
  to   { transform: scale(1) translateY(0);   opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 22000;
}
.cookie-modal label {
  font-size: 1.07em;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #ccc;
  position: relative;
  outline: none;
  margin-right: 6px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2.7px; left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4px rgba(33,69,94,0.17);
  transition: left 0.18s;
}
.cookie-toggle:checked::after {
  left: 20px;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 3px;
  color: var(--color-primary);
}
.cookie-modal .cookie-btns {
  margin-top: 19px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .btn-save {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat';
  border-radius: var(--radius-btn);
  padding: 10px 30px;
  font-weight: 700;
  border: none;
}
.cookie-modal .btn-cancel {
  background: #eee8d7;
  color: var(--color-muted);
  border-radius: var(--radius-btn);
  border: none;
  padding: 10px 28px;
}

/* TYPOGRAPHY - RETRO VINTAGE FLAIR -------------------*/
body {
  background: linear-gradient(105deg,#F3E9D2 73%,#fff9ea 100%);
}
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1.5px 0 #fff);
}
.text-section h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* RETRO BUTTON EFFECTS -------------------*/
.cta-btn,
button {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 13px rgba(214,184,123,0.13);
  background: linear-gradient(90deg, #F3E9D2 80%, #fff9ea 100%);
  color: #21455E;
  position: relative;
  overflow: hidden;
}
.cta-btn {
  background: var(--color-secondary);
}
.cta-btn:active {
  box-shadow: 0 0px 0 #dac495;
}

/* PATTERNS AND NOSTALGIA DECORATIONS (SUBTLE) -------*/
section {
  position: relative;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; left: 0;
  width: 88px; height: 10px;
  background-image: repeating-linear-gradient(90deg, #EFC276 0, #D6B87B 9px, transparent 12px, transparent 24px);
  opacity: 0.42;
  z-index: 0;
}
section:nth-child(even)::before {
  left: unset; right: 0;
}

/* RETRO SHADOWS & CARD BORDERS ------------------*/
.card {
  border: 2.5px solid #D6B87B;
  background: linear-gradient(93deg,#fff9ea 78%,#F3E9D2 100%);
}

/* MISC UTILITY & VISUAL HIERARCHY --------------*/
.small {
  font-size: 0.93em;
  color: #789;
}
.hide {
  display: none !important;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) --------------*/
@media (max-width: 900px) {
  html { font-size: 15px; }
  .container { max-width: 95vw; padding-left: 7vw; padding-right: 7vw; }
  .main-nav { gap: 12px; }
  section { padding-top: 32px; }
  .testimonial-card, .text-section, .card { padding: 22px 12px; }
}
@media (max-width: 768px) {
  html { font-size: 14.4px; }
  .content-wrapper, .container { padding-left: 8px; padding-right: 8px; }
  .text-section { padding: 18px 6px; }
  .card, .testimonial-card { padding: 16px 5px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .main-nav { gap: 7px; }
  .feature-item, .testimonial-card { gap: 12px; }
  .footer-menu { gap: 9px; }
  .testimonial-card, .text-section, .card { margin-bottom: 14px; }
  .star-rating-summary { padding: 4px 9px; font-size: 0.96em; }
  .footer-brand { font-size: 1em; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 17px 8px 15px 9px; }
  .cookie-banner .cookie-btns { gap: 9px; }
  .cookie-modal-inner { padding: 18px 6px; min-width: 94vw; }
}
@media (max-width: 640px) {
  .container { padding: 0 2vw; }
  .main-nav { gap: 0; font-size: 0.97em; }
}
@media (max-width: 500px) {
  html { font-size: 13.1px; }
  .container { padding-left: 4px; padding-right: 4px; }
  header .container { gap: 8px; }
  .footer-brand img { width: 28px; }
  .footer-menu a { font-size: 0.95em; }
}
/* CONTENT LAYOUT ADJUSTMENTS - flexbox ONLY --------*/
.content-grid {
  flex-direction: column;
}
@media (min-width: 750px) {
  .content-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .card-container { flex-direction: row; }
  .feature-item { flex-direction: column; }
}
.text-image-section {
  flex-direction: column;
}
@media (min-width: 760px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

/*  UTILITY CLASSES  */
.mt-0 { margin-top: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }

/* FOCUS STYLES (ACCESSIBILITY) */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px dashed #fff9ea;
  outline-offset: 3px;
}

/* ANIMATIONS & MICRO-INTERACTION */
.card, .testimonial-card, .cta-btn, .mobile-nav a, .cookie-banner button, .cookie-modal .btn-save, .cookie-modal .btn-cancel {
  transition: box-shadow 0.16s, background 0.16s, color 0.13s, transform 0.11s;
}
.card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px rgba(110,193,180,0.18);
  border-color: var(--color-secondary);
}

/* RETRO BADGE STYLE */
.badge {
  background: var(--color-warning);
  color: #fff;
  border-radius: 8px;
  padding: 3px 14px;
  font-size: 0.98em;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* DECORATIVE DOTTED UNDERLINE FOR HEADERS */
h2:not(.modal-title), h3:not(.modal-title) {
  border-bottom: 2px dotted #D6B87B;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 22px;
}

/* PRINT STYLES */
@media print {
  nav, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container { padding: 0; max-width: 100vw; }
  section { padding: 0; margin: 0 0 20px 0; }
}
