/* ===== 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;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FAFD;
  color: #222A36;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit;
  background: none; border: none; outline: none;
}

/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #223472;
  --color-secondary: #F9FAFD;
  --color-accent: #F7B32B;
  --color-accent-dark: #d69d24;
  --color-gold: #C7AA6A;
  --color-gold-dark: #AD9355;
  --color-premium-bg: #F5F3EF;
  --color-bg-card: #fff;
  --color-text-main: #223472;
  --color-text-base: #222A36;
  --color-text-dark: #181B25;
  --color-muted: #7A7A8C;
  --color-link-hover: #F7B32B;
  --color-border: #ece3d8;
  --shadow-elevate: 0 4px 18px 0 rgba(34,52,114,0.10);
  --shadow-card: 0 2px 10px rgba(199,170,106,0.12);
  --radius-card: 18px;
  --radius-btn: 24px;
  --radius-section: 22px;
  --transition-fast: 0.23s cubic-bezier(.55,.04,.78,.33);
  --transition-mid: 0.36s cubic-bezier(.17,.67,.35,1.23);
}

/* ===== SITE CONTAINER and LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Flex patterns (from mission requirements) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-premium-bg);
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-elevate);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
}
.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;
  padding: 20px;
  background: #fff;
  color: var(--color-text-base);
  box-shadow: 0 2px 16px rgba(34,52,114,0.07);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-gold);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-text-main);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 26px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.22;
  margin-top: 16px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
}
p, li, ul, ol, strong, span, input, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text-base);
  font-weight: 400;
}
strong {
  color: var(--color-text-main);
  font-weight: 600;
}
.tag {
  display: inline-block;
  background: var(--color-gold);
  padding: 3px 12px;
  border-radius: 11px;
  font-size: 0.9em;
  color: #fff;
  margin-right: 8px;
  margin-top: 6px;
  font-weight: 500;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(34,52,114,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 23px 7px 12px;
  color: var(--color-primary);
  border-radius: var(--radius-btn);
  position: relative;
  font-weight: 500;
  transition: color var(--transition-mid), background var(--transition-fast);
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
  background: rgba(247,179,43,0.08);
  outline: none;
}
header img {
  height: 38px;
  width: auto;
  transition: filter var(--transition-fast);
}
.cta-button {
  background: linear-gradient(90deg,#f7b32b 60%, #c7aa6a);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.7em 2em;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(247,179,43,0.10);
  letter-spacing: 0.02em;
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  z-index: 1;
  margin-left: 20px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #e0ae38 60%, #ad9355);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 24px rgba(247,179,43,0.16),0 0 0 2px #f7b32b22;
  outline: none;
}

/* ===== CONTENT WRAPPERS ===== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  padding: 16px 0;
}

/* ===== CARDS, LISTS, FEATURES ===== */
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
  margin-top: 0;
  padding-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 0.2em;
}
section ul li img {
  vertical-align: middle;
  margin-right: 5px;
  height: 20px;
}
.card strong {
  color: var(--color-gold);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card p {
  font-size: 1.05em;
  line-height: 1.45;
  color: #1f2232;
}
.testimonial-card strong {
  font-size: 1em;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
}

/* ===== SOCIAL ICONS ===== */
.social_links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.social_links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  box-shadow: 0 1px 5px 0 rgba(247,179,43,0.08);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.social_links a:hover, .social_links a:focus {
  box-shadow: 0 2px 14px 0 rgba(199,170,106,0.17);
  transform: scale(1.06);
}
.social_links img {
  width: 20px;
  height: 20px;
}

/* ===== FORMS AND INPUTS ===== */
input[type="search"] {
  width: 100%;
  max-width: 340px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-gold);
  font-size: 1em;
  margin-top: 5px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  outline: none;
  color: var(--color-text-base);
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}
input[type="search"]:focus {
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 0 0 2px #ffe4bb99;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  padding: 46px 0 44px 0;
  box-shadow: 0 -1px 12px rgba(34,52,114,0.05);
  border-top: 2.5px solid var(--color-gold);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 11px;
}
footer nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  transition: background var(--transition-fast), color var(--transition-fast);
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  background: rgba(247,179,43,0.09);
  color: var(--color-accent);
}
.brand-legal p {
  font-size: 0.95em;
  color: var(--color-muted);
  text-align: center;
}
footer .social_links {
  gap: 13px;
  margin-top: 0;
}
footer img {
  height: 32px;
}

/* ===== MOBILE MENU NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 70;
  background: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  color: var(--color-primary);
  box-shadow: 0 2px 14px rgba(34,52,114,0.10);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition-fast), border var(--transition-fast);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  box-shadow: 0 4px 20px rgba(247,179,43,0.13);
  border-color: var(--color-accent-dark);
  outline: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247, 179, 43, 0.93);
  box-shadow: 0 2px 16px rgba(34,52,114,0.13);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.67,.11,.62,1.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  background: #fff;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2.2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(247,179,43,0.16);
  transition: box-shadow var(--transition-fast);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  box-shadow: 0 6px 24px rgba(34,52,114,0.16);
  color: var(--color-gold-dark);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-left: 36px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 0;
  color: #fff;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 6px #fff99944;
  outline: none;
}

/* Hide mobile menu and show burger button on mobile only */
@media (max-width: 1000px) {
  header nav,
  header .cta-button { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe9;
  color: var(--color-text-dark);
  border-top: 2.5px solid var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  box-shadow: 0 -1.5px 18px 0 rgba(199,170,106,0.11);
  z-index: 200;
  gap: 20px;
  min-height: 78px;
  animation: cookieBannerIn 0.35s var(--transition-fast);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%) scale(1.02); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  font-size: 1.03em;
  margin-right: 16px;
  max-width: 570px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  padding: 7px 22px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  margin: 0 2px;
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: #fff;
}
.cookie-btn.reject {
  background: #e4d3ae;
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent-dark);
  color: #fff;
  outline: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-gold);
  color: #fff;
  border: 2px solid var(--color-gold);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,52,114,0.16);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieBackdropIn 0.3s;
}
@keyframes cookieBackdropIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px #22347219;
  min-width: 310px;
  max-width: 98vw;
  width: 400px;
  padding: 34px 28px 24px 28px;
  z-index: 225;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.38s;
}
@keyframes cookieModalIn {
  from {transform: translateY(24px) scale(0.97);opacity:0.2;} to {transform:none;opacity:1;}
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-size: 1.19rem;
  margin-bottom: 13px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1em;
  font-weight: 500;
  color: var(--color-text-main);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-gold);
  width: 20px;
  height: 20px;
}
.cookie-category .essential {
  font-weight: 700;
  color: var(--color-accent);
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  color: var(--color-accent);
  font-size: 1.95em;
  border-radius: 12px;
  border: none;
  padding: 4px 7px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-primary);
  background: #fff5d4;
}

/* ===== THANK YOU PAGE SPECIAL ===== */
.thankyou .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.thankyou h1 {
  color: var(--color-gold);
  margin-bottom: 9px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 900px) {
  .container { padding: 0 13px; }
  header .container, footer .container { gap: 14px; }
  .section { padding: 32px 10px; }
}
@media (max-width: 768px) {
  .section { padding: 25px 7px; margin-bottom: 36px; }
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.19rem; }
  .testimonial-card { padding: 16px; }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .brand-legal p { font-size: 0.87em; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 9px;
    min-height: 100px;
  }
}
@media (max-width: 550px) {
  header img, footer img { height: 28px; }
  .cta-button { padding: 0.54em 1.3em; font-size: 0.98em; }
  .testimonial-card { font-size: 0.96em; padding: 11px; }
  .cookie-modal { width: 97vw; min-width: unset; }
}

/* ===== MISC PREMIUM DETAILS ===== */
.card, .testimonial-card, .section, .cookie-modal {
  border: 1.5px solid #ebe5d6;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(199,170,106,0.06);
}
.card:before, .testimonial-card:before {
  content: '';
  position: absolute;
  top: 19px; left: 22px;
  width: 32px; height: 3.5px;
  background: var(--color-gold);
  border-radius: 6px;
  opacity: 0.12;
  display: block;
}
.card {
  border-left: 2.9px solid var(--color-accent);
}
.feature-item > strong, .feature-item > span { color: var(--color-gold); }

/* Micro-interaction shadow lift */
.card, .testimonial-card, .section {
  transition: box-shadow 0.22s cubic-bezier(.33,.77,.52,1.13), transform 0.22s;
}
.card:hover, .testimonial-card:hover, .section:hover {
  box-shadow: 0 8px 30px rgba(199,170,106,0.16);
  transform: translateY(-3px) scale(1.022);
}

/* ===== VISUAL HIERARCHY & COLOR ACCENTS ===== */
h1 span, h2 span, .cta-button, .card strong, .tag, .cookie-btn.accept, .cookie-btn.settings:hover {
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--color-gold);
  font-weight: 700;
}
hr {
  height: 1.5px;
  background: var(--color-gold);
  border: none;
  margin: 34px 0;
  border-radius: 7px;
}

/* ===== ACCESSIBILITY: FOCUS STYLES ===== */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2.5px;
}

/* ===== OVERLAP/OVERFLOW PREVENTION ===== */
.card, .testimonial-card, .section, .content-wrapper, .card-container, .content-grid,
.text-image-section, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid { gap: 20px; }

/* ===== END OF FILE ===== */
