/* ===== 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  background: #F9F8F3;
  color: #32435C;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #C05A24;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E87238;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
:focus {
  outline: 2px solid #C05A24; 
  outline-offset: 2px;
}
ba, blockquote, q, table { border: none; }

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --primary: #32435C; /* dark blue */
  --secondary: #F9F8F3; /* warm white */
  --accent: #C05A24; /* brown accent */
  --accent-hover: #E87238; /* lighter accent */
  --border: #E2E6EA;
  --shadow: rgba(50,67,92,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --gap: 24px;
  --gap-lg: 40px;
  --gap-sm: 16px;
  --font-display: 'Merriweather', 'Georgia', serif;
  --font-body: 'Lato', Arial, sans-serif;
}

@media (max-width: 768px) {
  :root {
    --gap: 16px;
    --gap-lg: 24px;
    --gap-sm: 10px;
  }
}


/* ===== TYPOGRAPHY SCALE ===== */
h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--primary);
  line-height: 1.11;
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 15px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1px;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
}
p, li, ul, ol, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #31394a;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
em {
  font-style: italic;
  color: var(--accent);
}

/* ===== SPACING UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  align-items: flex-start;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .25s, border-color .25s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 7px 32px 0 rgba(192,90,36,0.11);
}
.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;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== FLEXBOX RESPONSIVE ADJUSTMENTS ===== */
@media(max-width: 1024px) {
  .container {
    max-width: 94vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media(max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 32px 8px;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 0 0;
  min-height: 76px;
}
header > a img {
  height: 43px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .3s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
header .cta-primary {
  margin-left: 28px;
  height: 44px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  line-height: 1;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: #fff;
}

/* Mobile Header/Navigation */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 16px;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(50,67,92, 0.98);
  box-shadow: 3px 0 40px rgba(50,67,92,.14);
  z-index: 999;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.6,.05,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0;
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border: none;
  padding: 23px 23px 10px 17px;
  align-self:flex-end;
  cursor: pointer;
  z-index: 1001;
  transition: color .16s, background .16s; 
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent-hover);
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 36px 40px 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  padding: 16px 0 3px 0;
  font-weight: 700;
  letter-spacing: .06em;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .18s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent-hover);
  border-bottom: 2px solid var(--accent);
}
@media (max-width: 440px) {
  .mobile-nav {
    padding: 7px 12px 28px 12px;
    gap: 16px;
  }
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
}

/* ===== HERO & SECTION STYLES ===== */
.hero {
  width: 100%;
  padding: 70px 0 64px 0;
  background: #fff;
  border-bottom: 2.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 289px;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  max-width: 735px;
}
@media (max-width: 900px) {
  .hero {
    padding: 36px 0 23px 0;
    min-height: 180px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 19px 0 11px 0;
  }
  .hero .content-wrapper {
    gap: 12px;
  }
}

.section, main > section {
  background: var(--secondary);
  border-radius: var(--radius);
}
.features {
  padding-top: 35px;
  padding-bottom: 35px;
  margin-bottom: 38px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  flex-direction: column;
}
.features ul li {
  font-size: 1.07rem;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-left: 2px;
}
.call-to-action,
.call-to-action.accent {
  margin-bottom: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
  padding: 58px 0;
}
.call-to-action .content-wrapper,
.call-to-action.accent .content-wrapper {
  color: #fff;
}
.call-to-action .cta-primary {
  background: #fff;
  color: var(--primary);
  border: 2.5px solid var(--accent);
}
.call-to-action .cta-primary:hover,
.call-to-action .cta-primary:focus {
  background: var(--accent);
  color: #fff;
  border-color: #fff;
}
.call-to-action.accent h2, .call-to-action.accent p {
  color: #fff;
}

@media(max-width: 900px) {
  .call-to-action, .call-to-action.accent {
    padding: 33px 0;
  }
}

/* ===== CTA BUTTONS ===== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  padding: 12px 38px;
  border-radius: var(--radius-sm) 0 var(--radius-sm) var(--radius-sm);
  border: none;
  box-shadow: 0 3px 18px 0 rgba(192,90,36,0.10);
  cursor: pointer;
  transition: background .16s, color .18s, box-shadow .22s, border-radius .24s;
  outline: none;
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  box-shadow: 0 6px 32px 0 rgba(50,67,92,0.10);
  border-color: var(--primary);
}
.cta-primary:active {
  background: var(--accent-hover);
  color: #fff;
}

/* ===== CARDS & TESTIMONIALS ===== */
.review-item, .testimonial-card {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 14px var(--shadow);
  padding: 23px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .18s, border-color .18s;
}
.review-item h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 2px;
  font-weight: 600;
  font-family: var(--font-display);
}
.review-item p {
  color: #374760;
  font-size: 1rem;
}

.testimonial-card {
  color: #32435C;
  background: #FAF9F6;
  border: 1.5px solid #DFE3E6;
  box-shadow: 0 2px 18px 0 rgba(50,67,92,0.10);
}
.testimonial-card p {
  color: #32435C;
}
@media (max-width: 700px) {
  .review-item, .testimonial-card, .card {
    padding: 14px 8px;
  }
}

/* ===== LISTS ===== */
.personalization-info, .tools-suggestion, .special-occasion-info {
  background: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 19px 14px 20px;
  margin-top: 17px;
  box-shadow: 0 1.5px 12px var(--shadow);
}

/* ===== CARDS GRID & GAPS ===== */
.card-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-grid > .card, .card-container > .card {
  flex: 1 1 310px;
  min-width: 270px;
}
@media (max-width:600px) {
  .card-grid, .card-container {
    gap: 12px;
  }
  .card-grid > .card, .card-container > .card {
    min-width: 100%;
    flex-basis: 100%;
  }
}

/* ===== SUBMIT CTA & FOOTER ===== */
.submit-review-cta {
  background: var(--secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}
.submit-review-cta p {
  color: var(--primary);
}

footer {
  background: #fff;
  border-top: 2px solid var(--border);
  padding: 0 0 0 0;
  width: 100%;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 38px 22px 33px 22px;
}
.footer-wrapper > a img {
  height: 42px;
  width:auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color .16s;
}
.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #475076;
  font-size: 0.96rem;
}
.footer-contact img {
  height: 18px;
  width:auto;
  vertical-align: middle;
  margin-right: 7px;
  position: relative; top: 2px;
}

@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    padding: 25px 8px 23px 8px;
  }
}

/* ===== CONTACT DETAILS ===== */
.contact-details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 23px 24px;
  margin-top: 18px;
  box-shadow: 0 2px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.contact-details ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-details li {
  color: #384760;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.contact-details img {
  height: 22px;
  width: 22px;
}

/* ===== GEOMETRIC DECOR ===== */
.section,
.card,
.footer-wrapper,
.hero,
.testimonial-card,
.personalization-info,
.tools-suggestion,
.special-occasion-info {
  /* subtle geometry via box-shadows & radius */
  box-shadow: 0 4px 22px -6px var(--shadow);
  border-radius: var(--radius);
}

.card, .review-item, .testimonial-card {
  border-radius: 0 18px 12px 12px/ 0 14px 12px 20px;
}

/* strong angular font accents */
h1, h2 {
  letter-spacing: -1.2px;
  font-variant-caps: small-caps;
  text-transform: none;
}
.card, .section {
  border-width: 2.5px;
  border-style: solid;
  border-color: var(--border);
}

/* angular shape accents for buttons */
.cta-primary {
  border-radius: 0 14px 8px 12px / 0 13px 8px 12px;
}

/* micro-decorative triangles on .card */
.card:before {
  content: '';
  display: block;
  position: absolute;
  top: -14px;
  left: 28px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent var(--accent) transparent transparent;
  border-radius: 0 0 11px 0;
  z-index: 1;
}

@media (max-width:600px) {
  .card:before { display: none; }
}

/* ===== MICRO-INTERACTIONS, TRANSITIONS ===== */
.button, .cta-primary, .main-nav a, .mobile-nav a, .card, .review-item, .testimonial-card, .footer-nav a {
  transition: background 0.18s, color 0.2s, box-shadow 0.22s, border-color 0.18s, border-radius 0.22s;
}
.card:hover, .review-item:hover, .testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(192,90,36,0.10), 0 2px 12px var(--shadow);
  border-color: var(--accent);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 30px 0 rgba(50,67,92,0.13);
  border-top: 2.5px solid var(--accent);
  z-index: 1250;
  padding: 18px 24px 23px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform .31s cubic-bezier(.65,.05,.3,1);
}
.cookie-consent-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-consent-banner__text {
  font-size: 1rem;
  color: #364360;
  flex: 1 1 0;
}
.cookie-consent-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition: background .14s, color .14s, border .12s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 24px 10px;
    gap: 12px;
  }
  .cookie-consent-banner__actions {
    gap: 8px;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(50,67,92,0.64);
  z-index: 1260;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-settings-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(50,67,92,0.22);
  padding: 38px 30px 21px 30px;
  max-width: 410px;
  width: 92vw;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  gap: 19px;
  position: relative;
}
.cookie-settings-modal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
  font-size: 1.02rem;
}
.cookie-toggle {
  width: 36px;
  height: 21px;
  border-radius: 14px;
  background: #E2E6EA;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  border: none;
  outline: none;
}
.cookie-toggle[data-active='true'] {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s;
}
.cookie-toggle[data-active='true']::before {
  left: 18px;
}
.cookie-settings-footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}

.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  transition: background .12s, color .16s;
}
.cookie-modal-close:hover {
  color: var(--accent-hover);
  background: #FAF8F6;
}

@media (max-width:420px) {
  .cookie-settings-modal { padding: 21px 8px 12px 10px; }
  .cookie-settings-modal h3 { font-size: 1.08rem; }
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width:8px;
  background: #E8EFF3;
}
::-webkit-scrollbar-thumb {
  background: #C3C9CE;
  border-radius:8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B3B9BE;
}

hr {
  border: none;
  border-top: 1.5px dashed var(--border);
  margin: 18px 0;
}

/* ===== PRINT FRIENDLY ===== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .section, main > section {
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}
