/* Salvorn Spire - INDUSTRIAL MODERN STYLE - style.css */

/* CSS RESET & BASE --------------------------------------------------- */
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,
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 {
  line-height: 1.5;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #222727;
  color: #ECF0ED;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C2A23A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4F6F1;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}

/* BRAND FONTS -------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  src: local('Source Sans Pro'), url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&display=swap');
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F4F6F1;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 8px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.lead {
  font-size: 1.25rem;
  color: #C2A23A;
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}

/* LAYOUT ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #252929;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(20,23,24, 0.13);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.card {
  background: #252929;
  color: #ECF0ED;
  border: 1.5px solid #383f3c; /* faux-metallic */
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(34,40,44,0.19);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.12s;
  display: flex;
  flex-direction: column;
  min-width: 265px;
  flex: 1 1 260px;
}
.card:hover, .card:focus-within {
  border-color: #A0821D;
  box-shadow: 0 8px 24px rgba(194,162,58, 0.13), 0 1.5px 0 #A0821D;
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}
.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: flex-start;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4F6F1;
  color: #222727;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(73, 78, 79, .09);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 550px;
  border-left: 4px solid #A0821D;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: #225043;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* METALLIC ACCENTS & URBAN FEEL -------------------------------------- */
hr {
  border: none;
  border-top: 1.5px solid #383F3C;
  margin: 32px 0;
}
.icon {
  filter: grayscale(0.5) contrast(1.1);
  opacity: 0.82;
}

/* BUTTONS ----------------------------------------------------------- */
.btn-primary {
  background: linear-gradient(90deg,#225043 60%, #A0821D 130%);
  color: #F4F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 36px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(34, 40, 44, .06);
  display: inline-block;
  margin-top: 16px;
  transition: box-shadow 0.21s cubic-bezier(0.42,0,0.58,1), background 0.16s, transform .13s;
  cursor: pointer;
  outline: none;
  position: relative;
}
.btn-primary:after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 8px;
  border: 2px solid rgba(194,162,58, 0);
  transition: border-color 0.19s;
  pointer-events: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#335354 55%, #C2A23A 130%);
  box-shadow: 0 4px 18px rgba(194,162,58, 0.15), 0 2px 0 #A0821D;
  color: #fffbe9;
  transform: scale(1.032);
}
.btn-primary:focus:after {
  border-color: #C2A23A;
}

/* PRIMARY NAV BAR --------------------------------------------------- */
header {
  background: #242928;
  border-bottom: 2.5px solid #383F3C;
  box-shadow: 0 2px 12px rgba(18,32,28, 0.08);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img[alt="Salvorn Spire"] {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 10px;
}
.main-nav a {
  color: #F4F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  letter-spacing: .6px;
  transition: color 0.16s;
  position: relative;
  padding: 4px 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A0821D;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 2px;
  background: #A0821D;
  opacity: 0;
  transition: opacity 0.18s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  opacity: 1;
}

/* MOBILE MENU ------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #C2A23A;
  cursor: pointer;
  margin-left: auto;
  transition: color .2s;
  z-index: 222;
  outline: none;
}
.mobile-menu-toggle:focus {
  color: #A0821D;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(34, 40, 44, 0.98);
  color: #F4F6F1;
  z-index: 9999;
  transition: transform 0.28s cubic-bezier(.54,.13,.43,1), opacity 0.21s;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #C2A23A;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 26px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus {
  color: #A0821D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 44px 32px 0 36px;
}
.mobile-nav a {
  color: #F4F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.39rem;
  padding: 10px 0;
  letter-spacing: .03em;
  border-bottom: 1.5px solid #393f3f;
  width: 100%;
  transition: color .15s, border-color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A0821D;
  border-color: #A0821D;
}

/* MAIN CONTENT & SECTIONS ------------------------------------------- */
main {
  padding-top: 24px;
  background: #222727;
  min-height: 64vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding-left: 0;
  padding-right: 0;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-grid > div {
  background: #252929;
  border: 1.5px solid #383f3c;
  border-radius: 12px;
  color: #ECF0ED;
  box-shadow: 0 2px 9px rgba(34,40,44,0.13);
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 19px 20px 28px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: transform .11s, box-shadow .24s;
}
.service-grid > div strong {
  color: #C2A23A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.service-grid > div span {
  color: #A0821D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
}
.service-grid > div:hover, .service-grid > div:focus-within {
  border-color: #A0821D;
  box-shadow: 0 3px 15px rgba(194,162,58,0.12), 0 2px 0 #C2A23A;
  transform: scale(1.018);
  z-index: 2;
}

.text-section {
  margin-bottom: 12px;
  font-size: 1.13rem;
  color: #E5F6F1;
}

/* LISTS & FEATURES -------------------------------------------------- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
ul li, ol li {
  font-size: 1.08rem;
  margin-bottom: 6px;
  list-style-type: disc;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F4F6F1;
}
ul li img {
  height: 22px;
  width: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0.35) contrast(1.15);
  margin-right: 2px;
}

/* DL FAQ STYLE ------------------------------------------------------ */
dl {
  margin-bottom: 24px;
}
dl dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #C2A23A;
  margin-bottom: 7px;
  font-size: 1.09rem;
}
dl dd {
  margin: 0 0 19px 14px;
  color: #F4F6F1;
  font-size: 1rem;
}


/* MAP EMBED --------------------------------------------------------- */
.map-embed {
  background: #2B3032;
  color: #F4F6F1;
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0 10px 0;
  font-style: italic;
  font-size: 1.07rem;
  border: 1.5px solid #383F3C;
  box-shadow: 0 1.5px 8px rgba(34,40,44,0.07);
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: #171C1B;
  color: #DEE0DC;
  border-top: 2.5px solid #A0821D;
  margin-top: 40px;
  font-size: 1rem;
  box-shadow: 0 -1.5px 12px rgba(18,32,28, 0.13);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px 32px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0px;
}
.footer-brand img {
  height: 43px;
  margin-bottom: 10px;
}
.footer-contact {
  font-size: 1rem;
  color: #D5E0DE;
  min-width: 200px;
  max-width: 300px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 180px;
}
.footer-menu a {
  color: #A0821D;
  text-decoration: underline;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1.01rem;
  transition: color .13s;
}
.footer-menu a:hover, .footer-menu a:focus {color: #fffbe7;}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.footer-social img {
  height: 34px;
  width: 34px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.78;
  transition: filter 0.19s, opacity 0.2s;
}
.footer-social a:hover img {filter: grayscale(0.5) contrast(1.3); opacity:1;}


/* COOKIE CONSENT BANNER & MODAL -------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1B1F21;
  color: #ECF0ED;
  padding: 23px 24px 24px 24px;
  box-shadow: 0 -4px 25px rgba(18,16,0,0.25);
  z-index: 11000;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.04rem;
  justify-content: center;
  border-top: 2.5px solid #A0821D;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity .25s, transform .28s cubic-bezier(.48,.03,.56,.98);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .banner-message {
  flex: 1 1 250px;
  min-width: 180px;
  color: #ECF0ED;
  margin-bottom: 10px;
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 5.5px;
  padding: 11px 27px;
  font-weight: 600;
  margin-right: 4px;
  cursor: pointer;
  background: #333A38;
  color: #F4F6F1;
  transition: background 0.19s, color 0.13s, box-shadow .13s;
}
.cookie-banner button.accept {
  background: #A0821D;
  color: #222727;
}
.cookie-banner button.reject {
  background: #383F3C;
  color: #C2A23A;
}
.cookie-banner button.settings {
  background: #333A38;
  color: #F4F6F1;
  border: 1.6px solid #444;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  box-shadow: 0 2px 7px rgba(160,130,29, 0.15);
  background: #C2A23A;
  color: #222727;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,13,12,0.82);
  z-index: 22000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #242928;
  color: #F4F6F1;
  border-radius: 13px;
  min-width: 320px;
  max-width: 92vw;
  padding: 42px 32px 30px 32px;
  box-shadow: 0 12px 44px rgba(40,42,40,0.18);
  border: 2px solid #A0821D;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 22px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F4F6F1;
  cursor: pointer;
  z-index: 22221;
}
.cookie-modal h2 {
  color: #C2A23A;
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 1.04rem;
}
.cookie-category label {
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: #A0821D;
  width: 19px;
  height: 19px;
  margin-right: 8px;
}
.cookie-modal .always-on {
  color: #87A697;
  font-size: 0.95em;
  font-style: italic;
  margin-left: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

/* RESPONSIVE DESIGN: MOBILE-FIRST ----------------------------------- */
@media (max-width: 1050px) {
  .footer-contact, .footer-menu {min-width:140px;}
  .footer-brand img {height:36px;}
  .main-nav { gap: 12px; }
}
@media (max-width: 900px) {
  .service-grid, .card-container, .content-grid {gap: 16px;}
  .card {padding: 22px 12px;}
  .feature-item, .content-wrapper {gap:12px;}
  .footer-social img {height:27px;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .main-nav {display: none;}
  .btn-primary {
    padding: 13px 15px;
    font-size: 1.02rem;
    margin-top: 13px;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }
  .mobile-menu {display: flex;}
  .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card, .service-grid > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 16px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: 0;
    border-left-width: 4px;
    font-size: 1.02rem;
  }
  .content-wrapper {gap: 10px;}
  section {padding: 26px 0;}
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
    margin-top: 10px;
  }
  .footer-menu, .footer-contact {margin-bottom: 8px;}
  .footer-brand img {margin-bottom: 0;}
}
@media (max-width: 512px) {
  .container {padding-left: 7px; padding-right: 7px;}
  h1 {font-size: 1.75rem;}
  h2 {font-size: 1.22rem;}
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: 0.99rem;
    padding: 16px 5vw;
  }
  .cookie-modal {
    padding: 25px 6vw 18px 6vw;
    min-width: 0;
    font-size: 0.97rem;
  }
}

/* MICRO-INTERACTIONS ------------------------------------------------ */
.btn-primary, .main-nav a, .footer-menu a, .service-grid > div, .card, .testimonial-card {
  transition: all 0.17s cubic-bezier(.53,.22,.38,1), box-shadow .19s;
}
.testimonial-card {
  position: relative;
  transition: box-shadow .15s, border-color .13s; 
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 20px rgba(34,80,67,0.12);
  border-color: #225043;
}

input, textarea, select {
  background: #232828;
  color: #F4F6F1;
  border: 1.2px solid #383F3C;
  border-radius: 7px;
  padding: 10px 14px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 16px;
  font-size: 1.02rem;
  width:100%;
  box-shadow: 0 1px 3px rgba(34,40,44,.04);
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #C2A23A;
  box-shadow: 0 2px 8px rgba(194,162,58, .13);
}

/* SELECTION STYLING ------------------------------------------------- */
::selection {
  background: #A0821D;
  color: #F4F6F1;
}
::-webkit-selection {
  background: #A0821D;
  color: #F4F6F1;
}

/* PRINT STYLE ------------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle {display:none !important;}
  main, .container, section { background: #fff !important; color: #060909 !important; }
}
