/* =======================================================================
   CSS RESET & BASE - Normalize and cleanse       luxury_premium theme
   ======================================================================= */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #212529;
  background-color: #F8F6F1;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #28536B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3A712;
}

ul, ol {
  margin-left: 20px;
}

strong {
  font-weight: 600;
}

/* =======================================================================
   BRAND TYPOGRAPHY - luxury_premium fonts & hierarchy
   ======================================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #222;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.37rem; line-height: 1.28; }
h4 { font-size: 1.12rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.94rem; }

p, ul, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #363636;
  font-size: 1.0625rem;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Small text, e.g. price */
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #B18607;
  font-weight: 600;
  letter-spacing: .02em;
}

/* =======================================================================
   BRAND COLORS - luxury_premium golds, blues, accent
   ======================================================================= */
:root {
  --brand-primary: #28536B;
  --brand-secondary: #F3A712;
  --brand-gold: #B18607;
  --brand-offwhite: #F8F6F1;
  --brand-bg: #F8F6F1;
  --brand-dark: #212529;
  --brand-body: #363636;
  --brand-shadow: rgba(40, 83, 107, 0.08);
}

/* =======================================================================
   LUXURY SPACING PATTERNS & CONTAINER
   ======================================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 22px;
  box-shadow: 0 4px 24px var(--brand-shadow);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 26px 8px;
    border-radius: 14px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ===============================
   LUXURY BUTTONS (.cta-btn)
   =============================== */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #B18607 0%, #F3A712 100%);
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  border: none;
  border-radius: 7px;
  font-size: 1.17rem;
  letter-spacing: .04em;
  box-shadow: 0 2px 12px rgba(40, 83, 107, 0.11);
  transition: 
    background 0.21s cubic-bezier(.45,.32,.65,1), 
    transform 0.18s cubic-bezier(.45,.32,.65,1), 
    box-shadow 0.18s;
  cursor: pointer;
  margin-top: 12px;
}
.cta-btn:focus {
  outline: 2px solid #B18607;
  outline-offset: 2px;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #A97A06 0%, #E0A500 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px rgba(40, 83, 107, 0.12);
}

/* ===============================
   HEADER
   =============================== */
header {
  background: #fff;
  border-bottom: 1.5px solid #EBEBEB;
  box-shadow: 0 2px 16px rgba(40, 83, 107, 0.04);
  position: sticky;
  top: 0; z-index: 1200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 32px;
}
.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #28536B;
  padding: 6px 0;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B18607;
  border-bottom: 2.5px solid #B18607;
}

/* Hide Mobile Menu Toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Show main nav as flex row */
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .logo img {
    height: 40px;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 1.06rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 42px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #28536B;
    cursor: pointer;
    margin-left: auto;
    z-index: 2048;
    transition: color 0.16s;
  }
  .mobile-menu-toggle:focus {
    color: #B18607;
    outline: 2px solid #B18607;
    outline-offset: 2px;
  }
}

/* ===============================
   MOBILE MENU (OFFCANVAS)
   =============================== */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,246,241,.79);
  box-shadow: 0 0 40px rgba(40, 83, 107, 0.09);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(.76,.28,.23,.94), opacity 0.28s cubic-bezier(.76,.28,.23,.94);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  margin: 24px 16px 20px auto;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: #28536B;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  color: #B18607;
  outline: 2px solid #B18607;
  outline-offset: 2px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 32px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 14px 0 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #28536B;
  border-bottom: 1.2px solid #EEEADE;
  transition: color .17s, border-color 0.12s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B18607;
  border-bottom: 2px solid #B18607;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(125deg,#F8F6F1 70%, #fff 100%);
  padding-top: 36px;
  padding-bottom: 36px;
  min-height: 280px;
  border-bottom: 2.5px solid #EDE1BA;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 630px;
}
.hero h1 {
  color: #28536B;
  font-size: 2.75rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.22rem;
  color: #3c444b;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    padding-top: 16px;
    padding-bottom: 18px;
  }
}

/* ===============================
   FEATURES SECTION & LISTS
   =============================== */
.features {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(40,83,107,0.09);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features h2 {
  color: #28536B;
  font-size: 2rem;
  margin-bottom: 15px;
}
.features ul, .features li {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 6px;
  padding-left: 0;
  list-style: disc;
}
.features ul {
  margin-bottom: 0;
  margin-left: 22px;
}
.features li::marker {
  color: #B18607;
}

/* ===============================
   CARDS & GRID LAYOUTS
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(40,83,107,0.07);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 290px;
  transition: box-shadow .19s, transform .19s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(40,83,107,0.14);
  transform: translateY(-3px) scale(1.025);
}

/* Service cards - on / */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border: 1.5px solid #F3A71233;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(40,83,107,0.05);
  padding: 32px 20px 18px 20px;
  min-width: 260px; max-width: 330px;
  flex: 1 1 260px;
  transition: box-shadow .19s, border-color .19s, transform .18s;
  margin-bottom: 20px;
  position: relative;
}
.service-card:hover {
  border-color: #B18607;
  box-shadow: 0 10px 36px 2px rgba(179,132,7, 0.06);
  transform: translateY(-2px) scale(1.03);
}
.service-card h3 {
  color: #28536B;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-card .price {
  color: #B18607;
  font-weight: 700;
  margin-top: 16px;
  font-size: 1.09rem;
}

@media (max-width: 900px) {
  .service-cards {
    gap: 14px;
  }
  .service-card, .card {
    min-width: 94vw;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .service-cards {
    flex-direction: column;
    gap: 14px;
  }
}

/* Generic flex layouts for all pages */
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}

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

/* ===============================
   TESTIMONIAL CARDS
   =============================== */
.testimonials {
  background: #F8F6F1;
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(40,83,107,0.07);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 5px solid #B18607;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.12rem;
  color: #212529;
  box-shadow: 0 2px 10px rgba(179, 132, 7, .038);
  transition: box-shadow 0.15s, border-color 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #B1860720;
  border-color: #F3A712;
}
.testimonial-card p {
  color: #212529;
  font-size: 1.12rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #28536B;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
}

/* ===============================
   TEXT SECTIONS (.text-section)
   =============================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section h2, .text-section h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #28536B;
  font-weight: 700;
}
.text-section ul {
  margin-left: 22px;
  margin-bottom: 8px;
}
.text-section li {
  color: #363636;
  font-size: 1.08rem;
  line-height: 1.74;
  margin-bottom: 5px;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #232931;
  color: #fff;
  margin-top: 80px;
}
footer section {
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
footer .container {
  padding-top: 44px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-menu, .footer-contact, .footer-brand, .footer-social {
  margin-bottom: 20px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a, .footer-contact p,
.footer-brand, .footer-contact h3 {
  color: #fff !important;
}
.footer-menu a {
  font-size: 1.01rem;
  opacity: .90;
  transition: color 0.15s, opacity 0.14s;
}
.footer-menu a:hover {
  color: #F3A712;
  opacity: 1;
}
.footer-contact h3 {
  font-size: 1.07rem;
  color: #F3A712;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-brand img {
  max-height: 52px;
  border-radius: 12px;
  background: #fff;
  padding: 5px 7px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  height: 36px; width: 36px;
  justify-content: center;
  transition: background 0.17s;
}
.footer-social a:hover {
  background: #FFD36F;
}
.footer-social img {
  width: 22px; height: 22px;
}
@media (max-width: 1000px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  z-index: 5000;
  left: 0; bottom: 0; width: 100vw;
  background: #fffbe9;
  border-top: 2.5px solid #B18607;
  box-shadow: 0 -4px 24px rgba(40,83,107,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  opacity: 1;
  transition: bottom 0.3s, opacity 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -100px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 2px;
}
.cookie-btn.accept {
  background: #B18607;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F3A712;
  color: #131f31;
}
.cookie-btn.reject {
  background: #fff7d5;
  color: #B18607;
  border: 1px solid #B18607;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFE7B3;
  color: #B18607;
}
.cookie-btn.settings {
  background: none;
  border: 1.5px solid #B18607;
  color: #B18607;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff6e2;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 22px 8px;
    gap: 12px;
    font-size: 0.96rem;
  }
}

/* Cookie settings MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5050;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40, 83, 107, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 42px rgba(40,83,107,.11);
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 94vw;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #232931;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5060;
  animation: cookieFadeIn 0.37s cubic-bezier(.6,.36,.35,1);
}
@keyframes cookieFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #28536B;
  font-size: 1.22rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category label {
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F3A712;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #B18607;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(17px);
}
/* Always enabled (Essential) */
.cookie-category .cookie-toggle[aria-disabled="true"] .cookie-slider {
  background: #9CB4C0;
}
.cookie-category .cookie-toggle[aria-disabled="true"] .cookie-slider:before {
  background: #ddd;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ===============================
   PAGE EMOTIONS - Subtle Gold Lines/Details
   =============================== */
.section, .features, .testimonials, .footer-menu, .card, .service-card {
  position: relative;
}
.section:after, .features:after, .testimonials:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0; right: 0; height: 4px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #B18607 0%, #F3A712 100%);
  opacity: .11;
  pointer-events: none;
}

/* ===============================
   MISC utils & forms (if added later)
   =============================== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}
input, textarea, select {
  border-radius: 7px;
  border: 1.5px solid #D9D9D9;
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 14px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #B18607;
}
button {
  cursor: pointer;
  transition: box-shadow 0.13s, background .16s, color .13s;
}

/* ===============================
   THANK YOU PAGE
   =============================== */
.text-section .cta-btn {
  margin-top: 18px;
}

/* ===============================
   RESPONSIVE Tweaks
   =============================== */
@media (max-width: 650px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.19rem; }
  .footer-brand img { max-height: 36px; }
  .service-card, .card, .testimonial-card {
    padding: 14px 6px;
    font-size: 0.98rem;
    border-radius: 11px;
  }
}

/* ===============================
   MICRO-INTERACTIONS & TRANSITIONS
   =============================== */
a, .cta-btn, .service-card, .card, .mobile-menu, .testimonial-card, .cookie-banner, .cookie-btn, .mobile-menu-toggle {
  transition: 
    color .18s,
    background .18s,
    box-shadow .17s,
    transform .16s,
    border-color .14s,
    opacity .14s;
}

/* ===============================
   VISUAL HIERARCHY GAPS & SPACINGS (MANDATORY)
   =============================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
section {
  padding: 15px;
}
/* ===============================
   END luxury_premium CSS
   =============================== */
