/* -------------------
   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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background-color: #161C22;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.4em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}

/* -------------------
    BRAND VARIABLES
--------------------*/
:root {
  --color-primary: #1A3556;
  --color-secondary: #D3A849;
  --color-accent: #FFFFFF;
  --color-bg-darker: #161C22;
  --color-bg-medium: #232831;
  --color-bg-light: #303742;
  --color-surface: #232831;
  --color-text-main: #F3F4F5;
  --color-text-light: #EEEEEE;
  --color-text-dark: #232831;
  --color-muted: #6b7280;
  --color-metallic: #B1B7BE;
  --shadow: 0 2px 8px 0 rgba(25,31,38,0.10), 0 1.5px 10px 0 rgba(36,38,43,0.22);
  --radius: 10px;
  --radius-lg: 18px;
  --transition-fast: 0.14s cubic-bezier(0.22,0.61,0.36,1);
  --transition: 0.24s cubic-bezier(0.22,0.61,0.36,1);
}

/* ----------------------
     FONTS & TYPOGRAPHY
-----------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-text-main);
  font-size: 16px;
  background-color: var(--color-bg-darker);
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.35rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.07rem; }
h5, h6 { font-size: 1rem; }
p, li, blockquote {
  margin-bottom: 10px;
  color: var(--color-text-main);
  font-size: 1.06rem;
}
blockquote {
  font-style: italic;
  color: var(--color-secondary);
  background: rgba(48,55,66,0.35);
  border-left: 4px solid var(--color-secondary);
  padding: 18px 24px;
  margin: 18px 0;
  border-radius: var(--radius);
  font-size: 1.15em;
}
ul, ol {
  margin-bottom: 18px;
  color: var(--color-text-main);
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* -----------------
  LAYOUT & CONTAINER
------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* Spacing helpers */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-24 { gap: 24px; }

/* Card and Grid layouts as per specification */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 270px;
  flex: 1 1 300px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover, .feature-card:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 3px 24px 0 rgba(25,31,38,0.19), 0 2.5px 22px 0 rgba(36,38,43,0.22);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3F4F5;
  color: #1A3556;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--color-metallic);
  min-width: 250px;
}
.testimonial-card blockquote {
  color: var(--color-bg-darker);
  border-left: 4px solid var(--color-secondary);
  background: transparent;
  padding: 12px 0 12px 20px;
  margin: 0 0 4px 0;
  border-radius: 0;
  font-size: 1.17em;
}
.testimonial-card p {
  color: var(--color-primary);
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--color-metallic);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
}
.feature-card h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
  margin-bottom: 2px;
}
.feature-card p {
  color: var(--color-text-light);
  font-size: 1rem;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}
.service-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  flex: 1 1 270px;
  min-width: 210px;
  border: 1.5px solid var(--color-metallic);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}

.awards {
  background: rgba(211,168,73,0.07);
  border: 1px solid var(--color-metallic);
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-secondary);
  font-weight: 500;
}
.awards img {
  width: 34px; height: 34px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-main);
  font-size: 1.08em;
}
.text-section img {
  width: 22px; height: 22px;
  filter: grayscale(80%) brightness(1.25);
}

/* CTA Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.10rem;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.cta-btn.primary {
  background: var(--color-secondary);
  color: var(--color-bg-darker);
  border: 2px solid var(--color-secondary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #B89A45;
  color: var(--color-accent);
  border-color: #B89A45;
  transform: translateY(-2px) scale(1.04);
}
.cta-btn.secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-secondary);
  color: var(--color-bg-darker);
  transform: translateY(-2px) scale(1.04);
}

/* ------------------------
     HEADER & MAIN NAV
-------------------------*/
header {
  width: 100%;
  background: var(--color-bg-light);
  box-shadow: 0 2px 10px 0 rgba(25,31,38,0.10);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px 10px 20px;
}
header a img {
  height: 44px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--color-text-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 1.04em;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color 0.18s;
  position: relative;
  padding: 4px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  background: var(--color-secondary);
  width: 0%;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: width 0.14s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
  display: none;
  transition: color var(--transition);
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,36,42, 0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.23,1,0.32,1);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 18px 18px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 16px 0 10px 2px;
  border-bottom: 1.5px solid var(--color-bg-medium);
  transition: background 0.14s, color 0.14s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  padding-left: 7px;
}
.mobile-menu {
  display: flex;
}

@media (max-width: 1100px) {
  .container {
    max-width: 940px;
  }
  .features-grid, .service-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 750px;
  }
  .features-grid, .service-list {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 8px 5px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 14px !important;
    font-size: 0.95em;
  }
  .features-grid, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .card, .feature-card, .service-card {
    min-width: 90vw;
  }
  .testimonial-card {
    min-width: 90vw;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
  .footer-logo img, header a img {
    height: 36px !important;
  }
  .cta-btn { font-size: 0.99rem; padding: 10px 18px; }
  .feature-card, .service-card {
    padding: 20px 10px;
  }
}

/* -------------------
    MAIN & HERO
-------------------*/
main {
  margin-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
}

/* ---------------
    FOOTER
----------------*/
footer {
  background: var(--color-bg-light);
  position: relative;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(25,31,38,0.07);
}
footer .container {
  padding-top: 30px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  color: var(--color-metallic);
  font-size: 1.04em;
  margin: 12px 0 0 0;
}
.footer-nav a {
  color: var(--color-metallic);
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-address, .footer-legal {
  color: var(--color-muted);
  font-size: 0.99em;
  margin-top: 7px;
}
.footer-legal a {
  color: var(--color-metallic);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--color-secondary); }
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 5px;
  align-items: center;
}
.footer-social a img {
  width: 30px; height: 30px;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.16s, transform 0.14s;
}
.footer-social a:hover img {
  filter: brightness(1.2) sepia(1) hue-rotate(17deg);
  transform: scale(1.13);
}

/* -------------------
   COOKIE CONSENT BANNER
-------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-bg-light);
  color: var(--color-accent);
  box-shadow: 0 -2px 22px 0 rgba(20,20,23,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  z-index: 3100;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 330px;
  font-size: 1.05em;
  color: var(--color-text-light);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn, .cookie-banner button {
  background: var(--color-secondary);
  color: var(--color-bg-darker);
  border: 2px solid var(--color-secondary);
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 10px 22px;
  margin: 0 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn:hover, .cookie-banner button:hover, .cookie-btn:focus, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
}
.cookie-btn.secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-secondary);
  color: var(--color-bg-darker);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 16px 8px;
    font-size: 0.99em;
    gap: 10px;
  }
  .cookie-banner .cookie-text {
    margin-bottom: 12px;
    font-size: 0.98em;
  }
  .cookie-banner .cookie-btns {
    gap: 12px;
    width: 100%;
  }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(26,53,86, 0.60);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-bg-light);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px 32px;
  min-width: 300px;
  width: 94vw;
  max-width: 390px;
  box-shadow: 0 7px 42px 0 rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3600;
  position: relative;
  animation: cookieModalIn 0.33s cubic-bezier(0.18,0.67,0.44,1.18);
}
@keyframes cookieModalIn {
  from {
    transform: translateY(32px) scale(0.94);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  margin-bottom: 5px;
  font-size: 1.28em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category label {
  color: var(--color-accent);
  font-size: 1.03em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  user-select: none;
  cursor: pointer;
}
.cookie-switch {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: #34425A;
  position: relative;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: left 0.16s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 25px;
  background: var(--color-primary);
}
.cookie-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: var(--color-accent);
  font-size: 1.6em;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-close-btn:hover { color: var(--color-secondary); }
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 98vw;
    padding: 20px 7px 20px 7px;
  }
}

/* ---------------
   ANIMATIONS
----------------*/
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUpIn {
  from { transform: translateY(40px); opacity:0 }
  to { transform: translateY(0); opacity:1 }
}

.section, .card, .feature-card, .service-card, .testimonial-card {
  animation: fadeIn 0.6s cubic-bezier(0.23,1,0.32,1);
}

/* ------ UTILS ------- */
.text-center {
  text-align: center;
}
.align-center {
  align-items: center;
}
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }

/* ------ VISUAL ELEMENTS ------- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #37404a;
  border-radius: 6px;
}

/* ------ INDUSTRIAL MODERN METALIC/URBAN EFFECTS ------*/
.card, .testimonial-card, .feature-card, .service-card {
  border: 1.5px solid var(--color-metallic);
  box-shadow: 0 7px 38px 0 rgba(34,40,49,0.17);
}
.section {
  border: 2px solid #272B32;
  box-shadow: 0 4px 22px rgba(38, 42, 50, 0.13);
  background: linear-gradient(160deg, var(--color-bg-medium) 92%, rgba(211, 168, 73, 0.06) 100%);
}

/* ------ MISC STYLE ------ */
hr {
  border: none;
  height: 1.5px;
  background: var(--color-metallic);
  margin: 24px 0;
}

input[type="checkbox"] {
  accent-color: var(--color-secondary);
}

/* ---------------
   NO GRID ALLOWED!
----------------*/
/* (No grid/column allowed - all layouts via flex!) */
