/* --- CSS RESET & NORMALIZATION --- */
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;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  background: #171e25;
  color: #f4f7fa;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #EDB447;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #fff;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: #EDB447;
  text-shadow: 0 2px 14px rgba(0,0,0,0.36);
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: #fafbfc;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: #EDB447;
}
p, li, span, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #e2e6ea;
}
strong { color: #EDB447; font-weight: 600; }
small {
  font-size: .92rem;
  color: #8C9BA9;
}

/* --- BRAND PRIMARY COLORS --- */
:root {
  --primary: #1C3552;
  --secondary: #EDB447;
  --accent: #F4F7FA;
  --heading: #EDB447;
  --dark-bg: #171e25;
  --dark-shade: #1C2230;
  --metallic: #BCC3CE;
  --urban-gray: #283142;
  --text-light: #F4F7FA;
  --card-bg: #273142;
  --testimonial-bg: #F4F7FA;
  --testimonial-text: #262a30;
}

/* --- CONTAINER ALIGNMENTS & LAYOUTS (Flexbox only) --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* --- HEADER --- */
header {
  background: var(--primary);
  border-bottom: 2px solid var(--metallic);
  box-shadow: 0 2px 16px rgba(20,21,23,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
header img {
  max-height: 45px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
header nav a {
  color: var(--text-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  padding: 4px 12px;
  margin-left: 12px;
  border-radius: 6px;
  transition: background .2s;
  z-index: 400;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--metallic);
  color: var(--primary);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(27, 40, 55, 0.98);
  z-index: 10000;
  flex-direction: column;
  justify-content: start;
  align-items: flex-end;
  padding-top: 0;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(0.77,0,.18,1), opacity .25s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--secondary);
  background: none;
  border: none;
  padding: 16px 18px 12px 10px;
  margin-bottom: 18px;
  margin-top: 10px;
  align-self: flex-end;
  transition: color .2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
  margin-right: 36px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #FAF7F4;
  padding: 12px 6px 12px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-bottom .23s;
  margin-right: 0;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
}

@media (max-width: 1050px) {
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 7px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- SECTION, FLEX PATTERNS, LAYOUTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(11, 20, 36, 0.24), 0 1.5px 7px 0 rgba(80,85,92,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
  padding: 28px 22px 22px 22px;
  gap: 14px;
  transition: box-shadow .2s, transform .19s;
  border: 1.5px solid var(--metallic);
}
.card:hover {
  box-shadow: 0 7px 30px 0 rgba(45,54,64,0.21);
  transform: translateY(-6px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(28,53,82,0.11);
  border-left: 5px solid var(--secondary);
  font-size: 1.08rem;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 34px;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(20,32,44,0.13);
  transition: background .21s, color .17s, box-shadow .18s, transform .17s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(90deg, var(--secondary) 30%, #EAA840 100%);
  color: #1C2230;
  letter-spacing: 0.02em;
  box-shadow: 0 2.5px 13px #1c223018;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 24px #1C223022;
  transform: scale(1.045);
}
.btn-secondary {
  background: var(--primary);
  color: var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #111820;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  padding: 0;
  border-top: 2.5px solid var(--metallic);
  box-shadow: 0 -2px 14px rgba(17,21,27,0.13);
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 36px 0 16px 0;
}
footer nav {
  font-size: 1.02rem;
  color: var(--metallic);
  margin-bottom: 10px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-weight: 500;
  margin: 0 12px;
  letter-spacing: 0.01em;
}
footer nav a:focus,footer nav a:hover {
  color: #fff;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin: 0 0 4px 0;
  justify-content: center;
}
footer ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0;
}
footer ul img {
  width: 22px;
  height: 22px;
  filter: contrast(1.12) brightness(1.2);
}
footer div > a {
  margin: 0 7px;
  display: inline-block;
}
footer div > a img {
  width: 25px;
  height: 25px;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: filter .18s, opacity .21s;
}
footer div > a:hover img {
  filter: none;
  opacity: 1;
}
footer small {
  color: var(--metallic);
  margin-top: 10px;
  display: block;
}


/* --- CONTENT --- */
ul, ol {
  padding-left: 20px;
  margin-bottom: 10px;
}
ul li, ol li {
  color: #e2e6ea;
  margin-bottom: 7px;
  line-height: 1.7;
}
section ul li img {
  margin-right: 6px;
  vertical-align: middle;
  width: 26px;
  height: 26px;
  filter: brightness(1.08) grayscale(0.12);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}

/* --- HERO / CALL TO ACTION SECTION --- */
main > section:first-child {
  background: linear-gradient(rgba(28,53,82,.98),rgba(20,29,41,.93) 100%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 8px 36px rgba(40,60,72,.14);
  position: relative;
  margin-bottom: 55px;
}

main > section:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE LAYOUT RULES --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .section { padding: 38px 4px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    margin-bottom: 44px;
    padding: 34px 2px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .footer .content-wrapper, footer .content-wrapper {
    gap: 18px;
    padding: 18px 0 7px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.14rem; }
  .section { padding: 24px 1px; }
  .testimonial-card { padding: 11px; }
}

/* --- VISUAL EFFECTS, SHADOWS, METALLIC ACCENTS --- */
.card, .testimonial-card {
  border: 1.5px solid var(--metallic);
  box-shadow: 0 4px 18px 0 rgba(44,54,75,0.11);
}
.card::before, .testimonial-card::before {
  position: absolute;
  content: '';
  width: 13px; height: 100%;
  left: -13px; top: 0;
  background: linear-gradient(180deg,#EDB447 20%,#EDB44788 100%);
  border-radius: 14px 0 0 14px;
  opacity: 0.13;
  z-index: 0;
  display: none;
}
.card:hover::before { display: block; }

/* --- TESTIMONIALS ACCESSIBILITY --- */
.testimonial-card {
  background: #F4F7FA;
  color: #23272E;
  border-color: #Edddbe;
  box-shadow: 0 4px 24px rgba(140,140,160,0.07);
}
.testimonial-card p {
  color: #333948;
  font-size: 1.08rem;
}
.testimonial-card .testimonial-author {
  color: #1c3552;
  font-weight: 700;
}

/* --- FORMS (for future use) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #222a36;
  color: var(--text-light);
  border: 1.5px solid var(--metallic);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 1rem;
  outline: none;
  transition: border .18s;
  margin-bottom: 20px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
.btn, .mobile-menu-toggle, .mobile-nav a, .card, header nav a {
  transition: box-shadow .2s, color .17s, background .22s, transform .16s;
}
.card, .testimonial-card {
  transition: box-shadow .18s, transform .14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 42px 0 rgba(44,54,75,0.17);
  transform: translateY(-4px) scale(1.027);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 21000;
  background: var(--dark-shade);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -3px 24px #2B3A47aa;
  border-top: 2.5px solid var(--secondary);
  transition: transform .32s cubic-bezier(.73,.19,.12,.95), opacity .26s;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 300px;
  font-size: 1.01rem;
  margin-bottom: 0;
  color: var(--text-light);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 7px;
  border: none;
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  color: #17212f;
}
.cookie-banner .btn-accept:hover,.cookie-banner .btn-accept:focus {
  background: #ffe9b8;
  color: var(--primary);
}
.cookie-banner .btn-reject {
  background: #293241;
  color: #fff;
  border: 1px solid var(--secondary);
}
.cookie-banner .btn-reject:hover,.cookie-banner .btn-reject:focus {
  background: #393952;
  color: var(--secondary);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--secondary);
  border: none;
  text-decoration: underline;
}
.cookie-banner .btn-settings:hover { color: #fff; }

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 22000;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(0,8,22,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events:auto;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #f6f7fa;
  border-radius: 14px;
  box-shadow: 0 8px 42px #2C3557bb;
  padding: 40px 28px 26px 28px;
  min-width: 320px;
  max-width: 99vw;
  color: #11212c;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px; top: 12px;
  font-size: 2.2rem;
  color: #1C3552;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  color: #1c3552;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  padding: 16px 12px;
  background: #f4f7fa;
  color:#11212c!important;
  border: 1.5px solid #d8dbe2;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-category span {
  color:#11212c!important;
}
.cookie-category .switch {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.switch label {
  color:#11212c!important;
}
.switch input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #e2e6ea;
  border-radius: 11px;
  position: relative;
  outline: none;
  margin-right: 7px;
  transition: background .14s;
}
.switch input[type="checkbox"]:checked {
  background: #edb44799;
}
.switch input[type="checkbox"]:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--metallic);
  border-radius: 50%;
  transition: left .18s, background .14s;
}
.switch input[type="checkbox"]:checked:before {
  left: 17px;
  background: var(--secondary);
}
.cookie-modal .btn-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal .btn {
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 7px;
}
.cookie-modal .btn-accept {
  background: var(--secondary);
  color: #17212f;
}
.cookie-modal .btn-accept:hover,.cookie-modal .btn-accept:focus {
  background: #ffe9b8;
  color: var(--primary);
}
.cookie-modal .btn-reject {
  background: #293241;
  color: #fff;
  border: 1px solid var(--secondary);
}
.cookie-modal .btn-reject:hover,.cookie-modal .btn-reject:focus {
  background: #393952;
  color: var(--secondary);
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 80vw; padding: 18px 7px 15px 7px;
  }
}

/* --- OTHER SYSTEM CLASSES --- */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #bcc3ce; opacity:1; }
::-moz-placeholder { color: #bcc3ce; opacity:1; }
:-ms-input-placeholder { color: #bcc3ce; opacity:1; }
::placeholder { color: #bcc3ce; opacity:1; }


/* --- UTILITY CLASSES (VIBRANCY, BOLD ACCENTS, METALLICS) --- */
.urban-shadow {
  box-shadow: 0 10px 42px 0 rgba(28,53,82,0.12);
}
.metallic-border {
  border: 1.5px solid var(--metallic) !important;
}
.text-metallic {
  color: var(--metallic) !important;
}
.bg-metallic {
  background: var(--metallic) !important;
  color: #1C2230 !important;
}

/* FLEX-ONLY RULE: All grid-like layouts use only flex and gap */
.card-grid, .features, .footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* FLEX-ONLY: Overriding any possible layout misusage */
[class*="-container"], [class*="-grid"] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- END --- */
