/* --- CSS RESET AND 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, 
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FAF7F7;
  color: #2A3142;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #5A6DD5;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #183152;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  border-bottom: 1px solid #ECEAF0;
  margin: 32px 0;
}

/* --- FONT FACE --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

/* --- VARIABLES: Soft Pastel Palette --- */
:root {
  --primary: #183152;
  --secondary: #B3A369;
  --accent: #F4F1EC;
  --brand-pastel1: #F7F3FE;
  --brand-pastel2: #E2F0F6;
  --brand-pastel3: #FDF6E3;
  --brand-pastel4: #FFEDF1;
  --brand-pastel5: #E3FCEC;
  --neutral-800: #2A3142;
  --neutral-700: #4C5166;
  --neutral-200: #ECEAF0;
}

/* --- CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, ul, ol {
  color: var(--neutral-800);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: var(--secondary);
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
@media (min-width: 600px) {
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.1rem;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--brand-pastel2);
  box-shadow: 0 2px 16px 0 rgba(140,140,180,.06);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header a img {
  height: 42px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:focus, .main-nav a:hover {
  background: var(--brand-pastel1);
  color: var(--secondary);
}
.main-nav .cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 16px 0 rgba(179,163,105,0.07);
  font-family: 'Playfair Display', serif;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--brand-pastel3);
  color: var(--secondary);
  box-shadow: 0 8px 28px -6px rgba(179,163,105,0.17);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-pastel3);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(248,249,251,0.95);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.9,.04,.2,1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 38px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 44px 0 rgba(140,140,180,.12);
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1010;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-pastel4);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 36px 0 26px;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.14rem;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 13px 0 13px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-pastel1);
  color: var(--secondary);
}
@media (min-width: 1000px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 999px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(113deg, var(--brand-pastel1), var(--brand-pastel2) 60%, var(--brand-pastel3));
  border-bottom: 1px solid var(--neutral-200);
  padding: 64px 0 44px 0;
  margin-bottom: 0;
  width: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
  line-height: 1.08;
  margin-bottom: 8px;
}
.hero h2 {
  font-size: 1.3rem;
  color: var(--neutral-700);
  font-weight: 400;
}
.hero .cta-btn {
  margin-top: 16px;
}
@media (min-width: 800px) {
  .hero {
    padding: 90px 0 68px 0;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero h2 {
    font-size: 1.7rem;
  }
}

/* --- MAIN CONTENT & SPACING --- */
main {
  width: 100%;
  margin: 0 auto;
  background: transparent;
}
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEXBOX LAYOUTS --- */
.feature-grid, .team-profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div, .team-profile-grid > div {
  background: var(--brand-pastel5);
  padding: 22px 24px 20px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 22px 0 rgba(24,49,82,0.045);
  min-width: 230px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.20s;
}
.feature-grid > div:hover, .team-profile-grid > div:hover {
  box-shadow: 0 12px 38px 0 rgba(24,49,82,0.13);
  transform: translateY(-6px) scale(1.03);
}
.feature-grid img, .team-profile-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 13px;
  opacity: 0.91;
}
.case-study, .industry-use-cases, .calendar-examples, .confidentiality-hint, .infobox, .result-preview {
  background: var(--brand-pastel3);
  border-radius: 22px;
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 14px 0 rgba(140,140,180,.08);
  font-size: 1rem;
  color: var(--primary);
}
.confidentiality-hint {
  background: var(--brand-pastel4);
  color: var(--neutral-800);
  font-weight: 500;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-pastel1);
  border-radius: 22px;
  box-shadow: 0 4px 16px 0 rgba(24,49,82,0.08);
  padding: 34px 30px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  transition: transform 0.14s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 36px 0 rgba(24,49,82,0.12);
}
.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;
    gap: 18px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** TESTIMONIALS *****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--brand-pastel4);
  color: #2A3142;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 22px 0 rgba(24,49,82,0.08);
  max-width: 650px;
  transition: box-shadow 0.20s, transform 0.18s, color 0.2s, background 0.2s;
}
.testimonial-card p {
  color: #23253A;
  font-size: 1.11rem;
  margin-bottom: 4px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}
.testimonial-card div {
  color: var(--primary);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.testimonial-card span {
  color: #FFD700;
  font-size: 1rem;
  margin-left: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(24,49,82,0.14);
  background: var(--brand-pastel2);
}
/***** FAQ Section *****/
.faq-item {
  background: var(--brand-pastel2);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px 0 rgba(140,140,180,.09);
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1.05rem;
}
.faq-item p {
  font-size: 0.99rem;
}
.faq-item:hover {
  box-shadow: 0 6px 24px 0 rgba(24,49,82,0.17);
}

/***** INFOS, PREVIEWS, CALENDARS *****/
.infobox {
  background: var(--brand-pastel1);
  border-left: 6px solid var(--secondary);
}
.result-preview {
  background: var(--brand-pastel4);
}
.calendar-examples {
  background: var(--brand-pastel2);
}

/***** CTA BUTTONS *****/
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 22px 0 rgba(179,163,105,0.15);
  transition: background 0.16s, color 0.14s, box-shadow 0.18s, transform 0.18s;
  text-align: center;
  letter-spacing: 0.31px;
  margin-top: 10px;
  display: inline-block;
}
.cta-btn:focus, .cta-btn:hover {
  background: var(--brand-pastel1);
  color: var(--secondary);
  box-shadow: 0 8px 36px -6px rgba(179,163,105,0.22);
  transform: translateY(-1px) scale(1.03);
}

/***** FOOTER *****/
footer {
  background: var(--brand-pastel1);
  padding: 34px 0 18px 0;
  border-top: 1px solid var(--neutral-200);
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1.01rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-pastel2);
  color: var(--secondary);
}
footer p {
  color: var(--neutral-700);
  font-size: 0.98rem;
  text-align: center;
}

/***** CONTACT SECTION & ICONS *****/
ul li img {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 9px;
  opacity: 0.75;
}

/***** CARD SPACING UTILS (for cards not handled above) *****/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/***** RESPONSIVE DESIGN *****/
@media (max-width: 999px) {
  .container, .content-wrapper {
    max-width: 99vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .feature-grid, .team-profile-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  header .container, .container, .content-wrapper {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .hero {
    padding: 43px 0 19px 0;
  }
  .section {
    padding: 28px 4vw;
    margin-bottom: 38px;
  }
  .feature-grid > div, .team-profile-grid > div, .card {
    min-width: unset;
    width: 100%;
    padding: 13px 8px 16px 12px;
    font-size: 1rem;
  }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20000;
  background: var(--brand-pastel1);
  color: var(--primary);
  box-shadow: 0 -2px 20px 0 rgba(24,49,82,0.14);
  padding: 18px 5vw 18px 5vw;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.38s cubic-bezier(.8,.03,.28,1.08), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  border-radius: 16px;
  background: var(--brand-pastel5);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner button.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}
.cookie-banner button.cookie-accept:hover, .cookie-banner button.cookie-accept:focus {
  background: var(--brand-pastel3);
  color: var(--secondary);
}
.cookie-banner button.cookie-reject {
  background: var(--brand-pastel4);
  color: var(--primary);
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: var(--brand-pastel2);
}
.cookie-banner button.cookie-settings {
  background: var(--brand-pastel2);
  color: var(--primary);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--brand-pastel5);
}

/***** COOKIE MODAL *****/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 20005;
  background: rgba(36,40,62,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.33s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: var(--brand-pastel1);
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(24,49,82,0.19);
  padding: 42px 30px 26px 30px;
  min-width: 320px;
  max-width: 94vw;
  width: 420px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cookie-modal .modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}
.cookie-modal .cookie-categories {
  width: 100%;
  margin: 14px 0 12px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  flex: 1 1 0;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
}
.cookie-modal .cookie-category input[disabled] {
  opacity: 0.44;
  cursor: not-allowed;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
  width: 100%;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.42rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 8px;
  transition: background 0.18s;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  background: var(--brand-pastel2);
}

/***** ANIMATIONS & MICROINTERACTIONS *****/
.cta-btn, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal .modal-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s, opacity 0.18s;
}

/***** VISUAL EFFECTS & SHADOWS *****/
section, .card, .testimonial-card, .feature-grid > div, .team-profile-grid > div {
  box-shadow: 0 2px 18px 0 rgba(24,49,82,0.03);
}

/***** MINIMUM CARD/SECTION MARGINS + FLEX GAPS *****/
.card, .testimonial-card, section {
  margin-bottom: 24px;
}
.feature-grid, .content-grid, .team-profile-grid, .card-container {
  gap: 20px;
}

/***** Z-INDEX LAYERING for overlays *****/
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 20000; }
.cookie-modal { z-index: 20005; }

/***** FOCUS ACCESSIBILITY *****/
a:focus, button:focus, input:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/***** PRINT STYLES *****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
