/* ----------------------------------------------------------
   CSS Reset — normalize and box-sizing
-----------------------------------------------------------*/
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 {
  line-height: 1.15;
  scroll-behavior: smooth;
  background: #F9F6F2;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #212934;
  background: #F9F6F2;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after { box-sizing: inherit; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; padding-left: 0; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }

/* ----------------------------------------------------------
   Brand Colors & Variables (fallbacks for custom properties)
-----------------------------------------------------------*/
:root {
  --color-primary: #274362;  /* Corporate navy blue */
  --color-secondary: #617085; /* Muted steel blue */
  --color-accent: #F4C959;   /* Brand secondary (gold) */
  --color-bg: #F9F6F2;       /* Brand accent (cream) */
  --color-white: #FFF;
  --color-black: #212934;
  --color-dark: #18304B;    /* For contrasty text */
  --color-gray: #E2E7EF;    /* Card bg */
  --color-border: #D6D7DC;
  --color-shadow: rgba(39, 67, 98, 0.06);
  --color-shadow-dark: rgba(39,67,98,0.12);
}

/* ----------------------------------------------------------
 FONT IMPORTS — Always use brand fonts (w/ system fallbacks)
-----------------------------------------------------------*/
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: local('Merriweather Bold'), local('Merriweather-Bold');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--color-primary);
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.3; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li, blockquote, small {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 14px;
}
strong, b { font-weight: 700; }
small { font-size: 0.92rem; color: var(--color-secondary); }
a:hover, .footer-nav a:hover, .main-nav a:hover, .mobile-nav a:hover {
  color: var(--color-accent);
}

/* ---------------------------------------------------------------
   Corporate Layout Containers
----------------------------------------------------------------*/
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-gray);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  box-shadow: 0 4px 16px var(--color-shadow-dark);
  border-color: var(--color-accent);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  background: var(--color-gray);
  border-radius: 10px;
  padding: 18px 14px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}

/* Feature grids for homepage/about/offer sections */
.feature-grid, .category-grid, .services-list, .products-list, .gift-set-list, .workshop-list, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.feature-grid > div, 
.category-grid > div,
.services-list > div,
.products-list > div,
.gift-set-list > div,
.workshop-list > div,
.contact-info > div {
  background: var(--color-gray);
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: 0 1px 6px var(--color-shadow);
  flex: 1 1 250px;
  min-width: 210px;
  max-width: calc(33% - 28px);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, border-color 0.21s;
  border: 1px solid #e8ecf3;
}
.feature-grid > div img, 
.category-grid > div img,
.gift-set-list > div img,
.contact-info > div img {
  width: 36px; height: 36px;
  margin-bottom: 9px;
}
.feature-grid > div:hover, 
.category-grid > div:hover,
gift-set-list > div:hover {
  box-shadow: 0 4px 16px var(--color-shadow-dark);
  border-color: var(--color-accent);
}

/* Testimonials */
.testimonials, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border-color 0.21s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px var(--color-shadow-dark);
  border-color: var(--color-primary);
}

/* CTA banners */
.cta-banner {
  background: var(--color-primary);
  border-radius: 14px;
  color: var(--color-white);
  padding: 32px 20px;
  box-shadow: 0 2px 18px var(--color-shadow-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; line-height: 1.22; }

/* Highlighted blocks (eg. selected gifts, use-cases, etc.) */
.highlighted-gifts, .use-cases, .case-examples {
  background: var(--color-secondary);
  border-radius: 10px;
  color: var(--color-white);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.highlighted-gifts h3, .use-cases h3, .case-examples h3 {
  color: var(--color-white); margin-bottom: 8px; font-size: 1.1rem;
}

/* ----------------------------------------------------------
   Corporate Navigation Bar
-----------------------------------------------------------*/
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-bottom: 1.5px solid #e8ecf3;
  position: sticky; top: 0; z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.logo img {
  height: 45px; width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 1;
}
.main-nav a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 7px 6px;
  border-radius: 5px;
}
.main-nav a.active,
.main-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.cta-btn {
  background: var(--color-accent);
  color: var(--color-black);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  padding: 13px 28px;
  box-shadow: 0 2px 10px var(--color-shadow);
  cursor: pointer;
  margin-left: 22px;
  display: inline-block;
  transition: background 0.22s, color 0.22s, box-shadow 0.16s, transform 0.15s;
  outline: none;
  text-align: center;
  letter-spacing: 0.04em;
}
.cta-btn:focus, .cta-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger Button for mobile nav */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  padding: 3px 14px 1px 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  margin-left: 16px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}


/* ----------------------------------------------------------
   Mobile Menu Overlay
-----------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 48, 75, 0.95);
  backdrop-filter: blur(2px);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.5,0.1,0.11,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-black);
  border: none;
  border-radius: 30px;
  font-size: 2rem;
  padding: 7px 18px 8px 18px;
  cursor: pointer;
  margin-left: 36px;
  box-shadow: 0 2px 10px var(--color-shadow-dark);
  transition: background 0.21s, color 0.21s;
  margin-bottom: 14px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.mobile-nav {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 40px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.28rem;
  font-weight: 500;
  padding: 13px 6px 12px 2px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-black);
}

/* Hide main nav/CTA on mobile, show burger */
@media (max-width: 992px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   Footer Styling
-----------------------------------------------------------*/
footer {
  background: var(--color-white);
  color: var(--color-secondary);
  padding: 42px 0 12px 0;
  border-top: 1.5px solid #e8ecf3;
  margin-top: 60px;
  position: relative;
  width: 100%;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand img {
  width: 46px; height: auto; margin-bottom: 5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 5px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Other Utility Layouts & Details
-----------------------------------------------------------*/
.services-list, .products-list, .gift-set-list, .workshop-list, .contact-info {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.services-list > div, .products-list > div, .gift-set-list > div, .workshop-list > div {
  padding: 20px 16px;
  background: var(--color-white);
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  flex: 1 1 235px;
  min-width: 210px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px var(--color-shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.services-list > div h3, .products-list > div h3, .gift-set-list > div h3, .workshop-list > div h3 {
  font-size: 1.13rem;
  color: var(--color-primary);
}
.services-list > div strong, .products-list > div strong, .gift-set-list > div strong {
  color: var(--color-secondary);
  font-size: 1.02rem;
}

.contact-info > div, .use-cases, .case-examples {
  background: var(--color-gray);
  min-width: 180px;
  border-radius: 7px;
  padding: 13px 10px;
  flex: 1 1 180px;
  margin-bottom: 20px;
  color: var(--color-dark);
}
.contact-info > div strong { color: var(--color-primary); font-size: 1.03rem; }

.case-examples { font-style: italic; background: var(--color-secondary); color: var(--color-white); }

/* -------------------------------------------------------------
 Spacing utility for all content cards and sections
--------------------------------------------------------------*/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .content-grid, .feature-grid, .category-grid, .card-container, .testimonials, .contact-info {
  gap: 20px;
}
.card, .feature-grid > div, .category-grid > div, .services-list > div, .products-list > div, .gift-set-list > div, .workshop-list > div, .testimonial-card, .contact-info > div {
  margin-bottom: 20px;
}

/* ----------------------------------------------------------
   Buttons, Interactions, Micro-animations
-----------------------------------------------------------*/
button, .cta-btn, input[type="submit"], input[type="button"] {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
button:disabled, .cta-btn:disabled { opacity: 0.6; cursor: not-allowed; }

input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1.3px solid #ccd6e1;
  border-radius: 5px;
  background: var(--color-white);
  color: var(--color-primary);
  transition: border 0.19s;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* -----------------------------------------------------------
   Responsive Typography
-----------------------------------------------------------*/
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 8px; }
  .content-wrapper, .content-grid, .feature-grid, .category-grid, .card-container, .testimonials, .contact-info {
    gap: 13px;
  }
  .card, .feature-grid > div, .category-grid > div, .testimonial-card, .services-list > div, .products-list > div, .gift-set-list > div, .workshop-list > div, .contact-info > div {
    margin-bottom: 16px;
    min-width: unset;
    max-width: 100%;
    padding: 14px 7px;
  }
  .cta-banner { padding: 21px 9px; }
  .feature-grid > div,
  .category-grid > div,
  .services-list > div,
  .products-list > div,
  .gift-set-list > div,
  .workshop-list > div,
  .contact-info > div {
    min-width: 100%; max-width: 100%;
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .category-grid, .services-list, .products-list, .gift-set-list, .workshop-list, .contact-info, .testimonials {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
}

/* ----------------------------------------------------------
   Cookie Consent Banner
-----------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: var(--color-secondary);
  color: var(--color-black);
  padding: 14px 18px;
  box-shadow: 0 -4px 24px var(--color-shadow-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 73px;
  animation: banner-slide-up 0.4s ease 1;
}
@keyframes banner-slide-up {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-msg {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--color-black);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  padding: 10px 21px;
  background: var(--color-primary);
  color: var(--color-white);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.14s;
  box-shadow: 0 1px 6px var(--color-shadow);
  cursor: pointer;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--color-accent);
  color: var(--color-black);
  transform: translateY(-1px) scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-black);
  border: 1px solid var(--color-primary);
}
.cookie-banner .cookie-settings-btn:focus,
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 48, 75, 0.80);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 14px;
  padding: 38px 28px 24px;
  max-width: 420px;
  width: 95%;
  box-shadow: 0 3px 32px var(--color-shadow-dark);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-fade-in 0.5s;
}
@keyframes modal-fade-in {
  from { transform: scale(0.88) translateY(64px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 7px;
  color: var(--color-primary);
  font-size: 1.22rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
 }
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1.08rem;
}
.cookie-category input[type=checkbox] {
  margin-top: 1px;
  accent-color: var(--color-primary);
  min-width: 21px;
  min-height: 21px;
}
.cookie-category strong {
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-category [disabled] {
  opacity: 0.58;
  cursor: not-allowed;
}
.cookie-modal-content .cookie-summary {
  background: var(--color-gray);
  border-radius: 8px;
  padding: 12px 11px;
  font-size: 0.98rem;
  color: var(--color-dark);
}
.cookie-modal-content .cookie-modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal-content button,
.cookie-modal-content .cookie-btn {
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  padding: 10px 21px;
  background: var(--color-primary);
  color: var(--color-white);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.14s;
  box-shadow: 0 1px 6px var(--color-shadow);
  cursor: pointer;
}
.cookie-modal-content button:focus,
.cookie-modal-content button:hover {
  background: var(--color-accent);
  color: var(--color-black);
  transform: translateY(-1px) scale(1.04);
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 18px 6px 19px 8px;
  }
}

/* ----------------------------------------------------------
   Accessibility focus states
-----------------------------------------------------------*/
a:focus, button:focus, .cta-btn:focus {
  outline: 2.2px solid var(--color-accent); outline-offset: 2.3px;
}

/* ----------------------------------------------------------
   Misc Utility
----------------------------------------------------------*/
.d-none { display: none!important; }

/* ------------------------------------------------------------------
   PRINT MEDIA
----------------------------------------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
