/* ====== 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, menu, 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 {
  scroll-behavior: smooth;
}
body {
  background: #F7F6F3;
  color: #18445A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
section, main, nav, aside, header, footer {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C7A05D;
}
ul, ol {
  margin-left: 20px;
  padding-left: 0;
}
li {
  margin-bottom: 10px;
  list-style: none;
}

/* ====== UTILITIES & LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* Section recommended flex & spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(24,68,90,0.07), 0 1.5px 8px 0 rgba(199,160,93,0.08);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(24,68,90,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #E9E7E1;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(24,68,90,0.15); 
  transform: translateY(-3px);
  z-index: 2;
}
.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;
  background: #FAFAF7;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  box-shadow: 0 2px 12px 0 rgba(24,68,90,0.07);
  border: 1px solid #E9E7E1;
  max-width: 600px;
  width: 100%;
  color: #18445A;
}
.testimonial-card span {
  color: #C7A05D;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-profiles p {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(24,68,90,0.07);
  padding: 18px 15px;
  border-left: 4px solid #C7A05D;
  color: #18445A;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
  align-items: flex-start;
}

/* Lists with icon */
.text-section ul li,
ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
}
.text-section ul img,
ul img {
  width: 26px;
  height: 26px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #18445A;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.18;
  margin-bottom: 12px;
  color: #18445A;
}
h3 {
  font-size: 1.2rem;
  color: #18445A;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: #1E3F4C;
  line-height: 1.7;
  margin-bottom: 10px;
}
b {
  font-weight: 700;
}

blockquote {
  border-left: 4px solid #C7A05D;
  padding-left: 18px;
  margin-left: 0;
  color: #18445A;
  background: #FAFAF7;
  border-radius: 6px;
}

/* ====== BUTTONS / CTA ====== */
.cta-btn,
button,
input[type="submit"],
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  appearance: none;
  border: none;
  outline: none;
  background: #C7A05D;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 30px;
  padding: 14px 32px;
  margin-top: 16px;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(24,68,90,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  display: inline-block;
  position: relative;
}
.cta-btn.primary {
  background: #18445A;
  color: #fff;
  border: 2px solid #C7A05D;
  box-shadow: 0 4px 22px 0 rgba(24,68,90,0.08);
}
.cta-btn:hover, .cta-btn:focus {
  background: #9E7A32;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(24,68,90,0.16);
  transform: translateY(-2px) scale(1.04);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #C7A05D;
  color: #18445A;
}

button,
input[type="submit"] {
  min-width: 90px;
}

/* ====== HEADER / NAVIGATION ====== */
header {
  background: #ffffff;
  border-bottom: 2px solid #F2EEEC;
  box-shadow: 0 1px 8px 0 rgba(24,68,90,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 18px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 13px;
  color: #18445A;
  border-radius: 17px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #18445A;
  color: #C7A05D;
}
header img {
  height: 42px;
  width: auto;
}

header .cta-btn {
  margin: 0 0 0 12px;
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  background: #C7A05D;
  color: #fff;
  font-size: 1.7rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 35;
  margin-left: 8px;
  margin-right: 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,68,90,0.98);
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.80,.03,.31,1);
  box-shadow: 0 2px 24px 0 rgba(24,68,90,0.21);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #C7A05D;
  font-size: 2.3rem;
  font-weight: 700;
  align-self: flex-end;
  margin: 28px 32px 10px 0;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:hover { color: #fff; background: #C7A05D; border-radius: 100px; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 32px 32px 40px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 13px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #C7A05D;
  color: #18445A;
}

/* ====== FOOTER ====== */
footer {
  background: #18445A;
  color: #fff;
  padding: 64px 0 24px 0;
  border-top: 2px solid #C7A05D;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-branding img {
  height: 40px;
  width: auto;
}
.footer-branding span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #C7A05D;
  margin-top: 2px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  margin-right: 10px;
  border-radius: 10px;
  padding: 5px 12px;
  transition: background 0.18s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: #C7A05D;
  color: #18445A;
}
.footer-contact span {
  font-size: 0.97rem;
  color: #FAF8F0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
}
.footer-copy {
  font-size: 0.93rem;
  color: #B6A98C;
  text-align: right;
}

/* ====== COOKIE BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #18445A;
  border-top: 2px solid #C7A05D;
  box-shadow: 0 -2px 20px 0 rgba(24,68,90,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px 22px 28px;
  z-index: 120;
  font-size: 1rem;
  animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 24px;
  font-size: 1rem;
  min-width: 88px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .accept {
  background: #C7A05D;
  color: #fff;
}
.cookie-banner .reject {
  background: #E5E3DD;
  color: #18445A;
}
.cookie-banner .settings {
  background: #18445A;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #18445A;
  color: #C7A05D;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #C7A05D;
  color: #fff;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #C7A05D;
  color: #18445A;
}

/* ====== COOKIE SETTINGS MODAL ====== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 390px;
  width: 94vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 40px 0 rgba(24,68,90,0.27);
  z-index: 200;
  transform: translate(-50%, -50%) scale(1);
  padding: 32px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.30s;
}
@keyframes modalIn {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(0.97); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: #C7A05D;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.02rem;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 26px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E5E3DD;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #C7A05D;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 7px 0 rgba(24,68,90,0.15);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal .actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .actions button {
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal .close-modal {
  background: #E5E3DD;
  color: #18445A;
}
.cookie-modal .save-modal {
  background: #C7A05D;
  color: #fff;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #C7A05D; color: #fff;
}
.cookie-modal .save-modal:hover,
.cookie-modal .save-modal:focus {
  background: #18445A; color: #C7A05D;
}
/* Backdrop for modal */
.cookie-backdrop {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(24,68,90,0.45);
  z-index: 101;
}

/* ====== RESPONSIVENESS ====== */
@media (max-width: 1100px) {
  .container { max-width: 980px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  .card, .testimonial-card, .team-profiles p { flex: 1 1 100%; max-width: 100%; }
  .team-profiles { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  .container { max-width: 98vw; padding-left: 8px; padding-right: 8px; }
  .main-nav { display: none; }
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
  .content-wrapper { padding: 0; }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .card, .testimonial-card, .team-profiles p {
    padding: 15px 8px;
  }
  .card-container, .content-grid, .team-profiles {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-branding {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .footer-links, .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .footer-copy {
    text-align: left;
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.14rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 8px 20px 9px; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 6px; }
}

/* ====== MICRO INTERACTIONS & EFFECTS ====== */
.card, .cta-btn, .mobile-menu, .cookie-banner, .testimonial-card, .footer-links a, .main-nav a, .mobile-nav a, button {
  transition: all 0.22s cubic-bezier(.69,.07,.33,1) 0s;
}

.cta-btn:active, .main-nav a:active, .footer-links a:active {
  transform: scale(0.97);
}

/* ====== ADDITIONAL DETAILS ====== */
::-webkit-scrollbar { width: 8px; background: #efede8; }
::-webkit-scrollbar-thumb { background: #C7A05D; border-radius: 4px; }

input, textarea { font-family: 'Open Sans', Arial, sans-serif; border-radius: 8px; border: 1px solid #E9E7E1; padding: 8px 11px; }
input:focus, textarea:focus { outline: 2px solid #C7A05D; }

/* ====== LUXURY REFINEMENTS ====== */
.section, .card, .testimonial-card, .team-profiles p, .cookie-modal {
  border-top: 3px solid #C7A05D;
}
.cta-btn.primary, .footer-branding img {
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #C7A05D33;
}

/* ====== VISUAL HIERARCHY ====== */
h1, h2 { border-left: 7px solid #C7A05D; padding-left: 13px; }

/* ====== ENSURE NO OVERLAPS ====== */
.card, .testimonial-card, .team-profiles p { margin-bottom: 20px; }
.section { margin-bottom: 60px; }

/* ====== ACCESSIBILITY ====== */
:focus { outline: 2px solid #C7A05D; outline-offset: 2px; }

/* ====== HELPER CLASSES (if needed) ====== */
.hide { display: none !important; }
.show { display: block !important; }

/* ====== END OF CSS ====== */
