/* =========================
   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;
  font-family: 'Open Sans', Arial, sans-serif;
}
body {
  min-height: 100vh;
  background: #F7F9FA;
  color: #16324F;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none;color: inherit; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }

/* =========================
   BRAND TYPOGRAPHY
   ========================= */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #16324F;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
p, li, address, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #16324F;
}
blockquote {
  border-left: 4px solid #D9AF37;
  padding-left: 16px;
  font-style: italic;
  background: #F7F9FA;
  margin: 16px 0 24px 0;
}

/* =========================
   BASIC LAYOUT
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22,50,79,0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 42px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  padding: 24px 0 16px;
  background: #16324F;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
header img[src*='logo'] {
  height: 44px;
  margin-right: 28px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  color: #F7F9FA;
  letter-spacing: 1px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #D9AF37;
  border-bottom: 2px solid #D9AF37;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #D9AF37;
  color: #16324F;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.6px;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  margin-left: 34px;
  box-shadow: 0 1px 8px rgba(22,50,79,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #16324F;
  color: #D9AF37;
  box-shadow: 0 3px 16px rgba(22,50,79,0.14);
  transform: translateY(-2px) scale(1.025) skew(-2deg);
}

@media (max-width: 1024px) {
  header nav {
    gap: 18px;
  }
  .cta-btn {
    margin-left: 15px;
    padding: 10px 18px;
  }
}
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px 0 10px 0;
  }
  header nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .cta-btn {
    align-self: flex-end;
  }
}

/* HIDE DESKTOP NAV & SHOW MOBILE BURGER ON MOBILE */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1500;
  background: #D9AF37;
  color: #16324F;
  border: none;
  border-radius: 7px;
  padding: 9px 15px;
  font-size: 2rem;
  display: none;
  box-shadow: 0 2px 8px rgba(22,50,79,0.13);
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #16324F;
  color: #D9AF37;
  transform: scale(1.06);
}

@media (max-width: 900px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding-right: 60px;
  }
}
/* =========================
   MOBILE MENU OVERLAY
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,50,79,0.97);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,-.75,.23,1.6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #D9AF37;
  font-size: 2.2rem;
  font-family: 'Oswald', Arial, sans-serif;
  align-self: flex-end;
  margin: 22px 32px 14px 0;
  cursor: pointer;
  z-index: 3001;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding-left: 52px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.25rem;
  color: #F7F9FA;
  letter-spacing: 1px;
  background: none;
  margin-bottom: 6px;
  padding: 12px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.16s;
  border-radius: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #D9AF37;
  border-bottom: 2px solid #D9AF37;
  outline: none;
}

@media (max-width: 480px) {
  .mobile-nav { padding-left: 22px; }
}

/* =========================
   GENERAL FLEXBOX PATTERNS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(22,50,79,0.09);
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 320px;
  padding: 24px 18px 18px 18px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(22,50,79,0.20);
  transform: translateY(-5px) scale(1.01) skew(-1.5deg);
}
.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F9FA;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(22,50,79,0.04);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #16324F;
  flex-wrap: wrap;
}
.testimonial-card strong {
  color: #16324F;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.01rem;
  margin-left: 24px;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .testimonial-card strong { margin-left: 0; }
}

/* =========================
   SPECIAL FLEX LAYOUTS
   ========================= */
.company-grid, .equipment-grid, .team-grid, .faq, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.company-card, .team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(22,50,79,0.08);
  padding: 22px 18px;
  flex: 1 1 300px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.company-card:hover, .team-member:hover {
  box-shadow: 0 8px 22px rgba(22,50,79,0.19);
  transform: translateY(-5px) scale(1.015) skew(-1.5deg);
}

@media (max-width: 950px) {
  .company-grid, .equipment-grid, .team-grid, .faq, .contact-details {
    gap: 14px;
    flex-direction: column;
  }
  .company-card, .team-member { width: 100%; min-width: unset; }
}

.text-section {
  margin-bottom: 18px;
}

/* =========================
   TABLES
   ========================= */
table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0 18px 0;
  box-shadow: 0 1px 7px rgba(22,50,79,0.06);
}
thead {
  background: #16324F;
}
thead th {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F7F9FA;
  padding: 14px 10px 12px 10px;
  letter-spacing: 1px;
  text-align: left;
}
tbody td {
  padding: 13px 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #16324F;
  border-bottom: 1px solid #F7F9FA;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover {
  background: #F7F9FA;
  transition: background 0.2s;
}

@media (max-width: 600px) {
  table,
  thead, tbody, tr, th, td {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tbody td {
    padding: 10px 7px;
    border-bottom: 1px solid #EDEDED;
    position: relative;
  }
  tbody td:before {
    content: attr(data-label);
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 0.9rem;
    color: #D9AF37;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #16324F;
  color: #F7F9FA;
  padding: 40px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
footer span {
  color: white !important;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 18px;
}
footer nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #F7F9FA;
  font-size: 1.01rem;
  letter-spacing: 1px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #D9AF37;
  border-bottom: 2px solid #D9AF37;
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
footer p {
  color: #D9AF37;
  font-size: 0.95rem;
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: .7px;
}
@media (max-width: 700px) {
  footer { gap: 16px; padding: 30px 0 12px 0; }
  footer nav { gap: 10px; }
  .contact-info { flex-wrap: wrap; gap: 10px; }
}

/* =========================
   MAP PLACEHOLDER
   ========================= */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #EDEDED;
  border-radius: 8px;
  padding: 24px 18px;
  margin-top: 18px;
  color: #16324F;
  font-family: 'Oswald', Arial, sans-serif;
}
.map-placeholder span {
  font-size: 1rem;
  color: #777;
  margin-top: 6px;
}

/* =========================
   BUTTONS & INTERACTIVES
   ========================= */
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:disabled, .cta-btn:disabled {
  opacity: 0.7;
  pointer-events: none;
}
a.cta-btn {
  text-align: center;
}

/* Inline SVG Icon Alignments */
ul li img, .contact-info img {
  margin-right: 7px;
  vertical-align: text-bottom;
}

/* List Styles */
ul {
  list-style: disc inside;
  margin-left: 8px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 7px;
  padding-left: 0;
  font-size: 1rem;
}

@media (max-width: 600px) {
  ul { margin-left: 2px; }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #16324F;
  color: #F7F9FA;
  box-shadow: 0 -3px 24px rgba(22,50,79,0.19);
  z-index: 2500;
  display: flex;
  justify-content: center;
  padding: 26px 8px 18px 8px;
  transition: transform .30s cubic-bezier(.43,1.31,.61,.87), opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-content {
  max-width: 980px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-content p {
  color: #F7F9FA;
  font-size: 1.01rem;
  margin-bottom: 0;
  flex: 2;
}
.cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btns button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-weight: 700;
  transition: background 0.13s, color 0.13s, transform 0.18s;
  outline: none;
  box-shadow: 0 1px 8px rgba(22,50,79,0.09);
}
button.accept-cookies {
  background: #D9AF37;
  color: #16324F;
}
button.accept-cookies:hover, button.accept-cookies:focus {
  background: #16324F;
  color: #D9AF37;
  transform: scale(1.045);
}
button.reject-cookies {
  background: #fff;
  color: #16324F;
}
button.reject-cookies:hover, button.reject-cookies:focus {
  background: #D9AF37;
  color: #16324F;
  transform: scale(1.03);
}
button.settings-cookies {
  background: none;
  border: 2px solid #D9AF37;
  color: #D9AF37;
  padding: 10px 14px;
}
button.settings-cookies:hover,
button.settings-cookies:focus {
  background: #D9AF37;
  color: #16324F;
  transform: scale(1.03);
}

@media (max-width: 700px) {
  .cookie-content {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  #cookie-consent-banner {
    padding: 14px 2px 16px 2px;
  }
  .cookie-btns { gap:9px; }
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3001;
  transform: translate(-50%, -50%) scale(0.94);
  background: #fff;
  color: #16324F;
  border-radius: 17px;
  box-shadow: 0 8px 36px rgba(22,50,79,0.28);
  min-width: 320px;
  max-width: 98vw;
  width: 410px;
  display: none;
  flex-direction: column;
  padding: 34px 28px 24px 28px;
}
#cookie-modal.open {
  display: flex;
  animation: modalIn .45s cubic-bezier(.77,-.25,.44,1.1) both;
}
@keyframes modalIn {
  0% { opacity: 0; transform: translate(-50%, 0%) scale(0.86); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
#cookie-modal h2 {
  font-size: 1.21rem;
  margin-bottom: 13px;
}
#cookie-modal .modal-section {
  margin-bottom: 18px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  cursor: pointer;
  padding: 8px 0;
}
#cookie-modal input[type='checkbox'] {
  accent-color: #D9AF37;
  width: 18px; height: 18px;
}
#cookie-modal .cookie-category {
  font-weight: bold;
  font-family: 'Oswald', Arial, sans-serif;
  color: #16324F;
  font-size: 1rem;
}
#cookie-modal .close-modal {
  background: none;
  border: none;
  color: #16324F;
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 1.8rem;
  cursor: pointer;
}
#cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
#cookie-modal-actions button {
  font-family: 'Oswald', Arial, sans-serif;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  color: #16324F;
  background: #D9AF37;
  transition: background 0.13s, color 0.13s;
}
#cookie-modal-actions button:last-child {
  background: #fff;
  border: 2px solid #D9AF37;
  color: #D9AF37;
}
#cookie-modal-actions button:hover, #cookie-modal-actions button:focus {
  background: #16324F;
  color: #D9AF37;
}
@media (max-width: 700px) {
  #cookie-modal { width: 97vw; min-width: unset; padding: 20px 10px 20px 10px; }
}

/* =========================
   GEOMETRIC/STRUCTURED SPECIALS
   ========================= */
.section {
  border: 1.2px solid #E5EAF2;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22,50,79,0.05);
  position: relative;
}
.section:before {
  content: '';
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: 82px;
  height: 82px;
  background: rgba(217,175,55,0.09);
  clip-path: polygon(65% 0%, 100% 100%, 0% 65%, 0 0);
  z-index: 1;
  pointer-events: none;
}
@media (max-width:600px) { .section:before { display:none; } }
.company-card:before, .team-member:before {
  content: '';
  display: block;
  width: 4px;
  height: 44px;
  background: #D9AF37;
  position: absolute;
  left: -8px;
  top: 30px;
  border-radius: 4px;
}
.company-card, .team-member {
  position: relative;
  border: 1.1px solid #E5EAF2;
}

@media (max-width:600px) {
  .company-card:before, .team-member:before { display: none; }
}

/* Hero Geometric Angles (h1) */
h1 {
  position: relative;
  z-index: 3;
  padding-left: 8px;
  border-left: 7px solid #D9AF37;
}
h2 { border-left: 5px solid #D9AF37; padding-left: 7px; z-index: 2; position: relative; }

/* =========================
   FAQ
   ========================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.faq h3 { color: #D9AF37; font-size: 1.1rem; margin-bottom: 2px; }
.faq p { margin-left: 0; }

/* =========================
   GEOMETRIC SHAPES / ICON DECOR
   ========================= */
.card, .company-card, .team-member, .testimonial-card {
  /* Subtle geometric mark as background element */
  background-image: linear-gradient(135deg, transparent 70%, rgba(217,175,55,0.10) 100%);
}

/* =========================
   MICRO-INTERACTIONS
   ========================= */
a, button, .cta-btn {
  transition: color 0.18s, background 0.18s, border 0.18s, box-shadow 0.22s, transform 0.14s;
}

/* Links in body */
p a, .text-section a {
  color: #16324F;
  border-bottom: 2px solid #D9AF37;
  font-weight: 600;
  transition: color 0.12s, border-color 0.12s;
}
p a:hover, .text-section a:hover {
  color: #D9AF37;
  border-bottom: 2px solid #16324F;
}

/* =========================
   ACCESSIBILITY & FOCUS
   ========================= */
a:focus, button:focus, .cta-btn:focus, input:focus {
  outline: 2px solid #D9AF37;
  outline-offset: 1.5px;
  z-index: 10;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.05rem; }
  .section {
    border-radius: 6px;
    padding: 18px 3px;
    margin-bottom: 26px;
  }
  .testimonial-card, .company-card, .team-member {
    border-radius: 7px;
    padding: 17px 9px;
  }
}

/* =========================
   UTILITIES
   ========================= */
.hide { display: none !important; }
.text-center { text-align: center; }
.w100 { width: 100%; }

/* =========================
   PRINT STYLES
   ========================= */
@media print {
  body, .container, main, .section, .content-wrapper, header, footer, nav, .card, .table, .cta-btn, .mobile-menu, .testimonial-card {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
  }
}
