/* ===============================
   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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F8FA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #283046;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #F6F8FA;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

ul,
ol {
  list-style: none;
}
a {
  color: #283046;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F4B942;
}

strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ===============================
   COLORS & FONTS
   =============================== */
:root {
  --brand-primary: #283046;
  --brand-secondary: #F4B942;
  --brand-accent: #F6F8FA;
  --brand-white: #fff;
  --brand-gray: #e6e8ed;
  --text-dark: #242323;
  --text-light: #fff;
  --shadow-soft: 0 4px 24px rgba(244, 185, 66, 0.12);
  --shadow-card: 0 2px 16px rgba(40, 48, 70, 0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: all .18s cubic-bezier(.4, .2, .6, 1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --focus-ring: 0 0 0 3px #f7e3b0;
}

/* ===============================
   TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--brand-primary);
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.text-section p {
  margin-bottom: 10px;
}

/* =================================
   CONTAINER & LAYOUT
   ================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 640px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  padding: 22px 20px;
  background: var(--brand-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 30px rgba(244, 185, 66, 0.17);
  transform: translateY(-3px) scale(1.017);
}

.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: #fff8eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1.5px solid #fcebc2;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(244, 185, 66, 0.17);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card span {
  color: var(--brand-secondary);
  font-size: 1.3rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO */
.hero {
  background: linear-gradient(104deg, #fffbe9 50%, #fdf4ca 100%);
  padding: 36px 0 36px 0;
  border-bottom: 3px solid #f4e3b0;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero h1 {
  color: var(--brand-primary);
}

/* ===============================
   NAVIGATION
   =============================== */
header {
  background: var(--brand-white);
  box-shadow: 0 2px 14px rgba(40, 48, 70, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  height: 76px;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 14px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 0 12px 0 0;
}
.main-nav ul li a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 14px;
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--brand-secondary);
  color: var(--text-light);
}
.cta-btn {
  display: inline-block;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(244,185,66,0.09);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fdc53a;
  color: #fff;
  box-shadow: 0 4px 22px rgba(244, 185, 66, 0.16);
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 10px;
  }
  .main-nav {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 31;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 12px rgba(244, 185, 66, 0.17);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe5;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.45, .14, .16, .94);
  box-shadow: var(--shadow-soft);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  background: var(--brand-white);
  color: var(--brand-primary);
  border: none;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(40,48,70,0.08);
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f3cd6b;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 0 32px;
  width: 85vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--brand-primary);
  padding: 13px 8px 13px 4px;
  border-radius: var(--radius-md);
  font-weight: 600;
  background: transparent;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-white);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  header {
    min-height: 68px;
  }
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 40px 0 25px 0;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 70px;
  box-shadow: 0 -3px 16px rgba(40,48,70,0.05);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--brand-accent);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  transition: background .15s;
  font-weight: 400;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.footer-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  font-size: 0.98rem;
}
.footer-details a {
  color: var(--brand-secondary);
  text-decoration: underline;
  font-weight: 500;
}
.footer-details a:hover {
  color: #fffbe5;
}
footer p {
  color: var(--brand-accent);
  margin-bottom: 2px;
  text-align: center;
}

/* ========================
   LISTS
   ======================== */
ul, ol {
  margin-bottom: 18px;
  margin-left: 18px;
  list-style: disc outside;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section ul, .content-wrapper ul {
  margin-left: 30px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 7px;
    font-size: 0.95rem;
  }
}

/* ========================
   BUTTONS
   ======================== */
button,
input[type='button'],
input[type='submit'] {
  font-family: var(--font-display);
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 1.07rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  outline: none;
}
button:hover, button:focus {
  background: #fdc53a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(244, 185, 66, 0.1);
}

@media (max-width: 480px) {
  button, .cta-btn {
    font-size: .99rem;
    padding: 9px 13px;
  }
}

/* ========================
   CARDS, BANNERS, ETC.
   ======================== */
.card-grid,
.cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

/* ========================
   RESPONSIVE TEXT-IMAGE SECTIONS
   ======================== */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* List styling for hero and special sections */
.hero ul, .hero ol {
  margin-left: 22px;
  margin-top: 10px;
}

/* ========================
   MICROLEVEL INTERACTIONS
   ======================== */
a, .cta-btn, button, .card, .testimonial-card {
  transition: var(--transition);
}

.card:active, .testimonial-card:active {
  transform: scale(0.98);
}
.cta-btn:active, button:active {
  transform: scale(0.97);
}

/* ============================
   RESPONSIVENESS (MOBILE FIRST)
   ============================ */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .main-nav {
    max-width: 100vw;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1rem;
  }
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 18px 2px;
  }
}

/* ============================
   COOKIE CONSENT BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff9e1;
  color: var(--brand-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 22px 16px 14px 16px;
  box-shadow: 0 -2px 26px rgba(244,185,66,0.16);
  border-top: 3px solid #f4e3b0;
  z-index: 1200;
  animation: fadeInBanner 0.7s cubic-bezier(.45,.14,.16,.94);
}
.cookie-banner p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 3px;
}
.cookie-btn {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 17px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(40,48,70,0.10);
  transition: var(--transition);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fdc53a;
  color: #fff;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; width:100vw; height:100vh;
  background: rgba(40,48,70,0.14);
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBanner 0.4s ease;
}
.cookie-modal {
  background: #fffbe5;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 38px rgba(244,185,66,0.20);
  max-width: 96vw;
  width: 400px;
  padding: 30px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1310;
  position: relative;
  animation: fadeInBanner 0.2s cubic-bezier(.45,.14,.16,.94);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #765c19;
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: #F4B942;
  opacity: 0.5;
}
.cookie-modal input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: #F4B942;
  border-radius: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: var(--brand-primary);
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fee7b1;
  color: #ab840e;
}

/* =======================
   UTILITIES & ACCESSIBILITY
   ======================= */
:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-secondary);
}

/* =======================
   TEXT-IMAGE-SECTION RESPONSIVE
   ======================= */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .container {
    padding: 0 4px;
  }
}

/* =======================
   CARD, TESTIMONIALS SPACING
   ======================= */
.card, .testimonial-card {
  margin-bottom: 20px;
}
.content-grid, .card-grid, .cards-list, .card-container {
  gap: 20px;
}
.section + .section {
  margin-top: 0;
}

/* ===============
   MISCELLANEOUS
   =============== */
::-webkit-input-placeholder { color: #bba85e; }
::-moz-placeholder { color: #bba85e; }
:-ms-input-placeholder { color: #bba85e; }
::placeholder { color: #bba85e; }
time {
  color: #d2a52a;
  font-weight: bold;
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main, .container, .section { background: none !important; box-shadow: none !important; color: #000; }
}
