/* RESET & BASICS */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  background: #23212e;
  color: #f5f5f5;
  letter-spacing: 0.01em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: #23212e;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #FFD38B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E36588;
}
ul, ol {
  margin-left: 20px;
}
strong {
  font-weight: 700;
}

/* BRAND FONTS */
h1, h2, h3, h4, .logo, .brand, .hero-section h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; color: #FFD38B; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; }

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  h4 { font-size: 0.95rem; }
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(29,26,40,0.96);
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(18,19,23,0.28);
}

/* FLEX LAYOUT PATTERNS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #272537;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px 0 rgba(36,31,54,0.12);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(40,32,45,0.24);
  transform: translateY(-2px) scale(1.01);
}
.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;
  align-items: center;
  gap: 20px;
  background: #faf7f2;
  color: #21212e;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(70,62,50,0.11);
  position: relative;
  font-size: 1.08rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero-section {
  background: linear-gradient(108deg, #2E2A49 75%, #E0517C 100%);
  padding: 68px 0 46px 0;
  color: #fff;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #FFD38B;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px #23212e45;
  margin-bottom: 12px;
}
.hero-section p {
  font-size: 1.13rem;
  color: #fffad9;
  margin-bottom: 26px;
  max-width: 660px;
}

/* NAVIGATION */
header {
  background: #23212e;
  box-shadow: 0 1px 0 0 #28254a44;
  position: sticky;
  top: 0;
  z-index: 6;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #FFD38B;
  font-weight: 600;
  transition: color 0.2s;
  padding: 5px 0;
}
.main-nav > a.active, .main-nav > a:hover, .main-nav > a:focus {
  color: #E36588;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 22px;
}
.btn-primary {
  background: #FFD38B;
  color: #2E2A49;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(224,81,124,.10);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s,box-shadow .22s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E0517C;
  color: #fff;
  box-shadow: 0 6px 18px rgba(224,81,124,0.15);
  outline: none;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #292542;
  border-radius: 14px;
  padding: 24px 20px 18px 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px 0 #2925421a;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1.5px solid #35314d;
  transition: border-color 0.18s;
  position: relative;
}
.feature-grid > div:hover {
  border-color: #FFD38B;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(50,45,80,.18));
}
.feature-grid strong {
  color: #FFD38B;
  letter-spacing: 0.01em;
  font-size: 1.13rem;
  margin-top: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
}
.text-section a {
  color: #E36588;
  text-decoration: underline;
  font-weight: 600;
  transition: color .18s;
}
.text-section a:hover, .text-section a:focus {
  color: #FFD38B;
}
.text-section ul, .text-section ol {
  padding-left: 24px;
}

/* TESTIMONIAL CARDS (high contrast) */
.testimonial-card {
  background: #faf7f2;
  color: #23212e;
  border-left: 4px solid #FFD38B;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(224,81,124,0.09);
  margin-bottom: 20px;
  padding: 20px 24px 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  word-break: break-word;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  z-index: 1;
}
.testimonial-card strong {
  font-weight: 600;
  margin-left: 14px;
  font-size: 1rem;
  color: #E0517C;
}

/* FOOTER */
footer {
  background: #21202a;
  color: #ebebf3;
  padding: 32px 0 14px 0;
  border-top: 2px solid #302c44;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-content img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #FFD38B;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E36588;
}
.footer-content .text-section {
  font-size: 0.98rem;
  color: #BCC1CD;
  line-height: 1.6;
}

/* RESPONSIVE FLEX & SPACING */
@media (max-width: 1020px) {
  .feature-grid { gap: 16px; }
  .footer-content { gap: 24px; }
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 19px 14px 14px 14px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .container { padding: 0 8px; }
  .hero-section { padding: 40px 0 28px 0; }
  .footer-content { gap: 10px; }
  .section { padding: 28px 7px; }
  .feature-grid { gap: 14px; }
  .feature-grid > div { min-width: 120px; padding: 16px 6px 10px 7px; }
  .testimonial-card { padding: 15px 10px 13px 12px; gap: 10px; }
}
@media (max-width: 600px) {
  .hero-section h1 { font-size: 1.35rem; }
  .feature-grid { flex-direction: column; }
  .feature-grid > div { min-width: 0; width: 100%; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}

/* ---- MOBILE NAV ---- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: none;
  background: #2E2A49;
  color: #FFD38B;
  font-size: 2rem;
  border-radius: 50%;
  z-index: 20;
  box-shadow: 0 2px 16px 0 #231b3238;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .20s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  outline: 2px solid #FFD38B;
  background: #E0517C;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #211e2b;
  box-shadow: 0 4px 60px 0 #150f1b66;
  z-index: 30;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(0.59,0.01,0.53,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.40s cubic-bezier(0.43,0.1,0.51,1.16), opacity .28s;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 19px 20px 6px 0;
  font-size: 2.1rem;
  background: none;
  color: #FFD38B;
  border: none;
  cursor: pointer;
  transition: color .20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E36588;
  outline: 2px solid #FFD38B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 28px;
  margin-top: 42px;
}
.mobile-nav a {
  color: #FFD38B;
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 4px 9px 0;
  transition: color 0.18s, background 0.12s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E36588;
  background: #322d4f;
}
@media (max-width: 920px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* OVERLAY DARKENING WHEN MENU OPEN */
body.mobile-open {
  overflow: hidden;
}
body.mobile-open::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 29;
  background: rgba(34, 32, 46, 0.7);
  pointer-events: none;
  transition: background 0.20s;
}

/* BUTTONS & MICRO-INTERACTIONS */
.btn-primary, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.18s, box-shadow .18s, transform .13s;
}
.btn-primary:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}

/* CARDS & HOVER STATES */
.card { transition: box-shadow 0.19s, transform .18s; }
.card:hover { box-shadow: 0 6px 28px #E0517C20; transform: scale(1.012); }
.feature-grid > div { transition: border-color 0.17s, box-shadow 0.15s; }
.feature-grid > div:hover { box-shadow: 0 5px 16px 0 #E0517C22; border-color: #E0517C; }

/* FORM, INPUTS, FOCUSED STATES */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1.5px solid #35314d;
  background: #222031;
  color: #f8faf7;
  transition: border 0.16s;
  outline: none;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD38B;
  box-shadow: 0 1px 6px #E0517C40;
}
label { display: block; margin-bottom: 5px; font-weight: 600; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(140%);
  width: 98vw;
  max-width: 440px;
  background: #292542;
  color: #ffd38b;
  border-radius: 16px 16px 0 0;
  padding: 28px 26px 23px 26px;
  box-shadow: 0 -2px 22px 0 #2e1f495a;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.44,.1,.6,1.09), opacity 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #ffd38b;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  min-width: 0;
  padding: 8px 19px;
  background: #FFD38B;
  color: #2E2A49;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 8px #E3658838;
  transition: background 0.14s, color 0.11s, transform .13s;
}
.cookie-banner .btn-accept {
  background: #FFD38B;
  color: #2E2A49;
}
.cookie-banner .btn-reject {
  background: #E0517C;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #23203c;
  color: #FFD38B;
  border: 1.5px solid #FFD38B;
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-modal button:hover, .cookie-modal button:focus {
  opacity: 0.95;
  box-shadow: 0 4px 14px rgba(224,81,124,0.11);
  outline: 2px solid #FFD38B;
}
@media (max-width: 500px) {
  .cookie-banner { padding: 17px 7px 13px 13px; font-size: 0.95rem; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,32,74,0.94);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #292542;
  color: #FFD38B;
  border-radius: 18px;
  box-shadow: 0 10px 44px #21202a57;
  padding: 34px 30px 28px 30px;
  min-width: 290px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1rem;
  z-index: 120;
  transition: transform 0.29s, opacity 0.22s;
  transform: translateY(55px) scale(0.97);
  opacity: 0;
}
.cookie-modal.active {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cookie-modal h3 {
  color: #FFD38B;
  font-size: 1.16rem;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.01rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #FFD38B;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 13px;
  margin-top: 20px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  min-width: 0;
  padding: 8px 19px;
  background: #FFD38B;
  color: #2E2A49;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 8px #E3658838;
}
.cookie-modal .btn-save {
  background: #FFD38B;
  color: #2E2A49;
}
.cookie-modal .btn-cancel {
  background: #E0517C;
  color: #fff;
}
.cookie-modal .btn-close {
  background: #23203c;
  color: #FFD38B;
  border-radius: 14px;
  padding: 7px 13px;
  border: 1.5px solid #FFD38B;
  font-size: 1.18rem;
}
.cookie-modal .btn-close:hover, .cookie-modal .btn-close:focus {
  box-shadow: 0 2px 7px rgba(255,211,139,0.16);
  outline: 2px solid #FFD38B;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 15px 7px 8px 7px; font-size: 0.97rem; min-width: 0; }
}

/* INDUSTRIAL MODERN THEME EFFECTS */
.section, .feature-grid > div, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  box-shadow: 0 3px 22px #29254218, 0 1px 4px #2e2a4923;
  border-radius: 14px;
}

/* METALLIC ACCENTS */
.section, .feature-grid > div, .testimonial-card, .btn-primary, .footer-nav a, .cookie-banner, .cookie-modal {
  border-bottom: 1.5px solid #FFD38B55;
}

/* URBAN, AUTHENTIC FEEL */
.section {
  border-left: 2.5px solid #E3658888;
  border-right: 2.5px solid #FFD38B66;
}

/* ACCENT COLOR ON DETAILS */
h2, .feature-grid > div:hover, .footer-nav a:focus, .footer-nav a:hover {
  color: #E0517C;
}

::-webkit-scrollbar { width: 8px; background: #23212e; }
::-webkit-scrollbar-thumb { background: #292542; border-radius: 8px; }

/* SPACING PATTERNS (MANDATORY) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* LAYOUT ADJUSTMENTS FOR TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Z-INDEX LAYERS FOR INTERACTIVE MENUS & BANNERS */
header { z-index: 6; }
.mobile-menu { z-index: 30; }
.cookie-banner { z-index: 99; }
.cookie-modal-overlay { z-index: 110; }

/* PREVENT OVERLAPPING & WHITE SPACE */
.feature-grid > div, .card, .testimonial-card, .section, .footer-content > *, .content-grid > * {
  margin-bottom: 20px;
}
.section:last-child, .feature-grid > div:last-child, .card:last-child, .testimonial-card:last-child { margin-bottom: 0; }

/* UTILITIES */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* FOCUS VISIBLE (BETTER OUTLINE) */
:focus-visible {
  outline: 2.3px solid #FFD38B;
  outline-offset: 2px;
}
section {
  padding: 10px 0;
}
/* INDUSTRIAL FONT Fallbacks */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');

/* END */
