/* CSS RESET & BASE --------------------------------------------------- */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F0F4F8;
  color: #243850;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 32px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
  font-size: 16px;
}
a {
  color: #163047;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F7A70B;
  outline-offset: 2px;
}
strong { font-weight: 600; }

/* BRAND TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #163047;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
h4, h5 { font-size: 1rem; }
p {
  line-height: 1.6;
  color: #25384a;
  font-size: 1.13rem;
  margin-bottom: 18px;
}
.text-section p, .feature-item p, .testimonial-card p, .contact-details li, .confirmation-details p {
  color: #25384a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* LUXURY PREMIUM ACCENTS ---------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(22,48,71,0.06);
}
.container {
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: center;
  text-align: center;
}

/* HEADER -------------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #e7e7e7;
  box-shadow: 0 3px 16px 0 rgba(22,48,71,0.03);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #163047;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #F7A70B;
}
.main-nav a.active::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #F7A70B;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  background: #163047;
  border: none;
  border-radius: 24px;
  padding: 12px 36px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(22,48,71,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  outline: none;
  letter-spacing: 0.03em;
}
.cta-button:hover, .cta-button:focus {
  background: #F7A70B;
  color: #163047;
  box-shadow: 0 6px 18px rgba(247, 167, 11, 0.12);
}
.cta-button::after {
  content: '';
  display: block;
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 1px;
  background: #F7A70B;
  opacity: .22;
  transition: background 0.2s;
  z-index: 1;
}
.cta-button:active::after { background: #163047; }

/* MOBILE MENU --------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #163047;
  cursor: pointer;
  padding: 6px 16px 6px 8px;
  z-index: 120;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(22,48,71,0.98);
  z-index: 150;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.64,.09,.08,1);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuSlideIn .35s cubic-bezier(.64,.09,.08,1);
}
@keyframes mobileMenuSlideIn {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 24px 24px 4px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 36px 24px 36px;
  width: 100vw;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7A70B;
  background: none;
}

@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 22px;
  }
}
@media (max-width: 880px) {
  header .container { min-height: 62px; }
}
@media (max-width: 780px) {
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO SECTIONS ------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(22,48,71,0.06);
}
@media (max-width: 640px) {
  section {
    margin-bottom: 30px;
    padding: 28px 5px 28px 5px;
    border-radius: 10px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
}

/* FLEX LAYOUTS -------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9f9fb;
  border-radius: 18px;
  padding: 24px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 2px 10px rgba(161,162,170,0.08);
  border-left: 4px solid #F7A70B;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}
.feature-item h3 {
  color: #163047;
  font-size: 1.1rem;
  margin-bottom: 4px;
  margin-top: 4px;
}
.feature-item img {
  width: 34px;
  height: 34px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 24px rgba(22,48,71,0.15);
  border-left-color: #B98922;
  transform: translateY(-2px) scale(1.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(22,48,71,0.08);
  background: #fff;
  position: relative;
  transition: box-shadow 0.18s;
  padding: 24px;
  min-width: 240px;
}
.card:hover { box-shadow: 0 10px 30px rgba(22,48,71,0.13); }

.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 18px 20px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(22,48,71,0.09);
  flex: 1 1 290px;
  min-width: 260px;
  border-left: 4px solid #F7A70B;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s, transform .18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left-color: #D1B17F;
  box-shadow: 0 12px 36px rgba(22,48,71,0.15);
  transform: scale(1.02);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.testimonial-rating {
  color: #F7A70B;
  font-size: 1.38rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: bold;
}
.testimonial-author {
  font-size: 1.01rem;
  color: #163047;
  font-weight: 600;
}
.confirmation-details {
  margin: 32px auto 20px auto;
  background: #f9f5ea;
  border-radius: 12px;
  padding: 15px 18px;
  max-width: 450px;
  color: #163047;
  font-size: 1.04rem;
  box-shadow: 0 4px 18px rgba(247,167,11,0.06);
}

@media (max-width:1060px) {
  .feature-grid, .testimonial-list, .card-container, .content-grid {
    flex-wrap: wrap;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 180px;
    flex:1 1 200px;
  }
}
@media (max-width:740px) {
  .feature-grid, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 640px) {
  .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-list {
    gap: 13px;
  }
  .feature-item, .testimonial-card, .card {
    padding: 14px 12px 16px 13px;
    border-radius: 9px;
  }
}

/* SERVICE LISTS, BUYER STEPS ------------------------------------------ */
.service-list, .buyer-steps, .key-benefits, .contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.service-list li, .buyer-steps li, .key-benefits li {
  margin-bottom: 18px;
  padding-left: 34px;
  position: relative;
  font-size: 1.08rem;
  color: #243850;
}
.service-list li:before, .key-benefits li:before {
  content: '';
  position: absolute;
  left: 8px; top: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #F7A70B;
  opacity: 0.45;
}
.buyer-steps li {
  counter-increment: buyerstep;
}
.buyer-steps li:before {
  content: counter(buyerstep) '.';
  position: absolute;
  left: 0; top: 0;
  color: #F7A70B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
  color: #163047;
  font-size: 1.04rem;
}
.contact-details img {
  height: 20px;
  margin-right: 9px;
  filter: grayscale(80%) brightness(87%);
}

/* TEAM LIST ----------------------------------------------------------- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #f9f9fb;
  padding: 24px 20px 18px 22px;
  border-radius: 14px;
  min-width: 200px;
  flex: 1 1 240px;
  box-shadow: 0 2px 8px rgba(161,162,170,0.06);
  margin-bottom: 20px;
  position: relative;
  border-bottom: 3.5px solid #F7A70B;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.team-member:hover {
  border-bottom: 3.5px solid #D1B17F;
  box-shadow: 0 12px 32px rgba(22,48,71,0.13);
}
.team-member h3 {
  margin-bottom: 6px;
}
@media (max-width:768px) {
  .team-list {
    flex-direction: column;
    gap: 12px;
  }
  .team-member {
    width: 100%;
    min-width: 0;
    padding: 12px 9px 12px 11px;
    border-radius: 8px;
  }
}

/* FOOTER -------------------------------------------------------------- */
footer {
  background: #163047;
  color: #ececec;
  padding-top: 60px;
  padding-bottom: 36px;
  border-top: 3px solid #F7A70B;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
  width: 100%;
}
.footer-branding {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.footer-branding img {
  width: 42px;
  margin-bottom: 10px;
}
.footer-branding p{color: #fff;}
.footer-menu {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #ececec;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.16s;
}
.footer-menu a:hover { color: #F7A70B; opacity: 1; }
.footer-contact {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 13px;
}
.footer-contact li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: #ececec;
}
.footer-contact .cta-button {
  background: #F7A70B;
  color: #163047;
  margin-top: 2px;
}
.footer-contact .cta-button:hover { background: #fff; color: #F7A70B; }

@media (max-width: 970px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
  footer {
    padding-top: 28px;
    padding-bottom: 20px;
  }
}

/* Luxury Premium Accents & Details ------------------------------------ */
section, .feature-item, .testimonial-card, .card, .team-member {
  border: none;
}
hr {
  border: none;
  border-top: 2px solid #F7A70B;
  margin: 30px 0;
}

/* GOLD ACCENTS & REFINED DETAILS -------------------------------------- */
.feature-item h3, .testimonial-rating, .section h2::after, .footer-content {
  /* Gold accent underline or highlight */
}
.section h2 {
  position: relative;
  padding-bottom: 13px;
}
.section h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin: 8px auto 0 auto;
  background: #F7A70B;
  border-radius: 2px;
}

@media (max-width: 620px) {
  .section h2::after { margin: 5px auto 0 auto; }
}

/* BUTTONS ------------------------------------------------------------- */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 24px;
  border: none;
  background: #163047;
  font-weight: 700;
  color: #fff;
  padding: 12px 34px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, border 0.2s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F7A70B;
  color: #163047;
  outline: none;
}

input, textarea, select {
  border-radius: 10px;
  border: 1.4px solid #cfd8df;
  padding: 11px 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 18px;
  width: 100%;
  color: #163047;
}
input:focus, textarea:focus, select:focus { border-color: #F7A70B; }

/* COOKIE CONSENT BANNER ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #163047;
  color: #ececec;
  padding: 24px 18px 18px 18px;
  z-index: 250;
  box-shadow: 0 -2px 14px rgba(22,48,71,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  color: #ececec;
  font-size: 1.04rem;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-actions button {
  font-size: 1rem;
  padding: 9px 26px;
  border-radius: 18px;
  border: none;
}
.accept-cookies {
  background: #F7A70B !important;
  color: #163047 !important;
  font-weight: 700;
}
.accept-cookies:hover {
  background: #FFD873 !important;
}
.reject-cookies {
  background: #fff !important;
  color: #163047 !important;
  border: 1.2px solid #F7A70B !important;
}
.reject-cookies:hover {
  background: #F7A70B !important;
  color: #fff !important;
}
.settings-cookies {
  background: transparent !important;
  color: #ececec !important;
  border: 1.2px solid #F7A70B !important;
}
.settings-cookies:hover {
  color: #F7A70B !important;
  background: #163047;
}

/* COOKIE SETTINGS MODAL ----------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(22,48,71,0.80);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .22s cubic-bezier(.49,.19,.18,1);
}
@keyframes fadeInModal {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  padding: 38px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(22,48,71,0.2);
  max-width: 420px;
  min-width: 260px;
  width: 88vw;
  color: #163047;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  color: #163047;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.27rem;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 19px; right: 21px;
  font-size: 1.32rem;
  background: none;
  border: none;
  color: #163047;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
}
.cookie-toggle-label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #163047;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e8e8e8;
  border-radius: 22px;
  transition: background .23s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #F7A70B;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform .23s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-toggle-group[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* RESPONSIVE LAYOUTS -------------------------------------------------- */
@media (max-width: 880px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .footer-content {
    gap: 9px;
  }
  .cookie-modal {
    padding: 14px 4vw 14px 4vw;
    font-size: 0.96rem;
    border-radius: 9px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS ------------------------------------ */
section, .feature-item, .testimonial-card, .card, .team-member, header, footer, .cookie-banner {
  transition: box-shadow 0.16s, background 0.16s, border-color 0.18s, transform 0.17s;
}

/* SELECTION & FOCUS STATES -------------------------------------------- */
::selection {
  background: #fde4a8;
  color: #163047;
}
a:focus, .cta-button:focus, .footer-menu a:focus, button:focus, input:focus {
  outline: 2.5px solid #F7A70B;
  outline-offset: 2px;
  z-index: 4;
  border-radius: 10px;
}

/* UTILITIES ----------------------------------------------------------- */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* HIDE DEFAULT SCROLLBAR FOR MOBILE MENU ----------------------------- */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #F7A70B #232323;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 8px;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #F7A70B;
  border-radius: 4px;
}

/* END OF CSS ---------------------------------------------------------- */