/* ==== RESET & NORMALIZE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #FAF9F6;
  color: #425A4F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #F8EFE2;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #425A4F;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #75B3A2;
  text-decoration: none;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
button, .btn-primary, .btn-secondary {
  font-family: inherit;
  cursor: pointer;
}
button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #A3BCAF;
  outline-offset: 2px;
}

/* ==== PASTEL COLOR PALETTE ==== */
:root {
  --color-primary: #425A4F;
  --color-secondary: #A3BCAF;
  --color-accent: #F8EFE2;
  --color-white: #FFFFFF;
  --color-pastel-pink: #F5CEDB;
  --color-pastel-green: #E1F4EF;
  --color-pastel-yellow: #FFF7CF;
  --color-pastel-lilac: #E8E6FB;
  --color-pastel-blue: #DAF1FF;
  --color-btn-hover: #F5ECD9;
  --color-btn-active: #E8E6FB;
  --color-shadow: rgba(120,150,130,0.09);
  --color-dark-text: #2D4035;
  --color-accent-dark: #E5E3DC;
}

/* ==== TYPOGRAPHY & HEADINGS ==== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1.125rem;
  color: var(--color-dark-text);
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  gap: 0px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: 16px;
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: relative;
  min-width: 210px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, background 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  background: var(--color-btn-hover);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-pastel-green);
  color: var(--color-primary);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 280px;
  box-shadow: 0 2px 14px var(--color-shadow);
  transition: transform 0.15s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px var(--color-shadow);
}
.testimonial-card p {
  font-size: 1.15rem;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-primary);
  opacity: 0.8;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 12px;
  background: var(--color-pastel-blue);
  padding: 18px 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
}

.text-section {
  width: 100%;
}

/* ==== HEADER ==== */
header {
  width: 100%;
  background: linear-gradient(180deg, var(--color-pastel-green) 60%, var(--color-accent));
  box-shadow: 0 2px 10px var(--color-shadow);
  position: relative;
  z-index: 10;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover {
  background: var(--color-pastel-yellow);
  color: #63836F;
}
.btn-primary {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 25px;
  border: none;
  margin-left: 16px;
  box-shadow: 0 2px 8px var(--color-shadow);
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-pastel-lilac);
  color: #586874;
  box-shadow: 0 6px 18px var(--color-shadow);
}
.btn-secondary {
  background: var(--color-pastel-green);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 23px;
  border: none;
  margin-left: 0;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent-dark);
  color: #63836F;
 and box-shadow: 0 6px 16px var(--color-shadow);
}

/* ==== BURGER & MOBILE NAV ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  margin-left: 18px;
  cursor: pointer;
  z-index: 202;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: #63836F;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-pastel-green) 80%, var(--color-pastel-pink));
  transform: translateX(-100vw);
  z-index: 201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  padding-left: 0;
  transition: transform 0.4s cubic-bezier(0.71, 0.08, 0.22, 1);
  box-shadow: 0 2px 24px var(--color-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-primary);
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 210;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #63836F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--color-primary);
  padding: 10px 14px;
  border-radius: 9px;
  background: none;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  min-width: 170px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-pastel-pink);
  color: #63836F;
}

/* ==== TABLES ==== */
table {
  width: 100%;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  border-collapse: collapse;
  margin-bottom: 24px;
  margin-top: 10px;
  overflow: hidden;
}
th, td {
  padding: 13px 10px;
  text-align: left;
  font-size: 1.1rem;
}
th {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-bottom: 2px solid var(--color-secondary);
}
td {
  border-bottom: 1px solid var(--color-accent-dark);
  background: var(--color-accent);
  color: var(--color-dark-text);
}
tr:last-child td {
  border-bottom: none;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(0deg, var(--color-pastel-green) 80%, var(--color-white) 100%);
  padding: 36px 0 10px 0;
  margin-top: 48px;
  box-shadow: 0 -2px 12px var(--color-shadow);
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
footer nav a:hover {
  background: var(--color-pastel-yellow);
  color: #63836F;
}
footer .text-section {
  color: #647B74;
  font-size: 0.97rem;
  text-align: right;
}

/* ==== FORMS & INPUTS ==== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-secondary);
  padding: 9px 11px;
  margin-bottom: 16px;
  outline: none;
  background: #FAF9F6;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-pastel-green);
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 250;
  background: var(--color-pastel-lilac);
  color: var(--color-primary);
  padding: 22px 14px 20px 14px;
  box-shadow: 0 -3px 22px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  font-size: 1.06rem;
  margin-bottom: 2px;
  color: var(--color-primary);
  text-align: center;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  padding: 8px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-pastel-green);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.21s, color 0.21s;
}
.cookie-btn:hover {
  background: var(--color-btn-hover);
}
.cookie-btn.accept {
  background: var(--color-pastel-yellow);
  color: #3d3830;
}
.cookie-btn.reject {
  background: var(--color-pastel-pink);
  color: #6D505A;
}
.cookie-settings-btn {
  background: var(--color-pastel-lilac);
  color: #4B496B;
  border: 1px solid var(--color-secondary);
}
.cookie-settings-btn:hover {
  background: var(--color-accent-dark);
  color: #425A4F;
}

/* ==== COOKIE MODAL ==== */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 260;
  background: rgba(68,90,79,0.18);
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 18px;
  padding: 32px 24px 26px 24px;
  max-width: 370px;
  box-shadow: 0 8px 36px var(--color-shadow);
  text-align: left;
  color: var(--color-primary);
  animation: popin 0.32s cubic-bezier(0.25, 1.25, 0.31, 1.0);
}
@keyframes popin {
  0% { transform: scale(0.96); opacity: 0; }
  84% { transform: scale(1.04); }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content .essential {
  color: #425A4F;
  opacity: 0.7;
  font-size: 0.99rem;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1110px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container {
    padding: 0 8px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.03rem; }
  .section {
    margin-bottom: 36px;
    padding: 22px 5px;
    border-radius: 10px;
  }
  .card {
    padding: 16px 10px;
    border-radius: 10px;
    min-width: 140px;
  }
  .testimonial-card {
    padding: 12px 8px;
    border-radius: 10px;
    min-width: 150px;
    font-size: 1rem;
  }
  .feature-item {
    padding: 10px 7px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header > .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer .container {
    gap: 0;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 23px;
  }
  header nav, header .btn-primary {
    display: none;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.08rem; }
  h2 { font-size: 1rem; }
  body { font-size: 0.97rem; }
  .container { padding: 0 2vw; }
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
a, button, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.22s, color 0.18s, box-shadow 0.21s, transform 0.16s;
}
input, textarea, select {
  transition: border-color 0.18s;
}

/* ==== UTILITY CLASSES ==== */
.d-flex {
  display: flex!important;
}
.flex-column {
  flex-direction: column!important;
}
.align-center {
  align-items: center!important;
}
.justify-between {
  justify-content: space-between!important;
}
.gap-20 {
  gap: 20px!important;
}
.mt-20 { margin-top: 20px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mt-10 { margin-top: 10px!important; }
.mb-10 { margin-bottom: 10px!important; }

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px solid #A3BCAF;
  outline-offset: 2px;
}

/* ==== SUPPLEMENTAL ==== */
::-webkit-scrollbar { width: 8px; background: var(--color-accent-dark); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 9px; }

/* ==== PRINT STYLES (minimal, for exports) ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { padding: 0; }
}
