/* ---------------------- CSS RESET & BASE ---------------------- */
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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F9F9FC;
  color: #1F4260;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #1F4260;
  text-decoration: none;
  transition: color .2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}
ul, ol {
  list-style-position: inside;
}
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }


/* -------------------- VARIABLES & COLOR SYSTEM ------------------ */
:root {
  --primary: #1F4260;
  --secondary: #ADC9D9;
  --accent: #FFD580;
  --accent-deep: #FFF0BD;
  --grey-bg: #F9F9FC;
  --card-bg: #fff;
  --footer-bg: #1F4260;
  --footer-text: #fff;
  --art-pink: #FDA6B7;
  --art-green: #83E9B4;
  --art-blue: #B1DBEC;
  --shadow: 0 3px 18px rgba(31,66,96,0.13);
  --radius: 20px;
  --transition: all 0.25s cubic-bezier(0.5,0.2,0.5,1);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.18;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--primary);
}
strong, b {
  font-weight: bold;
  color: var(--primary);
}

/* Artistic Touches on Headings */
h1, h2 {
  background: linear-gradient(90deg, var(--primary) 55%, var(--accent) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 6px;
  background: var(--art-pink);
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}
h2::after { background: var(--art-green); }
@media (max-width: 550px) {
  h1, h2 { font-size: 1.25rem; }
}

/* Links & Actions */
a {
  transition: color 0.18s cubic-bezier(.51,.03,.64,.28);
}
a:hover, a:focus {
  color: var(--accent);
}


/* --------------------- LAYOUT & SPACING -------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 300px;
}

.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 26px;
  background: var(--accent-deep);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(31,66,96,0.07);
  margin-bottom: 24px;
  color: #1F4260;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  line-height: 1.7;
  position: relative;
  min-width: 230px;
  border-left: 5px solid var(--art-pink);
}
.testimonial-card strong {
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Cards used in tips etc */
.tip-card {
  background: var(--art-blue);
  color: var(--primary);
  border-radius: 18px 40px 18px 18px;
  box-shadow: 0 3px 12px rgba(180,192,203,0.18);
  padding: 24px 22px;
  font-family: 'Open Sans', Arial, sans-serif;
  min-width: 210px;
  margin-bottom: 20px;
}

.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.category-filters {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 18px 0 10px 0;
}
.category-filters span {
  background: var(--art-green);
  border-radius: 10px;
  padding: 4px 16px;
  font-size: .98rem;
  margin-right: 6px;
  color: var(--primary);
}

.quick-trick-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.02rem;
}
.quick-trick-highlights li {
  background: var(--art-pink);
  color: #fff;
  padding: 6px 18px;
  border-radius: 18px 8px 18px 8px;
}

.contact-details,
.map-block,
.contact-info-snippet {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 20px 20px;
  margin-bottom: 20px;
}

.guarantee-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  background: var(--art-green);
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 1.06rem;
}
.guarantee-block img {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.participant-feedback {
  margin-top: 24px;
}

/* --------------------- NAVIGATION --------------------- */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 26px 0 18px 0;
  background: var(--grey-bg);
  transition: box-shadow .2s;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 12px;
  padding: 8px 14px;
  transition: background var(--transition), color .14s;
  position: relative;
}

.main-nav a.cta-btn {
  margin-left: 12px;
}
.main-nav a.active, .main-nav a.cta-btn.primary {
  background: var(--accent);
  color: var(--primary)!important;
  box-shadow: 0 2px 8px 0 rgba(255,213,128,0.13);
  border-radius: 14px;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2.5px;
  background: var(--art-green);
  border-radius: 2px;
  transition: width .25s;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 60%;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--art-blue);
  color: var(--primary);
}


/* Hamburger (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 102;
  transition: background .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,66,96,0.90);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(0.51,0.32,0.19,1.07);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.7rem;
  width: 46px;
  height: 46px;
  margin: 30px 18px 0 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  display: flex;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--art-pink);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 42px 20px 0 0;
  align-items: flex-end;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--grey-bg);
  color: var(--primary);
  border-radius: 14px 6px 18px 12px;
  padding: 10px 26px;
  margin-right: 0;
  transition: background .18s, color .18s;
  margin-bottom: 2px;
  box-shadow: 0 3px 14px rgba(255,255,255,0.09);
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none!important; }
}


/* ------------- CTA BUTTONS ----------------- */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 24px;
  color: var(--primary);
  background: var(--accent);
  border: none;
  box-shadow: 0 2px 14px 2px rgba(253,166,183,0.08);
  cursor: pointer;
  display: inline-block;
  transition: box-shadow .17s, background var(--transition), color .17s;
  margin-bottom: 10px;
}
.cta-btn.primary,
.cta-btn.primary:visited {
  background: var(--primary);
  color: #fff!important;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--art-pink);
  color: #fff!important;
  box-shadow: 0 3px 18px 2px rgba(253,166,183,0.20);
}

/* ------------- FORMS ------------------ */
input,
textarea,
select {
  border: 1.5px solid var(--secondary);
  border-radius: 12px;
  background: #fff;
  font-size: 1.01rem;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color .16s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
}

/* ------------- GENERAL FLEX/MARGIN PATTERNS ------------------ */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
li { margin-bottom: 5px; }

@media (max-width: 768px) {
  .section {
    padding: 26px 5vw;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .content-grid, .card-container, .tips-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.05rem; }
  .card {
    min-width: 180px;
    padding: 16px 9px;
  }
  .testimonial-card {
    min-width: 120px;
    padding: 16px 9px;
  }
}


/* ------------- FOOTER ----------------- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 46px;
  padding-bottom: 0; 
  font-size: 1.01rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-center;
  justify-content: space-between;
  border-bottom: 1.5px solid #4D6B8E;
  padding-bottom: 30px;
  margin-bottom: 10px;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-top nav a {
  color: var(--footer-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: .91;
  transition: color 0.22s;
}
.footer-top nav a:hover { color: var(--accent); }
.footer-contact {
  color: var(--footer-text);
  font-size: .97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: .90;
  margin-top: 8px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px 0;
  font-size: .97rem;
}
.footer-bottom div a {
  display: inline-block;
  margin-right: 12px;
}
.footer-bottom img {
  width: 28px;
  height: 28px;
  filter: brightness(90%) contrast(110%);
  transition: filter 0.18s;
}
.footer-bottom a:hover img {
  filter: brightness(120%) contrast(125%) saturate(1.2);
}
.footer-bottom p {
  color: var(--footer-text);
  font-size: .95rem;
  opacity: .83;
}

@media (max-width: 768px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-top nav {
    flex-direction: row;
    gap: 10px;
  }
}

/* ------------- MODALS & ANIMATIONS -------------- */
.fade-in {
  animation: fadeIn .33s linear;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.slide-in-right {
  animation: slideInRight .44s cubic-bezier(.45,.7,.44,1.24);
}
@keyframes slideInRight {
  from { transform:translateX(100%); opacity: .2; }
  to { transform:translateX(0); opacity:1; }
}

/* ------------- COOKIE CONSENT BANNER & MODAL -------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--card-bg);
  color: var(--primary);
  border-top: 2.5px solid var(--accent);
  box-shadow: 0 -3px 16px rgba(31,66,96,0.14);
  z-index: 2002;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding: 20px 6vw 20px 4vw;
  font-size: 1rem;
  animation: fadeInUp .45s cubic-bezier(.35,.91,.52,1.03);
}
@keyframes fadeInUp {
  0% { transform: translateY(100px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}

.cookie-banner p {
  flex: 1 1 400px;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 11px 24px;
  background: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  transition: background .18s, color .18s;
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .reject {
  background: var(--art-pink);
  color: #fff;
}
.cookie-banner .reject:hover { background: #DD5082; }
.cookie-banner .settings {
  background: var(--art-green);
  color: var(--primary);
}
.cookie-banner .settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 14px 8px 12px 10px;
    font-size: .96rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 310px;
  max-width: 90vw;
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 6px 38px rgba(31,66,96,0.21);
  z-index: 2029;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 40px 32px 32px 32px;
  animation: fadeIn 0.38s;
}
.cookie-modal h2 {
  margin-bottom: 16px;
  background: unset!important;
  color: var(--primary);
  -webkit-text-fill-color: unset;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category .cookie-toggle {
  margin-left: 24px;
  width: 46px;
  height: 26px;
  background: var(--secondary);
  border-radius: 16px;
  position: relative;
  transition: background .18s;
  cursor: pointer;
}
.cookie-category .cookie-toggle.enabled {
  background: var(--art-green);
}
.cookie-category .cookie-toggle .circle {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 6px 1.5px rgba(180,192,203,0.18);
  transition: left .18s;
}
.cookie-category .cookie-toggle.enabled .circle {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 20px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  margin-bottom: 0;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-modal .save {
  background: var(--accent);
}
.cookie-modal .save:hover { background: var(--art-pink); color: #fff; }
.cookie-modal .close {
  background: var(--art-green);
}
.cookie-modal .close:hover { background: var(--art-blue); }
@media (max-width: 450px) {
  .cookie-modal { padding: 22px 6px 10px 8px; min-width:0; }
}


/* -------------------- ARTISTIC DECORATIVE ELEMENTS ------------------ */
.card:before {
  content: '';
  display: block;
  position: absolute;
  left: -20px;
  top: -26px;
  width: 42px;
  height: 42px;
  background: var(--art-pink);
  border-radius: 32px 19px 44px 20px;
  opacity: 0.14;
  z-index: 0;
}
.card:nth-child(even):before {
  left: unset;
  right: -14px;
  top: unset;
  bottom: -24px;
  background: var(--art-green);
  border-radius: 24px 44px 20px 44px;
}
@media (max-width:640px) {
  .card:before { display: none; }
}


/* ----------- MISC UX & UTILITIES ----------- */
.hidden { display: none!important; }

@media (max-width: 430px) {
  .footer-contact { font-size: .9rem; }
  .main-nav a { font-size: .98rem; }
}

/* Accessibility/Contrast for Testimonial Cards */
.testimonial-card {
  background: #FFFCE2;
  color: #1F4260;
  border-left: 4px solid var(--art-green);
  box-shadow: 0 2px 12px rgba(210,192,164,0.11);
}
.testimonial-card strong { color: #1F4260; }

/* ------------- PAGE SPECIFIC STYLES ---------- */
/* Process steps on Services page */
ol {
  list-style-type: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
  margin-left: 0;
}
ol li {
  background: var(--art-green);
  border-radius: 8px 16px 12px 20px;
  padding: 18px 24px 14px 16px;
  margin-bottom: 0;
  position: relative;
  color: var(--primary);
}
ol li img {
  width: 38px;
  margin-bottom: 8px;
}


/* ------------- THANK YOU / SUCCESS/MESSAGE --------- */
.content-wrapper[style*='text-align: center'] {
  text-align: center;
}

/* Utility: visually hidden for accessibility (eg. toggler labels) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
