/* 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,
main, 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  box-shadow: none;
}
:focus {
  outline: 2px solid #FFB729;
  outline-offset: 2px;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #215262;
  background: #FFFFFF;
  line-height: 1.6;
  min-height: 100vh;
}

/* TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #215262;
  margin-bottom: 16px;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #215262;
}
strong {
  font-weight: 700;
}
.text-section p {
  font-size: 1.13rem;
  margin-bottom: 18px;
  color: #244851;
}
/* GOLD ACCENT and PREMIUM EFFECTS */
.gold {
  color: #FFB729;
}

/* LUXURY DETAILS (Borders, Accents) */
hr {
  border: 0;
  border-top: 1px solid #E6BF77;
  margin: 32px 0;
}

/* LAYOUT & CONTAINERS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F6F6;
  border-radius: 24px;
  box-shadow: 0 2px 32px rgba(37, 98, 115, 0.06), 0 1px 6px rgba(255,183,41,0.04);
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(37, 98, 115, 0.11), 0 1.5px 12px rgba(255,183,41,0.09);
  padding: 28px 24px;
  transition: box-shadow .25s, transform .22s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(255, 183, 41, 0.13), 0 2.5px 15px rgba(33, 82, 98, 0.13);
  transform: translateY(-4px) scale(1.025);
}
.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;
}

/* TESTIMONIALS --------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(37, 98, 115, 0.06), 0 0.5px 5px rgba(255,183,41,0.04);
  border-left: 4px solid #FFB729;
  color: #215262;
}
.testimonial-card p {
  font-size: 1.09rem;
  margin-bottom: 0;
  font-style: italic;
  color: #19424d;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #7E6895;
}

/* BUTTONS -------------------------------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.19s, transform 0.23s;
  text-align: center;
  margin-top: 14px;
  box-shadow: 0 1px 4px rgba(255,183,41,0.07);
  min-width: 180px;
}
.btn-primary {
  background: #215262;
  color: #fff;
  border: 2px solid #FFB729;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #256273;
  color: #FFB729;
  box-shadow: 0 4px 18px rgba(255,183,41,0.17), 0 2px 18px rgba(37, 98, 115, 0.15);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #FFB729;
  color: #215262;
  border: 2px solid #256273;
  letter-spacing: 0.04em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fff9ed;
  color: #215262;
  border-color: #FFB729;
  box-shadow: 0 4px 18px rgba(33,82,98,0.07), 0 2px 20px rgba(255,183,41,0.14);
}

/* HEADER/NAVIGATION ---------------------------------------------------- */
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 1px 16px rgba(255, 183, 41, 0.075);
  border-bottom: 1.5px solid #F6F6F6;
  z-index: 1002;
  position: relative;
  min-height: 74px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
  margin-right: 32px;
}
.logo img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
header nav a {
  color: #215262;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.19s;
}
header nav a:hover, header nav a:focus {
  color: #FFB729;
  border-bottom: 2px solid #FFB729;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #215262;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
  border: 2px solid #FFB729;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
  height: 44px;
  align-items: center;
  margin-left: 10px;
  position: relative;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFB729;
  color: #215262;
}

/* MOBILE MENU --------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,20,28,0.94);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.5,.06,.07,1.01), opacity 0.27s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  margin: 24px 24px 0 8px;
  align-self: flex-end;
  font-size: 2.4rem;
  color: #FFB729;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2010;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-left: 4px solid transparent;
  transition: color 0.19s, border-color 0.16s, background 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB729;
  border-left: 4px solid #FFB729;
  background: rgba(33,82,98,0.06);
}

/* FOOTER -------------------------------------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2px 20px rgba(33,82,98,0.05);
  border-top: 2px solid #f6f6f6;
  padding: 40px 0 32px 0;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.logo-footer {
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.logo-footer img {
  height: 48px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #215262;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.16s, border-color 0.14s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #FFB729;
  border-bottom: 2px solid #FFB729;
}
.footer-contact address {
  font-size: 0.98rem;
  color: #215262;
  font-style: normal;
  margin-bottom: 0;
  line-height: 1.55;
}
.footer-contact a {
  color: #256273;
  text-decoration: underline dotted;
  transition: color 0.18s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #FFB729;
}


/* CONTACT INFO ----------------------------------------------------- */
.contact-info {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 7px rgba(33,82,98,0.06);
  padding: 16px 20px;
  margin-top: 14px;
  margin-bottom: 22px;
  color: #215262;
  font-size: 1.01rem;
}

/* FORMS --------------------------------------------------------------- */
input, textarea, select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #E3E1DA;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  background: #fff;
  color: #215262;
  box-shadow: 0 1.5px 5px rgba(255,183,41,0.02);
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFB729;
  background: #fffef7;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #215262;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* COOKIES BANNER ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3001;
  background: #fff;
  color: #215262;
  box-shadow: 0 -3px 24px rgba(33,82,98,0.11);
  border-top: 2px solid #FFB729;
  padding: 18px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
  transition: opacity 0.22s, transform 0.31s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: 2px solid #FFB729;
  background: #FFB729;
  color: #215262;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, border-color 0.13s;
}
.cookie-btn.settings {
  background: #fff;
  color: #215262;
  border-color: #215262;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #215262;
  color: #FFB729;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFB729;
  color: #215262;
}

/* COOKIE PREFERENCES MODAL ---------------------------------------------- */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33,82,98,0.55);
  z-index: 4001;
}
.cookie-modal-backdrop.visible {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeinModal 0.28s ease;
}
@keyframes fadeinModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 26px 30px;
  max-width: 440px;
  width: 90%;
  color: #215262;
  box-shadow: 0 8px 44px rgba(37, 98, 115, 0.18), 0 2px 18px rgba(255,183,41,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #215262;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #FFB729;
  margin: 0;
}
.cookie-category .description {
  font-size: 0.98rem;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFB729;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #215262;
}

/* MISCELLANEOUS/LUXURY REFINEMENT -------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #eeefe9;
}
::-webkit-scrollbar-thumb {
  background: #FFB729;
  border-radius: 6px;
}
hr {
  border: 0;
  border-top: 2px solid #F6F6F6;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 980px;
    padding: 0 20px;
  }
}
@media (max-width: 960px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    max-width: 100%;
    padding: 0;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .logo {
    margin-right: 12px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
  }
  .feature-item {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .logo-footer {
    margin-right: 0;
    margin-bottom: 14px;
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  .btn-primary, .btn-secondary {
    padding: 10px 12px;
    font-size: 1rem;
    min-width: 120px;
  }
  .card {
    padding: 16px 8px;
  }
  .cookie-modal {
    padding: 22px 6px 18px;
  }
}

/* Z-INDEX LAYERS ------------------------------------------------------ */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal {
  z-index: 400;
}

/* VISUAL HIERARCHY, WHITE SPACE, AND LUXURY DETAILS -------------------- */
.section {
  border-left: 5px solid #FFB729;
  border-right: 5px solid #F6F6F6;
}
.card, .testimonial-card {
  border-top: 3px solid #FFB729;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(37, 98, 115, 0.16), 0 2.5px 12px rgba(255,183,41,0.14);
}

/* FOCUS AND HOVER INTERACTION ------------------------------------------ */
.btn-primary:focus, .btn-secondary:focus,
.btn-primary:hover, .btn-secondary:hover {
  outline: none;
  filter: brightness(1.05);
}
.testimonial-card:focus-within, .testimonial-card:hover {
  border-left: 6px solid #215262;
  box-shadow: 0 4px 24px rgba(255,183,41,0.13) !important;
}


/* MANDATORY FLEXBOX PATTERNS (no grid, only flex) ---------------------- */
/* Already reflected above in .container, .content-wrapper, .card-container, etc. */

/* PRINT --------------------------------------------------------------- */
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .card, .testimonial-card { box-shadow: none !important; }
}
