/* =====================================================================
   CSS RESET + NORMALIZE (mobile-first, modern)
   ===================================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background-color: #181f25;
  color: #f5f5f5;
  font-family: 'M PLUS 1p', 'Noto Sans JP', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #d5a253;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.46,.03,.52,.96);
}
a:hover, a:focus {
  color: #ffdb8a;
}
ul, ol {
  padding-left: 1.2em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* =====================================================================
   VARIABLE COLOR TOKENS FOR BRAND & FUTURISTIC/NEON THEME
   ===================================================================== */
:root {
  --primary-dark: #181f25;
  --primary: #212b36;
  --secondary: #d5a253;
  --accent: #f5f5f5;
  --surface: #202935;
  --card-bg: #232f3c;
  --border: rgba(213,162,83,0.14);
  --shadow: 0 2px 24px 0 rgba(33,43,54,0.16);
  --neon-blue: #3be9f3;
  --neon-pink: #e26af6;
  --neon-green: #51fa7b;
  --neon-gold: #ffe799;
  --cta-glow: #ffd36f;
  --error: #df5656;
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #ffe799;
  font-family: 'Noto Sans JP', 'M PLUS 1p', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}
h1 {
  font-size: 2.4rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
  color: #ffdb8a;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, label {
  font-family: 'M PLUS 1p', 'Noto Sans JP', Arial, sans-serif;
  color: #eaeaea;
  font-size: 1rem;
  margin-bottom: 0.8em;
}
strong, b {
  font-weight: 700;
  color: #ffe799;
}

/* Visual text and CTA font sizes */
.cta-banner h2, .cta-banner .cta-button, .cta-button {
  font-family: 'Noto Sans JP', 'M PLUS 1p', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =====================================================================
   LAYOUT CONTAINERS AND SPACING
   ===================================================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* flex container utility classes */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: relative;
  padding: 28px 24px;
  flex: 1 1 300px;
}
.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 {
  background: #f5f5f570;
  color: #232931;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(33,43,54,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  border-left: 4px solid var(--neon-blue);
  position: relative;
}
.testimonial-meta {
  font-size: 0.94em;
  color: #212b36;
  font-weight: 500;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Common flex layouts with gap enforcement */
.features-grid, .area-grid, .team-bios, .properties-list, .footer-columns, .columns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.features-grid > div,
.area-grid > div,
.team-bios > div,
.properties-list > div,
.footer-columns > div,
.columns-list > div {
  background: var(--card-bg);
  color: var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s cubic-bezier(.29,.01,.53,1);
}
.columns-list {
  gap: 32px;
}
.column-summary h3 {
  color: var(--neon-pink);
}

/**********************
   HEADER & NAVIGATION
**********************/
header {
  background: linear-gradient(90deg, #232f3c 80%, #383a31 100%);
  box-shadow: 0 1px 8px rgba(33,43,54,0.09);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 10px;
}
header a img {
  height: 52px;
  filter: drop-shadow(0 1px 1px #232f3c70);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #f5f5f5;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
}
.main-nav a:before {
  display: block;
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  border-radius: 2px;
  transition: width 230ms cubic-bezier(.46,.03,.52,.96), left 230ms cubic-bezier(.46,.03,.52,.96);
}
.main-nav a:hover:before, .main-nav a:focus:before {
  width: 80%;
  left: 10%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--neon-blue);
}

.cta-button {
  padding: 11px 30px;
  background: var(--secondary);
  color: #181f25;
  font-weight: 700;
  font-size: 1em;
  border-radius: 30px;
  box-shadow: 0 3px 16px 0 rgba(213,162,83,0.21), 0 0 6px 1px var(--neon-blue) inset;
  position: relative;
  z-index: 2;
  transition: background 180ms, box-shadow 260ms, color 260ms;
  outline: none;
  cursor: pointer;
  text-align: center;
  margin-left: 16px;
  border: 2px solid transparent;
}
.cta-button:hover, .cta-button:focus {
  background: #ffe799;
  color: #181f25;
  box-shadow: 0 3px 24px 0 var(--neon-blue),0 0 1px 1px var(--secondary) inset;
  border-color: var(--neon-blue);
}

/**********************
   MOBILE NAVIGATION
**********************/
.mobile-menu-toggle {
  display: none;
  margin-left: 10px;
  background: rgba(33,43,54,0.95);
  color: var(--neon-blue);
  border: none;
  font-size: 2.1rem;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--neon-blue);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg, #181f25 50%, #283247 95%);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.46,.03,.52,.96);
  box-shadow: 8px 0 54px 0 #212b3620;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #212b36;
  color: var(--neon-blue);
  font-size: 2rem;
  border-radius: 10px;
  padding: 3px 14px;
  border: none;
  z-index: 2200;
  transition: background .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #2f3646;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 84px 28px 32px 28px;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.21rem;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid #2c3040;
  width: 100%;
  display: flex;
  align-items: center;
  transition: color .16s, border-bottom .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-blue);
  border-bottom: 1.5px solid var(--neon-pink);
}

/*****************************
   HERO & SECTION STYLES
*****************************/
.hero {
  background: linear-gradient(118deg, #232f3ca0 20%, #24405c 100%);
  background-color: var(--primary-dark);
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  margin-bottom: 40px;
  position: relative;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--neon-blue);
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px #1a63a740, 0 1px 1px #232f3c30;
}
.hero p {
  font-size: 1.13rem;
  color: #f5f5f5;
  margin-bottom: 24px;
}

/******************************
   CARD, PROPERTY & FEATURE
******************************/
.property-card, .feature-card, .staff-profile {
  background: var(--card-bg);
  color: #f5f5f5;
  border-radius: 12px;
  padding: 22px 18px 20px;
  min-height: 120px;
  margin-bottom: 24px;
  box-shadow: 0 2px 13px rgba(33,43,54,0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-left: 3px solid var(--neon-blue);
  transition: box-shadow 180ms, border-color 150ms;
}
.property-card:hover, .feature-card:hover, .staff-profile:hover {
  box-shadow: 0 8px 40px 0 #55e7ff55, 0 2px 13px #181f251d;
  border-left: 3.6px solid var(--neon-pink);
}
.property-card .property-tag {
  background: var(--neon-pink);
  color: #181f25;
  border-radius: 22px;
  padding: 2px 17px;
  margin-left: 6px;
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 12px;
  box-shadow: 0 1.5px 8px 0 #e26af6a1;
}

/******************************
   CTA BANNER
******************************/
.cta-banner {
  text-align: center;
  background: linear-gradient(90deg, #212b36 60%, #d5a253 280%);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 38px #212b3640;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 38px 16px 38px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-banner h2 {
  color: var(--neon-blue);
  margin-bottom: 10px;
}
.cta-banner a.cta-button {
  margin-left: 0;
  margin-top: 8px;
  box-shadow: 0 0 24px var(--neon-blue);
}

/******************************
   FOOTER
******************************/
footer {
  background: #202935;
  color: #f5f5f5;
  font-size: 0.98rem;
  margin-top: 50px;
  box-shadow: 0 -2px 16px #181f2560;
  width: 100%;
  position: relative;
  z-index: 1;
}
footer .container {
  padding: 36px 24px 24px 24px;
  gap: 18px;
  flex-direction: column;
}
.footer-columns {
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border-bottom: 1px solid #364579;
  padding-bottom: 18px;
  margin-bottom: 12px;
}
.footer-columns > div, .footer-columns nav {
  flex: 1 1 200px;
  min-width: 200px;
}
.footer-columns nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-columns nav a {
  color: #edead5;
  font-size: 0.98em;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  transition: color 0.13s;
}
.footer-columns nav a:hover {
  color: var(--neon-blue);
}
footer img {
  height: 46px;
  margin-bottom: 14px;
  filter: drop-shadow(0 1px 1px #232f3c60);
}
footer p {
  font-size: 0.96em;
  margin-bottom: 7px;
  color: #e9e9e7;
}
.footer-copyright {
  text-align: center;
  font-size: 0.93em;
  color: #8ba4b8;
  margin-top: 8px;
  letter-spacing: .04em;
}

/*****************************
   FORMS & INPUTS
*****************************/
input[type="text"], input[type="email"], select, textarea {
  border-radius: 8px;
  border: 2px solid #31405e;
  background: #191f26;
  color: #d5a253;
  padding: 13px 16px;
  margin-bottom: 16px;
  font-size: 1em;
  width: 100%;
  transition: border 0.2s, background 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid var(--neon-blue);
  background: #232f3c;
  outline: none;
}
select {
  appearance: none;
  background: #191f26 url('data:image/svg+xml;utf8,<svg fill="%23d5a253" height="10" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M2 2l5 5 5-5" stroke="%23d5a253" fill="none" stroke-width="2" /></svg>') no-repeat right 1.2em center/1em 1em;
}
button, input[type="submit"] {
  cursor: pointer;
}

/*****************************
      UTILITY + MISC
*****************************/
.benefit-points, .lifestyle-points, .support-steps, .buying-process, .checklist, .next-steps, .contact-details {
  margin-bottom: 18px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99em;
}
.privacy-note, .contact-form-block {
  background: #212b36;
  color: #ffd36f;
  border-radius: 12px;
  padding: 15px 16px 15px 16px;
  margin-bottom: 22px;
  box-shadow: 0 1.5px 12px #232f3c45;
}

/********** MULTI-COLUMN FLEX SCHEMES **********/
.team-bios {
  gap: 26px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 18px;
  justify-content: stretch;
}
.team-bios .staff-profile {
  flex: 1 1 220px;
  min-width: 180px;
  background: var(--surface);
  border-left: 3px solid var(--neon-green);
  color: #f5f5f5;
  box-shadow: 0 2px 13px #23d38822;
  margin-bottom: 18px;
}
.team-bios .staff-profile:hover {
  border-left: 3.6px solid var(--neon-blue);
}
.qualifications ul li {
  color: #ffe799;
  margin-bottom: 0.3em;
  margin-top: 0.1em;
}

/*****************************
   PROPERTY FILTERS
*****************************/
.property-search {
  display: flex;
  gap: 20px;
  margin: 28px 0 14px 0;
  align-items: center;
  flex-wrap: wrap;
}
.property-search input[type="text"] {
  flex: 1 1 200px;
  min-width: 150px;
  border-color: var(--neon-blue);
  color: #ffe799;
  background: #161b1f;
}
.property-search .cta-button {
  margin-left: 0;
  white-space: nowrap;
}
.property-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.property-filters label {
  color: #a1adc3;
  font-size: 0.96em;
}
.property-filters select {
  color: var(--accent);
  background: #212b36;
  border-color: var(--neon-blue);
  padding-right: 32px;
}

/*****************************
   CHECKLIST/LISTS/FAQ
*****************************/
.faq-snippets {
  background: #212b36;
  color: #ffe799;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 16px 19px 12px 19px;
  box-shadow: 0 1.5px 11px #232f3c35;
}
.pro-tips {
  background: #202941;
  color: var(--neon-blue);
  border-radius: 12px;
  padding: 16px 19px 16px 19px;
  margin-top: 16px;
  margin-bottom: 0;
}

/*****************************
   MAP EMBED
*****************************/
.map-embed {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #29344d;
  margin-top: 14px;
  margin-bottom: 13px;
  min-height: 180px;
}

/*****************************
   COOKIE BANNER & MODAL
*****************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #212b36ee;
  color: #fff6e0;
  box-shadow: 0 -2px 40px #232f3c50, 0 1px 0 #ffe799 inset;
  padding: 20px 14px 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3000;
  font-size: 1em;
  animation: cookie-slide-in 0.55s cubic-bezier(.29,.01,.53,1);
}
@keyframes cookie-slide-in {
  from {transform: translateY(100px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button, .cookie-banner .cookie-action {
  font-size: 1em;
  border-radius: 26px;
  padding: 10px 23px;
  font-weight: 700;
  border: none;
  margin-right: 2px;
  background: none;
  color: var(--neon-blue);
  transition: background 0.16s, color 0.19s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #232b36;
  box-shadow: 0 2.5px 14px 0 #ffd36f80;
  border: 2px solid transparent;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ffe799;
  color: #212b36;
  border: 2px solid var(--neon-blue);
}
.cookie-banner .reject {
  background: #232f3c;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--neon-blue);
  color: #181f25;
}
.cookie-banner .settings {
  background: none;
  color: #ffd36f;
  border: 2px solid #ffd36f;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ffd36f;
  color: #1e2532;
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  top: 0; right:0; bottom: 0; left: 0;
  background: rgba(20,21,32,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .3s cubic-bezier(.29,.01,.53,1);
}
@keyframes fadein {
  from { opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #202935;
  border-radius: 17px;
  max-width: 94vw;
  width: 380px;
  box-shadow: 0 4px 60px #232f3c55;
  padding: 34px 20px 24px 20px;
  color: #ffe799;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modal-pop .29s cubic-bezier(.29,.01,.53,1);
}
@keyframes modal-pop {
  from { transform: scale(0.8); opacity: 0;}
  to { transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--neon-blue);
  margin-bottom: 0.5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 1em;
}
.cookie-category.essential label {
  color: #77d696;
}
.cookie-category input[type=checkbox] {
  width: 27px; height: 27px;
  accent-color: var(--neon-blue);
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 13px;
  color: #ffd36f;
  font-size: 1.43rem;
  background: none;
}
.cookie-modal .close:hover,.cookie-modal .close:focus {
  color: var(--neon-pink);
}

/*****************************
   RESPONSIVE DESIGN
*****************************/
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
}
@media (max-width: 830px) {
  .features-grid, .area-grid, .team-bios, .properties-list, .footer-columns, .columns-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid #233039;
  }
  .card-container,
  .features-grid, .area-grid, .team-bios, .properties-list, .columns-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .property-search {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 18px 11px;
  }
  .cta-banner {
    padding: 23px 5px 24px 5px;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  header .container {
    min-height: 54px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
  }
  nav.main-nav {
    display: none;
  }
  .cta-button {
    font-size: 0.98em;
    padding: 9px 19px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/*****************************
   MICRO-INTERACTIONS & EFFECTS
*****************************/
.card:hover, .property-card:hover, .feature-card:hover, .staff-profile:hover, .footer-columns nav a:hover, .main-nav a:hover {
  box-shadow: 0 12px 42px 0 #5ebcff30;
  /* neon glow on cards */
}
.cta-button, button, input[type="submit"] {
  transition: background 0.17s, color 0.14s, box-shadow 0.23s, border-color 0.12s;
}
.cta-button:active {
  box-shadow: 0 0 32px #3be9f3;
}

/*****************************
   SCROLLBAR (FUTURISTIC)
*****************************/
::-webkit-scrollbar {
  width: 10px;
  background: #181f25;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(98deg, var(--neon-blue) 30%, #363f50 60%);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
}

/************************************************************
  END OF CSS FILE
************************************************************/
