/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
*:focus {
  outline: 2px solid #D6A863;
  outline-offset: 2px;
}

/* VARIABLES & FONTS */
:root {
  --color-primary: #26313B;
  --color-secondary: #D6A863;
  --color-accent: #F7F5EF;
  --color-dark: #181C22;
  --color-mid: #323C46;
  --color-steel: #79818A;
  --color-grey: #B4B6B8;
  --color-light: #F7F5EF;
  --color-metal: #8B8C89;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px 2px rgba(24,28,34,0.09); /* Modern soft shadow */
}
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-dark);
  color: var(--color-light);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
h1 {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(24,28,34,0.18);
}
h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-secondary);
}
h3 {
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 12px;
}
h4 {
  font-size: 18px;
  color: var(--color-metal);
}
p, li, ul, a, span, label {
  color: var(--color-light);
  font-size: 16px;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* HEADER */
header {
  width: 100%;
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-secondary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--color-light);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
header img {
  height: 48px;
}
.btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  background-color: var(--color-secondary);
  color: var(--color-dark);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px 0 rgba(214,168,99,0.09);
  cursor: pointer;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 0;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-light);
  color: var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(250,221,148,0.14);
  transform: translateY(-2px) scale(1.03);
}
header .btn-primary {
  margin-left: 24px;
}

/* Burger & Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 1012;
  margin-left: 16px;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,49,59,0.98);
  z-index: 2000;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .32s cubic-bezier(.56,.01,.38,1), opacity .32s;
  display: flex;
  flex-direction: column;
  padding: 40px 20px 20px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 24px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 2002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 20px;
  color: var(--color-light);
  padding: 16px 0;
  border-bottom: 1px solid rgba(214,168,99,0.18);
  transition: color var(--transition);
  width: 96vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
}

/* MAIN & SECTION LAYOUTS */
main {
  background: var(--color-dark);
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  width: 100%;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 26px 0 26px 0;
    margin-bottom: 38px;
  }
}

/* Cards & Grids */
.card-container,.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card, .service-card {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--color-metal);
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}
.card:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 32px 0 rgba(214,168,99,0.19);
  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) {
  .content-grid,.text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Feature List & Items */
.features, .feature-list, .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper ul li, .feature-item li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: var(--color-accent);
}
.content-wrapper ul li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  filter: grayscale(60%) brightness(110%)
    drop-shadow(0 2px 2px #181c22cc);
}

/* Testimonials */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px 0 rgba(38,49,59,0.10);
  padding: 20px;
  min-width: 250px;
  max-width: 380px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card p {
  font-size: 16px;
  color: var(--color-dark);
}
.testimonial-meter {
  font-size: 15px;
  font-style: italic;
  color: var(--color-metal);
}
.testimonial-card:hover, .testimonial-card:focus {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 4px 24px 2px rgba(150,150,150,0.12);
}

/* Thank you message */
.thank-you-message {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  font-size: 18px;
  box-shadow: 0 3px 21px 0 rgba(38,49,59,.08);
  border-left: 4px solid var(--color-secondary);
  max-width: 500px;
}

/* Feature Callout */
.feature-callout {
  margin-top: 18px;
  padding: 14px 24px;
  background: var(--color-mid);
  color: var(--color-secondary);
  border-radius: var(--radius-md);
  font-size: 17px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  display: inline-block;
}

/* Utility alignments */
.text-section {
  margin-bottom: 22px;
  font-size: 17px;
  color: var(--color-accent);
  line-height: 1.7;
}

/* Footer */
footer {
  width: 100%;
  background: var(--color-primary);
  border-top: 2.5px solid var(--color-secondary);
  padding: 10px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
footer nav a {
  color: var(--color-light);
  text-transform: uppercase;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 14px;
  border-radius: 4px;
  padding: 4px 7px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-dark);
  background: var(--color-secondary);
}
footer nav span {
  color: var(--color-steel);
}
@media (max-width: 820px) {
  footer .container,
  footer nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 4000;
  box-shadow: 0 -2px 16px 0 rgba(38,49,59,.08), 0 0 0 #0000;
  padding: 24px 20px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  animation: cookie-fadein .4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-fadein {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner .cookie-message {
  font-size: 15px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 9px 18px;
  font-size: 15px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept-all {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: var(--color-light);
  color: var(--color-primary);
  box-shadow: 0 2px 18px 0 rgba(214,168,99,0.13);
}
.cookie-banner .reject-all {
  background: none;
  color: var(--color-grey);
  border: 2px solid var(--color-metal);
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: var(--color-mid);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-banner .cookie-settings {
  background: var(--color-mid);
  color: var(--color-secondary);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 8px 17px 8px;
    gap: 16px;
  }
  .cookie-banner .cookie-message {
    font-size: 14px;
  }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,34,0.81);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4050;
  animation: cookie-modal-fade-in .23s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 38px 26px 30px 26px;
  border-radius: var(--radius-lg);
  min-width: 310px;
  max-width: 400px;
  box-shadow: 0 12px 40px 4px rgba(24,28,34,.21);
  position: relative;
  animation: cookie-modal-popup .25s cubic-bezier(.6,0,.2,1);
}
@keyframes cookie-modal-popup {
  from { transform: translateY(40px) scale(.95); }
  to { transform: none; }
}
.cookie-modal-content h3 {
  color: var(--color-secondary);
  font-size: 22px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 16px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-mid);
  border-radius: 22px;
  transition: background var(--transition);
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--color-light);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: var(--color-dark);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--color-secondary);
  cursor: pointer;
}
@media (max-width: 512px) {
  .cookie-modal-content {
    min-width: 90vw;
    padding: 22px 6px 16px 6px;
  }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 900px;
  }
  .card-container,.service-cards,.testimonial-cards {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .card-container,.service-cards,.testimonial-cards {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  h3 { font-size: 16px; }
  section { padding: 19px 2px; }
  .card, .service-card, .testimonial-card {
    min-width: 98vw;
    max-width: 100vw;
    padding: 18px 6px;
  }
}

/* LINKS & BUTTONS */
a {
  color: var(--color-secondary);
  transition: color var(--transition);
  font-size: 16px;
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline dotted;
}
.btn-primary:active {
  background: var(--color-secondary);
  box-shadow: 0 2px 8px 0 rgba(214,168,99,0.16);
}

/* Misc Helpers */
.hide-on-mobile { display: block; }
@media (max-width: 768px) { .hide-on-mobile { display: none; } }

/* Decorative Dividers */
hr {
  height: 1px;
  border: none;
  background: var(--color-metal);
  margin: 36px 0 36px 0;
  opacity: 0.17;
  width: 80%;
}

/* Accessibility Contrast Fixes */
.testimonial-card p, .testimonial-card .testimonial-meter, .thank-you-message {
  color: var(--color-dark);
  background: none;
}

/* Z-INDEX ENFORCEMENT */
header, .mobile-menu { z-index: 2000; }
footer { z-index: 100; position: relative; }

/* METALLIC DECOR/EFFECTS */
.card, .service-card, .testimonial-card, .thank-you-message, .feature-callout {
  border-right: 2px solid rgba(139,140,137, .22);
  border-bottom: 2px solid rgba(139,140,137, .11);
  box-shadow: 0 2px 8px 0 rgba(139,140,137,.09);
}

/* End of CSS */
