/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF9F7;
  color: #241B19;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #8B1E25;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8B1E25;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #241B19;
  font-weight: 700;
}

/* SCARLET GLADE LUXURY PREMIUM BRAND COLORS */
:root {
  --sg-primary: #8B1E25;
  --sg-secondary: #16413A;
  --sg-accent: #FFE8C2;
  --sg-bg: #FAF9F7;
  --sg-dark: #241B19;
  --sg-gold: #C9A14A;
  --sg-white: #FFF;
}

/* TYPOGRAPHY */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #432723;
}
strong, b {
  color: var(--sg-primary);
  font-weight: 700;
}

/* MAIN CONTAINER LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--sg-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(38,29,29,0.07);
  border: 1.5px solid var(--sg-accent);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  padding: 28px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(38,29,29,0.15);
  transform: translateY(-3px) scale(1.012);
  border-color: var(--sg-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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFF;
  border: 1.5px solid var(--sg-accent);
  border-left: 5px solid var(--sg-gold);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(100, 80, 40, 0.05);
  padding: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 380px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(100, 80, 40, 0.10);
  border-color: var(--sg-gold);
}
.testimonial-meta {
  color: var(--sg-secondary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.star-rating {
  font-size: 1.3rem;
  color: var(--sg-gold);
  letter-spacing: 0.1em;
  font-family: 'Playfair Display', serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ HERO SECTIONS ------ */
.hero {
  background: var(--sg-primary);
  background-image: linear-gradient(105deg, #8B1E25 90%, #C9A14A 180%);
  color: var(--sg-accent);
  padding: 64px 0 56px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(139,30,37,0.08);
}
.hero p {
  color: #FFE8C2;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* ------ NAVIGATION ------ */
header {
  background: var(--sg-white);
  border-bottom: 1.5px solid var(--sg-accent);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: var(--sg-dark);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--sg-primary);
  border-bottom: 2px solid var(--sg-gold);
}
.cta-btn.primary {
  display: flex;
  align-items: center;
  background: var(--sg-gold);
  color: var(--sg-primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 11px 30px;
  border-radius: 25px;
  border: none;
  outline: none;
  box-shadow: 0 3px 16px rgba(139,30,37,0.06);
  margin-left: 20px;
  margin-right: 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.18s;
  border-bottom: 2px solid transparent;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #FFE8C2;
  color: var(--sg-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(201,161,74,0.12);
  border-bottom: 2px solid var(--sg-gold);
}

/* ------ MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--sg-primary);
  border: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  text-align: center;
  line-height: 44px;
  margin-left: 12px;
  transition: background 0.15s;
  z-index: 300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--sg-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 16, 16, 0.94);
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.7,.2,.3,1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--sg-gold);
  font-size: 2.2rem;
  border: none;
  padding: 20px 28px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 10px;
  margin-bottom: 8px;
  transition: color 0.15s;
  z-index: 10000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--sg-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  padding: 28px 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--sg-accent);
  padding: 8px 2px;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-left 0.22s, background 0.21s;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--sg-gold);
  background: rgba(255, 232, 194, 0.08);
  border-left: 3px solid var(--sg-gold);
}

/* HIDE MAIN NAV, SHOW BURGER ON MOBILE */
@media (max-width: 1024px) {
  .main-nav,
  .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 300;
  }
}
@media (max-width: 540px) {
  .mobile-nav {
    padding: 18px 14px;
  }
}

/* ------ FOOTER ------ */
footer {
  background: var(--sg-primary);
  color: var(--sg-accent);
  margin-top: 70px;
  padding: 36px 0 15px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 13px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--sg-accent);
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.95;
  transition: color 0.17s, text-decoration 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--sg-gold);
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.93;
  font-size: 1rem;
}
.footer-brand img {
  height: 28px;
}

/* ------ BUTTONS ------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  font-size: 1.06rem;
  padding: 10px 32px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--sg-gold);
  color: var(--sg-primary);
  box-shadow: 0 3px 16px rgba(201,161,74,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.12s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--sg-accent);
  color: var(--sg-dark);
  box-shadow: 0 8px 30px rgba(201,161,74,0.16);
  transform: translateY(-1.5px) scale(1.017);
}

/* FEATURE ICONS/GRID CUSTOM LAYOUT */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
}
.feature-grid > div {
  flex: 1 1 220px;
  border-radius: 16px;
  background: var(--sg-accent);
  padding: 24px 20px;
  margin-bottom: 10px;
  align-items: center;
  min-width: 210px;
  max-width: 280px;
  box-shadow: 0 2px 12px rgba(139,30,37,0.055);
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1.5px solid #fff1d0;
  transition: box-shadow 0.22s, border-color 0.22s, background 0.18s;
}
.feature-grid > div:hover {
  background: #fff8ec;
  border-color: var(--sg-gold);
  box-shadow: 0 8px 40px rgba(201,161,74,0.13);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

/* TESTIMONIAL SLIDER (FLEX LAYOUT) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}

/* CONTACT INFO LIST */
.contact-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}
.contact-info li {
  margin-bottom: 8px;
  color: var(--sg-secondary);
  font-size: 1.03rem;
  font-weight: 400;
}

/* MAP SNIPPET DECORATION */
.map-snippet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffbe9;
  border: 1.5px solid var(--sg-gold);
  border-radius: 10px;
  padding: 18px 16px 15px 16px;
  margin-top: 8px;
  color: var(--sg-secondary);
}

/* LINKS */
.text-section a {
  color: var(--sg-primary);
  transition: color 0.18s;
}
.text-section a:hover { color: var(--sg-secondary); }

/* MODALS AND OVERLAYS - GENERAL */
.modal-overlay {
  position: fixed;
  z-index: 15000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 10, 4, 0.77);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.2s;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(38,29,29,0.19);
  padding: 36px 24px 32px 24px;
  max-width: 420px;
  min-width: 260px;
  color: var(--sg-dark);
  font-size: 1rem;
  position: relative;
  z-index: 10001;
}
.modal h2 {
  color: var(--sg-primary);
  margin-bottom: 18px;
}
.modal .close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--sg-primary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.17s;
}
.modal .close-modal:hover { color: var(--sg-gold); }

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff6e2;
  border-top: 2px solid var(--sg-gold);
  box-shadow: 0 -4px 32px rgba(201,161,74,0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 24px 19px 24px;
  z-index: 16000;
  transition: opacity 0.22s, transform 0.18s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  font-size: 1rem;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.cookie-message {
  max-width: 480px;
  color: var(--sg-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  padding: 8px 22px;
  background: var(--sg-gold);
  color: var(--sg-primary);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(201,161,74,0.08);
  margin-bottom: 2px;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.11s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFC960;
  color: var(--sg-dark);
  transform: translateY(-1px) scale(1.03);
}
.cookie-settings {
  background: #FFF;
  color: var(--sg-secondary);
  border: 1.5px solid var(--sg-accent);
  box-shadow: none;
}
.cookie-settings:hover { border-color: var(--sg-gold); }

/* ---------- COOKIE PREF MODAL ---------- */
.cookie-modal .modal {
  max-width: 420px;
  min-width: 260px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 0; right: 0; bottom: 2px;
  background: #E0C285;
  border-radius: 16px;
  transition: background 0.3s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--sg-gold);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.32s;
  box-shadow: 0 1.5px 7px rgba(201,161,74,0.08);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-essential {
  color: var(--sg-dark);
  font-weight: 600;
}
.cookie-category label {
  font-weight: 500;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- RESPONSIVE RULES ---------- */
@media (max-width: 960px) {
  .container { max-width: 98vw; }
  .feature-grid { gap: 20px; }
  .content-grid { gap: 13px; }
  .testimonial-slider { gap: 10px; }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }
  .hero {
    padding: 36px 0 28px 0;
  }
  .main-nav { gap: 12px; }
  .feature-grid,
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 7px;
  }
}
@media (max-width: 540px) {
  .container { padding: 0 6px; }
  .footer-brand { gap: 6px; font-size: 0.89rem; }
  .hero p { font-size: 1rem; }
  .cta-btn, .cta-btn.primary {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 14px 7px 10px 7px;
  }
  .cookie-actions { gap: 6px; }
}

/* ---------- LUXURY MICRO-INTERACTIONS & HIGHLIGHTS ---------- */
h1, h2, h3, h4 {
  text-shadow: 0 1px 5px rgba(201,161,74,0.06);
  letter-spacing: 0.02em;
}
::selection {
  background: var(--sg-accent);
  color: var(--sg-primary);
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.18s, background 0.23s, transform 0.2s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(201,161,74,0.10);
  border-color: var(--sg-gold);
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--sg-accent);
  padding: 10px 14px;
  background: #fffdfa;
  color: var(--sg-dark);
  box-shadow: 0 1px 5px rgba(201,161,74,0.07);
  margin-bottom: 14px;
  transition: border-color 0.19s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--sg-gold);
  outline: none;
  box-shadow: 0 0 0 2px #FFD98C55;
}

/* ----- ACCESSIBILITY ENHANCEMENTS ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* SCROLLBAR STYLING */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--sg-accent) var(--sg-bg);
}
::-webkit-scrollbar {
  width: 8px;
  background: var(--sg-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--sg-gold);
  border-radius: 6px;
}

/* ENSURE NO ELEMENT OVERLAPS (FLEX WRAP + GAP) */
.card-container,
.content-grid,
.feature-grid,
.testimonial-slider {
  flex-wrap: wrap;
  gap: 24px;
}
.section, .card, .card-container>*, .feature-grid>*, .testimonial-card {
  margin-bottom: 20px;
}

/* REINFORCE LUXURY ACCENTS */
hr {
  border: none;
  border-bottom: 1.5px solid var(--sg-gold);
  margin: 38px 0 18px 0;
}

/* PRINT STYLE: QUIET BACKGROUND */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #241B19; }
}
