/* ========================================================== */
/* CSS 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,
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #262626;
  background-color: #F8F9FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #138374;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #1a937c;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #34495E;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ========== COLOR VARIABLES & FONTS (WITH FALLBACKS) ========== */
:root {
  --color-primary: #34495E;
  --color-secondary: #F8F9FA;
  --color-bg: #FFFFFF;
  --color-accent: #1ABC9C;
  --color-accent-dark: #138374;
  --color-gold: #C9A75E;
  --color-border: #e8e8e8;
  --color-text-main: #262626;
  --color-text-light: #FFFFFF;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ========== GENERAL LUXURY SPACING & LAYOUT PATTERNS ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-bg);
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(52,73,94,0.05);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(52,73,94,0.07);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid var(--color-border);
}
.card:hover {
  box-shadow: 0 10px 32px rgba(201,167,94,0.19);
  transform: translateY(-2px) scale(1.02);
  border-color: var(--color-gold);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(201,167,94,0.10);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-gold);
  min-width: 0;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
  quotes: "\201C" "\201D";
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}
.testimonial-card span {
  color: #222;
  font-family: var(--font-body);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

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

ul, ol {
  color: #444;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ========== HEADINGS & TYPOGRAPHY ========== */
h1 {
  font-size: 2.75rem;
  font-family: var(--font-display);
  margin-bottom: 18px;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  font-family: var(--font-display);
  margin-bottom: 14px;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h3 {
  font-size: 1.3rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h4, h5, h6 {
  font-family: var(--font-display);
}
p, li, blockquote, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
}
strong {
  color: var(--color-primary);
  font-weight: bold;
}

/* ========== BUTTONS & CTA ========== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  padding: 0.9em 2em;
  border: none;
  border-radius: 30px;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(201,167,94,0.18);
  cursor: pointer;
  transition: background 0.20s, color 0.21s, transform 0.14s, box-shadow 0.19s;
  outline: none;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 #9C7F3A33;
}
.cta-btn:hover, .cta-btn:focus {
  background-color: var(--color-accent-dark);
  color: #fff6e5;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 24px rgba(26,147,124,0.19);
}

/* ========== HEADER + NAVIGATION ========== */
header {
  background: var(--color-bg);
  border-bottom: 1px solid #ededed;
  box-shadow: 0 4px 16px rgba(201,167,94,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 20px;
  gap: 0;
}
header img {
  max-height: 38px;
  margin-right: 18px;
  display: block;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 0;
  position: relative;
  transition: color 0.18s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: width .23s;
  position: absolute;
  left: 0; bottom: 0;
}
header nav a:hover,
header nav a:focus {
    color: var(--color-accent-dark);
}
header nav a:hover:after,
header nav a:focus:after {
  width: 100%;
}

header .cta-btn {
  margin-left: 18px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 21;
  transition: color 0.2s, transform 0.1s;
  margin-left: 16px;
}
.mobile-menu-toggle:focus {
  color: var(--color-gold);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52,73,94,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 150;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.1,.27,1);
  padding-top: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 22px 32px 10px 0;
  z-index: 11;
  cursor: pointer;
  align-self: flex-end;
  transition: color .15s;
}
.mobile-menu-close:focus {
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 12px;
  gap: 12px;
  padding: 0 5vw;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: none;
}

/* ========== SERVICES & CARDS ========== */
.services-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.service-box {
  background: var(--color-bg);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(52,73,94,0.07);
  border: 1.5px solid var(--color-gold);
  padding: 28px 22px 26px 22px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-box h2, .service-box h3 {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-box span {
  color: var(--color-accent-dark);
  font-weight: 700;
  margin-top: 7px;
}
.service-box .cta-btn {
  margin-top: 20px;
  font-size: 1.1rem;
}
.service-box:hover {
  box-shadow: 0 12px 30px rgba(201,167,94,0.22);
  transform: translateY(-3px) scale(1.025);
  border-color: var(--color-gold);
  z-index: 2;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 36px 0 16px;
  position:relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer img {
  max-width: 54px;
  height: auto;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: #FFF6E4;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 7px 0;
  transition: color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-gold);
}
footer .legal-info {
  color: #BBBBBB;
  font-size: .97rem;
  margin-top: 10px;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #fffdfa;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -6px 32px rgba(52,73,94,0.07);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 18px 20px;
  gap: 18px;
  transition: transform 0.32s cubic-bezier(.9,.21,.41,.92);
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fffdfa;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 9px 26px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(52,73,94,0.11);
  cursor: pointer;
  margin: 0;
  transition: background 0.13s, color 0.14s, box-shadow 0.13s;
}
.cookie-btn.settings {
  background: var(--color-gold);
}
.cookie-btn.accept-all {
  background: var(--color-accent-dark);
}
.cookie-btn.reject-all {
  background: #b2b2b2;
  color: #fff;
}
.cookie-btn:focus, .cookie-btn:hover {
  box-shadow: 0 5px 16px rgba(201,167,94,0.14);
  background: var(--color-gold);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(52, 73, 94, 0.60);
  z-index: 3600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  max-width: 400px;
  box-shadow: 0 10px 44px rgba(52,73,94,0.26);
  padding: 38px 28px 28px 28px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  min-width: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 20;
  transition: color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-gold);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5d8be;
  padding: 12px 0;
  gap: 12px;
  min-width: 0;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.cookie-switch input[type="checkbox"] {
  display:none;
}
.cookie-switch .slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: #dad7c9;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.14s;
  box-shadow: 0 1px 5px #e0d2a855;
}
.cookie-switch .slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: var(--color-gold);
  border-radius: 50%;
  transition: transform .15s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  background: var(--color-accent-dark);
}
.cookie-switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .info {
  font-size: .98rem;
  color: #7F6D3A;
}

/* ========== RESPONSIVE DESIGN (MOBILE-FIRST) ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 86vw;
  }
  .services-grid, .service-list {
    gap: 20px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 45px;
  }
}
@media (max-width: 768px) {
  /* Header nav replaced by hamburger */
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .container {
    max-width: 97vw;
    padding: 0 6vw;
  }
  .card-container, .services-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-box {
    min-width: 0;
    width: 100%;
    padding: 22px 12px 20px 12px;
  }
  .testimonial-card {
    padding: 17px 7px;
    border-radius: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 22px;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.95em 1.5em;
  }
  footer nav {
    flex-direction: column;
    gap: 2px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 16px 4vw;
    border-radius: 10px;
  }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-btn, .cookie-btn {
  transition: background 0.18s, box-shadow 0.17s, transform 0.13s;
}
.service-box, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.14s;
}
.service-box:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(201,167,94,0.14);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu, .cookie-banner, .cookie-modal {
  will-change: transform, box-shadow;
}

/* ========== UTILITY CLASSES ========== */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* ========== ENSURE NO OVERLAPPING ========== */
main > section, .section, .service-box, .card, .testimonial-card {
  margin-bottom: 24px;
}

/* ========== SCROLLBARS ========== */
::-webkit-scrollbar {
  width: 11px;
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 11px;
}

/* ========== GOLDEN ACCENTS ========== */
hr {
  border: none;
  height: 3px;
  background: linear-gradient(-90deg, #C9A75E 30%, #f4e4b6 70%);
  border-radius: 2px;
  margin: 32px 0;
}

/* ========== FOCUS STYLES FOR ACCESSIBILITY ========== */
a:focus, button:focus, .cta-btn:focus, .service-box:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
    display: none!important;
  }
  header, footer, .cta-btn {
    color: #111 !important;
    background: none !important;
    box-shadow: none !important;
  }
}
section {
  padding: 20px 0;
}
