/*--------------------*
  CSS RESET & BASELINE
*---------------------*/
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.5;
  background: #15191d;
  color: #f3f6f9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #D1B674;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff2cb;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/*--------------------*
  BRAND FONTS
*---------------------*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Montserrat:wght@400;500;700&display=swap');

:root {
  --brand-primary: #1C262E;
  --brand-secondary: #D1B674;
  --brand-accent: #F3F6F9;
  --brand-bg: #15191d;
  --brand-metal: #6E7275;
  --brand-danger: #870a0a;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --border-radius: 10px;
  --shadow-card: 0 4px 16px 0 rgba(28,38,46,0.21);
}

/*--------------------*
  TYPOGRAPHY
*---------------------*/
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-secondary);
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--brand-secondary);
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-accent);
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 22px;
  line-height: 1.8;
}
strong {
  font-weight: 700;
  color: #fff;
}
small {
  font-size: 0.92em;
  color: #b6bfc8;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.cta {
  background: var(--brand-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202932;
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow .24s;
  border: 1px solid #252c32;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(209,182,116,0.13);
  border-color: var(--brand-secondary);
}
.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 {
  background: #f3f6f9;
  color: #111;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px 0 rgba(20,28,34,.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 28px;
  min-width: 240px;
  max-width: 460px;
  border: 1.5px solid #e9e4d5;
}
.testimonial-card p {
  color: #171e23;
  font-size: 1.08em;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  font-size: 0.98em;
  margin-top: 5px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  background: #22292f;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 7px 0 rgba(28, 38, 46, .13);
  padding: 28px 22px 24px 22px;
  flex: 1 1 245px;
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .22s, border-color .22s;
  border: 1px solid #272e35;
}
.feature-grid > div:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 6px 20px 0 rgba(209,182,116,0.13);
}
.feature-grid img {
  width: 38px;
  margin-bottom: 14px;
  filter: grayscale(60%) contrast(120%);
}

ul {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 22px;
}
ol {
  padding-left: 22px;
}

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

.card-grid { /* For any future .card-grid containers */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

/*--------------------*
  NAVIGATION
*---------------------*/
header {
  width: 100%;
  background: #181f23;
  padding: 0;
  box-shadow: 0 3px 18px -8px #181f23cc;
  position: relative;
  z-index: 200;
}
.main-nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 0 18px;
  min-height: 74px;
  background: transparent;
}
.main-nav a {
  color: #f3f6f9;
  font-family: var(--font-body);
  font-size: 1.08em;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .16s, color .18s;
}
.main-nav img {
  height: 42px;
  margin-right: 18px;
  vertical-align: middle;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: #191b17;
}
.main-nav .cta-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .08em;
  font-size: 1em;
  box-shadow: 0 4px 16px 0 rgba(209,182,116,0.09);
  border: none;
  transition: background .19s, color .17s, box-shadow .19s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #fff2cb;
  color: #231f12;
  box-shadow: 0 6px 24px 0 rgba(255,242,203,0.13);
}

/* Responsive nav off on mobile */
@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
  .main-nav a, .main-nav .cta-primary {
    font-size: .99em;
    padding: 7px 10px;
  }
}
@media (max-width: 800px) {
  .main-nav a {
    display: none;
  }
  .main-nav a:first-child {
    display: inline-block;
  }
}

/*--------------------*
  MOBILE MENU (Burger)
*---------------------*/
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--brand-secondary);
  font-size: 2.2rem;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 14px;
  cursor: pointer;
  z-index: 1101;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #262c32;
  border-radius: 8px;
}

@media (min-width: 801px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181f23ee;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.69,.05,.37,1.17);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 54px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--brand-secondary);
  cursor: pointer;
  z-index: 2100;
  transition: background .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #262c32;
  border-radius: 8px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23em;
  font-family: var(--font-body);
  padding: 18px 0 18px 0;
  border-bottom: 1px solid #23272b;
  width: 90vw;
  max-width: 340px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #23272b;
}

@media (min-width: 801px) {
  .mobile-menu { display: none; }
}

/*--------------------*
  HERO SECTION
*---------------------*/
.hero {
  background: linear-gradient(120deg, #232a30, #1c262e 80%);
  padding: 34px 0 0 0;
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: var(--brand-secondary);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  margin-bottom: 19px;
  font-size: 2.25rem;
}
.hero p {
  color: var(--brand-accent);
  margin-bottom: 22px;
  font-size: 1.13rem;
}
.hero .cta-primary {
  display: inline-block;
}

/*--------------------*
  BUTTONS & CTA
*---------------------*/
.cta-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary) !important;
  border: none;
  border-radius: 7px;
  padding: 13px 36px;
  box-shadow: 0 4px 18px 0 rgba(209,182,116,0.09);
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: 0.095em;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 12px;
  transition: background .23s, color .20s, transform .18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff2cb;
  color: #231f12 !important;
  transform: translateY(-2px) scale(1.028);
}
.button, button, input[type=submit], input[type=button] {
  font-family: var(--font-body);
  border-radius: 6px;
  border: 1px solid var(--brand-secondary);
  color: var(--brand-secondary);
  background: #232a30;
  padding: 10px 30px;
  font-size: 1em;
  font-weight: 500;
  transition: background .18s, color .18s, box-shadow .20s;
  cursor: pointer;
}
.button:hover, button:hover, input[type=submit]:hover, input[type=button]:hover {
  background: var(--brand-secondary);
  color: #232a30 !important;
  box-shadow: 0 4px 20px 0 rgba(232,192,74,0.11);
}

/*--------------------*
  FOOTER
*---------------------*/
footer {
  background: #111316;
  width: 100%;
  color: #c1bfae;
  padding: 0 0 10px 0;
  border-top: 3px solid #222823;
  font-size: .99em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 10px 0 10px;
  border-radius: 0 0 14px 14px;
}
.footer-nav > a img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
  min-width: 130px;
}
.footer-nav nav a {
  color: #cdc6b0;
  font-size: 1em;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  padding: 4px 0;
  transition: color .19s;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.contact-shortlist {
  font-size: .97em;
  color: #ecebeb;
  min-width: 175px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.contact-shortlist img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: .80;
  filter: grayscale(85%) contrast(150%);
}
.footer-legal {
  width: 100%;
  margin-top: 12px;
  color: #7e7d73;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 0 0 0;
  }
  .footer-nav nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px 15px;
  }
  .footer-legal {
    margin-top: 22px;
  }
}
@media (max-width: 650px) {
  .footer-nav nav {
    flex-direction: column;
    gap: 4px;
  }
  .footer-nav {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/*--------------------*
  CONTACT INFO
*---------------------*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.contact-info img {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  opacity: 0.85;
  filter: grayscale(75%) contrast(125%);
}
.contact-info a {
  color: var(--brand-secondary);
  border-bottom: 1px dotted var(--brand-secondary);
  transition: color .14s, border-bottom .16s;
}
.contact-info a:hover {
  color: #fff2cb;
  border-bottom: 1px solid var(--brand-secondary);
}

/*--------------------*
  FORMS (FUTURE PROOF)
*---------------------*/
input, textarea, select {
  background: #242c31;
  color: #fff;
  border: 1px solid #363535;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 1em;
  margin-bottom: 16px;
  font-family: var(--font-body);
  transition: border-color .14s, box-shadow .20s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 2px rgba(209,182,116,0.14);
}

/*--------------------*
  COOKIE CONSENT BANNER
*---------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232a30;
  color: var(--brand-accent);
  padding: 26px 20px 18px 20px;
  box-shadow: 0 -2px 18px 0 rgba(28,38,46,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  z-index: 3000;
  font-size: 1em;
  border-radius: 18px 18px 0 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(.61,-0.08,.51,1.01);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .button, 
.cookie-banner .cookie-button {
  margin-left: 10px;
  font-size: 1em;
  border-radius: 6px;
  padding: 8px 20px;
  border: 1px solid var(--brand-secondary);
  background: #232a30;
  color: var(--brand-secondary);
  cursor: pointer;
  box-shadow: none;
  transition: background .15s, color .15s;
}
.cookie-banner .button.cta, .cookie-banner .cookie-button.cta {
  background: var(--brand-secondary);
  color: #191b17 !important;
  border: none;
  font-weight: 700;
}
.cookie-banner .button:hover, .cookie-banner .cookie-button:hover {
  background: var(--brand-secondary);
  color: #222 !important;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(34,37,40,0.97);
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .27s, visibility .27s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-content {
  background: #232a2f;
  border-radius: 18px;
  padding: 36px 24px 30px 24px;
  min-width: 310px;
  max-width: 460px;
  color: var(--brand-accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 9px 40px 0 rgba(20,28,34, .19);
  border: 2.5px solid var(--brand-secondary);
  font-size: 1.06em;
}
.cookie-modal-content h2 {
  color: var(--brand-secondary);
  font-size: 1.33rem;
  margin-bottom: 13px;
  font-family: var(--font-display);
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.cookie-modal-category {
  margin-bottom: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 30px;
  right: 38px;
  background: none;
  border: none;
  color: var(--brand-secondary);
  font-size: 2em;
  cursor: pointer;
}

@media (max-width: 460px) {
  .cookie-modal-content {
    min-width: 94vw;
    padding: 17px 6vw 20px 6vw;
    font-size: 0.96em;
  }
}

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

.cta-primary, .button, button {
  transition: background 0.16s, color 0.16s, box-shadow .16s, transform .16s;
}
.card, .feature-grid > div {
  transition: box-shadow 0.18s, transform 0.18s, border-color .16s;
}
.card:hover, .feature-grid > div:hover {
  transform: translateY(-3px) scale(1.025);
}

/*--------------------*
  RESPONSIVE STYLES
*---------------------*/
@media (max-width: 1020px) {
  .container {
    max-width: 980px;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0 0 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
    max-width: 100vw;
  }
  .section, .cta {
    padding: 25px 7px;
    margin-bottom: 36px;
  }
  .content-grid, .card-container, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    align-items: stretch;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 18px 12px 16px 14px;
  }
  .feature-grid {
    gap: 16px;
  }
  .footer-nav {
    gap: 11px;
    padding: 12px 0 0 0;
  }
  .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2px;
  }
  .section, .cta {
    padding: 13px 1px;
    margin-bottom: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 17px 8px 12px 6px;
    gap: 9px;
    font-size: 0.95em;
  }
  h1, .h1 {
    font-size: 1.25rem;
  }
  .hero h1 {
    font-size: 1.12rem;
  }
}

/*--------------------*
  MISC/UTILITY
*---------------------*/
.metal-divider {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, #6E7275 0, #D1B674 100%);
  margin: 20px 0;
  border-radius: 1px;
}

::-webkit-scrollbar {
  width: 10px;
  background: #202932;
}
::-webkit-scrollbar-thumb {
  background: #484f54;
  border-radius: 4px;
}

/*--------------------*
  ACCESSIBILITY
*---------------------*/
:focus {
  outline: 2px dashed var(--brand-secondary);
  outline-offset: 2px;
}

/*--------------------*
  END
*---------------------*/
