/* 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, 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 { line-height: 1; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
a { color: inherit; text-decoration: none; outline: none; }
img { max-width: 100%; display: block; border: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }

/* BRAND COLOR PALETTE (ARTISTIC) */
:root {
  --primary: #273B4A;
  --secondary: #D3A561;
  --accent: #F1F1F5;
  --highlight: #2FE0C3;
  --creative1: #EC4067; /* Artistic pop color */
  --creative2: #8854C0; /* Artistic accent */
  --shadow: rgba(39,59,74,0.12);
  --white: #fff;
  --black: #181A1B;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
body {
  background: var(--accent);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 { font-size: 2.4rem; line-height: 1.06; margin-bottom: 18px; }
h2 { font-size: 1.8rem; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--creative2); }
h4,h5,h6 { font-size: 1.1rem; color: var(--secondary); }

p, ul, ol, li, span, em, strong { font-size: 1rem; line-height: 1.6; }
strong { font-weight: 700; }
em { font-style: italic; color: var(--creative1); }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* HEADER & NAVBAR */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 12px var(--shadow);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 40px;
  width: auto;
  transition: filter 0.2s ease;
  filter: drop-shadow(0 2px 6px rgba(211,165,97,0.16));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: color 0.2s;
  padding: 5px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 3px auto 0 auto;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(.95,-0.26,.37,1.18);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 60%;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  padding: 6px 14px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: var(--primary);
  color: var(--white);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.87, -.75, .27, 2);
  padding: 32px 0 0 0;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 20px 10px 0;
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--creative1);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--secondary);
  background: transparent;
  padding: 9px 0;
  font-weight: 700;
  transition: color .22s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--highlight);
  background: rgba(211,165,97,0.12);
}

/* Hide on desktop */
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
/* Hide desktop nav on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  header .container {
    justify-content: space-between;
  }
  .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto;
  }
}

/* MAIN PAGE LAYOUTS */
main {
  margin-top: 12px;
  margin-bottom: 48px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 2px 14px 0 var(--shadow);
  position: relative;
}
.content-wrapper {
  margin-bottom: 24px;
  padding: 32px 12px 0 12px;
  border-radius: 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  padding: 13px 32px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(44,56,93,0.14);
  outline: none;
  margin-top: 18px;
  transition: background .19s, color .19s, transform .14s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--creative1) 100%);
  color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--creative1) 25%, var(--secondary) 85%);
  color: var(--white);
  transform: translateY(-2px) scale(1.035);
}
.btn-secondary {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--creative2);
  color: var(--accent);
  border-color: var(--creative1);
  transform: translateY(-2px) scale(1.035);
}

/* LINKS & QUICK-LINKS */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.quick-links li a {
  color: var(--creative2);
  font-weight: 500;
  background: var(--accent);
  padding: 7px 20px;
  border-radius: 18px;
  transition: background .21s, color .18s;
  box-shadow: 0 1px 4px var(--shadow);
}
.quick-links li a:hover, .quick-links li a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* CARD & FLEX CONTAINERS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 1px 12px var(--shadow);
  overflow: hidden;
  transition: box-shadow .21s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px rgba(236,64,103,0.18);
  transform: scale(1.029) translateY(-2px);
}
.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;
  min-width: 260px;
  background: var(--accent);
  color: var(--black);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(39,59,74,0.095);
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  font-size: 1.05rem;
  transition: box-shadow .16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 3px 18px 1px rgba(211,165,97,.18);
}
.features, .feature-grid, .service-cards, .expert-profiles, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid > div, .service-cards > div, .expert-profiles > div {
  flex: 1 1 200px;
  min-width: 225px;
  background: var(--white);
  border-radius: 19px;
  box-shadow: 0 1px 8px var(--shadow);
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow .21s, background .13s, transform .16s;
  border-left: 4px solid var(--creative2);
}
.feature-grid > div:hover, .service-cards > div:hover, .expert-profiles > div:hover {
  background: var(--accent);
  box-shadow: 0 2px 16px var(--creative2);
  transform: translateY(-4px) scale(1.032);
}
.feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 8px;
  object-fit: contain;
}
.service-price {
  margin-top: 10px;
  color: var(--creative1);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.service-cards {
  gap: 24px;
}
.service-cards > div {
  border-left: 4px solid var(--secondary);
}

/* Testimonial Grid Spacing */
.testimonial-list {
  gap: 24px;
  margin-top: 18px;
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.social-links a img {
  width: 24px;
  height: 24px;
  filter: grayscale(0.1) contrast(1.1);
  transition: filter 0.18s, transform 0.13s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: drop-shadow(0 2px 6px var(--creative1)) grayscale(0);
  transform: scale(1.16);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 44px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 8px;
  transition: color .15s, background .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
  text-align: center;
}
.footer-contact a { color: var(--white); text-decoration: underline dotted; }
.footer-logo img {
  height: 28px;
  opacity: .8;
  margin: 14px auto 0 auto;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--accent);
  padding: 24px 18px 19px 18px;
  box-shadow: 0 -2px 16px var(--secondary);
  font-size: 1rem;
  gap: 18px;
  animation: slideUp 0.62s cubic-bezier(.6, .25, .54, .97);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  padding: 10px 20px;
  margin: 0;
  transition: background .155s, color .15s, border .1s;
  box-shadow: 0 1px 4px 0 var(--shadow);
}
.cookie-accept {
  color: var(--white);
  background: var(--secondary);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--creative1);
}
.cookie-reject {
  color: var(--creative1);
  background: var(--accent);
  border: 1.5px solid var(--creative1);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--creative1);
  color: var(--white);
}
.cookie-settings {
  color: var(--secondary);
  background: transparent;
  border: 2px dashed var(--secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 10001;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39,59,74,0.66);
  animation: fadeInModal 0.39s cubic-bezier(.7,-0.27,.45,1.1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--accent);
  color: var(--primary);
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 24px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popUpModal .38s cubic-bezier(.8,.39,.26,1.36);
  position: relative;
}
@keyframes popUpModal {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 18px;
  background: none;
  color: var(--creative2);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--highlight);
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  margin-right: 7px;
}
.cookie-category label { font-weight: 500; letter-spacing: .01em; }
.cookie-essential {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--creative2);
  font-weight: 700;
}

/* RESPONSIVENESS (MOBILE-FIRST) */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 16px;
  }
  .feature-grid > div, .service-cards > div, .expert-profiles > div {
    min-width: 170px;
  }
  .card-container, .content-grid, .features, .feature-grid, .service-cards, .testimonial-list, .expert-profiles {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
  .content-wrapper {
    padding: 16px 5px 0 5px;
    gap: 9px;
    border-radius: 14px;
  }
  .card-container, .content-grid, .testimonial-list, .expert-profiles, .features, .feature-grid, .service-cards {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 8vw;
    font-size: 1rem;
  }
  footer .container {
    gap: 12px;
    padding: 0 2vw;
  }
  .footer-nav { gap: 11px; }
  .feature-grid > div, .service-cards > div, .expert-profiles > div {
    min-width: 0;
    width: 100%;
    padding: 12px 12px 14px 12px;
    border-radius: 13px;
  }
}
@media (max-width: 420px) {
  .section { padding: 12px 2px; }
  .container { padding: 0 4px; }
  .btn-primary, .btn-secondary { padding: 10px 3vw; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .feature-grid > div, .service-cards > div, .card, .testimonial-card, .quick-links li a {
  transition: background .14s, color .14s, transform .16s, box-shadow .13s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.963);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* VISUAL UNIQUE ELEMENTS FOR ARTISTIC FEEL */
.card, .feature-grid > div, .service-cards > div, .testimonial-card {
  border-radius: 28px 8px 20px 26px / 24px 42px 14px 28px;
  border-right: 3px solid var(--creative1);
  border-bottom: 2px dashed rgba(211,165,97,0.23);
}
.section:before {
  content: '';
  position: absolute;
  top: -32px; left: -16px;
  width: 78px; height: 85px;
  background: var(--creative2);
  opacity: 0.11;
  border-radius: 32% 64% 28% 42%;
  z-index: 0;
  pointer-events: none;
}
.section:after {
  content: '';
  position: absolute;
  bottom: -28px; right: -44px;
  width: 86px; height: 70px;
  background: var(--creative1);
  opacity: 0.13;
  border-radius: 68% 25% 63% 22%;
  z-index: 0;
  pointer-events: none;
}
.section > *, .content-wrapper, .card, .testimonial-card, .footer-nav, .footer-contact, .footer-logo {
  position: relative;
  z-index: 2;
}

/* ACCESSIBILITY TOOLTIPS & FOCUS */
*:focus-visible {
  outline: 2px dotted var(--highlight);
  outline-offset: 2px;
}

/* UTILITY CLASSES */
.mt-2 { margin-top: 8px !important; } 
.mb-2 { margin-bottom: 8px !important; } 
.mt-3 { margin-top: 20px !important; } 
.mb-3 { margin-bottom: 20px !important; }
.center { text-align: center !important; }

/* --- END OF STYLE.CSS --- */
