/* RESET & BASE STYLES ------------------------------------------------ */
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, 
main, 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Serif;
  font-size: 1rem;
  color: #22243a;
  background: #F3F6F9;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%; height: auto; display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #234161;
  transition: color 0.18s;
}
a:focus, a:hover {
  color: #265987;
  outline: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.20s, color 0.18s;
}
strong {
  font-weight: 600;
}
blockquote {
  margin: 0 0 16px 0; font-style: italic; opacity: .94;
}

/* TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', Serif;
  font-weight: 600;
  color: #1d2537;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 18px; letter-spacing: -.7px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, li, dd {
  font-family: 'Georgia', 'Times New Roman', Serif;
  font-size: 1.09rem;
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.20rem; }
  h3 { font-size: 1.02rem; }
}

/* DISPLAY & UTILITY --------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(35,65,97,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER -------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(35,65,97,0.04);
  border-bottom: 1px solid #E1E8F0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 15px;
}
header img[alt="Luminous Hammer Realty"] {
  height: 44px; width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Serif;
  font-size: 1.06rem;
  color: #234161;
  padding: 2px 3px;
  border-radius: 3px;
  transition: background 0.17s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #4C91B9;
  background: #F3F6F9;
}
.cta-primary {
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 24px;
  background: #234161;
  color: #fff;
  font-family: 'Montserrat', Georgia, Serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 14px rgba(35,65,97,0.09);
  margin-left: 16px;
  border: 1.5px solid #234161;
}
.cta-primary:hover, .cta-primary:focus {
  background: #32557a;
  color: #fff;
  box-shadow: 0 4px 22px rgba(35,65,97,0.12);
}
.cta-secondary {
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 24px;
  background: transparent;
  color: #234161;
  border: 1.5px solid #234161;
  font-family: 'Montserrat', Georgia, Serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.16s;
  margin-top: 25px;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #234161;
  color: #fff;
}

/* ------------------ MOBILE HEADER & MOBILE NAV ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.15rem;
  color: #234161;
  border: none;
  transition: background .15s;
  margin-left: 12px;
  z-index: 22;
}
.mobile-menu-toggle:active {
  background: #E1E8F0;
  border-radius: 44px;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,65,97, 0.96);
  z-index: 100;
  flex-direction: column;
  transition: transform 0.37s cubic-bezier(.77,0,.18,1);
  transform: translateX(-100vw);
  box-shadow: 0 4px 36px rgba(35,65,97,.22);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: #fff;
  background: none;
  margin: 24px 30px 0 0;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FAEAB9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 48px 0 0 40px;
  gap: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, Serif;
  color: #fff;
  font-size: 1.21rem;
  padding: 10px 0;
  width: 100%;
  border-radius: 4px;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #4C91B9;
  color: #fff;
}
@media (max-width: 1060px) {
  header .container {
    gap: 10px;
  }
  .main-nav { gap: 14px; }
  .cta-primary { margin-left: 5px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; }
  .cta-primary { padding: 9px 20px; }
}
@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------- HERO Section ------------------------------------ */
.hero {
  background: #e9f1f7;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 28px 0 rgba(76,145,185,0.06);
  margin-bottom: 50px;
  padding: 44px 0 52px 0;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  max-width: 600px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #234161;
}
.hero p {
  color: #4C91B9;
  font-size: 1.18rem;
  max-width: 460px;
  margin-bottom: 14px;
  font-family: 'Georgia', 'Times New Roman', Serif;
}
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 34px 0;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    gap: 17px;
  }
}

/* ----------- FLEX PATTERNS & COMMON COMPONENTS ----------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid li {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 17px rgba(76,145,185,0.07);
  padding: 24px 24px 16px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.09rem;
}
.features-grid img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,65,97,0.09);
  border-radius: 13px;
  padding: 26px 22px;
  flex: 1 1 220px;
  min-width: 215px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
  transition: box-shadow 0.19s;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(35,65,97,0.16);
}
.service-card img {
  width: 45px; height: 45px;
}
.service-card h3 {
  margin-bottom: 5px;
}
.service-card p {
  margin-bottom: 0;
  font-size: 1.04rem;
}

.testimonials {
  margin-bottom: 60px;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.testimonial-card {
  flex: 1 1 275px;
  min-width: 220px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 24px 0 rgba(35,65,97,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  margin-bottom: 20px;
  color: #26324a;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px 0 rgba(35,65,97,0.17);
}
.testimonial-card blockquote {
  color: #234161;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-family: 'Montserrat', Georgia, Serif;
  font-size: .99rem;
  color: #4C91B9;
  letter-spacing: 0.01em;
}

.contact-preview {
  background: #fff;
  box-shadow: 0 2px 16px rgba(76,145,185,0.07);
  border-radius: 13px;
  margin-bottom: 60px;
  padding: 32px 20px;
}
.contact-preview ul {
  margin-bottom: 20px;
  gap: 15px;
  display: flex;
  flex-direction: column;
}
.contact-preview a.cta-secondary {
  margin-top: 12px;
}

/* ORDINARY LAYOUTS --------------------------------------------------- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 950px) {
  .service-cards, .features-grid, .testimonial-cards {
    flex-direction: column;
    gap: 19px;
  }
}
@media (max-width: 700px) {
  .section, .contact-preview {
    padding: 26px 7px;
    margin-bottom: 32px;
  }
}
@media (max-width: 600px) {
  .service-card, .testimonial-card, .features-grid li {
    padding: 16px 9px;
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    padding: 17px 9px;
  }
}

/* ABOUT — Features About & Team -------------------------------------- */
.features-about, .features-investment, .features-legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(76,145,185,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features-about .feature-list, .features-investment .feature-list, .features-legal .feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.office-values {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: disc inside;
  margin: 20px 0;
}
.office-values li {
  flex: 1 1 220px;
  font-size: 1.04rem;
}
.client-commitment {
  margin-top: 22px;
  font-family: 'Montserrat', Georgia, Serif;
  color: #4C91B9;
  font-weight: bold;
}

/* BUY/RENT/INVESTMENT/LEGAL — Steps List, Service List/Faqs ---------- */
.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.steps-list li {
  flex: 1 1 210px;
  min-width: 175px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(76,145,185,0.06);
  padding: 18px 16px 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.steps-list img {
  width: 32px; height: 32px;
  margin-bottom: 5px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faqs dl {
  width: 100%;
  margin-top: 10px;
}
.faqs dt {
  font-family: 'Playfair Display', 'Georgia', Serif;
  font-size: 1.08rem;
  font-weight: bold;
  margin-top: 18px;
  color: #234161;
}
.faqs dd {
  margin-top: 3px;
  margin-left: 18px;
  font-size: 1.01rem;
  color: #404859;
}

/* LEGAL PAGES -------------------------------------------------------- */
.legal {
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(76,145,185,0.09);
  background: #fff;
  margin: 40px 0;
  padding: 40px 30px;
}
.legal h1 {
  font-size: 2.0rem;
  margin-bottom: 18px;
}
.legal h2 {
  font-size: 1.31rem;
  margin-top: 19px;
  margin-bottom: 11px;
}
.legal p, .legal ul {
  font-size: 1.03rem;
  margin-bottom: 18px;
}
.legal ul {
  padding-left: 16px;
  list-style: disc inside;
}

/* THANK YOU PAGE ----------------------------------------------------- */
.thank-you .content-wrapper {
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(35,65,97,0.07);
  padding: 36px 22px;
  gap: 17px;
  margin-bottom: 44px;
}
.thank-you h1 {
  color: #234161;
}
.thank-you .cta-secondary {
  margin-top: 20px;
}
@media (max-width: 800px) {
  .thank-you .content-wrapper { padding: 14px 6px; }
  .legal { padding: 20px 8px; }
}
@media (max-width: 600px) {
  .thank-you .content-wrapper { padding: 6px 2px; }
  .legal { padding: 10px 4px; }
}

/* FOOTER ------------------------------------------------------------- */
footer {
  background: #fff;
  padding: 30px 0 12px 0;
  border-top: 1px solid #e1e8f0;
  box-shadow: 0 -1px 6px rgba(35,65,97,0.04);
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 19px;
  justify-content: center;
}
.footer-nav a {
  font-size: 1rem;
  color: #234161;
  font-family: 'Montserrat', Georgia, Serif;
  opacity: .82;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #4C91B9;
  opacity: 1;
}
footer p {
  font-size: .98rem;
  text-align: center;
  color: #535a65;
  font-family: 'Georgia', 'Times New Roman', Serif;
}
@media (max-width: 650px) {
  .footer-nav { gap: 12px; }
}

/* ----------------------------- ANIMATIONS --------------------------- */
.cta-primary, .cta-secondary, .main-nav a, .service-card, .testimonial-card {
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, border 0.13s;
}
.mobile-menu,
.cookie-consent-banner,
.cookie-modal {
  transition: transform 0.35s cubic-bezier(.53,.03,0,1), opacity 0.28s;
}


/* -------------------- COOKIE CONSENT BANNER -------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #234161;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Serif;
  font-size: 1.05rem;
  box-shadow: 0 -2px 24px rgba(35,65,97,0.19);
  padding: 20px 24px 20px 24px;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-settings-btn {
  font-family: 'Montserrat', Georgia, Serif;
  font-size: 1.02rem;
  padding: 7px 20px;
  border-radius: 20px;
  background: #fff;
  color: #234161;
  border: 1.2px solid #234161;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s;
  min-width: 110px;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #4C91B9;
  color: #fff;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #F3F6F9;
  border: 1.2px solid #4C91B9;
  color: #234161;
}
.cookie-consent-banner .cookie-settings-btn:hover,
.cookie-consent-banner .cookie-settings-btn:focus {
  background: #4C91B9;
  color: #fff;
  border: 1.2px solid #234161;
}
@media (max-width: 700px) {
  .cookie-consent-banner { flex-direction: column; padding: 20px 7px; gap: 11px; }
}

/* COOKIE PREFERENCES MODAL -------------------------------------------- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,65,97,0.80);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
.cookie-modal-content {
  background: #fff;
  color: #22243a;
  border-radius: 16px;
  max-width: 350px;
  width: 98vw;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 6px 43px rgba(35,65,97,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInCookie 0.22s ease;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1.00); }
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 17px;
  font-size: 1.6rem;
  color: #4C91B9;
  background: none;
  border: none;
}
.cookie-modal h2 {
  color: #234161;
  font-size: 1.17rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  margin-bottom: 0.7em;
  gap: 16px;
}
.cookie-modal label {
  font-family: 'Montserrat', Georgia, Serif;
  color: #234161;
  margin-left: 8px;
  font-size: 1rem;
}
/* Elegant toggle switches */
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
}
.cookie-modal .toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E1E8F0;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #4C91B9;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 1px 6px rgba(35,65,97,0.18);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .essential-category label { opacity: .6; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 11px;
}
.cookie-modal .cookie-modal-actions button,
.cookie-modal .cookie-modal-actions .cookie-settings-btn {
  font-family: 'Montserrat', Georgia, Serif;
  font-size: 1.01rem;
  padding: 7px 16px;
  border-radius: 18px;
  background: #234161;
  color: #fff;
  border: 1.2px solid #234161;
  min-width: 88px;
  margin-right: 1px;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal .cookie-modal-actions button:hover,
.cookie-modal .cookie-modal-actions button:focus {
  background: #4C91B9;
}
.cookie-modal .cookie-modal-actions .cookie-settings-btn {
  background: #fff;
  color: #234161;
  border-color: #4C91B9;
}
.cookie-modal .cookie-modal-actions .cookie-settings-btn:hover,
.cookie-modal .cookie-modal-actions .cookie-settings-btn:focus {
  background: #4C91B9;
  color: #fff;
}

@media (max-width: 470px) {
  .cookie-modal-content { padding: 13px 4px 7px 4px; }
  .cookie-modal .cookie-modal-actions { flex-direction: column; gap: 8px; }
}

/* ------------- RESPONSIVE LAYOUT OVERRIDES -------------------------- */
@media (max-width: 768px) {
  .container { padding-left: 7px; padding-right: 7px; }
  .content-wrapper { gap: 16px; }
  .content-grid, .features-grid, .service-cards, .testimonial-cards, .steps-list {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}

/* -------------- MISCELLANEOUS/UTILITY ------------------------------ */
::-webkit-scrollbar { width: 11px; background: #F3F6F9; }
::-webkit-scrollbar-thumb { background: #E1E8F0; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #d0d8df; }

::-moz-selection { background: #4C91B9; color: #fff; }
::selection { background: #4C91B9; color: #fff; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: #F3F6F9;
  border: 1.6px solid #E1E8F0;
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 12px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4C91B9;
  outline: none;
}

/* Accessibility focus ring */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible {
  outline: 2.5px solid #4C91B9;
  outline-offset: 2px;
}

/* END OF STYLE.CSS */
