/* === CSS RESET & NORMALIZE === */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF8F2;
  color: #2C2C2C;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
a {
  color: #1B2743;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover,
a:focus {
  color: #D392C1;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B2743;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.8rem; margin-bottom: 0.6em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

button, input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.18s, border-color 0.18s;
}

::-webkit-input-placeholder { color: #807766; opacity: 1; }
::-moz-placeholder { color: #807766; opacity: 1; }
:-ms-input-placeholder { color: #807766; opacity: 1; }
::placeholder { color: #807766; opacity: 1; }

/* === BRAND COLORS & VARIABLES === */
:root {
  --color-primary: #1B2743;
  --color-secondary: #E1D9C5;
  --color-accent: #D392C1;
  --color-bg: #FFF8F2;
  --color-light: #FFFFFF;
  --color-text: #2C2C2C;
  --color-muted: #7C7C7C;
  --shadow-card: 0 2px 16px rgba(211, 146, 193, 0.10), 0 8px 16px rgba(27,39,67, 0.04);
  --shadow-hover: 0 8px 32px rgba(211, 146, 193, 0.13);
  --radius-container: 26px;
  --radius-btn: 18px;
  --radius-card: 22px;
  --radius-input: 14px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* === GLOBAL LAYOUTS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === HEADER === */
header {
  background: var(--color-light);
  box-shadow: 0 2px 18px rgba(27, 39, 67, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 18px;
}
.logo-link {
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 3px 8px;
  transition: background 0.18s;
}
.logo-link:hover { background: #f4e5db; }

.main-nav {
  display: flex;
  gap: 22px;
}
.main-nav a {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 11px;
  transition: background 0.22s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, transform 0.12s;
  text-shadow: 0 2px 4px rgba(27, 39, 67,0.03);
  margin-left: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #d04fad;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.045);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 13px;
  padding: 2px 10px;
  transition: background 0.18s;
  z-index: 1150;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #f4e5db; }

@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(110deg, #fff8f2 60%, #e7e0d0 100%);
  border-radius: var(--radius-container);
  box-shadow: 0 3px 28px rgba(27, 39, 67, 0.025);
  margin-top: 34px;
  margin-bottom: 50px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--color-accent);
  font-weight: 900;
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.2rem;
  color: #423e3e;
  font-weight: 400;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero { margin-top: 16px; margin-bottom: 22px; }
}

/* === FEATURES SECTION / ICON FEATURES === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 3px;
  margin-bottom: 12px;
}
.features-grid > div {
  flex: 1 1 170px;
  min-width: 160px;
  background: #FFF;
  border-radius: var(--radius-card);
  padding: 24px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.16s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 36px rgba(211, 146, 193, 0.15);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 12px #ede0f8);
}
.features-grid h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
}
.features-grid p {
  font-size: 1.01rem;
  color: #69567b;
}

@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div { min-width: unset; }
}

/* === CARDS AND CARD CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 12px 34px rgba(27, 39, 67, 0.08), 0 20px 72px rgba(211,146,193,0.12);
  transform: scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === TESTIMONIALS / REVIEWS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  margin-bottom: 22px;
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: #322945;
  font-style: italic;
  transition: box-shadow 0.19s, transform 0.12s;
  border: 1.5px solid #E1D9C5;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.03rem;
  margin-top: 4px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(211, 146, 193, 0.18);
  transform: scale(1.016);
}
.testimonial-card p {
  color: #2C2C2C;
  font-size: 1.09rem;
  text-align: center;
}

@media (max-width: 600px) {
  .testimonial-card { padding: 16px 10px; }
}

/* === LAYOUT FLEX HELPERS === */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section { /* SPECIFIED SPACING RULES */
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { /* SPECIFIED RULES */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { /* SPECIFIED RULES */
  margin-bottom: 20px;
  position: relative;
}
.content-grid { /* SPECIFIED RULES */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section { 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; }

/* === BUTTONS & INTERACTIVES === */
button,
.btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, box-shadow 0.22s, transform 0.13s;
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: #bf70a4;
  outline: none;
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 46px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 0 32px rgba(27,39,67,0.05);
}
footer .container { }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  width: 70px;
  border-radius: 16px;
}
.footer-info {
  min-width: 220px;
  font-size: 0.99rem;
  color: #e1d9c5;
  line-height: 1.45;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #E1D9C5;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus { color: #D392C1; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  background: rgba(255,255,255,0.11);
  border-radius: 50%;
  transition: background 0.17s;
  padding: 6px;
}
.footer-social a:hover { background: var(--color-accent); }
.footer-social img { width: 32px; }

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,39,67, 0.95);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.6,.02,.47,1.17), opacity 0.23s cubic-bezier(.5,.02,.2,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  z-index: 3030;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #423053;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 88px;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  background: none;
  padding: 16px 34px;
  border-radius: 21px;
  transition: background 0.19s, color 0.14s, transform 0.14s;
  min-width: 200px;
  text-align: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.07);
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* === RESPONSIVE / MOBILE ADAPTATIONS === */
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section, main > section { padding: 28px 6px; }
  h1 { font-size: 2.14rem; }
  h2 { font-size: 1.47rem; }
  .content-wrapper { gap: 16px; }
  .features-grid { flex-direction: column; gap: 14px; }
  .footer-social img { width: 27px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; gap: 16px; }
  .card { padding: 18px 9px; }
}

/* === FORM ELEMENTS & INPUTS === */
input, textarea, select {
  border: 1px solid #e1d9c5;
  border-radius: var(--radius-input);
  padding: 10px 14px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 2px 10px #e1d9c5;
}

/* === TYPOGRAPHY SCALE (Responsive) === */
@media (max-width: 500px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.17rem; }
  .cta-btn { font-size: 1rem; padding: 10px 16px; }
}

/* === SPACING UTILITIES === */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 32px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 32px !important; }
.gap-1 { gap: 8px !important; }
.gap-2 { gap: 16px !important; }
.gap-3 { gap: 24px !important; }

/* === COOKIE BANNER & CONSENT === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff3eb;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -1px 26px rgba(211,146,193,0.12);
  z-index: 9910;
  padding: 24px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  justify-content: center;
  font-size: 1rem;
  animation: slideup-bnr 0.7s cubic-bezier(.4,0,.25,1);
}
@keyframes slideup-bnr {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin-left: 16px;
  margin-right: 6px;
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.19s, transform 0.13s;
  box-shadow: var(--shadow-card);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #FDD8D8;
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #bf70a4;
  color: #fff;
  transform: scale(1.045);
}
.cookie-banner .cookie-btn.cookie-reject:hover {
  background: #ffeaea;
  color: #bf70a4;
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: #e7e0d0;
  color: #d04fad;
}

@media (max-width: 588px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    padding: 18px 5px;
  }
  .cookie-banner .cookie-btn {
    margin-left: 0;
    margin-bottom: 5px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,39,67,0.63);
  z-index: 9950;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fadeModal .18s cubic-bezier(.6,.01,.11,1);
}
@keyframes fadeModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff9f4;
  color: #1b2743;
  border-radius: 22px;
  box-shadow: 0 8px 54px rgba(211,146,193,0.17);
  padding: 40px 22px 28px 22px;
  max-width: 390px;
  min-width: 260px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.34rem;
  color: var(--color-primary);
  font-weight: bold;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e1d9c5;
  padding-bottom: 8px;
}
.cookie-modal .cookie-category .cookie-label {
  font-size: 1.01rem;
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal .cookie-category .cookie-toggle {
  appearance: none;
  width: 44px;
  height: 25px;
  background: #e1d9c5;
  border-radius: 13px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-category .cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-modal .cookie-category .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(60,50,73,0.07);
  transition: left 0.16s, background 0.14s;
}
.cookie-modal .cookie-category .cookie-toggle:checked:before {
  left: 21px;
  background: #faf2f8;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cookie-toggle {
  background: #e1d9c5 !important;
  opacity: 0.54;
  pointer-events: none;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cookie-label {
  opacity: 0.56;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background 0.19s, color 0.14s;
}
.cookie-modal .cookie-btn:hover,
.cookie-modal .cookie-btn:focus {
  background: #bf70a4;
  color: #fff;
}
.cookie-modal .cookie-btn.cancel {
  background: #f3e9ef;
  color: var(--color-primary);
}
.cookie-modal .cookie-btn.cancel:hover { background: #e7e0d0; color: #d04fad; }

@media (max-width: 500px) {
  .cookie-modal { padding: 24px 6px 14px 6px; min-width: unset; }
}

/* === ERROR / EMPTY / UTILITY CLASSES === */
.empty-list-message {
  color: var(--color-muted);
  text-align: center;
  margin: 28px auto;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.card, .testimonial-card, .features-grid > div, .cta-btn, .cookie-btn, .mobile-nav a {
  transition: box-shadow 0.2s, background 0.2s, transform 0.16s, color 0.16s;
}

/* === PRINT (for artprints page) === */
@media print {  body { background: #fff; }  .section, main > section, header, footer, .cookie-banner, .mobile-menu { display: none !important; } }
