/* RESET & BASE TYPOGRAPHY -------------------------------------------------- */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: #232931;
  color: #F7F7F7;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F2A365;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD4AF;
  text-decoration: underline;
}

/* FONT IMPORTS --------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #F7F7F7;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
.subheadline {
  font-size: 1.25rem;
  color: #F2A365;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

/* CONTAINER & FLEXBOX LAYOUTS --------------------------------------------- */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #282f38;
  border-radius: 12px;
  box-shadow: 0 5px 28px -10px #14171C, 0 1.5px 7px 0 #23293155;
  border: 1.5px solid #373e47;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #232931;
  border: 1.5px solid #393e46;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 9px -3px #14171C88;
  transition: box-shadow 0.25s, border 0.25s;
}
.card:hover {
  box-shadow: 0 7px 24px -6px #232931, 0 0.5px 4px #F2A36555;
  border-color: #F2A365;
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F7F7;
  color: #232931;
  border-radius: 9px;
  box-shadow: 0 3px 16px -4px #23293122;
  min-width: 240px;
  min-height: 120px;
  margin-bottom: 24px;
  border-left: 5px solid #F2A365;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #393e46;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #30475E;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.team-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: stretch;
}
.team-grid > div {
  background: #232931;
  border-radius: 9px;
  border: 1.5px solid #393e46;
  box-shadow: 0 2px 8px -2px #14171C99;
  padding: 24px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  color: #F7F7F7;
  font-family: 'Open Sans', Arial, sans-serif;
}

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

/* HEADER -------------------------------------------------------- */
header {
  width: 100%;
  background: #1a1f23;
  padding: 0;
  box-shadow: 0 3px 18px -10px #232931f0;
  border-bottom: 2px solid #232931;
  position: sticky;
  top: 0;
  z-index: 1200;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  text-transform: uppercase;
  color: #F7F7F7;
  letter-spacing: 0.02em;
  padding: 8px 8px 6px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232931;
  color: #F2A365;
}
.cta-btn {
  background: #F2A365;
  color: #232931;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  text-transform: uppercase;
  padding: 12px 34px;
  border: none;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  margin-left: 22px;
  box-shadow: 0 3.5px 12px -5px #23293144, 0 1.5px 4px #F2A36529;
  border: 2px solid #F2A36500;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #30475E;
  color: #F2A365;
  box-shadow: 0 6px 25px -7px #F2A36550, 0 2.5px 7px 0 #23293160;
  border: 2px solid #F2A365;
}
button.cta-btn {
  width: auto;
}
/* MOBILE MENU BUTTON -------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #232931;
  color: #F2A365;
  border: none;
  font-size: 2.1rem;
  border-radius: 7px;
  padding: 4px 16px 4px 12px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #23293140;
  z-index: 1115;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2A365;
  color: #232931;
}

/* MOBILE MENU OVERLAY -------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #232931ee;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.62,-0.04,.44,1.17);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F2A365;
  font-size: 2.3rem;
  margin: 28px 24px 0 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 2015;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7F7F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 42px 36px 0 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F2A365;
  letter-spacing: 0.03em;
  padding: 15px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #232931;
  background: #F2A365;
}

/* GENERIC SECTION & LAYOUTS ------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 22px;
  padding-left: 16px;
  font-size: 1.07rem;
}
ul li, ol li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* ORDERED LIST ICONS (process steps) ---------------------------- */
ol li {
  list-style-type: decimal;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
ol li img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(0.6);
}

/* INFO-LIKE/CONTACT ELEMENTS -------------------------------------- */
.info-note {
  background: #232931;
  color: #F2A365;
  border-radius: 7px;
  border: 1.5px solid #F2A365;
  padding: 14px 20px;
  margin: 20px 0 14px 0;
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
.contact-info-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 9px;
}
.contact-info-fields ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* FOOTER -------------------------------------------------------- */
footer {
  width: 100%;
  background: #282f38;
  color: #F7F7F7;
  font-size: 1rem;
  padding: 45px 0 0 0;
  border-top: 2px solid #232931;
  box-shadow: 0 -4px 18px -10px #232931d0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 22px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: #F2A365;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.99rem;
  letter-spacing: 0.03em;
  padding-right: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD4AF;
}
.contact-details {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F7F7F7;
  font-size: 0.95rem;
  margin-left: auto;
}
.contact-details a {
  color: #F2A365;
  text-decoration: underline;
}
.contact-details a:hover {
  color: #FFD4AF;
}

/* BUTTONS: GENERIC ------------------------------------------ */
button, .cta-btn {
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
}
button:focus {
  outline: 2px solid #F2A365;
  outline-offset: 2px;
}

/* MODAL & COOKIE BANNER ------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232931;
  color: #F7F7F7;
  font-family: 'Open Sans', Arial, sans-serif;
  z-index: 99999;
  padding: 17px 8px 16px 8px;
  box-shadow: 0 -6px 32px -10px #1a1f23cc;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-banner .cookie-inner {
  max-width: 1050px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.cookie-banner p {
  flex: 1 1 240px;
  color: #F7F7F7;
  font-size: 1.05rem;
}
.cookie-btn {
  padding: 11px 30px;
  margin-left: 10px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  min-width: 110px;
  cursor: pointer;
  border: 2px solid #F2A365;
  background: #232931;
  color: #F2A365;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #F2A365;
  color: #232931;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F7F7F7;
  color: #30475E;
  border-color: #F2A365;
}
.cookie-btn.reject {
  border-color: #6d6e72;
  color: #F7F7F7;
  background: #30343a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #393e46;
  color: #F2A365;
}
.cookie-btn.settings {
  border-color: #F2A365;
  color: #F2A365;
  background: #232931;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #282f38;
}

/* COOKIE MODAL -------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 200001;
  left: 0; top: 0;
  right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #232931e0;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #F7F7F7;
  color: #232931;
  border-radius: 13px;
  padding: 36px 32px 32px 32px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 36px -10px #232931AA;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: #30475E;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #EFEFEF;
  border-radius: 7px;
  padding: 12px 18px;
  color: #232931;
  font-size: 1.09rem;
}
.cookie-category label {
  font-weight: bold;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F2A365;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #30475E;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2A365;
}

/* SECTION / WRAPPER SPACING RULES ----------------------- */
.section, section, .content-wrapper, .card-container, .testimonials, .team-grid, .content-grid, .feature-item {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px; /* Already set above */
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonials {
  gap: 24px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* RESPONSIVE DESIGN (mobile-first) ---------------------- */
@media (max-width: 1080px) {
  .container {
    padding: 0 12px;
  }
  header .container,
  footer .container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 13px;
    margin-left: 6px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 56px;
    gap: 14px;
    padding-top: 8px;
    padding-bottom: 7px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .team-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 32px 9px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .contact-details {
    margin-left: 0;
    margin-top: 24px;
  }
  .cookie-banner .cookie-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 6px;
  }
}

/* MINI INTERACTIONS & ANIMATIONS ---------------------------------- */
.cta-btn, .cookie-btn, .main-nav a, .footer-nav a, .mobile-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, border 0.22s, transform 0.15s;
}
.cta-btn:active, .cookie-btn:active, .main-nav a:active, .footer-nav a:active, .mobile-nav a:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus, .main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
    filter: brightness(1.07);
  }
}

/* SCROLLBAR, SELECTION, ETC ------------------------------------------ */
::-webkit-scrollbar {
  width: 12px;
  background: #232931;
}
::-webkit-scrollbar-thumb {
  background: #373e47;
  border-radius: 10px;
  border: 3px solid #232931;
}
::selection {
  background: #F2A365;
  color: #232931;
}

/* INDUSTRIAL-MODERN METALLIC EFFECTS (SUBTLE) --------------------- */
.card, .team-grid > div, .testimonial-card {
  box-shadow: 0 4px 28px -8px #373e47aa, 0 1.5px 7px 0 #F2A36515 !important;
}
.section {
  border: 1px solid #323843;
  box-shadow: 0 6px 24px -10px #1a1f2390, 0 2.5px 8px 0 #F2A36519;
  background-image: linear-gradient(110deg, #232931 69%, #2e353f 100%);
}
.card, .team-grid > div {
  border: 1px solid #404550;
  background: #232931fa;
  backdrop-filter: blur(0.5px);
}

/* INDUSTRIAL FONTS, URBAN FEEL -------------------------------------- */
h1, h2, h3, h4, h5, h6, .main-nav a, .footer-nav a, .cta-btn, .cookie-btn {
  font-variant-caps: small-caps;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 #181c21, 0 2px 4px #23293130;
}
.section h2, .section h1 {
  color: #F2A365;
  text-shadow: 0 4px 14px #14171C40;
}

/* VISUAL HIERARCHY -------------------------------------- */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p, li, span { font-size: 1rem; }
@media (max-width:600px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.02rem; }
  .cta-btn { font-size: 0.98rem; padding: 11px 16px; }
}

/* ADEQUATE SPACING BETWEEN CARDS/SECTIONS ------------------------- */
.card:not(:last-child), .team-grid > div:not(:last-child), .testimonial-card:not(:last-child) {
  margin-right: 0;
}
.section:not(:last-child), section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper:not(:last-child) {
  margin-bottom: 20px;
}

/* FORMS (if any in future) ----------------------------------------- */
input, textarea, select {
  border-radius: 5px;
  border: 1px solid #393e46;
  background: #181c21;
  color: #F7F7F7;
  padding: 10px 14px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2A365;
  outline: none;
  background: #232931;
}

/* ACCENT COLOR CLASSES -------------------------------------------- */
.text-accent, .accent {
  color: #F2A365;
  font-weight: 700;
}
.bg-accent {
  background: #F2A365 !important;
  color: #232931 !important;
}
.bg-primary {
  background: #30475E !important;
}

/* UTILITY CLASSES ------------------------------------------------- */
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 18px !important; }
.mb-1 { margin-bottom: 7px !important; }
.mb-2 { margin-bottom: 14px !important; }
.mb-3 { margin-bottom: 20px !important; }
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }

/* ACCESSIBILITY ---------------------------------------------- */
:focus { outline: 2px solid #F2A365; outline-offset: 2px; }

/* Z-INDEXS for layering ------------------------------------------- */
header { z-index: 1200; }
.mobile-menu { z-index: 2000; }
.mobile-menu-toggle { z-index: 2010; }
.cookie-banner { z-index: 99999; }
.cookie-modal-overlay { z-index: 200001; }

/* HIDE NAV ON MOBILE, SHOW BURGER ----------------------------- */
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

/* SHOW NAV ON DESKTOP, HIDE BURGER -------------------------- */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* CUSTOM SCROLLING FOR MODALS (if they overflow) ------------------ */
.cookie-modal {
  max-height: 96vh;
  overflow-y: auto;
}

/* END OF STYLE ---------------------------------------------------- */
