/* --- CSS RESET & BASE TYPOGRAPHY --- */
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: 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;
  min-height: 100vh;
  color: #23242a;
  background: #F3F3F3;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #3B3E42;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

/* --- BRAND & CREATIVE ARTISTIC THEME --- */
:root {
  --brand-primary: #3B3E42;
  --brand-secondary: #F3F3F3;
  --brand-accent: #DCAE1D;
  --brand-error: #d95040;
  --brand-success: #219067;
  --brand-shadow: rgba(59,62,66,0.06);
}

body {
  background: linear-gradient(135deg, #F3F3F3 86%, #fff 100%);
}

/* --- SCROLLBAR FOR MODERN FEEL --- */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #DCAE1D;
  border-radius: 8px;
}

/* --- ARTISTIC TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.18;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(220,174,29,0.045);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.22;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg,#3B3E42, #DCAE1D 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: 4px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
.subtitle {
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-style: italic;
  margin-bottom: 26px;
  color: #726f6c;
}
p {
  font-size: 1rem;
  color: #3B3E42;
}

@media (max-width: 1100px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.12rem; }
}

/* --- GENERIC LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 24px var(--brand-shadow);
  position: sticky;
  top: 0; left: 0;
  z-index: 40;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 76px;
  gap: 24px;
  padding: 20px 18px;
  justify-content: space-between;
}
header img {
  max-height: 42px;
  margin-right: 16px;
}
nav {
  display: flex;
  gap: 22px;
}
nav a {
  position: relative;
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 2px 2px 2px 0;
}
nav a:after {
  content: '';
  display: block;
  height: 3px;
  width: 0%;
  background: var(--brand-accent);
  transition: width 0.19s cubic-bezier(.53,.01,.71,1.87);
  border-radius: 2px;
  margin-top: 3px;
}
nav a:hover, nav a:focus {
  color: var(--brand-accent);
}
nav a:hover:after, nav a:focus:after {
  width: 85%;
}

.cta-primary {
  display: inline-block;
  background: var(--brand-accent);
  color: #3B3E42;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 12px 34px;
  border-radius: 26px;
  box-shadow: 0 3px 24px 0 #dcae1d20;
  border: none;
  cursor: pointer;
  letter-spacing: 0.07em;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.21s;
  position: relative;
  overflow: hidden;
}
.cta-primary:hover, .cta-primary:focus {
  background: #e0b70c;
  color: #23242a;
  box-shadow: 0 8px 32px -6px #dcc31d42;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s, color 0.12s;
  z-index: 52;
}

@media (max-width: 992px) {
  nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  background: rgba(243,243,243,0.98);
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 18vw;
  box-shadow: 0 2px 26px #E3D49666;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 100vw rgba(59,62,66,0.18);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2.3rem;
  margin: 36px 0 30px 0;
  cursor: pointer;
  align-self: flex-end;
  padding: 8px 18px;
  border-radius: 50%;
  transition: background 0.13s;
}
.mobile-menu-close:hover {
  background: #ececec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 16px 0 3px 0;
  border-bottom: 1px solid #F1F1F1;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--brand-accent);
  background: #FFF9E340;
}
@media (max-width: 768px) {
  .mobile-menu { padding: 0 0 0 0; }
  .mobile-nav a { font-size: 1.02rem; }
}

/* --- MAIN CONTENT --- */
main {
  min-height: 70vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px 32px 8px;
    margin-bottom: 38px;
  }
}

.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

/* --- CARDS ARTISTIC STYLE --- */
.card, .feature-grid > div {
  background: #ffffff;
  border-radius: 23px;
  box-shadow: 0 6px 32px -9px #3b3e4229;
  padding: 28px 22px 20px 22px;
  flex: 1 1 220px;
  min-width: 260px;
  max-width: 320px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.19s;
  border: 2px solid transparent;
  overflow: hidden;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 13px 56px -8px #dcc31d55;
  transform: translateY(-3px) scale(1.017);
  border: 2px solid #DCAE1D44;
}
.card img, .feature-grid img {
  margin-bottom: 16px;
  max-height: 52px;
  filter: saturate(1.14); /* artistic pop */
}
.card h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}
.card p, .feature-grid p {
  font-size: 0.97rem;
  color: #494953;
}

/* --- FLEX ALIGNMENT PATTERNS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F6EC;
  border-left: 7px solid var(--brand-accent);
  border-radius: 18px 18px 16px 10px;
  margin-bottom: 26px;
  box-shadow: 0 4px 32px -9px #dcae1d1c;
}
.testimonial-card p {
  font-size: 1.14rem;
  font-style: italic;
  color: #2B2B2E;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #3B3E42;
  font-weight: 700;
  font-family: 'Montserrat',sans-serif;
}

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

/* --- FEATURE SECTION --- */
.feature-grid {
  width: 100%;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 30px;
}
.feature-grid > div {
  min-width: 215px;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- BUTTONS --- */
button, .cta-primary {
  outline: none;
  border: none;
  letter-spacing: 0.04em;
}
button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--brand-accent) !important;
  outline-offset: 2px;
}

/* --- LISTS --- */
ul, ol {
  padding-left: 22px;
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #444;
  position: relative;
}
ul li::marker {
  color: var(--brand-accent);
}

/* --- FORMS (future-proof) --- */
input, textarea, select {
  font-family: 'Roboto', sans-serif;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1.5px solid #D5D5D3;
  margin-bottom: 18px;
  font-size: 1rem;
  background: #f9f7ef;
  color: #3B3E42;
  outline: none;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--brand-accent);
}

/* --- FOOTER --- */
footer {
  background: #23242a;
  color: #f3f3f3;
  margin-top: 40px;
  padding: 44px 0 32px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 32px;
  justify-content: center;
}
footer img {
  height: 44px;
  margin-bottom: 20px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #f3f3f3;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  position: relative;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #DCAE1D;
}
footer div span, footer div img {
  vertical-align: middle;
  font-size: 0.98rem;
}
footer div span img {
  margin-right: 5px;
  height: 18px;
}
footer div span {
  margin-right: 12px;
}

/* --- ADDRESS (contact page section) --- */
address {
  font-style: normal;
  font-size: 1rem;
  color: #3B3E42;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff9e3;
  color: #3B3E42;
  box-shadow: 0 -2px 24px #cfc5ab66;
  padding: 28px 20px 22px 20px;
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.53,.01,.71,1.2), opacity 0.28s;
}
.cookie-banner.closed {
  transform: translateY(140%);
  opacity: 0;
}
.cookie-banner .cookie-message {
  flex: 1 1 auto;
  font-size: 1.03rem;
  line-height: 1.5;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.cookie-banner button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 18px;
  cursor: pointer;
  border: none;
  margin: 0 2px;
  box-shadow: 0 2px 8px #dcc31d13;
  transition: background 0.14s, color 0.12s;
}
.cookie-banner .accept {
  background: var(--brand-accent);
  color: #3B3E42;
}
.cookie-banner .accept:hover {
  background: #e0b70c;
}
.cookie-banner .reject {
  background: #eeeeec;
  color: #3B3E42;
}
.cookie-banner .reject:hover {
  background: #D95040;
  color: #fff;
}
.cookie-banner .settings {
  background: #3B3E42;
  color: #fff;
}
.cookie-banner .settings:hover {
  background: #524c3e;
  color: #ffe082;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 26px 8px 18px 8px;
  }
  .cookie-banner .cookie-actions { gap: 7px; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,34,40,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s 0s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s 0.12s;
}
.cookie-modal {
  background: #fff9e3;
  color: #3B3E42;
  box-shadow: 0 8px 56px #dcc31d29;
  border-radius: 22px 22px 12px 12px;
  max-width: 410px;
  width: 92vw;
  padding: 44px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.29rem;
  margin-bottom: 0;
  background: none;
  color: var(--brand-primary);
  -webkit-text-fill-color: initial;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 0;
  gap: 18px;
}
.cookie-modal .switch {
  width: 40px; height: 24px;
  background: #E7E7DA;
  border-radius: 12px;
  position: relative;
  margin-left: auto;
  cursor: pointer;
}
.cookie-modal .switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px; height: 18px;
  background: #c0bca9;
  border-radius: 50%;
  transition: background 0.18s, transform 0.14s;
}
.cookie-modal .switch input[type="checkbox"]:checked + .slider {
  background: #DCAE1D;
  transform: translateX(16px);
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
}
.cookie-modal .category-essential {
  color: #84a867;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .modal-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: 0 2px 9px #dcc31d16;
}
.cookie-modal button.cancel {
  background: #eee;
  color: #333;
}
.cookie-modal button:hover:not(.cancel),
.cookie-modal button:focus:not(.cancel) {
  background: #e0b70c;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 18px 7vw 20px 8vw; }
}

/* --- ANIMATIONS/MICRO-INTERACTIONS --- */
.cta-primary::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.11) 2%, rgba(220,174,29,0.11) 48%, rgba(255,255,255,0.15) 80%);
  transition: left 0.3s cubic-bezier(.4,.45,.56,1.34);
  pointer-events: none;
}
.cta-primary:hover::after {
  left: 0%;
}

.card, .feature-grid > div,
.testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 15px 56px -7px #dcae1d44;
  transform: translateY(-2px) scale(1.01);
  border-color: #dcae1d88;
}
.testimonial-card {
  position: relative;
}
.testimonial-card:before {
  content: '\201C';
  font-family: 'Montserrat', cursive, sans-serif;
  display: block;
  position: absolute;
  top: 10px; left: 20px;
  font-size: 2.9rem;
  color: #DCAE1D33;
  pointer-events: none;
}

/* --- UTILITY --- */
.m-b-20 { margin-bottom: 20px; }
.m-b-40 { margin-bottom: 40px; }
.m-b-60 { margin-bottom: 60px; }
.p-t-40 { padding-top: 40px; }
.center { text-align: center; justify-content: center; align-items: center; }

/* --- RESPONSIVE TYPOGRAPHY & GAPS --- */
@media (max-width: 992px) {
  .container { padding: 0 9px; }
  .card, .feature-grid > div { min-width: 180px; }
}

@media (max-width: 600px) {
  header .container { gap: 8px; padding: 13px 4px; }
  .card, .feature-grid > div { min-width: 98%; max-width: 100%; padding: 16px 10px; }
  .section { padding: 18px 4px; }
}

/* --- Z-INDEX LAYERING, PREVENT OVERLAP --- */
header { z-index: 100; }
.mobile-menu { z-index: 1200; }
.cookie-banner, .cookie-modal { z-index: 3000; }

/* --- OVERRIDES & ARTISTIC TOUCHES --- */
.section:nth-child(odd) {
  background: #fffdfa;
  border-radius: 31px 31px 18px 18px;
  box-shadow: 0 7px 36px 0 #dcc31d09;
}

/* --- ACCESSIBILITY: FOCUS STATES --- */
a:focus { outline: 2px solid #DCAE1D; outline-offset: 1px; }
.cta-primary:focus { outline: 3px solid #3B3E42; }

/* --- PRINT/SELECTION STYLES --- */
::selection {
  background: #DCAE1D;
  color: #23242a;
}

/* --- FORM: CONTACT/NEWSLETTER (future) --- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

/* --- END --- */
