/* =============================
   Dusky Venture - Monochrome Sophisticated Style
   Brand: Elegant, refined, prestige, security, trust.
   Layout: FLEX ONLY (No CSS Grid or Columns!)
   ============================= */

/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1a1a1a;
  /* to allow cookie banner */
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}

/* =============================
   MONOCHROME SOPHISTICATED BRAND PALETTE & FONTS
   ============================= */
:root {
  --color-primary: #372D2B;
  --color-secondary: #A97C50;
  --color-accent: #F6F4EF;
  --color-black: #191818;
  --color-white: #fff;
  --color-gray-900: #262626;
  --color-gray-800: #4D4D4F;
  --color-gray-400: #BDBDBD;
  --color-gray-100: #F3F3F3;
  --color-shadow: rgba(55,45,43,0.12);
  --brand-display: 'Playfair Display', serif;
  --brand-body: 'Lato', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-accent);
  color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== TYPOGRAPHY SCALE & HIERARCHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--brand-display);
  color: var(--color-black);
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.13;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  line-height: 1.17;
  margin-bottom: 16px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 600;
}
h4,h5,h6 {
  font-size: 1.125rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

p, li {
  font-family: var(--brand-body);
  color: var(--color-primary);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 12px;
}
subheadline, .subheadline {
  font-family: var(--brand-body);
  font-size: 1.2rem;
  color: var(--color-gray-800);
  margin-bottom: 25px;
}
strong {
  font-weight: 700;
}

small, .site-footer small {
  color: var(--color-gray-400);
  font-size: 0.93rem;
}

/* =============== HEADER & NAVIGATION =============== */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
  padding: 0 0;
  min-height: 68px;
  position: relative;
  z-index: 40;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 18px 0;
}
.site-header > a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: var(--brand-body);
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 500;
  opacity: 0.91;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-gray-100);
  color: var(--color-black);
  opacity: 1;
}
.main-nav .btn-primary {
  margin-left: 18px;
}

/* BURGER MENU - MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  padding: 7px 13px;
  z-index: 50;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.8,0,.22,1);
  box-shadow: -3px 0 24px rgba(0,0,0,0.07);
  opacity: 0.99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  margin: 22px 28px 0 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  margin: 44px 32px 0 0;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--brand-body);
  color: var(--color-white);
  font-size: 1.17rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  text-align: right;
  opacity: 0.98;
  border-radius: 0 7px 7px 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  opacity: 1;
}

/* Hide main-nav on small screens, show burger */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 1050px) {
  .site-header {
    justify-content: space-between;
    padding-left: 6px; padding-right: 9px;
    gap: 9px;
  }
  .site-header > a img {
    height: 39px;
  }
}

/* =============== HERO SECTIONS =============== */
.hero {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 8px 32px -12px var(--color-shadow);
  padding: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 260px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  padding: 44px 0 44px 0;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.75rem;
  font-family: var(--brand-display);
  margin-bottom: 15px;
}
.hero .subheadline {
  color: var(--color-gray-800);
  font-size: 1.3rem;
  margin-bottom: 27px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 195px;
  }
  .hero .content-wrapper {
    padding: 34px 0 34px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* =============== SECTION PADDING & SPACING =============== */
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* =============== FLEX LAYOUTS (MONOCHROME ELEGANT) =============== */
.feature-grid,
.value-icons-grid,
.card-container,.team-profiles,.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid .feature-item,
.value-icons-grid .value-item {
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 2px 18px -7px var(--color-shadow);
  padding: 36px 24px 28px 24px;
  flex: 1 1 270px;
  min-width: 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--color-gray-100);
  transition: box-shadow 0.2s;
}
.feature-grid .feature-item:hover,
.value-icons-grid .value-item:hover {
  box-shadow: 0 6px 24px -10px var(--color-secondary);
}
.feature-item img,
.value-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(1);
}

.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 4px 28px -14px var(--color-shadow);
  padding: 28px 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px -13px var(--color-primary);
}

.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: var(--color-white);
  border-radius: 11px;
  border: 1px solid var(--color-gray-100);
  box-shadow: 0 1.5px 14px -8px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 27px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 700px;
  position: relative;
  transition: box-shadow 0.22s, border-color 0.25s;
  color: var(--color-primary);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px -12px var(--color-secondary);
  border-color: var(--color-secondary);
}
.testimonial-meta {
  color: var(--color-gray-800);
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-name {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 880px) {
  .feature-grid, .card-container, .team-profiles, .value-icons-grid, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 11px;
  }
  .feature-grid .feature-item,
  .value-icons-grid .value-item {
    padding: 28px 13px 22px 13px;
  }
}
@media (max-width: 768px) {
  .section,
  main > section {
    margin-bottom: 36px;
    padding: 30px 6px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/**** Contact Details ****/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  min-width: 170px;
  margin-bottom: 8px;
}
.contact-details img {
  width: 25px; height: 25px; filter: grayscale(0.8);
}

/**** Newsletter Button Section ****/
.cta-newsletter, .cta-section, .thankyou-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/**** Card ***/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/**** LISTS ****/
ul, ol {
  margin-left: 20px;
  margin-bottom: 13px;
}
ul li, ol li {
  font-size: 1.07rem;
  margin-bottom: 8px;
  position: relative;
  color: var(--color-primary);
  padding-left: 16px;
}
ul li:before {
  content: '\2022';
  color: var(--color-secondary);
  position: absolute;
  left: 0; top: 0.1em;
  font-size: 1.34em;
}
ol li {
  padding-left: 0;
}

/**** BUTTONS, LINKS ****/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--brand-display);
  border-radius: 24px;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 12px 32px;
  background: var(--color-black);
  color: var(--color-accent);
  border: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px -4px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.12s;
  cursor: pointer;
  margin-top: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
}

/* SHARED BUTTONS for COOKIE BANNER etc */
.btn-secondary, .cookie-btn-secondary {
  background: transparent;
  border: 1.5px solid var(--color-black);
  color: var(--color-primary);
  font-family: var(--brand-body);
  font-weight: 600;
  font-size: 1.04rem;
  border-radius: 24px;
  padding: 10px 23px;
  margin: 2px 0 2px 12px;
  transition: background 0.18s, color 0.18s, border-color 0.17s;
  cursor: pointer;
}
.btn-secondary:hover,
.cookie-btn-secondary:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: var(--color-accent);
}


/* =============== FOOTER =============== */
.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 42px 0 18px 0;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-navigation a {
  color: var(--color-white);
  font-size: 1.04rem;
  opacity: 0.81;
  transition: opacity 0.17s, color 0.18s;
  font-family: var(--brand-body);
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand-info img {
  width: 47px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(0.7);
}
.footer-brand-info p {
  color: var(--color-gray-400);
  font-size: 1.04rem;
  margin-bottom: 6px;
  text-align: center;
}
.footer-brand-info .footer-social {
  display: flex;
  gap: 22px;
  margin-bottom: 7px;
}
.footer-brand-info .footer-social img {
  width: 26px;
  opacity: 0.76;
  transition: opacity 0.2s, filter 0.2s;
  cursor: pointer;
  filter: grayscale(1);
}
.footer-brand-info .footer-social img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 640px) {
  .footer-navigation {
    gap: 16px;
  }
  .footer-brand-info p, .footer-brand-info small {
    font-size: 0.96rem;
    text-align: center;
  }
  .footer-brand-info img { width: 36px; }
}

/* ========== BLOG/ARTICLE LIST (flex) ======= */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}
.blog-list .text-section {
  background: var(--color-accent);
  border-radius: 10px;
  padding: 26px 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 13px -9px var(--color-shadow);
  border: 1px solid var(--color-gray-100);
  flex: 1 1 220px;
  min-width: 200px;
}
@media (max-width: 900px) {
  .blog-list { flex-direction: column; gap: 16px; }
}

/* ========== SPECIAL THANK YOU SECTION ========== */
.thankyou-section {
  min-height: 320px;
  background: var(--color-accent);
  border-radius: 13px;
  box-shadow: 0 10px 34px -17px var(--color-shadow);
  margin: 0 auto 30px;
  padding: 44px 13px 49px 13px;
}

/**** Animations ****/
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.hero .content-wrapper, .testimonial-card, .feature-item, .value-item {
  animation: fadeInUp .7s cubic-bezier(.54,.02,.31,1.07) both;
}

/* ================= COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 2000;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 18px -4px var(--color-shadow);
  border-top: 2px solid var(--color-gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 10px 12px;
  gap: 17px;
  transition: transform 0.32s cubic-bezier(.7,0,.24,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-btn-primary {
  background: var(--color-black);
  color: var(--color-accent);
  font-family: var(--brand-body);
  font-weight: 600;
  font-size: 1.06rem;
  border-radius: 20px;
  border: none;
  padding: 9px 23px;
  transition: background 0.18s, color 0.14s;
  cursor: pointer;
}
.cookie-btn-primary:hover,
.cookie-btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (max-width: 450px) {
  .cookie-banner {
    padding: 15px 4px 7px 4px;
    gap: 10px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: stretch;
  }
}

/* =========== COOKIE MODAL =========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,24,24,0.53);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 16px;
  box-shadow: 0 16px 44px -13px var(--color-shadow);
  max-width: 420px;
  min-width: 280px;
  padding: 36px 26px 22px 26px;
  position: relative;
  z-index: 2150;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: fadeInUp .4s cubic-bezier(.7,0,.32,1.01) both;
}
@media (max-width: 520px) {
  .cookie-modal { padding: 18px 8px 8px 8px; width: 98vw; }
}
.cookie-modal h3 {
  color: var(--color-black);
  font-family: var(--brand-display);
  font-size: 1.26rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category.label-locked label {
  opacity: .55;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  vertical-align: middle;
  margin-right: 5px;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-gray-900);
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1205;
}
.cookie-modal-close:hover { color: var(--color-secondary); }

/**** Checkbox locking style (always enabled category) ****/
.cookie-category input[disabled] {
  pointer-events: none;
  accent-color: var(--color-gray-900);
  opacity: 0.75;
}

/**** Hide scrollbars in overlay elements ****/
.mobile-menu, .cookie-modal-overlay {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-400) var(--color-accent);
}


/* ================== UTILITY CLASSES ================== */
.hide { display: none !important; }
.flex { display: flex !important; }
.fwrap { flex-wrap: wrap !important; }
.gap20 { gap: 20px !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.rounded-lg { border-radius: 17px !important; }

/**** Scrollbar style ****/
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray-100);
  border-radius: 12px;
}

/**** Accessibility Focus Outline ****/
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ===================== END ==================== */
