/* ==========================================================
   CSS RESET & BASELINE NORMALIZE (for consistency)
============================================================= */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f7f7f7;
  color: #1a2733;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #C6AC63; /* Brand gold accent on hover */
  outline: none;
}
ul {
  list-style: none;
}
hr {
  border: 0;
  height: 1px;
  background: #e7e1d5;
  margin: 24px 0;
}

/* ----------------------------------------------------------
   BRAND VARIABLES (with fallback)
----------------------------------------------------------- */
:root {
  --color-primary: #205072;
  --color-secondary: #329D9C;
  --color-accent: #F4E9CD;
  --color-premium-gold: #C6AC63;
  --color-premium-platinum: #E7E1D5;
  --color-bg-dark: #181C22;
  --color-bg-light: #fff;
  --color-text: #1a2733;
  --color-text-light: #fff;
  --color-text-muted: #545A63;
  --shadow-card: 0 6px 24px rgba(32,40,54,0.07);
  --shadow-elevated: 0 8px 32px 0 rgba(32,40,54,0.13);
  --radius-base: 16px;
  --radius-lg: 24px;
  --transition: 0.22s cubic-bezier(.53,.27,.61,1.1);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ----------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}
p, li, ul {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
em {
  font-style: italic;
  color: var(--color-secondary);
}

/* ----------------------------------------------------------
   LAYOUT CONTAINERS & SECTIONS
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-light);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px) scale(1.02);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-premium-platinum);
  border-left: 4px solid var(--color-premium-gold);
  box-shadow: 0 3px 12px rgba(32,40,54,0.07);
  border-radius: var(--radius-base);
  max-width: 550px;
  color: var(--color-text);
}
.testimonial-card p {
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-nav,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  flex: 2 1 270px;
  gap: 12px;
}
.footer-contact {
  flex: 1 1 180px;
}
.footer-social {
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 20px 24px 20px;
  background: var(--color-primary);
  color: var(--color-text-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 60px;
}
footer a {
  color: #F4E9CD;
  font-size: 16px;
  transition: color 0.24s;
  text-decoration: none;
}
footer a:hover {
  color: var(--color-premium-gold);
}
footer strong {
  color: var(--color-premium-gold);
}

/* ----------------------------------------------------------
   BUTTONS & CALL TO ACTION
----------------------------------------------------------- */
.cta,.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.08rem;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius-base);
  cursor: pointer;
  background: linear-gradient(90deg, var(--color-premium-gold) 60%, #EED7A1 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(198,172,99,0.13);
  outline: none;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(241,232,205,0.05);
}
.cta.primary {
  background: linear-gradient(98deg, var(--color-premium-gold), #EED7A1 100%);
  color: var(--color-primary);
}
.cta.primary:hover,
.btn:hover,
.cta:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: var(--shadow-elevated);
}

/* Secondary/outline button */
.btn.secondary {
  background: transparent;
  border: 2px solid var(--color-premium-gold);
  color: var(--color-primary);
}
.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--color-premium-gold);
  color: var(--color-primary);
}

/* Links in nav */
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-left: 18px;
  padding: 6px 0;
  position: relative;
  transition: color 0.22s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-premium-gold);
  transition: width 0.24s;
  border-radius: 2px;
  margin: 0 auto;
}
.main-nav a:hover::after {
  width: 100%;
}
.main-nav a:hover {
  color: var(--color-premium-gold);
}

/* ----------------------------------------------------------
   HEADER, NAVIGATION, MOBILE MENU
----------------------------------------------------------- */
header {
  background: var(--color-bg-light);
  box-shadow: 0 4px 28px -12px rgba(32,80,114,0.10);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 82px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
header .cta.primary {
  margin-left: 28px;
  margin-top: 0;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: var(--radius-base);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  transition: color 0.2s, background 0.18s;
  z-index: 1111;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-premium-gold);
  background: #edeadf;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  z-index: 2000;
  background: rgba(32, 80, 114, 0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.85,0,.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-premium-gold);
  margin: 24px 36px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  outline: 2px solid var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  margin-top: 40px;
  margin-right: 44px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-premium-gold);
  background: #20507225;
}

@media (max-width: 1100px) {
  .container { max-width: 1024px; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .main-nav a { font-size: 0.97rem; margin-left: 11px; }
}

@media (max-width: 768px) {
  /* Navbar responsive toggling */
  .main-nav,
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 8px;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .footer-nav,
  .footer-contact,
  .footer-social {
    flex-direction: column;
    gap: 16px;
  }
  .footer-social { flex-direction: row; }
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding: 28px 10px 16px 10px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 530px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .section {
    padding: 18px 2px;
    border-radius: 10px;
  }
  footer .container {
    border-radius: 10px 10px 0 0;
  }
}

/* ----------------------------------------------------------
   UL/LI LISTS
----------------------------------------------------------- */
.section ul {
  padding-left: 10px;
  margin-left: 10px;
  list-style-type: disc;
  color: var(--color-text);
}
.section ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}
.section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-premium-gold);
  border-radius: 50%;
}

/* ----------------------------------------------------------
   FORM ELEMENTS (future extensibility)
----------------------------------------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #e0dccf;
  padding: 12px 14px;
  border-radius: 8px;
  outline: none;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 15px;
  box-sizing: border-box;
  background: #fff;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-premium-gold);
}
label {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* ----------------------------------------------------------
   IMAGES (Decorative only, as per structure)
----------------------------------------------------------- */
.content-wrapper img {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(32,40,54,0.07);
  margin-bottom: 14px;
}

/* ----------------------------------------------------------
   LUXURY PREMIUM ACCENTS & DETAILS
----------------------------------------------------------- */
.section {
  border: 1.5px solid var(--color-premium-platinum);
  box-shadow: 0 4px 40px 0 rgba(32,80,114,0.08), var(--shadow-card);
}
.card {
  border: 1.5px solid var(--color-premium-platinum);
}
.testimonial-card {
  border-left: 4px solid var(--color-premium-gold);
  background: var(--color-premium-platinum);
}
.cta, .btn {
  box-shadow: 0 4px 20px 0 rgba(198,172,99,0.11);
  border: 1px solid var(--color-premium-gold);
}
.cta.primary {
  background: linear-gradient(90deg,var(--color-premium-gold),#eed7a1 100%);
}

/* Micro-interaction highlights */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-premium-gold);
  margin-top: 12px;
}

@media (max-width: 530px) {
  h1::after, h2::after {
    width: 24px;
  }
}

/* ----------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-bg-light);
  border-top: 2.5px solid var(--color-premium-gold);
  box-shadow: 0 -2px 16px rgba(32,80,114,0.05);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 20px 16px;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(.81,0,.17,1), opacity 0.12s linear;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-base);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-right: 0px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(198,172,99,0.08);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept-all {
  background: var(--color-premium-gold);
  color: var(--color-primary);
  border: 1.5px solid var(--color-premium-gold);
}
.cookie-btn.accept-all:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject-all {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-premium-gold);
}
.cookie-btn.reject-all:hover {
  background: #edeadf;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-premium-gold);
}
.cookie-btn.settings:hover {
  background: #e7e1d5;
  color: var(--color-primary);
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 80, 114, .78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, visibility 0s linear 0.22s;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 415px;
  width: 95vw;
  padding: 32px 30px 27px 30px;
  box-shadow: 0 10px 60px rgba(32,80,114,0.15),0 1.5px 18px rgba(198,172,99,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--color-text);
  position: relative;
  animation: cookie-modal-fade-in 0.4s cubic-bezier(.81,0,.3,.91);
}
@keyframes cookie-modal-fade-in {
  from { opacity:0; transform: translateY(32px) scale(.95);}
  to { opacity:1; transform: none;}
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-premium-gold);
  font-size: 1.6rem;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-secondary);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0 8px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-premium-gold);
  width: 20px;
  height: 20px;
  margin-top: 1.5px;
}
.cookie-category.essential label {
  color: var(--color-premium-gold);
}
.cookie-category.essential input[type="checkbox"] {
  pointer-events: none;
}
.cookie-category-desc {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.97rem;
  margin-left: 0.5rem;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

/* ----------------------------------------------------------
   UTILITY CLASSES
----------------------------------------------------------- */
.d-none {
  display: none !important;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right!important;
}

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