/* ===== 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, main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  width: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #FFFDF8;
  color: #2C2137;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #C37D27;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1A2657;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #1A2657;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, .text-section p, .subheadline {
  font-size: 1.05rem;
  color: #46372D;
  margin-bottom: 16px;
}
.subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #C37D27;
  font-size: 1.18rem;
  margin-bottom: 26px;
}
strong {
  color: #CB8328;
  font-weight: 700;
}
/* ===== BRAND COLORS ===== */
:root {
  --color-primary: #1A2657;
  --color-secondary: #36BF7F;
  --color-accent: #F6F8FE;
  --color-bg-warm: #FFFDF8;
  --color-highlight: #FEC972;
  --color-cta: #CB8328;
  --color-dark: #2C2137;
  --color-gray: #F5EBDD;
  --color-error: #E56A54;
  --shadow: 0 4px 16px rgba(169,94,39,0.14);
}

/* ===== GENERAL CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #FFF9EE;
  border-bottom: 1.5px solid #F8E2B7;
  box-shadow: 0 2px 16px rgba(220, 191, 137, 0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
}
header img {
  max-height: 44px;
  border-radius: 10px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 500;
}
header nav a {
  color: #1A2657;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a.active {
  background: #FFF1CC;
  color: #CB8328;
}
.cta-btn {
  background: var(--color-cta);
  color: #FFFDF8;
  padding: 10px 25px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border-radius: 28px;
  margin-left: 8px;
  letter-spacing: 0.7px;
  font-size: 1.06rem;
  box-shadow: var(--shadow);
  transition: background 0.18s, transform 0.18s, box-shadow 0.22s;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FEA550;
  color: #1A2657;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(201,125,39,0.18);
  text-decoration: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #FEC972;
  color: #1A2657;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  margin: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:active {
  background: #CB8328;
  color: #FFFDF8;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 249, 238, 0.98);
  width: 100%;
  height: 100vh;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 0 8px 32px rgba(201,125,39,0.14);
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #CB8328;
  padding: 14px 22px;
  margin-right: 8px;
  margin-top: 6px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.18s, background 0.12s;
}
.mobile-menu-close:hover {
  color: #FEA550;
  background: #1A2657;
  border-radius: 50%;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
  gap: 14px;
  padding-left: 34px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #1A2657;
  padding: 12px 8px;
  border-radius: 10px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  margin-bottom: 2px;
  width: 88vw;
  max-width: 330px;
}
.mobile-nav a:hover {
  background: #FEC972;
  color: #FFFDF8;
}
@media (max-width: 1040px) {
  header .container {
    max-width: 100vw;
    padding-left: 12px;
    padding-right: 12px;
    gap: 14px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
  }
  header .cta-btn {
    font-size: 0.98rem;
    padding: 8px 16px;
  }
}
@media (max-width: 870px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== LAYOUT: SECTIONS, CARDS, GRID, WRAPPERS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 22px;
  box-shadow: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFF9EE;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: transform 0.16s, box-shadow 0.20s;
}
.card:hover {
  transform: translateY(-3px) scale(1.017);
  box-shadow: 0 10px 32px rgba(201,125,39,0.19);
}
.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature-grid > div {
  background: #FFF9EE;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 6px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(235,128,24,0.13);
  transform: scale(1.025);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(28,37,87,0.08);
  margin-bottom: 20px;
  margin-right: 0;
  margin-left: 0;
  font-size: 1rem;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.20s, transform 0.18s;
}
.testimonial-card img {
  max-width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  background: #F6F8FE;
}
.testimonial-card p {
  color: #362712;
  font-size: 1.04rem;
  margin-bottom: 0;
  padding-right: 8px;
}
.testimonial-card span {
  color: #CB8328;
  font-size: 0.95rem;
  font-style: italic;
  margin-left: 10px;
  margin-top: 11px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 5px 24px rgba(28,37,87,0.13);
  transform: scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.text-section {
  margin-bottom: 14px;
  margin-top: 3px;
}

/* ============== PRICING TABLE ============== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: space-between;
}
.pricing-table > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #FFF9EE;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 24px 24px 24px;
  text-align: left;
  transition: transform 0.17s, box-shadow 0.2s;
}
.pricing-table > div:hover {
  transform: scale(1.024);
  box-shadow: 0 8px 24px rgba(201,125,39,0.11);
}
.pricing-table h3 {
  color: #CB8328;
  margin-bottom: 8px;
}
.pricing-table p {
  font-size: 1.35rem;
  color: #36BF7F;
  font-weight: bold;
  margin-bottom: 10px;
}
.pricing-table ul {
  margin-bottom: 0;
}

/* ===== FORMS & INPUTS (if extended further) ===== */
input, textarea, select, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  outline: none;
}
input, textarea, select {
  padding: 12px 12px 11px 12px;
  border-radius: 11px;
  border: 1.5px solid #F6D395;
  background: #FFF8F1;
  transition: border 0.18s, box-shadow 0.18s;
  margin-bottom: 14px;
  width: 100%;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #CB8328;
  box-shadow: 0 2.5px 12px rgba(201,125,39,0.08);
}
label {
  font-weight: 500;
  color: #1A2657;
  margin-bottom: 6px;
  display: block;
}
button {
  background: var(--color-secondary);
  color: #FFFDF8;
  padding: 10px 20px;
  border-radius: 22px;
  font-weight: 600;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(28,37,87,0.08);
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
}
button:hover, button:focus {
  background: #26AD66;
  color: #FFFDF8;
  box-shadow: 0 6px 20px rgba(54,191,127,0.12);
}

/* ===== FOOTER ===== */
footer {
  background: #F6F8FE;
  color: #1A2657;
  border-top: 2px solid #FADEBC;
  padding-top: 25px;
  padding-bottom: 20px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 34px;
}
footer nav a {
  color: #1A2657;
  background: none;
  padding: 0;
  margin-bottom: 2px;
  border-radius: 6px;
}
footer nav a:hover {
  color: #FEA550;
}
footer .text-section {
  color: #CB8328;
  margin-top: 10px;
  font-size: 0.93rem;
}
footer img {
  max-height: 44px;
  border-radius: 10px;
}

/* ===== RESPONSIVE LAYOUTS ===== */
@media (max-width: 990px) {
  .container {
    max-width: 96vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .pricing-table { gap: 18px; }
}
@media (max-width: 760px) {
  .container {
    max-width: 100vw;
    padding-left: 5px;
    padding-right: 5px;
  }
  .card-container, .feature-grid, .pricing-table, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .pricing-table > div,
  .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 40px;
    border-radius: 13px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 560px) {
  html { font-size: 94%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .section { padding: 24px 3px; }
  .content-wrapper { padding: 0 2px; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF9ED;
  box-shadow: 0 -4px 20px rgba(201,125,39,0.12);
  color: #1A2657;
  z-index: 2001;
  padding: 16px 18px 18px 18px;
  border-top: 2px solid #FADEBC;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  animation: bannerSlideIn 0.56s cubic-bezier(0.62,0.17,0.36,1.06);
}
@keyframes bannerSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  font-size: 1.03rem;
  color: #46372D;
  max-width: 520px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  background: #CB8328;
  color: #FFFDF8;
  padding: 8px 18px;
  border-radius: 21px;
  border: none;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.14s, transform 0.15s, box-shadow 0.14s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #FEA550;
  color: #1A2657;
  transform: scale(1.04);
}
.cookie-banner .cookie-reject {
  background: #F6F8FE;
  color: #C37D27;
  border: 1px solid #C37D27;
}
.cookie-banner .cookie-reject:hover {
  background: #FFF1CC;
  color: #CB8328;
}

@media (max-width:650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 5px 15px 5px;
  }
  .cookie-banner .cookie-btns {
    gap: 8px;
    margin-top: 2px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 28, 11, 0.33);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #FFF9EE;
  border-radius: 20px;
  max-width: 420px;
  width: 90vw;
  padding: 36px 28px 30px 28px;
  box-shadow: 0 10px 44px rgba(201,125,39,0.19);
  color: #1A2657;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPop 0.37s cubic-bezier(0.62,0.17,0.36,1.06);
}
@keyframes modalPop {
  from { transform:scale(0.89); opacity:0; } to { transform:scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 0.6em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category .cookie-category-label {
  flex: 1;
  color: #CB8328;
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  width:22px; height:22px;
  accent-color: #CB8328;
  cursor: pointer;
}
.cookie-category .cookie-category-desc {
  color: #795120;
  font-size: 1rem;
  margin-left: 2px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 9px; right: 13px;
  background: none;
  border: none;
  color: #CB8328;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 9px;
  transition: color 0.13s;
  border-radius: 60%;
}
.cookie-modal .close-cookie-modal:hover {
  color: #FEA550;
  background: #F8E2B7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1.04rem;
  padding: 10px 18px;
  border-radius: 21px;
}

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

/* ===== MICRO-INTERACTIONS ===== */
.cta-btn, button, .card, .feature-grid > div, .testimonial-card, .pricing-table > div {
  transition: box-shadow 0.18s, transform 0.16s, background 0.15s, color 0.15s;
}

/* ===== UTILITIES ===== */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* ===== COLORED ICON BG (for icons used in features) ===== */
.feature-grid img, .text-section img {
  background: #F6F8FE;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 6px rgba(210,162,68,0.06);
}

/* ===== GENERAL SPACING RULES ===== */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section:last-child {
  margin-bottom: 0;
}

.card-container > *, .feature-grid > *, .content-grid > *, .testimonial-card + .testimonial-card,
.feature-item + .feature-item {
  margin-bottom: 0;
}

/* Minimum 20px margin between cards/sections; enforced by gap & .section styles */

/* ===== END ===== */
