/* =========================
    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, 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; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; background: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; display: block; border: none; }

/* ===============================
    LUXURY PREMIUM THEME VARIABLES
   =============================== */
:root {
  --color-primary: #29636E;
  --color-secondary: #ACD6C7;
  --color-accent: #FAF3E5;
  --color-bg: #FAF8F5;
  --color-content-bg: #fff;
  --color-gold: #D3B87C;
  --color-gold-alt: #BC9954;
  --color-grey: #c2c2c2;
  --color-text: #232320;
  --color-text-light: #51492b;
  --color-shadow: rgba(41, 99, 110, 0.15);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
@media (max-width: 768px) {
  :root {
    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  }
}

/* ===============================
         BASE STYLES
   =============================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  background: none;
  margin: 0 auto;
  width: 100%;
}
.text-section {
  background: var(--color-content-bg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 40px 24px;
}

/* ===============================
           TYPOGRAPHY
   =============================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h1 {
  font-size: 2.7rem; /* 43px */
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.18;
}
h2 {
  font-size: 2.1rem; /* 34px */
  margin-bottom: 10px;
  line-height: 1.18;
  color: var(--color-gold-alt);
}
h3 {
  font-size: 1.23rem; /* 20px */
  color: var(--color-primary);
  font-family: var(--font-display);
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, table, caption {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}
li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.caption, caption {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ===============================
         BUTTONS & CTA
   =============================== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
  border-radius: 28px;
  font-size: 1.11rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: all 0.2s cubic-bezier(.4,1.4,.6,1);
  cursor: pointer;
  outline: none;
  margin-top: 16px;
  box-sizing: border-box;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-gold-alt);
  color: var(--color-text-light);
  box-shadow: 0 6px 24px var(--color-shadow);
}

button, .button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  outline: none;
}

/* ================================
         HEADER & NAVIGATION
   ================================ */
header {
  background: var(--color-content-bg);
  border-bottom: 1px solid var(--color-accent);
  box-shadow: 0 1px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 82px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
  position: relative;
  transition: color 0.18s;
  padding: 0 6px;
}
header nav a:not(.cta-primary):after {
  display: block;
  content: '';
  border-bottom: 2px solid var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.22s;
  transform-origin: left;
}
header nav a:hover:not(.cta-primary):after,
header nav a:focus:not(.cta-primary):after {
  transform: scaleX(0.9);
}
header nav a:hover, header nav a:focus {
  color: var(--color-gold-alt);
}
header a.cta-primary {
  margin-left: 12px;
  min-width: 0;
}

.mobile-menu-toggle {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-left: 18px;
  display: none;
  background: none;
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================================
        MOBILE NAVIGATION MENU
   ================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,99,110,0.98);
  z-index: 4200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.5,1.4,.6,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  padding: 22px;
  font-size: 2.1rem;
  color: var(--color-gold);
  background: none;
  align-self: flex-end;
  margin-right: 10px;
  margin-top: 4px;
  z-index: 2;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-gold-alt);
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.20rem;
  font-weight: 500;
  padding: 15px 32px;
  width: 100%;
  border-radius: 0 30px 30px 0;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.mobile-nav a.cta-primary {
  background: var(--color-gold);
  color: var(--color-primary);
  margin-top: 18px;
  font-size: 1.13rem;
  font-weight: 600;
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================================
        HERO, MAIN & SECTIONS
   ================================ */
main { padding-bottom: 60px; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  width: 100%;
}
.hero {
  background: linear-gradient(110deg, var(--color-accent) 60%, var(--color-gold) 100%);
  border-bottom: 2px solid var(--color-gold);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 32px var(--color-shadow);
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hero h1 {
  color: var(--color-primary);
}
.hero p {
  color: var(--color-text-light);
  font-size: 1.21rem;
}

/* ================================
            FOOTER
   ================================ */
footer {
  background: var(--color-primary);
  color: #FFF;
  padding: 0;
  min-height: 168px;
  border-top: 7px solid var(--color-gold);
  box-shadow: 0 -2px 24px var(--color-shadow);
}
footer .container {
  flex-direction: column;
  gap: 0;
  padding: 30px 16px 20px 16px;
  align-items: flex-start;
}
.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  flex-wrap: wrap;
}
.footer-top img {
  height: 60px;
  margin-bottom: 0;
}
.brand-info {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 6px 0 4px 0;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 400;
  transition: color 0.2s;
  padding: 0 2px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-gold);
}
.contact-mini {
  color: var(--color-accent);
  font-size: 0.96rem;
  font-family: var(--font-body);
}
.contact-mini img {
  vertical-align: middle;
  height: 18px;
  margin-right: 4px;
  margin-bottom: 1px;
}
@media (max-width:800px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer .container { align-items: stretch; }
}

/* ================================
         CARDS & FEATURES
   ================================ */
.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 16px 0 6px 0;
  justify-content: flex-start;
}
.feature {
  background: var(--color-content-bg);
  border: 1.7px solid var(--color-gold);
  border-radius: 20px;
  flex-basis: 280px;
  flex-grow: 1;
  padding: 32px 20px 28px 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.18s, border 0.16s;
}
.feature img {
  width: 44px; height: 44px; margin-bottom: 0;
}
.feature:hover, .feature:focus-within {
  border: 1.7px solid var(--color-gold-alt);
  box-shadow: 0 6px 38px var(--color-shadow);
  z-index: 2;
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: var(--color-content-bg);
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.3px solid var(--color-gold);
  transition: box-shadow 0.17s, border 0.17s;
}
.card:hover, .card:focus-within {
  border: 1.7px solid var(--color-gold-alt);
  box-shadow: 0 6px 32px var(--color-shadow);
  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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 150px;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  background: var(--color-accent);
  color: var(--color-text);
  border: 1.5px solid var(--color-gold);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 512px;
  transition: box-shadow 0.12s, border 0.17s;
}
.testimonial-card span {
  font-family: var(--font-display);
  color: var(--color-gold-alt);
  font-weight: 600;
  font-size: 1.01rem;
}
.testimonial-card p {
  color: var(--color-text);
  font-size: 1.11rem;
  font-style: italic;
}
.testimonial-card img {
  width: 28px; height: 28px;
  margin-bottom: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 38px var(--color-shadow);
  border: 1.7px solid var(--color-gold-alt);
  z-index: 2;
}

/* ================================
          TABLES
   ================================ */
table {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 24px;
  background: var(--color-content-bg);
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
  overflow: hidden;
}
table caption {
  padding: 12px;
  font-weight: 600;
  font-family: var(--font-display);
}
table th, table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-accent);
}
table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td {
  background: var(--color-accent);
  transition: background 0.13s;
}

/* ================================
             LISTS
   ================================ */
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
  margin-top: 7px;
  color: var(--color-text-light);
}
ul li::marker, ol li::marker {
  color: var(--color-gold-alt);
}

/* ================================
           SPACING PATTERNS
   ================================ */
.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; }

/* ================================
         INTERACTIVE STATES
   ================================ */
a, button, .cta-primary {
  transition: color 0.17s, background 0.17s, box-shadow 0.16s, border 0.14s, opacity 0.20s, transform 0.15s;
}
a:active, button:active, .cta-primary:active {
  opacity: 0.89;
  transform: scale(0.96);
}

input, select, textarea {
  border-radius: 8px;
  border: 1.2px solid var(--color-accent);
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-content-bg);
  margin-bottom: 12px;
  transition: border 0.14s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--color-gold);
  outline: none;
}

/* ================================
         COOKIE CONSENT BANNER
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: var(--color-content-bg);
  border-top: 2.5px solid var(--color-gold);
  box-shadow: 0 -2px 20px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  justify-content: center;
  z-index: 9999;
  padding: 30px 18px 26px 18px;
  opacity: 1;
  transition: opacity 0.33s, bottom 0.33s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 2 1 340px;
  font-size: 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  flex: none;
}
.cookie-btn {
  padding: 9px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.18s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-gold-alt);
  color: var(--color-text-light);
}
.cookie-btn.reject {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.2px solid var(--color-gold);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-gold);
  color: var(--color-text);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-gold-alt);
  border: 1.2px solid var(--color-gold);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-gold-alt);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(41,99,110,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-content-bg);
  border-radius: 22px;
  box-shadow: 0 10px 32px var(--color-shadow);
  border: 2.2px solid var(--color-gold);
  padding: 42px 34px 32px 34px;
  min-width: 315px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 100001;
  animation: cookie-modal-show 0.42s cubic-bezier(.22,1.3,.5,.96);
}
@keyframes cookie-modal-show {
  from { opacity: 0; transform: scale(0.86) translateY(38px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--color-gold-alt);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-gold);
}
.cookie-category.essential label {
  font-weight: 700;
  color: var(--color-gold-alt);
  opacity: 0.90;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}


/* ================================
         MEDIA & RESPONSIVENESS
   ================================ */
@media (max-width: 1120px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 980px) {
  .features-grid, .content-grid {
    gap: 18px;
  }
  .footer-top {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  section, .section {
    padding: 30px 6vw;
  }
  .features-grid {
    gap: 14px;
  }
  .feature {
    min-width: 160px;
    padding: 26px 12px 22px 12px;
  }
}
@media (max-width:650px) {
  .features-grid, .content-grid, .footer-top {
    flex-direction: column;
    gap: 12px;
  }
  .feature, .testimonial-card {
    min-width: 100px;
    width: 100%;
  }
  .footer-top {
    flex-direction: column;
    gap: 14px;
  }
  section, .section {
    padding: 20px 6vw;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  .footer-top img { height: 42px; }
  .testimonial-card { padding: 14px; }
  table th, table td { padding: 9px 8px; font-size: 0.95rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding:16px 8px; }
}
/* Hamburger menu breakpoint for touch */
@media (max-width: 980px) {
  .hero .container, .hero .content-wrapper {
    padding: 5vw 1vw;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
  .container {
    max-width: 100vw;
    padding: 0 5vw;
  }
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.11rem; }
}

/* ================================
      LUXURY DETAILS & MICRO-INTERACTIONS
   ================================ */
.feature:before, .card:before {
  content: '';
  display: block;
  position: absolute;
  top: -3px; left: -3px;
  width: 35px; height: 4px;
  border-radius: 2px 12px 12px 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  opacity: 0.7;
  z-index: 1;
}
.feature:after, .card:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px; right: -3px;
  width: 28px; height: 4px;
  border-radius: 12px 2px 2px 12px;
  background: var(--color-gold);
  opacity: 0.44;
  z-index: 1;
}

@media (max-width:785px) {
  .feature:before, .feature:after, .card:before, .card:after { display: none !important; }
}

/* ================================
       Misc & Utility Classes
   ================================ */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--color-gold-alt) !important; }
.bg-gold { background: var(--color-gold) !important; color: var(--color-primary) !important; }

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 6px;
}

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