/* CSS 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, 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 {
  height: 100%;
  background: #101823;
  font-size: 16px;
}
body {
  min-height: 100vh;
  color: #F4F6FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #101823;
  line-height: 1.6;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #E8AA4C;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD48A;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, select, input {
  font-family: inherit;
  font-size: 1rem;
}

/* BRAND COLORS AND FONTS AS CSS VARIABLES */
:root {
  --color-primary: #143166;
  --color-primary-dark: #101823;
  --color-secondary: #F4F6FA;
  --color-accent: #E8AA4C;
  --color-accent-hover: #ffd48a;
  --color-metal: #B0B6BE;
  --color-steel: #313843;
  --color-bg-mid: #1F2937;
  --font-display: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --box-radius: 8px;
  --shadow-medium: 0 2px 14px rgba(20, 49, 102, 0.08), 0 2px 4px rgba(30,36,51,0.06);
  --shadow-heavy: 0 8px 24px rgba(31,56,67, 0.20);
  --hover-opacity: 0.95;
  --transition-main: 0.25s cubic-bezier(.36,1.15, .56,1.02);
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}
p, ul li, ol li, span, label, select, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-metal);
  margin-bottom: 16px;
}
strong {
  color: var(--color-accent);
  letter-spacing: 0.03em;
}
blockquote {
  padding: 0 0 0 18px;
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  color: var(--color-steel);
  background: var(--color-secondary);
  border-radius: var(--box-radius);
  margin-bottom: 12px;
}
section a.cta-button + a {
  margin-left: 18px;
  margin-top: 8px;
}

/* LAYOUT CONTAINERS – FLEXBOX ONLY */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  border-radius: var(--box-radius);
}
.text-section {
  background: var(--color-bg-mid);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-medium);
  padding: 26px 18px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* CARDS & FLEXBOX PATTERNS */
.card-container, .report-grid, .guide-grid, .trend-tiles, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card, .report-grid > div, .guide-grid > div, .trend-tiles > div, .team-member {
  background: var(--color-bg-mid);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
  padding: 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 280px;
  border: 1px solid #232f46;
  transition: box-shadow var(--transition-main), background var(--transition-main);
}
.card:hover, .report-grid > div:hover, .guide-grid > div:hover, .trend-tiles > div:hover, .team-member:hover {
  background: #232f46;
  box-shadow: var(--shadow-heavy);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--box-radius);
  background: var(--color-secondary);
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: #0d1522;
  background: none;
  margin-bottom: 0;
  border-left: 4px solid var(--color-primary);
}
.testimonial-card span {
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.faq-accordion, .office-map {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.office-map {
  align-items: center;
  gap: 20px;
}
.faq-accordion > div {
  background: #232f46;
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-medium);
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-accordion > div:hover {
  background: var(--color-bg-mid);
}
.faq-accordion h3 {
  margin-bottom: 8px !important;
  color: var(--color-accent);
}

/* HEADER, NAVIGATION, & CTA BUTTONS */
header {
  background: var(--color-primary-dark);
  border-bottom: 1px solid #232f46;
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 99;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 6px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  align-items: center;
}
header nav li {
  display: flex;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--color-secondary);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
header nav .cta-button {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  box-shadow: var(--shadow-medium);
  padding: 10px 26px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--transition-main), box-shadow var(--transition-main), transform .1s;
  letter-spacing: .04em;
  margin-left: 20px;
}
header nav .cta-button:hover, header nav .cta-button:focus {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-heavy);
  transform: translateY(-2px) scale(1.03);
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary-dark);
  color: var(--color-accent);
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  margin-left: 14px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(20, 49, 102, 0.93);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.41,.95,.62,1.12);
  box-shadow: var(--shadow-heavy);
  display: flex;
  flex-direction: column;
  z-index: 200;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px;
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 58px 0 0 0;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--color-secondary);
  padding: 10px 0;
  font-weight: 700;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

/* MOBILE: Hide desktop nav, show burger */
@media (max-width: 1100px) {
  header nav ul, header nav .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .text-section {
    padding: 18px 8px;
  }
  section {
    padding: 28px 5px;
  }
  .testimonial-card, .card, .trend-tiles > div, .report-grid > div, .guide-grid > div {
    padding: 16px 8px;
  }
}

/* FLEX DIRECTION ON MOBILE */
@media (max-width: 768px) {
  .card-container, .report-grid, .guide-grid, .trend-tiles, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  footer .content-wrapper,
  .office-map {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* MAIN BUTTONS */
.cta-button {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  box-shadow: var(--shadow-medium);
  padding: 12px 32px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--transition-main), box-shadow var(--transition-main), transform .1s;
  letter-spacing: .04em;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-heavy);
  transform: translateY(-2px) scale(1.03);
}

button, select {
  border-radius: var(--box-radius);
  border: 1px solid #444a56;
  background: var(--color-primary-dark);
  color: var(--color-secondary);
  padding: 8px 18px;
  font-size: 1rem;
  margin-top: 6px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
select:focus, select:hover, button:focus, button:hover {
  border-color: var(--color-accent);
  background: #232f46;
  color: var(--color-accent);
}

/* FOOTER */
footer {
  background: var(--color-primary-dark);
  border-top: 1px solid #232f46;
  box-shadow: var(--shadow-medium);
  margin-top: 60px;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 32px;
  justify-content: space-between;
  padding: 32px 10px 16px 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
footer nav a {
  color: var(--color-metal);
  font-size: 1rem;
  font-family: var(--font-body);
  border-radius: 4px;
  padding: 3px 0;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--color-metal);
  align-self: flex-end;
  margin-bottom: 6px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-secondary);
}
footer img {
  filter: grayscale(30%) brightness(1.15) contrast(0.96);
}

/* ADDRESS / CONTACT INFO */
.address-info p, .address-info a {
  color: var(--color-secondary);
  font-size: 1rem;
}
.address-info a {
  text-decoration: underline;
  color: var(--color-accent);
  transition: color 0.2s;
}
.address-info a:hover {
  color: var(--color-accent-hover);
}

/* IFUSED ICONS (decals, svg) */
ul li > img, .footer-contact img, .address-info img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(80%) contrast(1.3);
}

/* UI ACCENTS - SHADOWS & METALLIC DETAILS */
.card, .report-grid > div, .guide-grid > div, .trend-tiles > div, .team-member, .text-section, .faq-accordion > div, .testimonial-card {
  border-radius: var(--box-radius);
  box-shadow: 0 1.5px 8px 0 rgba(57,82,102,0.07), 0 2px 4px 0 rgba(20,49,102,0.08);
}

.card, .report-grid > div, .guide-grid > div, .trend-tiles > div, .faq-accordion > div {
  border: 1.5px solid var(--color-metal);
  background: linear-gradient(150deg, #21293b 70%, #232f46 100%);
}
.team-member {
  border-left: 4px solid var(--color-accent);
}

/**** COOKIES BANNER ****/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(30,36,51,0.97);
  color: var(--color-secondary);
  box-shadow: 0 -2px 16px rgba(31,56,67, 0.12);
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 1rem;
  gap: 24px;
  animation: fadeInBanner 0.6s cubic-bezier(.42,1.32,.45,1.01);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0 0 0 0;
  color: var(--color-secondary);
  flex: 1 1 260px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 18px;
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  margin: 0;
  transition: background .2s, color .2s, box-shadow .2s, transform .1s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-accent-hover);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-heavy);
  transform: scale(1.04);
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  font-weight: 600;
  box-shadow: none;
  padding: 10px 15px;
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-accent-hover);
}

/***** COOKIES MODAL *****/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20, 33, 70, 0.65);
  z-index: 5010;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #232f46;
  color: var(--color-secondary);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-heavy);
  padding: 38px 30px;
  max-width: 440px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInCookieModal 0.4s cubic-bezier(.41,1,.56,1.02);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; transform: scale(0.89) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.45rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
}
.cookie-category .always {
  font-size: 1rem;
  color: var(--color-metal);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 22px;
  padding: 10px 18px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal button.accept {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.cookie-modal button.reject {
  background: none;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cookie-modal button.settings {
  background: #323c52;
  color: var(--color-secondary);
  border: 1.5px solid #344162;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  opacity: 0.93;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 6px 18px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 7px;
    font-size: 0.96rem;
  }
}

/* FORM ELEMENTS */
label, select {
  margin-right: 10px;
  font-size: 1rem;
  color: var(--color-secondary);
}
select {
  min-width: 140px;
  background: #1F2937;
  color: var(--color-accent);
  border-radius: var(--box-radius);
  font-weight: 700;
  box-shadow: var(--shadow-medium);
}

select:focus {
  outline: 2px solid var(--color-accent);
}

/* MISCELLANEOUS UI DETAILS */
::-webkit-scrollbar {
  width: 11px;
  background: #141A28;
}
::-webkit-scrollbar-thumb {
  background: #232f46;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E8AA4C;
}

hr {
  border: none;
  border-bottom: 1.5px solid #232f46;
  margin: 20px 0;
}

/* FOCUS VISIBILITY */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* INTERNAL FLEX GROUPS FOR CONTENT GRIDS etc. */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* VISUAL MICRO-INTERACTIONS */
a, button, .card, .cta-button, .faq-accordion > div {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.10s;
}
.card:hover, .faq-accordion > div:hover, .trend-tiles > div:hover, .guide-grid > div:hover, .report-grid > div:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-heavy);
}
.report-grid > div, .guide-grid > div, .trend-tiles > div {
  flex: 1 1 260px;
  min-width: 0;
}
@media (max-width: 900px) {
  .report-grid > div, .guide-grid > div, .trend-tiles > div {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/***** MEDIA QUERIES FOR RESPONSIVE FLEX LAYOUTS *****/
@media (max-width: 540px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.1rem; }
  header nav {
    height: 48px;
    padding: 0 2px;
  }
  .card, .report-grid > div, .guide-grid > div, .trend-tiles > div, .team-member {
    padding: 12px 3px;
    min-width: 0;
  }
}

/**** UTILITIES ****/
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* REMOVE OVERLAP & SPACING SAFEGUARDS */
.card + .card, .team-member + .team-member, .content-wrapper > * + *, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/***** INDUSTRIAL FONTS FOR URBAN AESTHETIC *****/
body, p, span, ul, ol, label, select {
  font-family: var(--font-body), 'Segoe UI', Arial, sans-serif;
}
h1, h2, h3, .cta-button, header nav a, .mobile-nav a {
  font-family: var(--font-display), 'Arial Black', Impact, sans-serif;
}

/**** URBAN/INDUSTRIAL METALLIC DETAILS ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-bottom: 2px solid #232f46;
}
.section:last-child {
  border-bottom: none;
}

/**** NO GRID, NO ABSOLUTE POSITIONING for content! ****/
/* End of industrial modern, consistent, flexbox-based CSS */
