/* ================= CSS RESET & NORMALIZE ================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  /* Prevent mobile font scaling */
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  position: relative;
  background: #FAF5ED; /* light beige for retro vibe */
  color: #3E2B18;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 32px;
  margin-bottom: 1.5em;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
a {
  color: #B34A2E;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.21,.6,.41,.98);
}
a:hover, a:focus {
  color: #D94A32;
  text-decoration: underline;
}
strong, b {
  font-weight: bold;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #ffefd8;
  margin-bottom: 2em;
}
th, td {
  padding: 14px 20px;
  border: 1px solid #e2ce94;
  text-align: left;
  font-size: 16px;
}
th {
  background: #E2CE94;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
blockquote {
  border-left: 4px solid #E2CE94;
  background: #fffbe9;
  padding: 18px 26px;
  font-style: italic;
  color: #3D3128;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}
hr {
  border: none;
  border-top: 1px solid #E2CE94;
  margin: 32px 0;
}

/* =============== FONT IMPORTS (Google Fonts) ============== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* =============== COLOR PALETTE (Retro) =============== */
:root {
  --primary: #1A242F;
  --primary-alt: #2B3240;
  --secondary: #E2CE94;
  --beige: #FAF5ED;
  --retro-brown: #9C6B3B;
  --retro-orange: #D94A32;
  --retro-red: #C13514;
  --retro-green: #3D7068;
  --retro-blue: #6E7FB7;
  --retro-yellow: #EDD382;
  --white: #FFFFFF;
  --black: #181510;
  --gray: #8C837F;
  --box-shadow-card: 0 4px 20px 0 rgba(195, 53, 20, 0.08), 0 1.5px 4px 0 rgba(30,18,6,0.07);
  --border-radius: 18px;
}

/* =============== TYPOGRAPHY SCALE =============== */
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2, .cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--retro-brown);
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
h4 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
p, li, dt, dd, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #3E2B18;
  margin-bottom: 1.1em;
  letter-spacing: 0.01em;
}

em, i {
  font-style: italic;
}

/* ================= LAYOUT STRUCTURE =================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* ======= MANDATORY PATTERNS ========= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .service-cards, .services-list, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.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;
  background: #fffbe9;
  border: 2px dashed var(--retro-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px 0 rgba(225,203,152,0.08);
  margin-bottom: 24px;
  position: relative;
  flex-direction: column;
  transition: box-shadow 0.2s;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(217,74,50,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ============= HEADER, NAVIGATION =============== */
header {
  background: var(--secondary);
  border-bottom: 8px solid var(--retro-orange);
  box-shadow: 0 2px 12px 0 rgba(30,18,6,0.04);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 8px 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 23px;
  margin: 0;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  padding: 6px 4px;
  border-radius: 5px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-orange);
}
header img {
  height: 44px;
}

.cta-primary {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--retro-orange);
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 3px 10px 0 rgba(217,74,50,0.07);
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  cursor: pointer;
  margin-left: 24px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--retro-red);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(217,74,50,0.13);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

/* ======= HERO SECTION ========= */
.hero {
  background: repeating-linear-gradient(135deg,#FFFAE0 0px,#FFFAE0 12px,#E2CE94 12px,#E2CE94 28px);
  padding: 64px 0 48px 0;
  margin-bottom: 48px;
  box-shadow: 0 8px 32px rgba(180,107,62,0.14);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 0 #EDD38244;
}
.hero p {
  font-size: 1.14rem;
  color: #553C28;
  margin-bottom: 30px;
  max-width: 520px;
}

/* =========== SERVICES + CARD STYLE ============ */
.service-cards, .services-list {
  margin-top: 8px;
}
.service-card {
  background: #fffbe9;
  border: 2px solid #E2CE94;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-card);
  padding: 32px 24px 24px 24px;
  min-width: 250px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.service-card:hover {
  box-shadow: 0 12px 30px 0 rgba(180,107,62,0.11);
  border-color: var(--retro-orange);
  z-index: 2;
}
.service-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
}
.service-card .service-price, .service-card span {
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: 'Playfair Display',serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.service-card a {
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
  color: var(--retro-orange);
  font-weight: 700;
  background: none;
  padding: 0;
  border: none;
  font-size: 1.06rem;
  cursor: pointer;
  transition: color 0.18s;
}
.service-card a:hover, .service-card a:focus {
  text-decoration: underline;
  color: var(--retro-red);
  background: none;
}

/* ======= CTA BANNER ========= */
.cta-banner {
  background: var(--retro-yellow);
  padding: 36px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 18px 0 rgba(180,107,62,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px 0 0 0;
  text-align: center;
  gap: 18px;
}
.cta-banner h2 {
  color: var(--retro-red);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner .cta-primary {
  margin-left: 0;
}

/* ============ TESTIMONIAL ================ */
.testimonial-card blockquote {
  font-size: 1.07rem;
  color: var(--primary);
  background: none;
  font-family: 'Playfair Display',serif;
  border: none;
  padding: 0;
  margin-bottom: 7px;
}
.testimonial-card > div {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--retro-orange);
  margin-bottom: 0;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card .star {
  color: #FFD700;
  font-size: 1.3em;
}

/* =========== FOOTER STYLE ============= */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 20px 0;
  border-top: 8px solid var(--secondary);
  box-shadow: 0 -2px 12px 0 rgba(30,18,6,0.06);
  font-size: 15px;
  letter-spacing: 0.01em;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 42px;
}
.footer-menu nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.82;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  padding: 3px 8px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--retro-yellow);
  background: var(--retro-brown);
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-direction: row;
}
.footer-contact img {
  max-width: 52px;
  border-radius: 13px;
  border: 1.5px solid var(--retro-yellow);
  background: var(--primary);
  box-shadow: 0 3px 8px 0 rgba(237,211,130,0.05);
}
.footer-contact div {
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 0.2em;
}

/* ==================== COOKIE CONSENT BANNER & MODAL ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #ffd896;
  color: #2B1604;
  box-shadow: 0 -4px 18px 0 rgba(120,75,7,0.07);
  border-top: 3px solid var(--retro-orange);
  padding: 28px 18px 18px 18px;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 40px;
  animation: banner-in 0.53s cubic-bezier(.21,.8,.41,1) 1;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0;}
  to   { transform: translateY(0); opacity:1;}
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner button {
  margin: 0 6px;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(217,74,50,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--retro-red);
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--retro-orange);
  border-radius: 0;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  margin-left: 3px;
  padding: 8px 8px;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  color: var(--retro-red);
  background: none;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1200;
  background: rgba(32,23,7,0.61);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalin 0.37s cubic-bezier(.11,.7,.61,.97) 1;
}
@keyframes modalin {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal .modal-content {
  background: #fffbe9;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px 0 rgba(180,107,62,0.17);
  max-width: 430px;
  width: 90vw;
  padding: 40px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
}
.cookie-modal .modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--retro-orange);
  font-family: 'Playfair Display',serif;
}
.cookie-modal .modal-content .modal-close{
  position: absolute;
  right: 13px; top: 13px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-content .modal-close:hover{
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--retro-orange);
  margin-right: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 21px;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
  background: var(--retro-orange);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s;
}
.cookie-modal .modal-actions .btn-cancel {
  background: var(--gray);
  color: #fff;
}
.cookie-modal .modal-actions .btn-cancel:hover {
  background: var(--primary);
}
.cookie-modal .modal-actions button:hover {
  background: var(--retro-red);
}

/* ================== MOBILE MENU & NAVIGATION =================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 21px;
  top: 18px;
  z-index: 510;
  width: 48px;
  height: 48px;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 2.1rem;
  box-shadow: 0 4px 28px 0 rgba(217,74,50,0.11);
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.13s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--retro-red);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: #fffbe9;
  box-shadow: 0 6px 36px rgba(180,107,62,0.09);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.21,.7,.40,1.08);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px; top: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--retro-orange);
  cursor: pointer;
  z-index: 11;
  transition: color 0.17s;
  padding: 8px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary-alt);
}
.mobile-nav {
  margin-top: 81px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 38px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Playfair Display',serif;
  color: var(--primary);
  font-size: 1.38rem;
  padding: 10px 0;
  border-radius: 6px;
  background: none;
  transition: color 0.17s, background 0.18s;
  font-weight: 600;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-orange);
  background: var(--retro-yellow);
}

/* ==== Hide main nav, show mobile burger on small screens === */
@media (max-width: 1050px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .footer-contact img { max-width: 36px; }
}

/* ================= LISTS & TEXT SECTIONS ================ */
.text-section ul, .text-section ol {
  margin-bottom: 1.8em;
  margin-left: 24px;
  font-size: 1.04em;
}
.text-section li {
  margin-bottom: 0.45em;
  position: relative;
  padding-left: 7px;
}
.text-section ul li:before {
  content: "■";
  color: var(--retro-orange);
  margin-right: 9px;
  font-size: 0.72em;
  vertical-align: middle;
  position: absolute;
  left: -18px;
  top: 3px;
}
.text-section ul { list-style: none inside; }

/* =========== DETAILS & FAQ ==================== */
dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}
dd {
  margin-bottom: 12px;
  margin-left: 0;
}

/* =========== SPACING UTILITY CLASSES ============= */
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* ============ RETRO PATTERNS & EFFECTS =============== */
.section {
  background: repeating-linear-gradient(-44deg,#fffbe9 0 18px,#fff6e2 18px 44px);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px 0 rgba(154,76,27,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =========== FORMS, TABLES, OL, ETC ============= */
input, textarea, select {
  border-radius: 9px;
  border: 1.5px solid #e2ce94;
  padding: 7px 15px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  background: #fffbe9;
  color: var(--primary);
  transition: border .14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--retro-orange);
  outline: none;
}
button {
  font-family: inherit;
}

/* ============== RESPONSIVE & FLEXBOX ============= */
@media (max-width: 890px) {
  .container { max-width: 100vw; }
  .card-container, .service-cards, .services-list, .card-grid, .content-grid {
    gap: 16px;
    justify-content: center;
  }
  .service-card {
    min-width: 190px;
    max-width: 100%;
    padding: 25px 13px 18px 13px;
  }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (max-width: 768px) {
  .container, .footer .container, .section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 25px 7px;
    margin-bottom: 38px;
  }
  .main-nav { gap: 9px; }
  .footer-menu nav { gap: 10px; }
  .testimonial-card, .service-card { padding: 16px 9px; }
  .hero {
    padding: 36px 0 26px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .cta-banner { padding: 19px 7px; }
}
@media (max-width: 501px) {
  h1, .hero h1 { font-size: 1.28rem; }
  h2, .cta-banner h2 { font-size: 1.02rem; }
  .cta-primary{ font-size: 1rem; padding: 10px 14px; }
  .footer-contact div { font-size: 0.95em; }
  .testimonial-card, .service-card {
    padding: 15px 4px;
  }
}

/* ===================== PRINT STYLE ================== */
@media print {
  header, nav, .cta-banner, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle {
    display: none !important;
  }
  body { color: #000; background: #fff; }
  footer { border-top: none; box-shadow: none; }
}
