/* =============================================================
   RESET & NORMALIZE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #23283B;
  color: #CBDDE6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #EEE18D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFBE4;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  border: none;
  outline: none;
  background: #181a28;
  color: #CBDDE6;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
  margin-bottom: 16px;
  transition: background 0.2s, color 0.2s;
}
input:focus, textarea:focus, select:focus {
  background: #222537;
  color: #EEE18D;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #FFFBE4;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, .text-section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #CBDDE6;
}
strong {
  color: #EEE18D;
  font-weight: 700;
}

.text-section h2, .text-section h3 {
  color: #EEE18D;
  margin-top: 32px;
}
.text-section ul, .text-section ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: #CBDDE6;
}
.text-section ul li {
  position: relative;
  margin-bottom: 12px;
}

/* ===========================
   LAYOUT CONTAINERS
   =========================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23283B;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(0,10,40,0.13), 0 1.5px 7px 0 rgba(0,0,0,0.09);
  position: relative;
  transition: box-shadow 0.25s;
}
.section:not(:first-child) {
  margin-top: 20px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: linear-gradient(90deg, #222537 70%, #2C365D 100%);
  box-shadow: 0 2px 18px 0 rgba(20,22,51,0.18);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 22;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #EEE18D;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(238,225,141,0.10);
  color: #FFFBE4;
}

.cta-primary {
  background: #EEE18D;
  color: #23283B;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-left: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px #181a2835;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFFBE4;
  color: #23283B;
  box-shadow: 0 4px 16px #EEE18D44;
}

.cta-secondary {
  background: none;
  border: 2px solid #EEE18D;
  color: #EEE18D;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 12px;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #EEE18D;
  color: #23283B;
  border-color: #FFFBE4;
}

/* ===================
   MOBILE NAVIGATION
   =================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #EEE18D;
  background: transparent;
  border: none;
  margin-left: 12px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(238,225,141,0.12);
  color: #FFFBE4;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #222537;
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.53,.1,.42,1.2), opacity 0.27s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 2.3rem;
  color: #EEE18D;
  background: none;
  border: none;
  z-index: 10001;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.22s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EEE18D20;
  color: #FFFBE4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: center;
  margin-top: 90px;
}
.mobile-nav a {
  color: #EEE18D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  padding: 14px 8px;
  min-width: 200px;
  text-align: center;
  letter-spacing: 0.02em;
  border-radius: 6px;
  background: none;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EEE18D10;
  color: #FFFBE4;
}
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------
   COMMON FLEX MODULES
   ------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #262d44;
  box-shadow: 0 2px 12px 0 rgba(10, 20, 40, .12);
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(238,225,141,0.13), 0 1.5px 7px 0 rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================
   FEATURE & TESTIMONIAL CARDS
   ===================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #FFFBE4;
  color: #23283B;
  border-radius: 16px;
  box-shadow: 0 2px 22px 0 rgba(238,225,141,0.16);
  border-left: 6px solid #EEE18D;
  transition: box-shadow 0.17s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: #23283B;
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #262d44;
  font-size: 0.98em;
  font-weight: 700;
}
/* Feature Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ====================
   SERVICE LISTS & TABLES
   ==================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list li {
  flex: 1 1 260px;
  background: #262d44;
  color: #CBDDE6;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(44,54,93,0.07);
  margin-bottom: 20px;
  padding: 18px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.20s, transform 0.13s;
}
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 3px 18px 0 #EEE18D22, 0 2px 11px #23283B18;
  transform: translateY(-2px) scale(1.01);
}
.service-list li .price {
  color: #EEE18D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  margin-top: 5px;
}

/* TABLE */
table {
  border-collapse: collapse;
  width: 100%;
  background: #262d44;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 #2C365D22;
  margin: 24px 0;
  overflow: hidden;
}
thead {
  background: #222537;
}
th, td {
  text-align: left;
  padding: 13px 16px;
  font-size: 1rem;
  color: #CBDDE6;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #EEE18D;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(even) {
  background: #23283B;
}
tbody tr:nth-child(odd) {
  background: #262d44;
}
td {
  border-bottom: 1px solid #CBDDE644;
}
tbody tr:last-child td {
  border-bottom: none;
}
caption {
  caption-side: top;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #EEE18D;
  margin-bottom: 8px;
}

/* ===========================
   ICON + TEXT BENEFITS
   =========================== */
ul > li > img {
  width: 42px;
  height: 42px;
  margin-right: 16px;
  display: inline-block;
  vertical-align: middle;
}
ul > li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  line-height: 1.55;
}
ul > li .text-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 767px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-list li {
    min-width: 0;
    width: 100%;
  }
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #222537;
  color: #CBDDE6;
  padding: 30px 0 10px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #EEE18D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EEE18D22;
  color: #FFFBE4;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.96em;
  margin-bottom: 6px;
}
.footer-contact a {
  color: #EEE18D;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #FFFBE4;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  display: flex;
  padding: 7px;
  border-radius: 7px;
  background: #23283B;
  transition: background 0.13s;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover, .footer-social a:focus {
  background: #EEE18D;
}
.footer-social img {
  height: 26px;
  width: 26px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-contact, .footer-nav, .footer-social {
    margin-bottom: 8px;
  }
  .footer-social {
    justify-content: flex-start;
  }
}

/* =======================
   RESPONSIVE LAYOUTS
   ======================= */
@media (max-width: 720px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 1.49rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .cta-primary, .cta-secondary {
    font-size: 1rem;
    padding: 11px 14px;
  }
}

/* =========================
   FORMS & INTERACTIVES
   ========================= */
input[type="search"] {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  background: #23283B;
  color: #EEE18D;
  border: 2px solid #EEE18D45;
  padding: 12px 20px;
  margin: 8px 0 4px 0;
  font-size: 1.06rem;
  transition: border 0.2s;
}
input[type="search"]:focus {
  border: 2.5px solid #EEE18D;
}

/* =========================
   NEON ACCENTS & FUTURISTIC DETAILS
   ========================= */
.cta-primary, .cta-secondary, .mobile-menu-close, .mobile-menu-toggle {
  box-shadow: 0 0 0px 0px transparent, 0 0 12px 0 #EEE18D33;
}
.cta-primary:active, .cta-secondary:active, .mobile-menu-toggle:active {
  box-shadow: 0 0 16px 6px #fffa9869;
  background: #EEE18D;
}
.card, .service-list li, .testimonial-card {
  border: 1.5px solid #EEE18D22;
}
.card:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg,#EEE18D 0%, #EEB18Dcc 100%);
  border-radius: 2px;
  opacity: 0.14;
  pointer-events: none;
}

/* Subtle neon glow on hover for cards */
.card:hover, .service-list li:hover {
  box-shadow: 0 0 18px 1.5px #EEE18D2A, 0 2px 18px #22253744;
  border-color: #EEE18D99;
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #23283B;
  color: #EEE18D;
  z-index: 9000;
  padding: 26px 20px 26px 24px;
  box-shadow: 0 -4px 40px 0 #23283B77;
  animation: slideUpCookie 0.7s cubic-bezier(.52,.09,.45,1.13);
  gap: 26px;
}
@keyframes slideUpCookie {
  from { transform: translateY(124px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #EEE18D;
  font-size: 1em;
  margin-right: 18px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 1rem;
  border: 2px solid #EEE18D55;
  background: none;
  color: #EEE18D;
  font-weight: 600;
  margin-right: 0;
  margin-left: 0;
  transition: background 0.2s, color 0.16s, border-color 0.2s;
}
.cookie-banner button.accept {
  background: #EEE18D;
  color: #23283B;
  border-color: #EEE18D;
}
.cookie-banner button.accept:hover { background: #FFFBE4; }
.cookie-banner button.reject:hover, .cookie-banner button.settings:hover {
  background: #EEE18D18;
  color: #FFFBE4;
}

@media (max-width: 580px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 4px 18px 6px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #181a28c9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #23283B;
  border-radius: 18px;
  padding: 34px 22px 30px 22px;
  max-width: 95vw;
  width: 420px;
  box-shadow: 0 2px 40px #EEE18D2A;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  animation: modalCookieZoom 0.4s cubic-bezier(.29,.74,.56,1.31);
}
@keyframes modalCookieZoom {
  from { opacity: 0; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h2 {
  color: #EEE18D;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 14px;
  background: #23283B;
  border: 1.5px solid #EEE18D;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #EEE18D;
}
.cookie-toggle:before {
  content: '';
  width: 15px;
  height: 15px;
  background: #FFFBE4;
  border-radius: 50%;
  position: absolute;
  left: 2.5px;
  top: 2px;
  transition: left 0.18s, background 0.17s;
}
.cookie-toggle:checked:before {
  left: 16px;
  background: #23283B;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-actions button {
  background: #EEE18D;
  color: #23283B;
  padding: 10px 22px;
  border-radius: 7px;
  font-weight: 600;
  border: none;
  font-size: 1em;
  transition: background 0.2s, color 0.15s;
}
.cookie-modal-actions button.cancel {
  background: none;
  color: #EEE18D;
  border: 2px solid #EEE18D88;
  margin-right: 0;
}
.cookie-modal-actions button.cancel:hover {
  background: #EEE18D22;
}
.cookie-modal-actions button.save:hover {
  background: #FFFBE4;
  color: #23283B;
}

.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #EEE18D;
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 10px;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EEE18D28;
  color: #FFFBE4;
}

/* =======================
   MISCELLANEOUS
   ======================= */
::-webkit-scrollbar {
  width: 12px;
  background: #23283B;
}
::-webkit-scrollbar-thumb {
  background: #CBDDE6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EEE18D;
}

hr {
  border: 0;
  border-top: 1.5px solid #EEE18D44;
  margin: 34px 0;
}

/* =======================
   ANIMATIONS & TRANSITIONS
   ======================= */
.card, .cta-primary, .cta-secondary, .main-nav a, .footer-nav a, .mobile-nav a, .service-list li,
input, input[type="search"], input:focus, textarea, .cookie-banner button, .cookie-modal-content, .mobile-menu, .mobile-menu-close {
  transition: all 0.2s cubic-bezier(.53,.1,.42,1.15);
}

/* =======================
   Z-INDEX LAYERS
   ======================= */
header { z-index: 22; }
.mobile-menu {z-index: 9999;}
.cookie-banner {z-index: 9000;}
.cookie-modal {z-index: 20000;}

/* =============================
   OVERRIDES FOR PRINT/ACCESSIBILITY
   ============================= */
@media print {
  header, .main-nav, .mobile-menu, .footer-social, .cookie-banner, .cookie-modal { display:none !important; }
}
