/* 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.5;
  font-size: 16px;
  background: #F0EDEA;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #233857;
  background: #F0EDEA;
  min-height: 100vh;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, .btn-primary, .btn-secondary {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  color: #233857;
  text-shadow: 0 4px 18px #e7af3d44;
}
h2 {
  font-size: 2rem;
  color: #233857;
}
h3 {
  font-size: 1.4rem;
  color: #233857;
}
p, li, address, blockquote, cite {
  font-size: 1rem;
  line-height: 1.7;
}
blockquote {
  font-family: 'Montserrat', Georgia, serif;
  font-style: italic;
  color: #233857;
  margin-bottom: 8px;
  background: #FAF8F6;
  border-left: 6px solid #E7AF3D;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px #23385710;
}
cite {
  display: block;
  color: #81705b;
  font-size: 0.95rem;
  font-style: normal;
  padding-left: 8px;
  margin-top: 4px;
}

/* CONTAINER & STRUCTURE */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
}

/* VINTAGE RETRO THEME -----------------------------------*/
:root {
  --color-primary: #233857;
  --color-secondary: #F0EDEA;
  --color-accent: #E7AF3D;
  --color-contrast: #fff;
  --color-border: #ab9587;
  --color-bg-section: #fffbee;
  --color-bg-card: #FEFAF3;
  --color-text-light: #fff;
  --shadow-main: 0 6px 32px #23385718;
  --shadow-card: 0 2px 10px #AB958730;
  --radius-main: 18px;
  --radius-button: 32px;
}
body {
  background: var(--color-secondary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
}

/* PATTERNS AND RETRO BACKGROUNDS */
.hero {
  background: repeating-linear-gradient(135deg, #f0edea, #f6edd5 10px, #E7AF3D 14px, #fffbee 20px);
  border-bottom: 6px solid #E7AF3D;
  padding: 0;
}

footer {
  background: #233857;
  color: #fff;
  padding: 48px 0 24px 0;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-top: 4px solid #E7AF3D;
}
footer .container { gap: 24px; }
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 8px 0;
}
footer nav a {
  color: #E7AF3D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  letter-spacing: 0.05em;
  transition: color .2s, text-decoration .2s;
}
footer nav a:hover {
  color: #FFF;
  text-decoration: underline wavy #e7af3d;
}
footer address {
  margin-top: 10px;
  color: #faecd7;
}

/* HEADER & NAVIGATION */
header {
  background: #233857;
  color: #fff;
  width: 100%;
  position: relative;
  z-index: 20;
  border-bottom: 4px solid #E7AF3D;
  box-shadow: 0 6px 18px #23385724;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 16px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-button);
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #E7AF3D;
  color: #233857;
  text-decoration: none;
}
header img {
  max-height: 44px;
  margin-right: 18px;
}
.btn-primary {
  background: #E7AF3D;
  color: #233857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: var(--radius-button);
  box-shadow: 0 2px 13px #e7af3d48;
  letter-spacing: 0.04em;
  margin-left: 18px;
  border: 2px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #233857;
  color: #fff;
  border-color: #E7AF3D;
  box-shadow: 0 8px 20px #23385736;
}
.btn-secondary {
  background: transparent;
  color: #E7AF3D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 12px 32px;
  border: 2px solid #E7AF3D;
  border-radius: var(--radius-button);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  margin-top: 12px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #E7AF3D;
  color: #233857;
}

/* Flex Layout Patterns (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 18px 24px;
  min-width: 280px;
  max-width: 400px;
}
.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;
  background: #fff;
  border-left: 7px solid #e7af3d;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features ul { gap: 24px; }
.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin: 0;
}
.features li, .services li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  background: transparent;
  font-size: 1.08rem;
}
.features img, .services img {
  width: 34px;
  height: 34px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* SECTION SPACING ENFORCEMENT */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 1050px) {
  .container { max-width: 100%; }
  .content-wrapper { padding: 18px 0; gap:16px; }
}
@media (max-width: 800px) {
  header .container { flex-direction: column; align-items: flex-start;  gap: 10px; }
  header nav { flex-wrap: wrap; gap: 8px; }
  .btn-primary { margin-left: 0; margin-top: 10px; }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  .content-wrapper { padding: 12px 0; gap: 12px; }
  .section, section { margin-bottom: 32px; padding: 22px 8px; }
  .text-image-section { flex-direction: column !important; gap:14px; }
}

/* RETRO TYPOGRAPHY SCALES */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.07rem; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 9px 20px; }
}

/* MICRO-INTERACTIONS */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: outline 0.1s, box-shadow 0.2s, background 0.2s, color 0.2s, border 0.2s;
}
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px dotted #E7AF3D;
  outline-offset: 2px;
}

/* CARD DESIGN RETRO STYLE -----------------------------*/
.card {
  border: 2px solid #e7af3d55;
  background: var(--color-bg-card) url('data:image/svg+xml;utf8,<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="%23e7af3d"/><rect x="4" y="4" width="2" height="2" fill="%23ab9587"/></svg>') repeat;
}

/* BUTTONS & LINKS --------------------------------------*/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

ul li a.btn-primary {
  margin: 0; /* Allow primary button in list */
}

ul li a {
  color: #233857;
  text-decoration: underline dotted #e7af3d88 1.5px;
  transition: color .2s, background .2s;
}
ul li a:hover, ul li a:focus {
  color: #AB9587;
  background: #f0edea;
}

/* TESTIMONIALS -----------------------------------------*/
.testimonial-preview {
  background: #fffbee;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
}
.testimonial-card {
  background: #fff;
  color: #233857;
  border-left: 7px solid #e7af3d;
  box-shadow: 0 2px 13px #23385718;
  align-items: flex-start;
  margin-bottom: 20px;
}
.testimonial-card img {
  width: 40px;
  height: 40px;
  opacity: 0.96;
}
.testimonial-card blockquote {
  border-left: none;
  background: none;
  box-shadow: none;
  padding: 0;
}
.testimonial-card cite {
  color: #ab9587;
  margin-left: 4px;
}

/* ABOUT, LEGAL ETC. ------------------------------------*/
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.text-section li {
  padding-left: 6px;
  border-left: 3px solid #e7af3d66;
  margin-bottom: 5px;
}

/* ADDRESS & CONTACT ICONS ------------------------------*/
address ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
address li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #233857;
}
address a {
  color: #E7AF3D;
  text-decoration: underline #e7af3d55 1px;
}

/* RETRO DIVIDER LINES ----------------------------------*/
.section + .section, section + section {
  border-top: 4px dashed #E7AF3D;
  margin-top: 36px;
}

/* MEDIA QUERIES FOR FLEX & SPACING ENFORCEMENT ---------*/
@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .card, .testimonial-card { padding: 14px 10px 12px 12px; }
  .card { min-width: 90vw; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

/* RETRO DETAILS PATTERNS */
hr, .retro-divider {
  border: none;
  height: 3px;
  width: 80%;
  background: repeating-linear-gradient(90deg,#E7AF3D 0, #E7AF3D 12px, #fffbee 12px, #fffbee 18px);
  margin: 36px auto 24px auto;
  border-radius: 2px;
}

/* MOBILE BURGER MENU ----------------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 300;
  background: #E7AF3D;
  color: #233857;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #ab9587aa;
  border: 2px solid #23385744;
  outline: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #233857;
  color: #fff;
  z-index: 400;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.4,1.4,.51,.97);
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 26px;
  top: 24px;
  background: #E7AF3D;
  color: #233857;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.2rem;
  z-index: 410;
  border: 2px solid #fff2;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #E7AF3D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 70px 0 0 34px;
}
.mobile-nav a {
  color: #E7AF3D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 16px 0 12px 0;
  margin-bottom: 7px;
  display: block;
  width: 100%;
  border-bottom: 2px dashed #E7AF3D11;
  transition: color .16s, background .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #e7af3d22;
  border-bottom: 2px solid #fff;
}

@media (max-width: 850px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 400px) {
  .mobile-menu-close,.mobile-menu-toggle { width: 36px; height: 36px; font-size: 1.8rem; }
}

/* COOKIE CONSENT BANNER ------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #233857;
  color: #fff;
  box-shadow: 0 -4px 18px #ab958744;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 22px 14px 12px 14px;
  border-top: 5px solid #E7AF3D;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .45s cubic-bezier(.7, -.07, .21, 1.28), opacity .15s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 220px;
  font-size: 1.02rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-button);
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  outline: none;
  margin-right: 0;
  margin-left: 0;
}
.cookie-banner .accept {
  background: #E7AF3D;
  color: #233857;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border .15s;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #E7AF3D;
  border: 2px solid #E7AF3D;
}
.cookie-banner .reject {
  background: #fff;
  color: #233857;
  border: 2px solid #E7AF3D;
  transition: background .15s, color .15s;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E7AF3D;
  color: #233857;
}
.cookie-banner .settings {
  background: transparent;
  color: #E7AF3D;
  border: 2px dashed #E7AF3D;
  transition: background .15s, color .15s;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E7AF3D;
  color: #233857;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* COOKIE SETTINGS MODAL ------------------------------*/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,56,87,0.79);
  justify-content: center;
  align-items: center;
  transition: opacity .35s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #233857;
  border-radius: 18px;
  box-shadow: 0 4px 30px #23385726;
  padding: 32px 26px 24px 26px;
  width: 98%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn .45s cubic-bezier(.05, .88, .48, 1);
  position: relative;
}
@keyframes modalIn {
  from { transform: translateY(50px) scale(0.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233857;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .toggle {
  width: 34px;
  height: 18px;
  background: #E7AF3D;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #e7af3d99;
  margin-left: 4px;
}
.cookie-modal .toggle.disabled { opacity: 0.5; pointer-events: none; }
.cookie-modal .toggle .knob {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 1px; left: 2px;
  box-shadow: 0 2px 6px #23385725;
  transition: left .15s;
}
.cookie-modal .toggle.on .knob { left: 16px; background: #233857; }
.cookie-modal .category.disabled { opacity: 0.65; }
.cookie-modal .btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 1.01rem;
  border: none;
  outline: none;
}
.cookie-modal .save {
  background: #E7AF3D;
  color: #233857;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #233857;
  color: #fff;
}
.cookie-modal .cancel {
  background: #fffbee;
  color: #233857;
  border: 1.5px solid #E7AF3D;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #E7AF3D;
  color: #233857;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #E7AF3D;
  color: #233857;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #fff;
}

/* RETRO BADGE AND LABELS ------------------------*/
.section h2:before {
  content: '\2605';
  color: #E7AF3D;
  font-size: 1.3em;
  margin-right: 10px;
  vertical-align: baseline;
}
.hero h1:before {
  content: '\2728';
  color: #e7af3d;
  font-size: 1.1em;
  margin-right: 8px;
}

/* CALL TO ACTION ---------------------------------*/
.call-to-action {
  background: #E7AF3D;
  color: #233857;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 32px #E7AF3D30;
  margin-bottom: 60px;
  padding: 40px 20px;
  font-size: 1.12rem;
}
.call-to-action h2 {
  color: #233857;
}
.call-to-action a.btn-primary {
  background: #233857;
  color: #E7AF3D;
  border: 2px solid #E7AF3D;
  box-shadow: 0 3px 14px #23385733;
}
.call-to-action a.btn-primary:hover {
  background: #fff;
  color: #233857;
}
@media (max-width: 600px) {
  .call-to-action { padding: 19px 8px; }
}

/* SPECIALS FOR THANK YOU PAGE -------------------*/
section.thank-you {
  background: #fffbee;
  text-align: center;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 38px;
}
.thank-you h1 {
  color: #E7AF3D;
  text-shadow: 0 1px 11px #23385718;
}

/* RESPONSIVE TABLETS & PHONES -------------------*/
@media(max-width:380px){ 
  body, html { font-size:15px; } 
  .btn-primary, .btn-secondary { padding: 7px 13px; font-size: .94rem; }
}

/* MISC SPACING ----------------------------------*/
section + section, .section + .section {
  margin-top: 24px;
}
h1 + p, h2 + p, h3 + p, p + p, p + ul, ul + p, ul + ul, ul + h3, .text-section ul + h3 {
  margin-top: 8px;
}
section ul li:not(:last-child) {
  margin-bottom: 12px;
}

/* --------- END VINTAGE RETRO CSS ---------- */
