/* ==== CSS RESET & BASE STYLES ==== */
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,
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7FA;
  color: #22223B;
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: #22223B; text-decoration: none; transition: color 0.2s cubic-bezier(.4,0,.2,1); }
a:focus { outline: 2px solid #9A8C98; outline-offset: 2px; }

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22223B;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem;   line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 14px; }

p, li, ul, ol { font-size: 1rem; color: #22223B; }
strong { font-weight: 700; }

ul, ol { padding-left: 22px; margin-bottom: 18px; }
ul li { margin-bottom: 8px; }

/* ---- CONTAINERS AND GENERAL LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(34,34,59,0.06);
}

@media (max-width: 1024px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 18px 4vw;
    margin-bottom: 30px;
    border-radius: 8px;
  }
}

/* ---- HEADER ---- */
header {
  box-shadow: 0 2px 12px rgba(34, 34, 59, 0.06);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.logo { height: 40px; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #22223B;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid #9A8C98;
  color: #4e4e64;
}

.cta-btn {
  background: #22223B;
  color: #F2E9E4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(154,140,152,.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  display: inline-block;
  margin-left: 8px;
  letter-spacing: .02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #9A8C98;
  color: #22223B;
  box-shadow: 0 4px 18px rgba(154,140,152,.20);
}

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

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #22223B;
  cursor: pointer;
  z-index: 204;
  margin-left: auto;
  margin-right: 4px;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #22223B;
  color: #F2E9E4;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 36px rgba(34,34,59,0.13);
  padding-top: 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F2E9E4;
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
  z-index: 210;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #9A8C98;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 70px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #F2E9E4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 0;
  border-left: 4px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #9A8C98;
  border-left: 4px solid #9A8C98;
  outline: none;
}

@media (max-width: 600px) {
  .mobile-menu-close { right: 16px; top: 16px; }
  .mobile-nav { padding-left: 18px; }
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(95deg, #F2E9E4 55%, #FFF 100%);
  border-bottom: 1px solid #E0DFE6;
  padding: 68px 0 50px 0 !important;
  margin-bottom: 0 !important;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.hero h1 {
  font-size: 2.25rem;
  color: #22223B;
  margin-bottom: 12px;
}
.hero p {
  color: #4e4e64;
  margin-bottom: 20px;
  font-size: 1.15rem;
}
@media (min-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .hero { padding-top: 84px !important; padding-bottom: 60px !important; }
}
@media (min-width: 900px) {
  .hero h1 { font-size: 3.2rem; }
  .hero { padding-top: 110px !important; padding-bottom: 75px !important; }
  .hero .content-wrapper { align-items: flex-start; }
}

/* ---- FLEXBOX PATTERNS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  border-radius: 11px;
  padding: 32px 22px 28px 22px;
  box-shadow: 0 2px 12px rgba(154,140,152, .08);
  flex: 1 1 235px;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
  border: 1.5px solid #F2E9E4;
}
.feature-item img {
  height: 44px; width: 44px;
  filter: grayscale(25%);
  margin-bottom: 2px;
}
.feature-item h3 {
  margin-bottom: 5px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 24px 0 rgba(154,140,152, .17);
  transform: translateY(-2px) scale(1.025);
  border-color: #9A8C98;
}
@media (max-width: 900px) {
  .feature-grid { gap: 24px; }
  .feature-item { min-width: 145px; padding: 20px 10px 18px 10px; }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
    padding: 18px 4vw 16px 4vw;
    border-radius: 8px;
  }
}

/* CARD CONTAINER (reserved for other cards) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 8px 0 rgba(34, 34, 59, 0.05);
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1.5px solid #F2E9E4;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,34,59,.13);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F2E9E4;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(154,140,152,0.09);
  border: 1.5px solid #E5E1EA;
  color: #22223B !important;
  font-size: 1.06rem;
  position: relative;
}
.testimonial-card strong {
  color: #9A8C98;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: auto;
}
.testimonial-card p {
  margin: 0;
  color: #22223B !important;
  font-style: italic;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px 12px;
    font-size: 0.98rem;
  }
  .testimonial-card strong {
    margin-left: 0;
  }
}

/* ---- CTA BLOCKS / Buttons in Section ---- */
.cta-block {
  justify-content: center;
  align-items: center;
  background: #22223B;
  color: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 28px rgba(34,34,59,0.10);
  padding: 40px 30px !important;
  margin-bottom: 60px;
  text-align: center;
  gap: 11px;
}
.cta-block h2,
.cta-block p { color: #fff !important; }
.cta-block .cta-btn {
  margin-top: 16px;
  background: #F2E9E4;
  color: #22223B;
  font-weight: 700;
}
.cta-block .cta-btn:hover, .cta-block .cta-btn:focus {
  background: #9A8C98;
  color: #fff;
}
@media (max-width:600px) {
  .cta-block { padding: 28px 4vw !important; margin-bottom: 36px; border-radius: 8px; }
}

.confirmation-block {
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 50px 20px 45px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 24px rgba(154,140,152,0.08);
  margin-bottom: 40px;
}

/* ---- STEP LIST (PROCESS) ---- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px 0 0 0;
  list-style: none;
  padding-left: 0;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F6F6FB;
  border-radius: 7px;
  padding: 18px 12px 16px 12px;
  border-left: 4px solid #9A8C98;
  font-size: 1.05rem;
}
.step-list img {
  margin-top: 0.2em;
  height: 33px; width: 33px;
}

/* ---- TEXT SECTIONS ---- */
.text-section {
  margin-bottom: 30px;
  color: #22223B;
}
.text-section h2 {
  color: #22223B;
  font-size: 1.30rem;
  margin-top: 18px;
}
.text-section ul li {
  margin-bottom: 6px;
}

/* ---- FOOTER ---- */
footer {
  width: 100%;
  background: #22223B;
  color: #F2E9E4;
  padding-top: 26px;
  margin-top: 70px;
  border-top: 4px solid #9A8C98;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #F2E9E4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1px solid #35344D;
  padding-bottom: 3px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #9A8C98;
  border-bottom: 1px solid #9A8C98;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.97rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E5E1EA;
}
.footer-contact img {
  height: 20px; width: 20px;
  filter: grayscale(55%) brightness(1.25);
}
.footer-bottom {
  background: #1B1B2F;
  text-align: center;
  font-size: 0.98rem;
  color: #CECBD4;
  letter-spacing: 0.01em;
  padding: .8em 0 0.7em 0;
}
@media (max-width:700px) {
  .footer-flex { flex-direction: column; gap: 10px; padding-bottom: 14px; }
  .footer-contact { margin-top: 4px; }
}

/* ==== BUTTONS AND INTERACTIVES ==== */
button, .cta-btn {
  font: inherit;
  outline: none;
  transition: background .18s, color .18s, box-shadow 0.16s;
}
button:active, .cta-btn:active { transform: scale(.97); }

/* ==== COOKIE CONSENT BANNER ==== */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22223B;
  color: #F2E9E4;
  box-shadow: 0 -4px 32px rgba(34,34,59,.12);
  z-index: 6500;
  padding: 22px 10vw 18px 10vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.4,0,.2,1), opacity 0.23s;
}
#cookie-banner.hide, .cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%) scale(1.01);
  pointer-events: none;
}
.cookie-banner-text { flex: 1 1 auto; }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #9A8C98;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 18px;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(154,140,152,0.10);
  transition: background 0.15s, color 0.15s, box-shadow 0.12s; 
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F2E9E4;
  color: #22223B;
}

@media (max-width: 700px) {
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4vw 14px 4vw;
    gap: 10px;
    font-size: .92rem;
  }
  .cookie-banner .cookie-btns { width: 100%; justify-content: flex-end; gap: 7px; }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: rgba(34,34,59,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:1;
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #22223B;
  border-radius: 15px;
  box-shadow: 0 6px 36px rgba(34,34,59,0.20);
  max-width: 96vw;
  width: 410px;
  padding: 38px 30px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: fadeInScale 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: scale(1);   }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #9A8C98;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color .14s;
  z-index: 11;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #22223B;
}
.cookie-modal-title { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 1.26rem; margin-bottom: 7px; }
.cookie-categories { display: flex; flex-direction: column; gap: 12px; margin-top: 7px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #9A8C98;
  width: 18px; height: 18px;
}
.cookie-category .cookie-always {
  font-size: .93rem;
  color: #9A8C98;
  font-style: italic;
  margin-left: 2px;
}

.cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn { min-width: 100px; }

@media (max-width:500px) {
  .cookie-modal-content {
    width: 97vw;
    padding: 18px 7vw 17px 7vw;
    border-radius: 7px;
  }
}

/* ---- MISC ---- */
details, summary {
  cursor: pointer;
}
::-webkit-input-placeholder { color: #9A8C98; }
::-moz-placeholder { color: #9A8C98; }
:-ms-input-placeholder { color: #9A8C98; }
::placeholder { color: #9A8C98; }

hr {
  border: none;
  border-top: 1.5px solid #F2E9E4;
  margin: 40px 0;
}

/* =========== RESPONSIVE LAYOUTS (CONTAINERS) =========== */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
}
@media (max-width: 680px) {
  .container { padding-left: 6vw; padding-right: 6vw; }
}

/* =========== FORM/INPUT STYLES =========== */
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border: 1.5px solid #E5E1EA;
  border-radius: 7px;
  background: #F9F9FC;
  color: #22223B;
  box-shadow: 0 1px 4px rgba(154, 140, 152, 0.10);
  margin-bottom: 16px;
  transition: border .16s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #9A8C98;
  background: #fff;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22223B;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
}

/* ==== CUSTOM CHECKBOX (optional for cookie modal) ====
input[type="checkbox"] {
  accent-color: #9A8C98;
}
*/

/* =========== UTILITIES =========== */
.hide { display: none !important; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }

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

/* =========== BRAND FONTS (for web) =========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600;400&family=Open+Sans:wght@400;700&display=swap');
