/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FAFAFA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #22304B;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2BA7A7;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover { color: #F6B91E; }

/* FLEXBOX UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(34,48,75, 0.07), 0 2px 8px rgba(246,185,30,0.06);
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #22304B;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #22304B;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2BA7A7;
  margin-bottom: 10px;
}
p, ul, li {
  font-size: 1rem;
  color: #354057;
  margin-bottom: 12px;
}
strong {
  color: #22304B;
  font-weight: 700;
}

@media (max-width: 768px) {
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
}

/* MAIN NAVIGATION */
header {
  position: relative;
  z-index: 100;
  background: #fff;
  box-shadow: 0 4px 18px rgba(34,48,75,0.07);
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 32px;
  position: relative;
}
.main-navigation > a img { height: 38px; }
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-navigation li {
  display: flex;
  align-items: center;
}
.main-navigation li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #22304B;
  padding: 7px 14px;
  border-radius: 18px;
  transition: background 0.22s, color 0.22s;
}
.main-navigation li a:hover, .main-navigation li a:focus {
  color: #F6B91E;
  background: rgba(43,167,167,0.1);
}

/* CTA BUTTON */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F6B91E;
  color: #22304B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 30px;
  box-shadow: 0 2px 10px rgba(34,48,75,0.06);
  margin-left: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.07);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD354;
  color: #22304B;
  box-shadow: 0 4px 16px rgba(246,185,30,0.15);
  text-decoration: none;
}

/* MOBILE NAVIGATION BURGER */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #22304B;
  padding: 6px 14px;
  display: none;
  cursor: pointer;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 120;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { color: #F6B91E; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,48,75, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6B91E;
  font-size: 2.5rem;
  margin: 26px 24px 18px 0;
  cursor: pointer;
  z-index: 2025;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  padding-left: 36px;
  padding-right: 24px;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0 10px 0;
  letter-spacing: 0.01em;
  border-radius: 14px;
  width: 100%;
  transition: color 0.2s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6B91E;
  color: #22304B;
}

@media (max-width: 1000px) {
  .main-navigation ul {
    display: none;
  }
  .main-navigation .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1000px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #fff 62%, #F7F6F2 100%);
  padding: 65px 0 42px 0;
  min-height: 280px;
  border-bottom: 2px solid #F6B91E;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  padding: 0;
  gap: 16px;
}
.hero h1 {
  color: #22304B;
  font-size: 2.3rem;
  margin-bottom: 10px;
  margin-top: 0;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 18px;
}

@media (max-width: 800px) {
  .hero {
    padding: 42px 0 28px 0;
    min-height: 0;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
}

/* FEATURES FLEX GRID & CARDS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(34,48,75,0.08);
  border: 1.5px solid #EEF1F6;
  padding: 30px 22px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, border 0.17s;
}
.feature-item img {
  width: 36px; height: 36px;
  filter: drop-shadow(0 1px 2px #F6B91E99);
}
.feature-item h3 {
  color: #22304B;
  font-size: 1.13rem;
  margin-bottom: 3px;
}
.feature-item p {
  font-size: 1.01rem;
  color: #556083;
}
.feature-item:hover, .feature-item:focus {
  border: 1.5px solid #F6B91E;
  box-shadow: 0 8px 18px rgba(246,185,30,0.11), 0 2px 8px rgba(34,48,75,0.07);
  z-index: 4;
}

@media (max-width: 850px) {
  .features-grid { gap: 16px; }
  .feature-item {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
  }
  .feature-item {
    width: 100%;
    padding: 16px 10px;
  }
}

/* TEXT-IMAGE-SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #fffdf7;
  border-top: 1.5px solid #f6b91e22;
  border-bottom: 1.5px solid #f6b91e22;
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials-list, .testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px 20px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,48,75, .09);
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 1px solid #ecd99d;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(246,185,30,0.13), 0 2px 12px rgba(34,48,75, 0.09);
  border: 1px solid #F6B91E;
}
.testimonial-stars {
  color: #F6B91E;
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #887900;
  opacity: 0.74;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.testimonial-card p {
  color: #22304B;
  font-size: 1.07rem;
  margin: 0;
  font-style: italic;
}
@media (max-width: 900px) {
  .testimonials-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 10px 13px 12px;
    gap: 10px;
  }
}

/* CARD LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,48,75,0.08);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #ececec;
  padding: 20px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px rgba(246,185,30,0.09), 0 2px 10px rgba(34,48,75,0.08);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* TEXT SECTION & GENERAL LIST STYLES */
.text-section {
  padding: 0!important;
  background: none;
  box-shadow: none;
}
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc inside;
}
.text-section h3 {
  margin-top: 22px;
}

/* FOOTER */
footer {
  background: #22304B;
  color: #fff;
  padding: 44px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 1rem;
}
.footer-nav a {
  color: #F6B91E;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fff; }
.footer-meta {
  font-size: 0.99rem;
  color: #dde7fa;
  opacity: 0.82;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: rgba(255,255,255,0.99);
  border-top: 1.5px solid #F6B91E;
  box-shadow: 0 -2px 24px rgba(34,48,75,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 22px 28px 22px 16px;
  z-index: 3000;
  transition: transform 0.33s cubic-bezier(.63,.2,.44,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #22304B;
  font-size: 1.04rem;
  margin-right: 12px;
  flex: 1 1 270px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(34,48,75,0.04);
  transition: background 0.16s, color 0.12s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: #F6B91E;
  color: #22304B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD354;
}
.cookie-btn.reject {
  background: #22304B;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2BA7A7;
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: #2BA7A7;
  border: 1px solid #2BA7A7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F7F6F2;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 8px 18px 14px;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 7px;
    max-width: 98vw;
  }
}

/* COOKIE CONSENT MODAL (POPUP) */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,48,75,0.75);
  z-index: 3300;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(34,48,75, 0.17);
  padding: 34px 36px 30px 36px;
  max-width: 365px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.27rem;
  color: #22304B;
  margin-bottom: 6px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22304B;
  font-weight: 500;
  flex: 1 0 auto;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ececec;
  border-radius: 14px;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #F6B91E;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(34,48,75,0.10);
  transition: transform 0.18s cubic-bezier(.55,.17,.38,1.18);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #F6B91E;
  cursor: pointer;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 88px;
}
@media (max-width: 640px) {
  .cookie-modal-content {
    max-width: 98vw;
    padding: 18px 7vw 18px 7vw;
  }
}

/* ANIMATION UTILITIES */
.fade-in {
  animation: fadeInModal 0.35s cubic-bezier(0.59,0.01,0.36,1.01) 1;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.97) translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.slide-in-right {
  animation: slideInRight 0.36s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* VISUAL DETAILS & UTILITY CLASSES */
hr {
  border: none;
  border-top: 1px solid #f6b91e33;
  margin: 32px 0 18px 0;
}
::-webkit-scrollbar {
  width: 11px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #F6B91E;
  border-radius: 6px;
}

/* FORM ELEMENTS (for contact pages) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #22304B;
  border: 1.2px solid #eef2f3;
  border-radius: 11px;
  padding: 10px 14px;
  font-size: 1rem;
  transition: border 0.15s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.2px solid #F6B91E;
}

/* Responsive content wrappers */
@media (max-width: 600px) {
  .content-wrapper {
    padding: 0 2px;
    gap: 14px;
  }
}

/* Additional spacing for clear separation */
main section {
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  main section {
    margin-bottom: 32px;
  }
}

/* Accessibility & focus styling */
a, button, .cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  outline: none;
  box-shadow: none;
}
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #F6B91E88;
  outline: none;
}

/* Gold accent lines and details */
.section h2::after, .text-section h1::after, .text-section h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  background: #F6B91E;
  border-radius: 2px;
  margin: 13px 0 0 2px;
}

/* Remove accent for smaller screens */
@media (max-width: 700px) {
  .section h2::after, .text-section h1::after, .text-section h2::after {
    display: none;
  }
}

/* SHADOW AND BORDER ENHANCEMENT for luxury look */
.section, .feature-item, .testimonial-card, .card {
  border: 1.5px solid #ecd99d22;
}

/* Prevent absolute/overlap: always space cards, features etc. */
.section > *, .content-wrapper > *, .card-container > *, .features-grid > *, .testimonials-list > *, .content-grid > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child, .card-container > *:last-child, .features-grid > *:last-child, .testimonials-list > *:last-child, .content-grid > *:last-child {
  margin-bottom: 0!important;
}

/* HEIGHT FIXES FOR BUTTON ROWS (cookie, cards, cta) */
@media (max-width: 440px) {
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* Hide scroll in modal open */
body.cookie-modal-open {
  overflow: hidden;
}

/* -------- END OF CSS -------- */