/* 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 { scroll-behavior: smooth; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* VARIABLES (fallbacks included) */
:root {
  --color-primary: #2C5171;
  --color-secondary: #F9C85A;
  --color-accent: #F5F7FA;
  --color-metal: #6D7D8B;
  --color-base-bg: #20262B;
  --color-card-bg: #23272F;
  --color-surface: #272C32;
  --color-border: #43464A;
  --color-text-main: #F5F7FA;
  --color-text-secondary: #BFCCDD;
  --color-text-inverse: #242424;
  --color-shadow: rgba(44,81,113,0.12);
  --font-display: 'Quicksand', 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-main);
  background: var(--color-base-bg);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 14px;
}
main > section:not(:first-child) {
  margin-top: 0;
}

@media (min-width: 700px) {
  .section {
    padding: 60px 0;
  }
}

/* TYPOGRAPHY AND HIERARCHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  letter-spacing: 0.06em;
  font-weight: 700;
  text-shadow: 1px 1px 4px #111A22;
  margin-bottom: 12px;
}
h1 { font-size: 2.25rem; line-height: 1.13; }
h2 { font-size: 1.75rem; line-height: 1.18; }
h3 { font-size: 1.35rem; line-height: 1.22; }
h4, h5, h6 { font-size: 1.13rem; }

@media (min-width: 700px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

p, li, .text-section {
  color: var(--color-text-main);
  font-size: 1rem;
  line-height: 1.6;
}
.text-section strong {
  color: var(--color-secondary);
  font-weight: 600;
}
strong {
  font-weight: 600;
  color: var(--color-secondary);
}
a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #ffd23b;
  text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-card-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px var(--color-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 0;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: none;
}
.cta-btn {
  display: inline-block;
  padding: 10px 28px;
  margin-left: 18px;
  border: none;
  border-radius: 28px;
  background: linear-gradient(90deg, #374C62 0%, #2C5171 100%);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px 0 rgba(44,81,113,0.13);
  cursor: pointer;
  text-shadow: 0 1px 1px #111;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  position: relative;
  z-index: 2;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #F9C85A 0%, #CE9616 100%);
  color: #272C32;
  box-shadow: 0 2px 16px 0 rgba(249,200,90,0.12);
  transform: translateY(-2px) scale(1.030);
}
.mobile-menu-toggle {
  appearance: none;
  border: none;
  background: #374C62;
  color: #F9C85A;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 1px 5px #111a2277;
  margin-left: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2C5171;
  outline: none;
}

/* Desktop nav */
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
  }
  .main-nav a {
    color: var(--color-text-main);
    font-family: var(--font-display);
    font-size: 1.10rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #F9C85A;
    color: #23272F;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,29,34,0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.8,.01,.5,1.03);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
  box-shadow: 0 4px 32px rgba(44,81,113,0.3);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F9C85A;
  font-size: 2.1rem;
  margin: 26px 0 26px 24px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1002;
  transition: color 0.21s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ffe581;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 90vw;
  margin-left: 36px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.15rem;
  text-decoration: none;
  padding: 14px 0 8px;
  border-bottom: 1px solid #384351;
  transition: color 0.17s, background 0.17s;
  border-radius: 6px;
  touch-action: manipulation;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2C5171;
  color: #fffde9;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN CONTENT & FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  padding: 28px 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--color-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover, .card:focus-within {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 24px 0 rgba(249,200,90,0.16);
  border-color: var(--color-secondary);
}

.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; align-items: flex-start; }
}

.feature_grid, .feature-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.feature_grid li,
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 22px 18px 18px;
  min-width: 180px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.feature_grid li:hover,
.feature-item:hover {
  box-shadow: 0 4px 16px 0 rgba(249,200,90,0.12);
  border-color: var(--color-secondary);
}
.feature_grid img, .feature-item img {
  width: 36px;
  height: 36px;
}
.feature_grid strong,
.feature-item strong {
  font-size: 1.1rem;
  color: var(--color-secondary);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 14px;
  margin-bottom: 20px;
  color: #222;
  box-shadow: 0 1px 8px #23272F33;
  border: 1px solid #d8dbdf;
  flex-wrap: wrap;
}
.testimonial-card .text-section,
.testimonial-card q {
  color: #23272F;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: #2C5171;
}
.testimonial-card span[aria-label] {
  color: #F9C85A;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}

/* BUTTONS & INTERACTIVES */
button, .cta-btn {
  transition: background 0.21s, color 0.21s, transform 0.15s, box-shadow 0.11s;
  cursor: pointer;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* TABLES, FORMS - fallback, if necessary */
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
th, td { border: 1px solid var(--color-border); padding: 12px 8px; }
th { background: var(--color-surface); color: var(--color-text-main); }

/* FOOTER */
footer {
  background: var(--color-card-bg);
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px 0 var(--color-shadow);
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer img { height: 38px; margin-bottom: 14px; }
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 0.98rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: text-decoration 0.19s, color 0.14s;
  opacity: 0.88;
}
footer nav a:hover, footer nav a:focus {
  color: #ffe581;
  text-decoration: underline;
  opacity: 1;
}
footer .text-section {
  color: #BCBCB9;
  font-size: 0.96rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer .text-section img {
  height: 16px; width: 16px; margin-right: 6px; vertical-align: middle;
  filter: grayscale(80%);
}
footer small {
  color: #7a8796;
  font-size: 0.92rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2222;
  background: #23272F;
  color: var(--color-text-main);
  box-shadow: 0 -2px 16px 0 #2c517188;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-text-main);
  line-height: 1.6;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btns button {
  min-width: 130px;
  padding: 10px 0;
  border-radius: 20px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 9px;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.cookie-accept {
  background: var(--color-secondary);
  color: #23272F;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #ffe581;
  color: #23272F;
}
.cookie-reject {
  background: #2C5171;
  color: var(--color-accent);
  border: 1px solid #384351;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #374C62;
  color: var(--color-secondary);
}
.cookie-settings-btn {
  background: #434D5C;
  color: #F9C85A;
  border: 1px solid #555E6D;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #2C5171;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,28,32,0.82);
  z-index: 2223;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--color-card-bg);
  color: var(--color-text-main);
  min-width: 320px;
  max-width: 95vw;
  border-radius: 18px;
  box-shadow: 0 6px 36px #20262Bbb;
  padding: 40px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
  margin-top: 0;
}
.cookie-modal-content label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.06rem;
  color: var(--color-text-main);
  margin-top: 6px;
}
.cookie-modal-content input[type=checkbox][disabled] {
  opacity: 0.44;
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #F9C85A;
  font-size: 1.7rem;
  cursor: pointer;
  outline: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #ffe581;
}

/* FLEXBOX CARD LISTS & ALIGNMENTS */
ul, ol {
  margin-left: 0;
}
ul li, ol li {
  margin-bottom: 18px;
  line-height: 1.6;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  margin-top: 2px;
  align-self: flex-start;
}
ul li strong, ol li strong {
  display: inline;
}

/* RESPONSIVE UTILS */
@media (min-width: 980px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .container { max-width: 94vw; }
  .card-container, .feature_grid, .content-grid { flex-direction: column; gap: 18px; }
  .section { padding: 30px 2vw; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.20rem; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 540px) {
  .container { padding: 0 5vw; }
  .section { padding: 18px 2vw; }
  .card { padding: 20px 10px; }
}

/* ANIMATIONS */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.18s, border 0.14s, box-shadow 0.13s, transform 0.13s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s, border-color 0.15s;
}
@media (hover: hover) {
  .card:hover, .feature-item:hover, .testimonial-card:hover {
    box-shadow: 0 4px 22px 0 #F9C85A33;
    border-color: #F9C85A;
  }
}

/* INDUSTRIAL MODERN DECORATIVE DETAILS */
.section {
  position: relative;
  border: 1px solid var(--color-border);
}
.section::before {
  content: '';
  position: absolute;
  right: 18px; bottom: 18px;
  width: 42px; height: 7px;
  background: linear-gradient(90deg, #F9C85A 70%, #6D7D8B 100%);
  border-radius: 7px;
  opacity: 0.18;
  pointer-events: none;
}
.section:last-child::before { display: none; }

.card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg,#F9C85A 0%,#C0B48E 100%);
  border-radius: 3px 3px 0 0;
  opacity: 0.20;
  pointer-events: none;
}

/* INDUSTRIAL MODERN FONT EFFECTS */
h1, h2, .cta-btn, .main-nav a, .mobile-nav a {
  font-stretch: expanded;
  letter-spacing: 0.05em;
  text-transform: none;
}

/* GENERAL ELEMENT SPACING ENFORCEMENT */
.content-wrapper > *, .text-section > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child,
.text-section > *:last-child {
  margin-bottom: 0;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/* UTILITIES */
.hide { display: none !important; }

/* Accessibility and focus */
a:focus {
  outline: 2px dotted #F9C85A;
  outline-offset: 3px;
}
.cta-btn:focus {
  outline: 2px solid #F9C85A;
  outline-offset: 2px;
}
button:focus {
  outline: 2px solid #F9C85A;
  outline-offset: 2px;
}

/***************** END *****************/