/* --- CSS RESET AND 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;
}
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7F6F2;
  color: #25324A;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
*:focus-visible {
  outline: 2px dashed #97715C;
  outline-offset: 2px;
}

/* --- CSS CUSTOM PROPERTIES (FALLBACKS INCLUDED) --- */
:root {
  --color-primary: #25324A;
  --color-secondary: #97715C;
  --color-accent: #F7F6F2;
  --color-accent-darker: #eceae5;
  --color-highlight: #F87C44;
  --color-success: #96d162;
  --color-danger: #E74645;
  --color-mid: #47516B;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: var(--font-body, 'Roboto', Arial, sans-serif);
  font-size: 1rem;
  background: var(--color-accent, #F7F6F2);
  color: var(--color-primary, #25324A);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  color: var(--color-primary, #25324A);
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(247, 124, 68, 0.10);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-mid, #47516B);
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 24px;
}
.text-section {
  margin-bottom: 16px;
}
.text-section ul {
  list-style: disc inside;
}
.text-section ul.social-links {
  list-style: none;
  margin-left: 0;
}
.text-section ul.social-links li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.text-section h3 {
  font-size: 1.15rem;
  color: var(--color-highlight);
  font-family: var(--font-display);
  margin-bottom: 6px;
}
strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* --- CONTAINER AND RESPONSIVE WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: white;
  box-shadow: 0 2px 12px rgba(37,50,74,0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 20px;
  transition: background 0.15s, color 0.18s, box-shadow 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus-visible {
  background: var(--color-accent-darker, #eceae5);
  color: var(--color-highlight);
}
.cta-btn {
  background: var(--color-highlight);
  color: white !important;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 24px;
  padding: 11px 30px;
  display: inline-block;
  box-shadow: 0 4px 22px rgba(247, 124, 68, 0.17);
  margin-left: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: .02em;
  transition: box-shadow .22s, background .22s, color .22s, transform .12s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus-visible {
  background: var(--color-secondary);
  color: white;
  box-shadow: 0 8px 36px rgba(151,113,92,.18);
  transform: translateY(-2px) scale(1.03);
}
header .mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-primary);
  display: none;
  cursor: pointer;
  margin-left: 16px;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(142deg, #F7F6F2 72%, #F87C44 100%);
  box-shadow: 0 12px 38px rgba(37,50,74,0.18);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.61,.13,.27,1.12);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-highlight);
  color: #fff;
  font-size: 2.25rem;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  margin: 30px 20px 0 0;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(247, 124, 68, 0.16);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .18s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  margin: 70px 30px 0 0;
  width: 90vw;
  max-width: 340px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.19rem;
  padding: 13px 0;
  color: var(--color-primary);
  width: 100%;
  border-radius: 12px 0 0 12px;
  text-align: right;
  transition: background .19s, color .19s, padding .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: var(--color-highlight);
  color: #fff;
  padding-right: 16px;
}


@media (max-width: 1024px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 650px){
  .mobile-nav {
    margin: 55px 10px 0 0;
    max-width: 97vw;
  }
  .mobile-menu-close {
    margin: 18px 8px 0 0;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(90deg, #FFECDD 0%, #F7F6F2 45%, #ECF2FF 130%);
  background-repeat: no-repeat;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  top: 20px; right: 18%;
  width: 95px; height: 95px;
  border-radius: 50%;
  background: rgba(247,124,68,0.085);
  filter: blur(2.5px);
  z-index: 1;
  pointer-events: none;
}
.hero .content-wrapper {
  position: relative;
  z-index: 2;
  gap: 24px;
  padding: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.65rem;
  max-width: 650px;
  color: var(--color-primary);
  margin-bottom: 10px;
  text-shadow: 0 3px 16px #ffe1dd44;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-secondary);
  max-width: 600px;
}

@media (max-width: 900px) {
  .hero {
    padding: 20px 0 12px 0;
    min-height: 220px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .content-wrapper { gap: 10px; }
}
@media (max-width: 600px) {
  .hero {
    min-height: unset;
    padding: 18px 0 0 0;
  }
  .hero h1 {font-size: 1.45rem;}
  .hero p {font-size: 1rem;}
}

/* --- SECTION SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 22px;
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}

/* --- FLEX UTILITIES & LAYOUTS --- */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card-container {
  gap: 24px;
}
.content-grid {
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0 4px 24px rgba(37,50,74,0.043), 0 1.5px 9px #f87c4420;
  min-width: 240px;
  border: 2px solid #F7F6F2;
  transition: box-shadow .19s, border .23s;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  color: #25324A;
  font-size: 1.07rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: .99rem;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 38px rgba(37,50,74,0.095), 0 2.5px 18px #f87c446d;
  border: 2px solid var(--color-highlight);
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(37,50,74,0.07), 0 2px 9px #97715c18;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, border .13s, transform .13s;
  padding: 22px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(151,113,92, 0.18);
  border: 2px solid var(--color-highlight);
  transform: translateY(-2px) scale(1.02);
}
.feature {
  min-width: 180px;
  background: #FEF9F4;
  border-radius: 15px;
  border: 2px solid #eceae5;
  box-shadow: 0 2.5px 10px #97715c13;
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .16s, border .13s;
  margin-bottom: 20px;
  position: relative;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 10px 28px rgba(151,113,92,0.10);
  border-color: var(--color-highlight);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
}
.feature h3 {
  color: var(--color-highlight);
  margin-bottom: 8px;
  font-size: 1.16rem;
}
.feature p {
  color: var(--color-mid);
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .feature,
  .testimonial-card {
    min-width: 160px;
    padding: 16px 8px 12px 12px;
  }
}
@media (max-width: 650px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .testimonial-card { padding: 13px 10px; }
  .feature { padding: 10px 4px 10px 8px; }
}

/* --- SPACING --- */
.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; }

/* --- BUTTONS & INTERACTIVES --- */
button, .cta-btn {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .16s, color .16s, box-shadow .22s, transform .07s;
  text-align: center;
}
button:active {
  transform: scale(.97);
}


/* --- LISTS --- */
ul {
  padding-left: 21px;
  margin-bottom: 22px;
}
ul li,
ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-mid);
  line-height: 1.65;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
ol {
  list-style: decimal inside;
}

/* --- FORMS --- */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 0 0;
}
input, textarea {
  padding: 11px 14px;
  border-radius: 8px;
  background: #FAF9F7;
  border: 2px solid #eceae5;
  font-size: 1rem;
  color: #25324A;
  transition: border .15s;
}
input:focus, textarea:focus {
  border-color: var(--color-highlight);
}
label {
  font-size: 1.02rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 2px solid #eceae5;
  font-size: .99rem;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 34px;
  padding-bottom: 28px;
}
footer .content-wrapper {
  gap: 18px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  display: flex;
}
footer nav {
  font-size: .97rem;
  color: var(--color-mid);
  margin: 0 30px 0 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
footer nav a {
  color: var(--color-secondary);
  transition: color .13s, text-decoration .07s;
  font-family: var(--font-body);
  margin: 0 4px;
  border-radius: 8px;
  padding: 2px 6px;
}
footer nav a:hover, footer nav a:focus-visible {
  color: var(--color-highlight);
  text-decoration: underline;
}
footer .text-section {
  font-size: .99rem;
  color: var(--color-mid);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 210px;
}
footer .text-section img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
footer a img {
  height: 46px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 21px;
  }
  footer nav {
    margin: 0 0 8px 0;
  }
}
@media (max-width: 600px) {
  footer {
    padding-top: 0;
  }
  footer .container {
    padding-top: 24px;
    padding-bottom: 13px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8f2;
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 40px #25324A28;
  padding: 18px 18px 18px 24px;
  z-index: 2000;
  gap: 24px;
  font-size: 1.04rem;
  animation: fadeInBanner .46s cubic-bezier(.22,1,.36,1);
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(38px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  border-radius: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.04rem;
  padding: 9px 22px;
  background: #eceae5;
  color: var(--color-primary);
  transition: background .14s, color .14s;
  border: 2px solid #eceae5;
}
.cookie-banner button.accept {
  background: var(--color-success);
  color: #25324A;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus-visible {
  background: #81bb32;
}
.cookie-banner button.reject {
  background: #E74645;
  color: #fff;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus-visible {
  background: #c63130;
}
.cookie-banner button.settings {
  background: #ffe4d8;
  color: var(--color-highlight);
  border-color: #FFD6BE;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus-visible {
  background: var(--color-highlight);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    font-size: .98rem;
    padding: 15px 9px 15px 10px;
  }
  .cookie-banner .actions {
    flex-direction: row;
    gap: 10px;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,50,74,0.23);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeModalBg .25s cubic-bezier(.36,1,.19,.95);
}
@keyframes fadeModalBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff7f3;
  border-radius: 22px;
  max-width: 420px;
  width: 95vw;
  padding: 36px 34px 30px 34px;
  box-shadow: 0 20px 64px #97715c14;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.04rem;
  animation: modalUp .3s cubic-bezier(.22,1,.26,1);
  position: relative;
}
@keyframes modalUp {
  0% { transform: translateY(38px) scale(.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.29rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.07rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .toggle {
  margin-left: auto;
  background: #eceae5;
  border: 2px solid #eceae5;
  border-radius: 14px;
  width: 38px;
  height: 22px;
  position: relative;
  transition: border .14s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal .toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--color-highlight);
  transition: left .13s;
}
.cookie-modal .toggle input:checked + .slider {
  background: var(--color-success);
  left: 20px;
}
.cookie-modal .essential label {
  color: #B4B4B4;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal button {
  border-radius: 22px;
  font-size: 1.01rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 9px 17px;
  background: #eceae5;
  color: var(--color-primary);
}
.cookie-modal button.save {
  background: var(--color-highlight);
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 9px; right: 16px;
  font-size: 1.5rem;
  font-weight: bold;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus-visible {
  color: var(--color-secondary);
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 7vw 18px 8vw;
  }
}

/* --- CREATIVE ACCENT ELEMENTS --- */
.feature:before {
  content: "";
  display: block;
  width: 34px; height: 6px;
  border-radius: 10px;
  background: var(--color-highlight);
  opacity: .23;
  margin-bottom: 7px;
}
.feature:nth-child(2n):before {
  background: var(--color-secondary);
  opacity: .17;
}
.section:after {
  content: none;
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .feature, .cta-btn, .testimonial-card, .cookie-banner, .cookie-modal, nav a {
  transition: box-shadow .17s, background .17s, color .16s, border .14s, transform .11s;
}

/* --- RESPONSIVE FLEX LAYOUTS --- */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- SCROLLBARS --- */
::-webkit-scrollbar {
  width: 12px;
  background: #f3f1ee;
}
::-webkit-scrollbar-thumb {
  background: #eceae5;
  border-radius: 6px;
}

/* --- ACCESSIBILITY CONTRASTS --- */
.testimonial-card {
  background: #fff;
  color: #25324A;
  border: 2px solid #F7F6F2;
}

/* --- UNIQUE ARTISTIC DECORATIVE ELEMENTS --- */
.hero .content-wrapper:before {
  content: "''";
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-highlight);
  opacity: 0.13;
  position: absolute;
  left: -67px; top: 10px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero .content-wrapper:before {
    left: -18px; font-size: 2.2rem; top: 16px;
  }
}

.section {
  background: #fff;
  box-shadow: 0 4px 28px #97715c10, 0 1.5px 6px #f87c4422;
  border-radius: 22px;
}

/* --- HIGHLIGHT MARKS --- */
mark, .highlight {
  background: #FFE5D0;
  color: var(--color-highlight);
  padding: 2px 5px;
  border-radius: 3.5px;
}

/* --- SOCIAL ICON STYLES --- */
.social-links img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .section { padding: 0; background: none; box-shadow: none; }
}
