/* RESET & 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  color: #254053;
  background: #F2F2F0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* BRAND COLORS & FONTS */
:root {
  --color-primary: #254053;
  --color-secondary: #A48C65;
  --color-accent: #F2F2F0;
  --color-dark: #1B2934;
  --color-gold: #A48C65;
  --color-gray: #e6e2dc;
  --color-card-bg: #fff;
  --color-shadow: rgba(37,64,83, 0.08);
  --color-link-hover: #c2a366;
  --color-error: #B04422;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-primary);
}
p, li, ol, ul {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* LUXURY BUTTONS & CTA */
.cta, .btn, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.75em 2.2em;
  margin-top: 1em;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.12s;
  outline: none;
  position: relative;
}
.cta::after {
  content: '';
  display: block;
  position: absolute;
  left: 16px;
  bottom: 5px;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
  opacity: 0.12;
  pointer-events: none;
}
.cta:hover, .btn:hover, button.cta:hover,
.cta:focus, .btn:focus, button.cta:focus {
  background: #c2a366;
  color: var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(37,64,83, 0.16);
  transform: translateY(-2px) scale(1.03);
}

/* GENERAL CONTAINER PATTERNS */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

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

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(37,64,83,0.08);
  padding: 28px 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 280px;
  border: 1px solid var(--color-gray);
  transition: box-shadow 0.24s, border 0.14s, transform 0.12s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 30px 0 rgba(37,64,83,0.13);
  border: 1.5px solid var(--color-gold);
  transform: translateY(-3px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(37,64,83,0.09);
  border-radius: 18px;
  padding: 20px 30px;
  margin-bottom: 24px;
  border: 1px solid var(--color-secondary);
  min-width: 200px;
  max-width: 520px;
  color: #222;
}
.testimonial-card p {
  text-align: center;
  color: #222;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 1.0rem;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  font-style: italic;
}
.testimonial-card .stars {
  color: var(--color-gold);
  font-size: 1.36rem;
  margin-bottom: 0px;
  letter-spacing: 2px;
}

/* FLEX LAYOUT SPACING - CRITICAL RULES */
.card + .card,
.testimonial-card + .testimonial-card,
.card + .testimonial-card,
.testimonial-card + .card {
  margin-left: 24px;
}
.content-wrapper > * + * {
  margin-top: 14px;
}
.section + .section {
  margin-top: 60px;
}

/* NAVIGATION - DESKTOP */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-gray);
  box-shadow: 0 1px 7px rgba(37,64,83,.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 500;
}
.main-nav > a {
  color: var(--color-primary);
  font-size: 1.08rem;
  padding: 9px 20px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 2;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: var(--color-secondary);
  background: #f7f5ed;
}
.main-nav img {
  margin-right: 14px;
  vertical-align: middle;
  height: 44px;
}
.main-nav .cta {
  margin-left: 16px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 32px;
  font-weight: 700;
  border: none;
  padding: 10px 28px;
  transition: background 0.15s;
  box-shadow: 0 2px 12px 0 rgba(164,140,101, 0.14);
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #c2a366;
  color: var(--color-primary);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2.0rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1101;
  box-shadow: 0 3px 7px 0 rgba(164,140,101,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #c2a366;
  outline: 2px solid var(--color-gold);
}

.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 380px;
  height: 100vh;
  background: #FFF;
  z-index: 1200;
  box-shadow: -5px 0 30px rgba(37,64,83,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.85,.12,.35,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  z-index: 2;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #c2a366;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
  gap: 15px;
  padding: 16px 32px 25px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  width: 100%;
  padding: 10px 4px;
  border-radius: 8px;
  background: #fff;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 2px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #ebe4d8;
  color: var(--color-secondary);
}

/* HIDE DESKTOP NAV ON MOBILE */
@media (max-width: 1050px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN & SECTIONS */
main {
  flex: 1 1 auto;
  margin-top: 0;
  background: transparent;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 42px 0 22px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-wrapper > * {
  margin-bottom: 15px;
}
.footer-wrapper a {
  color: #ffe7b3;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-wrapper a:hover, .footer-wrapper a:focus {
  color: #fff1d5;
}
.footer-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-contact p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e6e2dc;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social img {
  width: 30px;
  height: 30px;
  filter: grayscale(0%) brightness(1.1);
  transition: filter 0.15s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: brightness(1.6) drop-shadow(0 1px 5px var(--color-gold));
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe6;
  color: #2f2f2f;
  box-shadow: 0 -2px 28px 0 rgba(37,64,83,0.11);
  padding: 16px 10vw 16px 10vw;
  z-index: 1400;
  font-size: 1.025rem;
  font-family: var(--font-body);
  gap: 16px;
  border-top: 1.5px solid var(--color-gold);
  animation: fadeInBanner 0.7s cubic-bezier(.7,0,.28,1);
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(100px); }
  60% { opacity: 1; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  flex: 1 1 0;
  margin-right: 12px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  min-width: 110px;
  border-radius: 22px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.96rem;
  padding: 8px 18px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #c2a366;
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.reject:hover{ background: #FFE5C3; color: var(--color-primary);}
.cookie-settings-btn {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1420;
  left:0; right:0; top:0; bottom:0;
  background: rgba(37,64,83,0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.35s cubic-bezier(.6,.4,.35,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fffbe6;
  padding: 36px 30px 30px 30px;
  min-width: 320px;
  max-width: 96vw;
  border-radius: 18px;
  box-shadow: 0 10px 38px 0 rgba(37,64,83,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-dark);
  margin-left: 12px;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 1.15em; height: 1.15em;
  vertical-align: middle;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 10px;
  border-radius: 50%;
  width: 34px; height: 34px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #c2a366;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.cookie-modal-category.essential label {
  color: var(--color-gold);
  font-weight: 600;
}


/* VISUAL ELEMENTS */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
}
section ul, section ol {
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 1.07rem;
}
section ul li, section ol li {
  padding: 7px 0;
  position: relative;
}
section ul li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-right: 10px;
  position: relative;
  top: -2px;
}
section ul li img {
  margin-left: -16px;
}
section ul li img + span,
section ul li img + strong,
section ul li img + em {
  margin-left: 5px;
}

/* HR / DIVIDER */
hr {
  border: 0;
  border-top: 1.5px solid var(--color-gold);
  margin: 32px 0;
}

/* LINKS */
a {
  color: var(--color-secondary);
  text-decoration: underline dotted;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--color-link-hover);
  text-decoration: underline solid;
}

/* FORMS (minimal) */
input, select, textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-gray);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  outline: none;
  margin-bottom: 15px;
  transition: border 0.16s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--color-gold);
}
label {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 6px;
  display: inline-block;
}

/* ACCESSIBILITY & FOCUS STYLES */
a:focus, button:focus, .card:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  z-index: 3;
}

/* SUBTLE SHADOW AND HIERARCHY */
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s, border 0.14s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 32px 0 rgba(164,140,101,0.15);
  border: 2px solid var(--color-gold);
  transform: scale(1.012);
}

/* VISUAL MICRO-INTERACTIONS */
.cta, .btn {
  transition: background 0.18s, box-shadow 0.19s, color 0.15s, transform 0.13s;
}

/* LAYOUT SPACING */
@media (min-width: 769px) {
  .content-wrapper {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
  .text-section {
    flex-basis: 60%;
  }
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .content-grid,
  .card-container,
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 32px;
  }
  .testimonial-card, .card {
    padding: 18px 8vw;
    max-width: 98vw;
    margin-left: 0; margin-right: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    top: 12px;
    right: 6px;
    width: 40px; height: 40px;
    font-size: 1.6rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 15px 6vw;
    font-size: 1rem;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.15rem; }
  .testimonial-card, .card {
    padding: 9px 1.5vw;
  }
  .section {
    padding: 20px 2px 18px 2px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 2px;
  }
}

/* VISUAL REFINEMENTS: GOLD BLING */
h1, h2, h3, .cta, .footer-nav a {
  position: relative;
}
h1:after, h2:after, h3:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 1.4px;
  margin-top: 8px;
  opacity: 0.12;
}
.cta:after { display: none !important; }

/* Z-INDEX MANAGEMENT */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 1200 !important;
}

/* PREVENT CARD OVERLAP */
.card, .testimonial-card {
  margin-bottom: 24px;
}

/* ACCESSIBLE STAR RATING */
.stars {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2.5px;
  color: var(--color-gold);
  font-size: 1.16rem;
}

/* UTILITY */
.show {
  display: block !important;
  visibility: visible !important;
}
.hide {
  display: none !important;
  visibility: hidden !important;
}

/* PRINT: brand mark and content only */
@media print {
  header, nav, .main-nav, .mobile-menu-toggle, .mobile-menu,
  .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
    visibility: hidden !important;
  }
  .container { max-width: 100% !important; }
}
