/* =====================
   CSS RESET & BASE SETUP
   ===================== */
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;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FCF9F6;
  color: #23405C;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ======================
   SOFT PASTEL PALETTE
   ====================== */
:root {
  --brand-primary: #23405C;
  --brand-primary-dark: #152C40;
  --brand-secondary: #F2ECE6;
  --brand-paper: #FFFFFF;
  --brand-accent: #E7882E;
  --brand-accent-alt: #B06B23;
  --brand-blue: #C7DEF3;
  --brand-mint: #CFE7DD;
  --brand-lilac: #EBDEF7;
  --brand-coral: #FFD3D0;
  --brand-yellow: #FFF5D2;
  --brand-pink: #FBECF3;
  --brand-shadow: rgba(35,64,92,0.07);
  --brand-shadow-heavy: rgba(35,64,92,0.13);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #F2ECE6 0%, #FCF9F6 100%);
  color: var(--brand-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; line-height: 1.13; font-weight: 700; }
h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 500; }
h4 { font-size: 1rem; font-weight: 600; }
p, li, address {
  font-size: 1rem;
  color: var(--brand-primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.subheadline { font-size: 1.18rem; color: #5a738e; margin-bottom: 20px; }

/* ========================
   CONTAINER & LAYOUT BASE
   ======================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--brand-paper);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  position: relative;
  transition: box-shadow .23s cubic-bezier(.34,1.56,.64,1);
}
.card:hover {
  box-shadow: 0 6px 32px var(--brand-shadow-heavy);
}
.content-grid, .feature-grid, .category-grid, .categories-grid, .team-list, .collections-list, .collection-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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--brand-paper);
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  min-width: 240px;
  transition: box-shadow .23s cubic-bezier(.34,1.56,.64,1);
}
.testimonial-card:hover { box-shadow: 0 6px 32px var(--brand-shadow-heavy); }
.testimonial-name {
  color: #6C89A2;
  font-size: 1rem;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-paper);
  border-radius: 16px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow .23s cubic-bezier(.34,1.56,.64,1);
}
.feature-item img {
  height: 40px; width: 40px;
  margin-bottom: 10px;
}
.feature-item:hover { box-shadow: 0 8px 40px var(--brand-shadow-heavy); }

@media (max-width: 1024px) {
  .container { max-width: 980px; }
  .feature-grid, .category-grid, .categories-grid,
  .collection-grid, .team-list {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 10px; }
  .hero .content-wrapper h1 { font-size: 1.3rem; }
  .section { padding: 28px 8px; margin-bottom: 38px; }
  .feature-grid,
  .category-grid, .categories-grid, .collection-grid, .team-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============
   HERO SECTION
   ============ */
.hero {
  background: linear-gradient(120deg, #EBDEF7 0%, #C7DEF3 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 3px 24px var(--brand-shadow);
  margin-bottom: 40px;
  padding-top: 32px;
  padding-bottom: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero .cta-primary {
  margin-top: 15px;
}

/* ============
   NAVIGATION
   ============ */
header {
  background: var(--brand-paper);
  box-shadow: 0 1px 12px var(--brand-shadow);
  padding: 0 0 0 0;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 16px 0 12px 0;
  font-size: 1rem;
}
.main-nav > a {
  padding: 7px 15px;
  font-weight: 500;
  border-radius: 16px;
  color: var(--brand-primary-dark);
  transition: background 0.22s, color 0.22s;
}
.main-nav > a.cta-primary {
  background: var(--brand-accent);
  color: var(--brand-paper);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 20px;
  padding: 8px 28px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  transition: background 0.22s;
}
.main-nav > a.cta-primary:hover, .main-nav > a.cta-primary:focus {
  background: var(--brand-accent-alt);
}
.main-nav > a:hover:not(.cta-primary), .main-nav > a:focus:not(.cta-primary) {
  background: var(--brand-blue);
  color: var(--brand-primary);
}
.main-nav > a img {
  height: 36px;
  margin-right: 5px;
  vertical-align: middle;
}

/* Burger menu */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-blue);
  color: var(--brand-primary-dark);
  border: none;
  font-size: 2rem;
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  position: absolute;
  right: 14px; top: 18px;
  z-index: 110;
  transition: background .16s;
}
.mobile-menu-toggle:active { background: var(--brand-mint); }
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(242,236,230,0.98);
  z-index: 2000;
  animation: mobileMenuOpen 0.32s cubic-bezier(.4,.82,.56,1.05);
  padding: 0;
  overflow-y: auto;
}
@keyframes mobileMenuOpen {
  from { transform: translateX(100%); opacity: 0.6; }
  to   { transform: translateX(0);     opacity: 1; }
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--brand-primary);
  margin: 30px 26px 16px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: var(--brand-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  width: 100vw;
  margin-right: 36px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-size: 1.22rem;
  background: var(--brand-blue);
  padding: 13px 32px;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--brand-shadow);
  margin-bottom: 2px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-paper);
}

@media (max-width: 1100px) {
  .main-nav > a { font-size: .97rem; padding: 6px 12px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 13px; }
  .main-nav > a { font-size: .95rem; padding: 5px 10px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============
   BUTTONS & CTAS
   ============ */
.cta-primary {
  background: var(--brand-accent);
  color: var(--brand-paper);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  border: none;
  border-radius: 24px;
  padding: 12px 36px;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--brand-shadow);
  cursor: pointer;
  transition: background 0.21s cubic-bezier(.4,.9,.6,1.3), box-shadow 0.21s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-accent-alt);
  box-shadow: 0 6px 24px var(--brand-shadow-heavy);
  color: #fff;
}
.cta-secondary {
  background: var(--brand-blue);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  padding: 10px 26px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  transition: background 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 8px var(--brand-shadow);
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-mint);
  color: var(--brand-primary-dark);
  box-shadow: 0 5px 18px var(--brand-shadow-heavy);
}
.newsletter-signup .cta-primary {
  font-size: 1.13rem;
  margin-top: 7px;
}

/* ===========
   CARD STYLES
   =========== */
.category-item, .collection-item, .post-preview, .story-highlight, .team-member {
  background: var(--brand-paper);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 220px;
  min-width: 240px;
  transition: box-shadow 0.2s;
}
.category-item img, .collection-item img, .team-member img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.category-item:hover, .collection-item:hover, .post-preview:hover, .story-highlight:hover, .team-member:hover {
  box-shadow: 0 8px 35px var(--brand-shadow-heavy);
}

/* ================
   LISTS AND VALUES
   ================ */
ul.values-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
ul.values-list li img {
  margin-right: 9px;
  vertical-align: middle;
  height: 28px;
}
ul li, ol li { margin-bottom: 6px; padding-left: 2px; }

/* =========
   FOOTER
   ========= */
footer {
  background: var(--brand-secondary);
  border-top: 3px solid #EBDEF7;
  box-shadow: 0 -1px 10px var(--brand-shadow);
  padding-top: 38px;
  padding-bottom: 24px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: center;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--brand-primary-dark);
  opacity: .8;
  position: relative;
  transition: color 0.19s, opacity 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent); opacity: 1;
}
.contact-details {
  font-size: 1rem;
  color: #6C89A2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-details a {
  color: #EA9349;
  text-decoration: underline dotted;
}
.contact-details img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav { gap: 16px; margin-bottom: 10px; }
  .contact-details { font-size: 0.96rem; }
}

/* =============
   NEWSLETTER & FORMS
   ============= */
.newsletter {
  background: #CFE7DD;
  border-radius: 20px;
  box-shadow: 0 1px 10px var(--brand-shadow);
}

/* =============
   LEGAL SECTIONS
   ============= */
.legal {
  background: var(--brand-paper);
  border-radius: 18px;
  padding: 40px 24px 32px 24px;
  margin-bottom: 42px;
  box-shadow: 0 2px 12px var(--brand-shadow);
}
.legal h1, .legal h2 { margin-top: 0; }
.legal ul { margin-left: 16px; }

/* =============
   MISCELLANEOUS
   ============= */
.section {
  background: none;
}
.collections-highlight {
  background: #FFF5D2;
  border-radius: 18px;
  box-shadow: 0 1px 10px var(--brand-shadow);
}
.collections-list, .collection-grid {
  gap: 24px;
}
.collections-list .collection-item {
  min-width: 215px;
}

.benefits ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.benefits ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.benefits ul img {
  height: 22px; margin-right: 5px;
}

.tips-ideas ul {
  margin-bottom: 18px;
  line-height: 1.7;
}
.tips-ideas li strong { color: #2D5782; }

/* ============
   MOBILE-RESPONSIVE
   ============ */
@media (max-width: 1200px) {
  html { font-size: 16px; }
}
@media (max-width: 900px) {
  html { font-size: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .main-nav { display: none; }
  .hero { padding-bottom: 28px; border-radius: 0 0 24px 24px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.25rem; }
  .footer-nav { font-size: 0.97rem; }
}

/* ============
   ANIMATIONS
   ============ */
.cta-primary, .cta-secondary, .feature-item, .category-item,
.collection-item, .card, .post-preview, .story-highlight, .testimonial-card, .team-member {
  transition: box-shadow 0.18s, background 0.22s, color 0.18s;
}
.cta-primary, .cta-secondary {
  transition: background 0.22s, box-shadow 0.19s, color 0.18s;
}

/* ============
   COOKIE CONSENT
   ============ */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FBECF3 0%, #CFE7DD 100%);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 34px 17px 24px;
  box-shadow: 0 -5px 32px var(--brand-shadow-heavy);
  z-index: 3999;
  font-size: 1rem;
  gap: 18px;
  animation: cookieBannerIn 0.5s cubic-bezier(.21,.92,.61,.99);
  border-radius: 18px 18px 0 0;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(250px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 18px;
  padding: 9px 23px;
  background: var(--brand-accent);
  color: var(--brand-paper);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 8px var(--brand-shadow);
  cursor: pointer;
  transition: background .17s;
  margin-right: 0;
}
.cookie-banner button:last-child {
  background: var(--brand-blue);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-banner button:hover, .cookie-banner button:focus { filter: brightness(1.14); }

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(205, 206, 221, 0.37);
  z-index: 4100;
  justify-content: center;
  align-items: flex-end;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalIn .38s cubic-bezier(.33,.66,.41,1.09);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-popup {
  width: 95vw; max-width: 350px;
  background: var(--brand-paper);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 3px 36px var(--brand-shadow);
  padding: 34px 22px 30px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookiePopupIn 0.45s cubic-bezier(.21,.92,.61,.99);
}
@keyframes cookiePopupIn { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
.cookie-popup h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 4px;
}
.cookie-popup label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-popup input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 20px; height: 20px;
  border-radius: 50%;
}
.cookie-popup .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-popup button {
  border: none; border-radius: 13px;
  padding: 8px 20px;
  color: var(--brand-paper);
  background: var(--brand-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-popup button.cancel-btn {
  background: var(--brand-blue);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-popup button:hover, .cookie-popup button:focus {
  filter: brightness(1.11);
}

/* Responsive adjustments for cookie banner & modal */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 16px 12px 16px 10px;
    font-size: 0.98rem;
  }
  .cookie-popup {
    padding: 24px 7px 18px 7px;
  }

}

/* ============
   VISUAL HIERARCHY
   ============ */
.section, .hero, .newsletter, .collections-highlight, .legal {
  margin-bottom: 60px;
}
.feature-item, .category-item, .collection-item, .post-preview, .story-highlight {
  margin-bottom: 20px;
}

/* =============
   MISC STATES
   ============= */
:focus {
  outline: 2px dashed #E7882E;
  outline-offset: 3px;
}

/* =============
   HELPERS
   ============= */
.hidden { display: none !important; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* END STYLE.CS */
