/* 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, menu, 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, 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;
}
footer p {
  color: white;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F5F5F5;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* ROOT VARIABLES (with fallback) */
:root {
  --color-primary: #20415A;
  --color-secondary: #F5F5F5;
  --color-accent: #F2A71B;
  --color-text: #232323;
  --color-bg: #F5F5F5;
  --color-muted: #e2e2de;
  --color-card-bg: #ffffff;
  --color-card-border: #dad6cf;
  --color-shadow: rgba(32, 65, 90, 0.06);
  --color-shadow-dark: rgba(32, 65, 90, 0.12);
  --font-serif: 'Georgia', 'Times New Roman', Times, serif;
  --font-display: 'Montserrat', var(--font-serif);
  --font-body: 'Open Sans', 'Arial', sans-serif;
  --radius-soft: 10px;
  --radius-card: 16px;
  --transition: 0.22s cubic-bezier(.55,.03,.41,.91);
}

/* BASE TYPOGRAPHY */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
p, ul li, ol li, dl, dd, dt {
  font-size: 1.06rem;
  color: #232323;
  margin-bottom: 1em;
  font-family: var(--font-body);
}
strong {
  font-weight: bold;
}
small {
  font-size: 0.93em;
  color: #6f6f6f;
}

/* UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* --- LAYOUT SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 3px 12px var(--color-shadow);
  position: relative;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 30px var(--color-shadow-dark);
  transform: translateY(-3px);
}
.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: 20px;
  border-radius: var(--radius-card);
  padding: 20px;
  background: var(--color-secondary);
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 1px solid #e4e3df;
  margin-bottom: 24px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  margin-bottom: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e4e3df;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  min-height: 66px;
}
header a img {
  height: 44px;
  width: auto;
  margin-left: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.09rem;
  color: var(--color-primary);
  padding: 7px 14px;
  border-radius: 25px;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}
.main-nav a:hover:not(.cta-btn),
.main-nav a:focus:not(.cta-btn) {
  background: var(--color-muted);
}
.main-nav .cta-btn {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-left: 20px;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: #cf8913;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 104;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-muted);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(32,65,90,0.92);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.8,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 18px 20px 0 0;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(242,167,27,0.08);
}

/* --- HERO & PAGE SECTIONS --- */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-soft);
}
main section:last-child {
  margin-bottom: 0;
}

/* --- BUTTONS --- */
.cta-btn, .btn {
  cursor: pointer;
  border-radius: 32px;
  border: 1px solid transparent;
  padding: 10px 30px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition);
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-top: 12px;
  margin-bottom: 8px;
  display: inline-block;
}
.cta-btn:hover, .btn:hover,
.cta-btn:focus, .btn:focus {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  box-shadow: 0 3px 14px var(--color-shadow-dark);
}

/* --- BADGES & LABELS --- */
.badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.99rem;
  border-radius: 20px;
  padding: 3px 14px;
  margin-left: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  display: inline-block;
}

/* --- FORMS, INPUTS --- */
input, textarea, select {
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  font-size: 1rem;
  padding: 9px 13px;
  width: 100%;
  margin-bottom: 16px;
  background: #fff;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(242,167,27,0.15);
}
label {
  font-family: var(--font-display);
  font-size: 1.01em;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}

/* --- ICONS IN CONTACT LISTS --- */
li img {
  display: inline-block;
  vertical-align: middle;
  height: 1.2em;
  margin-right: 8px;
}

/* --- COUPON SECTION --- */
.coupon-section {
  padding: 20px 28px;
  background: var(--color-muted);
  border-radius: var(--radius-soft);
  margin-top: 22px;
  margin-bottom: 20px;
}
.coupon-section h2 {
  color: var(--color-primary);
}

/* --- DL/FAQ STYLE --- */
dl {
  border-left: 4px solid var(--color-accent);
  padding-left: 18px;
  margin-bottom: 32px;
  margin-top: 6px;
}
dl dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.10rem;
}
dl dd {
  margin-bottom: 7px;
}

/* --- ADDRESS --- */
address {
  font-style: italic;
  color: #3F5A74;
  background: #f2f4f7;
  border-radius: var(--radius-soft);
  padding: 14px 22px;
  font-size: 1rem;
  line-height: 1.48;
  margin-top: 13px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 42px 0 10px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  opacity: 0.97;
  transition: color var(--transition), text-decoration var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-contact {
  color: #f8f8f8;
  font-size: 1.05rem;
  line-height: 1.55;
}
.footer-contact a {
  color: #ffe39c;
  font-weight: bold;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #232323;
  border: 1px solid #dad6cf;
  box-shadow: 0 3px 14px var(--color-shadow);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  max-width: 590px;
}
.testimonial-card p {
  font-size: 1.18rem;
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #6a6a65;
  font-family: var(--font-body);
}
.testimonial-card > div {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 0.3em;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}

/* --- CARD & FEATURE LISTS --- */
ul, ol {
  margin-bottom: 1.5em;
  padding-left: 0;
}
ul li, ol li {
  font-size: 1.06rem;
  color: #232323;
  margin-bottom: 8px;
  padding-left: 0;
  line-height: 1.65;
}
ul li strong {
  color: var(--color-primary);
}
ul li span.badge {
  margin-left: 5px;
}

/* --- RESPONSIVE (MOBILE FIRST) --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 8px; padding-right: 8px;
  }
  main section {
    padding-left: 10px; padding-right: 10px;
  }
  .footer-contact {
    font-size: .98rem;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header {
    flex-direction: row;
    gap: 10px;
    min-height: 58px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding: 0 3vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  header a img {
    height: 34px;
  }
  .section, main section {
    padding: 26px 3vw;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.72rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.22rem;
    margin-bottom: 13px;
  }
  .testimonial-card {
    padding: 14px;
    margin-bottom: 16px;
  }
  .card-container {
    gap: 12px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222;
  color: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  box-shadow: 0 -4px 24px rgba(32,65,90,0.16);
  gap: 24px;
  font-size: 1rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  opacity: 1;
  transition: opacity var(--transition), transform var(--transition);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__msg {
  flex: 1 1 60%;
  line-height: 1.6;
}
.cookie-banner__btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  border-radius: 20px;
  padding: 8px 20px;
  min-width: 110px;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  font-weight: 700;
}
.cookie-banner .accept-btn {
  background-color: var(--color-accent);
  color: #fff;
}
.cookie-banner .accept-btn:hover,
.cookie-banner .accept-btn:focus {
  background-color: #cf8913;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-banner .reject-btn:hover,
.cookie-banner .reject-btn:focus {
  background: #f3e6ca;
}
.cookie-banner .settings-btn {
  background: none;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.cookie-banner .settings-btn:hover,
.cookie-banner .settings-btn:focus {
  background: #2e4961;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 19px 12px;
    gap: 10px;
  }
  .cookie-banner__btn-group {
    gap: 7px;
    flex-direction: column;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  background: #fff;
  color: #232323;
  border-radius: 18px;
  box-shadow: 0 4px 34px rgba(32,65,90,0.22);
  z-index: 2002;
  max-width: 96vw;
  width: 410px;
  padding: 33px 30px 24px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(.64,.15,.45,1), transform 0.24s cubic-bezier(.64,.15,.45,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.cookie-modal__title {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.18rem;
  font-weight: bold;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.38rem;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: var(--color-muted);
  color: var(--color-accent);
}
.cookie-modal__content {
  margin-bottom: 22px;
}
.cookie-modal__category {
  padding: 11px 0;
  border-bottom: 1px solid #eceae5;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal__category:last-child {
  border-bottom: none;
}
.cookie-modal__category span {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  background: #eceae5;
  border-radius: 20px;
  transition: background var(--transition);
  outline: none;
  margin-left: 14px;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(40,40,40,0.05);
  transition: transform var(--transition);
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal__footer button {
  padding: 7px 22px;
  border-radius: 20px;
  font-family: var(--font-display);
  color: #fff;
  background: var(--color-primary);
  border: 1px solid transparent;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal__footer .cookie-modal-save {
  background: var(--color-accent);
}
.cookie-modal__footer .cookie-modal-save:hover,
.cookie-modal__footer .cookie-modal-save:focus {
  background: #cf8913;
}
.cookie-modal__footer .cookie-modal-cancel {
  background: #8b8b8b;
}
.cookie-modal__footer .cookie-modal-cancel:hover,
.cookie-modal__footer .cookie-modal-cancel:focus {
  background: #555;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 7vw 17px 7vw;
    width: 97vw;
    min-width: 0;
  }
  .cookie-modal__footer {
    flex-direction: column;
  }
}

/* --- HIGHLIGHTED INTERACTIVE EFFECTS --- */
a, .btn, .cta-btn {
  transition: color var(--transition), background var(--transition), border var(--transition), box-shadow var(--transition), transform var(--transition);
}
a:focus-visible, .btn:focus-visible, .cta-btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--color-accent), 0 2px 10px var(--color-shadow-dark);
}
nav a.active, .main-nav a.active, .mobile-nav a.active {
  color: var(--color-accent);
  font-weight: 700;
}

/* --- ANIMATIONS --- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.section, main section, .testimonial-card, .card {
  animation: fadein 0.39s cubic-bezier(.64,.15,.45,1);
}

/* --- ENSURE SPACING FOR ALL FLEX CONTAINERS --- */
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* --- ENSURE NO OVERLAP & FINISH --- */