/* =====================================================
   RESET & NORMALIZE (Mobile-first, Modern 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 {
  scroll-behavior: smooth;
  --primary: #1D203F;
  --secondary: #C5B19C;
  --accent: #F4F7FA;
  --retro-red: #A14732;
  --retro-gold: #E5C075;
  --retro-green: #3D665C;
  --retro-blue: #4A6073;
  --retro-bg1: #F5EEE6;
  --retro-bg2: #C5B19C;
  --retro-brown: #765D41;
  --shadow-vintage: 0 4px 20px 0 rgba(58, 48, 35, 0.1);
}
body {
  line-height: 1.6;
  background: var(--retro-bg1);
  color: #3e352c;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--retro-red);
}
/* Remove iOS blue highlight */
input, button, textarea, select, a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* ================================================
   RETRO/VINTAGE FONTS & TYPOGRAPHY
================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-shadow: 1px 2px 0 var(--retro-gold), 0 4px 16px rgba(58,48,35,0.06);
}
h2 {
  font-size: 2rem;
  letter-spacing: 0.04em;
}
h3 {
  font-size: 1.33rem;
  letter-spacing: 0.025em;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #4B3B2C;
  margin-bottom: 16px;
}
strong, b {
  color: var(--retro-red);
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
}
.mini-cta {
  font-weight: bold;
  font-family: 'Playfair Display';
  color: var(--retro-red);
  text-decoration: underline;
  font-size: 1rem;
  display: inline-block;
  margin-top: 8px;
  transition: color 0.2s;
}
.mini-cta:hover {
  color: var(--primary);
}

/* ================================================
   VINTAGE COLOR PALETTE & PATTERNS
================================================ */
body {
  background: repeating-linear-gradient(45deg, #F5EEE6, #F5EEE6 30px, #E5C075 30px, #E5C075 40px);
  /* subtle diagonal pattern */
}
section {
  background: rgba(245,238,230,0.99);
  border-radius: 12px;
  box-shadow: var(--shadow-vintage);
}

/* Retro border for visual emphasis */
hr {
  border: none;
  border-top: 1.5px dashed var(--retro-gold);
  margin: 20px 0;
}

/* ================================================
   MAIN LAYOUTS & CONTAINERS (Flex only)
================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section, section {
  margin-bottom: 60px; /* as required */
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(245,238,230,0.99);
  border-radius: 14px;
  box-shadow: var(--shadow-vintage);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section:last-child, section:last-child {
  margin-bottom: 0;
}

/* Cards & Card Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 230px;
  background: #fffdfa;
  border-radius: 10px;
  box-shadow: 0 2px 20px 0 rgba(118,93,65,0.12);
  padding: 24px 18px;
  border: 2px solid var(--retro-gold);
  transition: transform 0.27s cubic-bezier(.33,.83,.66,1.16), box-shadow 0.22s;
}
.card:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 30px -2px rgba(76, 57, 30, 0.17);
  border-color: var(--retro-red);
}
.property-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.property-item {
  background: #fffdfa;
  border: 2px solid var(--retro-gold);
  border-radius: 10px;
  box-shadow: 0 2px 18px 0 rgba(118,93,65,0.10);
  padding: 18px 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
  flex: 1 1 calc(320px - 20px);
}
.property-item h3 {
  color: var(--retro-blue);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.16rem;
}
.property-item:hover {
  border-color: var(--retro-green);
  box-shadow: 0 4px 28px -2px rgba(61,102,92,0.14);
}

/*******************  FEATURES / BENEFITS *******************/
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF8F1;
  border: 1.5px dotted var(--retro-brown);
  border-radius: 10px;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 1px 10px 0 rgba(118,93,65,0.07);
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.24s, border 0.18s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: sepia(0.78) hue-rotate(-20deg) brightness(1.1);
}
.feature-item h3 {
  color: var(--retro-green);
  font-size: 1.12rem;
}
.feature-item p {
  color: #735948;
  font-size: 1rem;
}

/* ========== SERVICE CARDS ========== */
.service-detail-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #f9f7f3;
  border: 2px solid var(--retro-brown);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(61,102,92,0.13);
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--retro-blue);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* ========== FORMS & TABLES ========== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
  background: #fffdfa;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 1px 8px 0 rgba(118,93,65,0.09);
}
th, td {
  padding: 10px 14px;
  text-align: left;
}
th {
  background: var(--retro-bg2);
  color: var(--primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
}
td {
  color: #5D4B3A;
}
tr:not(:last-child) td {
  border-bottom: 1px dashed var(--retro-gold);
}

/* ========== TESTIMONIALS ========== */
.testimonials, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFCF5;
  border: 2px solid var(--retro-gold);
  border-radius: 16px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 400px;
  box-shadow: 0 1px 20px 0 rgba(193,143,84,0.1);
  font-family: 'Roboto', Arial, sans-serif;
  color: #362C1A;
  transition: box-shadow 0.2s, border 0.19s;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #3E352C;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--retro-brown);
  font-style: italic;
}
.testimonial-card:hover {
  border: 2px solid var(--retro-brown);
  box-shadow: 0 3px 28px 0 rgba(122,71,45,0.13);
}

/******************* HERO / PREVIEWS *******************/
.hero {
  background: radial-gradient(circle, #F4F7FA 84%, #E5C075 100%);
  text-align: center;
  border-radius: 22px;
  padding-top: 54px;
  padding-bottom: 54px;
  box-shadow: 0 6px 38px -6px rgba(77,55,31,0.17);
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--retro-red);
  font-size: 2.7rem;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 #FFF4DC;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 26px;
}

/******************* CTA BUTTONS *******************/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 2.3em 0.9em 2.1em;
  background: var(--retro-red);
  color: #FFF9ED;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.13rem;
  border: none;
  border-radius: 32px;
  box-shadow: 0 3px 20px 0 rgba(161,71,50,0.14);
  font-weight: 700;
  text-shadow: 1px 1px 0 #C5B19C40;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-gold);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 32px 0 rgba(229,192,117,0.13);
}

/***************** FOOTER ********************/
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 40px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}
.footer-nav a {
  color: var(--retro-gold);
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}
footer address {
  font-size: 1rem;
  color: var(--accent);
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
  margin-top: 8px;
  line-height: 1.7;
}
footer img {
  max-height: 54px;
}

/***************** HEADER/NAV ********************/
header {
  background: var(--retro-gold);
  box-shadow: 0 3px 34px -9px rgba(161,71,50,0.08);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
}
header nav.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.09rem;
  color: var(--primary);
  padding: 6px 11px;
  border-radius: 6px;
  background: none;
  transition: background 0.12s, color 0.17s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-red);
  color: #fff;
}
header img {
  max-height: 44px;
}

/***************************
  MOBILE NAVIGATION BURGER
****************************/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  margin-left: 5px;
  border-radius: 10px;
  transition: background 0.16s, color 0.19s;
  z-index: 1012;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-gold);
  color: var(--retro-red);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,238,230,0.99);
  box-shadow: 0 8px 60px 2px rgba(77,61,32,0.13);
  z-index: 1002;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--retro-red);
  background: none;
  border: none;
  cursor: pointer;
  margin: 24px 0 0 24px;
  z-index: 1005;
  align-self: flex-start;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.32rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  padding: 10px 4px;
  border-radius: 8px;
  transition: background 0.14s, color 0.18s;
  margin-bottom: 2px;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-red);
  color: #fffdfa;
}
@media (min-width: 1001px){
  .mobile-menu, .mobile-menu.open { display:none !important; }
  .mobile-menu-toggle { display:none !important; }
}
@media (max-width: 1000px) {
  nav.main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 1001px) {
  .main-nav { display: flex; }
}
@media (max-width: 520px) {
  .mobile-nav { padding-left: 12px; padding-right: 12px; }
}

/**********************
   COOKIE BANNER & MODAL
**********************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,#FFF8F1 92%, #E5C075 100%);
  border-top: 2.5px solid var(--retro-gold);
  box-shadow: 0 -2px 24px 0 rgba(118,93,65,0.08);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 20px 24px 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  animation: fadeInUp 0.6s cubic-bezier(.66,1.3,.63,1) 0s both;
}
@keyframes fadeInUp {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1em;
  line-height: 1.5;
  color: var(--primary);
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-actions button {
  font-family: 'Playfair Display';
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.17s, box-shadow 0.13s;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 10px 26px;
  margin: 0;
}
.cookie-accept {
  background: var(--retro-gold);
  color: var(--primary);
  box-shadow: 0 1px 8px 0 rgba(229,192,117,0.12);
}
.cookie-accept:hover {
  background: var(--retro-red);
  color: #fffdfa;
}
.cookie-reject {
  background: var(--retro-red);
  color: #fffdfa;
}
.cookie-reject:hover {
  background: var(--retro-gold);
  color: var(--primary);
}
.cookie-settings {
  background: #fff;
  border: 2px solid var(--retro-gold);
  color: var(--primary);
}
.cookie-settings:hover {
  background: var(--retro-gold);
  color: var(--retro-red);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2050;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,32,63,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s cubic-bezier(.66,1.3,.63,1) both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF8F1;
  border: 2px solid var(--retro-gold);
  border-radius: 16px;
  min-width: 360px;
  max-width: 96vw;
  box-shadow: 0 6px 52px -8px rgba(77,61,32,0.14);
  padding: 34px 30px 28px 30px;
  position: relative;
  animation: fadeInUp 0.22s cubic-bezier(.66,1.3,.63,1) both;
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display';
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--retro-gold);
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 6px 0 rgba(149,129,97,0.13);
}
.cookie-toggle:checked {
  background: var(--retro-green);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fffdfa;
  transition: left .22s cubic-bezier(.66,1.3,.63,1);
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-category label {
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 23px;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--retro-red);
  cursor: pointer;
  z-index: 7025;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

/**********************
   UTILITY CLASSES
**********************/
.text-section {
  margin-bottom: 12px;
}
.address-details, .hours-table {
  margin-top: 14px;
}
.map-embed {
  background: var(--retro-bg2);
  border-radius: 12px;
  padding: 18px 10px;
}
.quick-search {
  background: #fffdfa;
  border-radius: 11px;
  margin-top: 24px;
  padding: 16px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 8px 0 rgba(229,192,117,0.07);
}

/********************
   RESPONSIVE DESIGN
********************/
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  header .container, footer .container {
    padding: 10px 14px;
  }
}
@media (max-width: 900px){
  .feature-grid, .service-detail-cards {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .property-listings, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px){
  .section, section {
    padding: 26px 6px;
  }
  .content-wrapper {
    gap:16px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.26rem; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .cta-btn { font-size: 1.01rem; padding: 0.75em 1.8em; }
}
@media (max-width: 600px){
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: center;
  }
  .feature-item, .service-card, .card, .property-item {
    min-width: unset;
    width: 100%;
    padding-left: 12px; padding-right: 12px;
  }
}

/****************************************
   SCROLL & MICRO-ANIMATIONS
*****************************************/
html { scrollbar-color: var(--retro-gold) var(--retro-bg2); }
::-webkit-scrollbar { width: 11px; background: var(--retro-bg2); border-radius: 7px; }
::-webkit-scrollbar-thumb { background: var(--retro-gold); border-radius:7px; }
::-webkit-scrollbar-thumb:hover { background: var(--retro-red); }

/****************************************
   MISC VINTAGE-STYLE TOUCHES
*****************************************/
.feature-item, .testimonial-card, .service-card, .property-item {
  background-image: repeating-linear-gradient(135deg, #fff1e2 0, #fff1e2 14px, #ffe7ca 14px, #ffe7ca 18px);
}
.service-list li, .benefits li, .advantages li, .usp ul li {
  padding-left: 1.3em;
  position: relative;
  margin-bottom: 7px;
}
.service-list li::before, .benefits li::before, .advantages li::before, .usp ul li::before {
  content: '\2022';
  position: absolute;
  left:0; color: var(--retro-red);
  font-size:1.3em;
  line-height: 1;
}

/****************************************************
  Z-INDEX LAYERING for Overlay Elements
****************************************************/
header, nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/******************************************************
   END
*******************************************************/
