/* Pearly Vortex Events – Monochrome Sophisticated CSS Theme */
/* 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, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

/* TYPOGRAPHY: Sophisticated Monochrome */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #111;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -.01em; }
h2 { font-size: 2rem;  }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }
p, ul, ol, li, dl, dd, dt {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232323;
}
p { margin-bottom: 16px; }
ul, ol { margin-bottom: 16px; margin-left: 18px; }
li { margin-bottom: 8px; }
b, strong { font-weight: 600; color: #0c0c0c; }
a { color: #222; text-decoration: underline; transition: color .2s; }
a:hover, nav a.active, .footer a:hover {
  color: #384270;
  text-decoration: none;
}

/* BRAND COLORS as CSS variables for optional fallback */
:root {
  --primary: #384270;
  --secondary: #7AC1CE;
  --accent: #F4EEE5;
  --black: #111112;
  --gray-light: #F7F7F9;
  --gray: #BDBDBD;
  --gray-dark: #54575A;
  --white: #fff;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

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

/* HEADER & NAV */
header {
  background: #fff;
  border-bottom: 1px solid #E2E2E2;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
header nav a:hover,
header nav a.active {
  background: #f6f6f6;
  color: #384270;
}
header .btn-primary {
  margin-left: 16px;
}
header img {
  height: 42px;
  width: auto;
  display: block;
}

/* Mobile Nav Burger */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #222;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 120;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ececec;
}
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 24px 0 #0003;
  z-index: 9999;
  padding: 38px 32px 32px 22px;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.86,0,.07,1), opacity .3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 2rem;
  color: #222;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ececec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  color: #232323;
  padding: 10px 0 10px 8px;
  text-decoration: none;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover {
  background: #f2f2f2;
  color: #384270;
}

/* Hide main nav on mobile */
@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* MAIN STRUCTURE & SECTIONS */
main {
  min-height: 66vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta-section {
  background: #F7F7F9;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 #14141413;
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX LAYOUTS (MANDATORY) */
.card-container, .feature-grid, .features, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid { gap: 20px; }
.card { margin-bottom: 20px; position: relative; background: #fff; }
.text-image-section, .feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  flex: 1 1 210px;  
  background: #FBFBFB;
  border-radius: 12px;
  box-shadow: 0 2px 16px #3331;
  padding: 26px 24px;
  position: relative;
  border: 1px solid #ededed;
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: grayscale(1) contrast(1.2);
}

/* TESTIMONIALS & REVIEW CARDS */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #E2E2E2;
  box-shadow: 0 2px 18px 0 #14141414;
  border-radius: 13px;
  margin-bottom: 22px;
  font-size: 1.12rem;
  color: #18181b;
  max-width: 680px;
  transition: box-shadow .2s, border-color .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 #181A2366;
  border-color: #bdbdbd;
}
.testimonial-details {
  margin-left: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .92rem;
  color: #5C5C5C;
  letter-spacing: .01em;
}
.testimonial-card p {
  margin-bottom: 0;  
  color: #18181b;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 36px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  letter-spacing: .04em;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 9px 0 #181A236a;
  transition: background .18s, box-shadow .18s, color .18s;
  text-decoration: none;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #384270;
  color: #fff;
  box-shadow: 0 4px 23px 0 #2225;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  border: 1.5px solid #888;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  transition: background .17s, border .17s, color .17s;
  text-decoration: none;
  box-shadow: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #ecedee;
  color: #384270;
  border-color: #384270;
}

/* CARDS & CARD GRID */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 #181A236a;
  padding: 32px 28px;
  border: 1px solid #ededed;
  transition: box-shadow .2s, border-color .2s;
  min-width: 220px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 6px 30px 0 #2223;
  border-color: #bababa;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}
th, td {
  text-align: left;
  border: 1px solid #DADADA;
  padding: 13px 12px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
th {
  font-weight: 700;
  background: #F8F8F9;
}
tr:nth-child(even){background: #FCFCFC;}

/* Map Placeholder */
.map-placeholder {
  background: #FBFBFB;
  border: 1px dashed #DADADA;
  border-radius: 9px;
  padding: 30px 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #616161;
  margin-top: 18px;
  text-align: center;
}

/* DL FAQ */
dl {
  background: #F7F7F9;
  border-radius: 13px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px #d2d2d24d;
}
dt {
  margin-top: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #272728;
}
dd {
  margin-left: 16px;
  margin-bottom: 6px;
  color: #353535;
  font-size: 1rem;
}

/* Section spacing per spec */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIAL SPACING for content separation */
section, .section, .cta-section {
  margin-top: 0;
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.cta-section .btn-primary {
  margin-top: 16px;
}

/* Hero Section Styling */
.hero {
  background: linear-gradient(96deg, #F4EEE5 0, #fff 100%);
  box-shadow: 0 4px 36px #181A2377;
  border-radius: 0 0 32px 32px;
  margin-bottom: 70px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #1C1C21;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 28px;
  color: #313132;
}

/* Footer Styling */
footer {
  background: #232327;
  color: #ececec;
  padding: 56px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
footer nav,
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #e2e2e2;
}
footer nav a {
  color: #ececec;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  margin-bottom: 3px;
  text-decoration: underline;
  transition: color .16s;
}
footer nav a:hover {
  color: #7AC1CE;
}
footer .contact-details img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) brightness(2);
}
footer .footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 36px;
  font-size: .96em;
  color: #bcbccf;
  opacity: .8;
}
footer a {
  color: #f1f1f1;
  text-decoration: underline;
}
footer a:hover {
  color: #7AC1CE;
}
footer img {
  height: 48px;
  display: block;
  margin-bottom: 12px;
}
@media (max-width: 1024px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 24px; }
  footer .footer-copy { margin-top: 24px; }
}

/* Contact Details Shared */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #111;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1em;
}
.contact-details a {
  color: #384270;
  text-decoration: underline;
}
.contact-details a:hover {
  color: #7AC1CE;
}

/* Cookie Consent Banner (fixed bottom) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232327;
  color: #fbfbfb;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px 18px;
  z-index: 10995;
  box-shadow: 0 -6px 24px 0 #181A2390;
  font-size: 1rem;
  transition: transform .38s, opacity .38s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  padding: 10px 22px;
  font-size: 1em;
  box-shadow: none;
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 33, 0.55);
  z-index: 10999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .38s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #232327;
  border-radius: 18px;
  padding: 38px 38px 24px 38px;
  min-width: 320px;
  max-width: 96vw;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 10px 40px 2px #181A2377;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalFadeIn .38s cubic-bezier(.86,0,.07,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(.98) translateY(16px); }
  to   {opacity: 1; transform: none;}
}
.cookie-modal h2 { font-size: 1.5rem; margin-bottom: 13px; }
.cookie-modal-category {
  border: 1px dashed #E5E5E5;
  border-radius: 8px;
  padding: 13px 11px 13px 13px;
  margin-bottom: 13px;
  background: #F7F7F9;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #eaeaea;
  border-radius: 24px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .2s;
  margin-left: 15px;
}
.cookie-toggle:checked {
  background: #384270;
}
.cookie-toggle:disabled {
  opacity: .60;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: left .22s cubic-bezier(.86,0,.07,1);
  box-shadow: 0 1px 4px #23232733;
}
.cookie-toggle:checked::before {
  left: 20px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 9px;
  margin-top: 15px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 1.6rem;
  background: transparent;
  border: none;
  color: #232327;
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background .2s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F7F7F9;
}

/* Responsive - Mobile adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .content-wrapper,
  .feature-grid,
  .card-container,
  .features,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  section, .section, .cta-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero { padding-top: 34px; padding-bottom: 34px; }
  .hero h1 { font-size: 2rem; }
  .card, .feature-item, .testimonial-card { min-width: unset; }
  .map-placeholder { padding: 18px 0; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  footer .container { flex-direction: column; gap: 24px; }
}
@media (max-width: 500px) {
  h1 {font-size: 1.38rem;}
  h2 {font-size: 1.05rem;}
  .btn-primary, .btn-secondary { padding: 11px 14px; font-size: .98rem; }
}

/* Subtle Microinteractions */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background .23s, color .23s, box-shadow .18s, transform .14s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96);
}

/* Elegant Scrollbar for Modern Browsers */
::-webkit-scrollbar { width: 9px; background: #ececec; }
::-webkit-scrollbar-thumb { background: #B0B0B5; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #9499b0; }

body, html { scroll-behavior: smooth; }

/* Hide visually elements on mobile when toggled (optional for JS) */
.mobile-menu[aria-hidden="true"] { display: none !important; }


/* Print-friendly adjustments */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, .btn-primary, .btn-secondary { display: none !important; }
  header, footer { background: #fff !important; color: #000 !important; }
}
