/* === CSS RESET & NORMALIZATION === */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #20324e;
  background: #fff;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
:focus {
  outline: 2px solid #FAAD14;
  outline-offset: 2px;
}

/* === BRAND VARIABLES === */
:root {
  --primary: #17355A;
  --secondary: #EDE5D1;
  --accent: #FAAD14;
  --neutral: #fff;
  --text: #20324e;
  --text-dark: #17355A;
  --shadow: 0 4px 24px rgba(23,53,90, 0.09);
  --radius: 18px;
  --card-radius: 22px;
  --section-space: 60px;
}

/* ==== CREATIVE/ARTISTIC FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
  letter-spacing: 0;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, ul, ol, li, details, summary, span, em, strong, div {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.7;
}

strong {
  font-weight: 700;
  color: var(--primary);
}
em {
  font-style: italic;
}

/* === LINK & INTERACTION === */
a {
  color: var(--primary);
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--accent);
}

/* === CONTAINER/WRAPPER === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius);
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  color: var(--neutral);
  box-shadow: 0 3px 24px rgba(23,53,90,0.09);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  flex-wrap: wrap;
}
header img {
  height: 48px;
  margin-right: 14px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: var(--neutral);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a.active {
  background: var(--accent);
  color: var(--primary);
}
.cta-btn {
  background: var(--accent);
  color: var(--primary);
  font-weight: 900;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 11px 30px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 3px 24px rgba(250,173,20,0.06);
  margin-left: 12px;
  cursor: pointer;
  transition: filter 0.17s, box-shadow .22s, background .18s, color .17s;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  filter: brightness(1.07) drop-shadow(0 2px 7px #FAAD1433);
  background: var(--primary);
  color: var(--accent);
}

/* === MOBILE BURGER === */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(250,173,20,0.15);
  transition: background 0.15s, color 0.16s, box-shadow 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  box-shadow: 0 7px 24px rgba(23,53,90,0.22);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.40s cubic-bezier(.72,.22,.44,1.15);
  padding: 0 0 0 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.1rem;
  border: none;
  margin: 26px 18px 16px 19px;
  border-radius: 10px;
  padding: 4px 14px;
  cursor: pointer;
  transition: background .16s, color .15s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 14px 38px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 6px;
  transition: background .18s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus, .mobile-nav a.active {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 990px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}


/* === HERO STYLES === */
section:first-of-type {
  background: linear-gradient(90deg, var(--secondary) 70%, #fff 100%);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 15px;
  margin-top: 0px;
  margin-bottom: 48px;
  position: relative;
}
section:first-of-type h1,
section:first-of-type p {
  color: var(--primary);
}
.trusted-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
}
.trusted-badges img {
  height: 32px;
  width: 32px;
}
.trusted-badges span {
  font-family: 'Merriweather', serif;
  letter-spacing: 0.01em;
  color: var(--primary);
}


/* === CARDS & FLEX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  position: relative;
  padding: 28px 24px 24px 24px;
  min-width: 220px;
  flex: 1 1 300px;
  transition: box-shadow 0.19s, background 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(250, 173, 20, 0.14);
  background: #fffbe8;
}

.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: 22px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFBEA;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(23,53,90,0.11);
  margin-bottom: 24px;
  font-size: 1.14rem;
  color: #1b1c23;
  flex: 1;
  min-width: 240px;
}
.testimonial-card p {
  color: #20324e;
  font-size: 1.18rem;
  font-weight: 500;
  font-family: 'Merriweather', serif;
}
.testimonial-card span {
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-size: 1.04rem;
  font-style: italic;
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.18rem;
  color: var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURES GRID / CARDS / SPECIALISTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--neutral);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 14px 14px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .16s, background .18s;
  margin-bottom: 20px;
}
.feature-grid img {
  background: var(--accent);
  border-radius: 13px;
  padding: 6px;
  margin-bottom: 10px;
  width: 38px;
  height: 38px;
  box-shadow: 0 2px 8px #FAAD1433;
}
.feature-grid h3 {
  color: var(--primary);
  font-size: 1.09rem;
  margin-bottom: 7px;
}
.feature-grid p {
  font-size: 1.03rem;
  color: #2c3e5b;
  margin-bottom: 0;
}

.specialist-profiles, .specialist-profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.specialist-profiles > div,
.specialist-profiles-grid > div {
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .16s, background .18s;
  position: relative;
}
.specialist-profiles img, .specialist-profiles-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
  background: var(--accent);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 2px 7px #FAAD1433;
}
.specialist-profiles h3, .specialist-profiles-grid h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
  color: var(--primary);
  font-family: 'Merriweather', serif;
}
.review-snippet, .user-reviews {
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-size: 1.07rem;
  font-style: italic;
  margin-top: 7px;
  background: #fff8dc;
  border-radius: 8px;
  padding: 7px 13px;
  box-shadow: 0 1.5px 6px #FAAD1430;
}

/* === SERVICE CARDS/LISTS === */
.service-list ul, .service-cards, .service-cards > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.service-list ul li,
.service-cards > div {
  background: var(--neutral);
  border-radius: 14px;
  box-shadow: 0 2px 10px #17355a15;
  padding: 18px 18px;
  min-width: 170px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  flex: 1 1 170px;
  font-family: 'Roboto', Arial, sans-serif;
}
.service-cards > div h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
  color: var(--primary);
}
.service-cards > div p {
  color: #274266;
}

/* === OL/LISTS/FAQ === */
ul, ol {
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 0.7em;
  position: relative;
}
ul li:before {
  content: '•';
  color: var(--accent);
  font-size: 1.07em;
  font-weight: 900;
  margin-right: 0.63em;
  position: absolute;
  left: 0;
  top: 0;
}
ol li {
  counter-increment: step;
}
ol li:before {
  content: counter(step) '.';
  color: var(--accent);
  font-size: 1.07em;
  font-weight: 900;
  margin-right: 0.63em;
  position: absolute;
  left: 0;
  top: 0;
}
ol {
  counter-reset: step;
}

details {
  background: #f7f3ea;
  border-radius: 11px;
  margin-bottom: 13px;
  box-shadow: 0 2px 7px #FAAD1418;
  font-size: 1.06rem;
  padding: 10px 17px;
  color: var(--primary);
  transition: background .18s;
}
details[open] {
  background: #fff8dc;
}
details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Merriweather', serif;
  margin-bottom: 4px;
}
details > div {
  margin-top: 8px;
  color: #234;
}

/* === CTA ONLY SECTIONS === */
section .cta-btn {
  align-self: flex-start;
  margin-top: 8px;
}


/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--neutral);
  padding-top: 36px;
  padding-bottom: 30px;
  box-shadow: 0 -2px 22px rgba(23,53,90,0.08);
  border-top-right-radius: 22px;
  border-top-left-radius: 50px;
  margin-top: 38px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.98rem;
}
footer nav a {
  color: var(--neutral);
  opacity: 0.95;
  transition: color .16s, opacity .15s;
  border-radius: 6px;
  padding: 4px 10px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  background: rgba(23,53,90, 0.12);
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.01rem;
  color: var(--neutral);
  opacity: 0.95;
}
.contact-info img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1) grayscale(1) contrast(1.4);
}
.contact-info a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
  transition: color .18s;
}
.brand-statement {
  margin-top: 10px;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  color: var(--accent);
  max-width: 410px;
  font-style: italic;
  letter-spacing: 0;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -2px 18px #bbb7;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 30px;
  z-index: 9999;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  animation: slidein-bottom 0.7s;
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 1.03rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-consent-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border: none;
  padding: 9px 21px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  border-radius: 24px;
  font-weight: 700;
  transition: filter 0.16s, background .18s, color .18s;
  cursor: pointer;
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #dbe3f2;
  color: var(--primary);
}
.cookie-btn.settings {
  background: transparent;
  border: 1.6px solid var(--accent);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.95);
  background: var(--primary);
  color: var(--accent);
}


/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 11000;
  background: rgba(23,53,90,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background 0.23s;
  animation: fadein-bg 0.35s;
}
.cookie-modal-content {
  background: var(--neutral);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 6px 38px #17355a32;
  padding: 38px 34px 30px 34px;
  min-width: 330px;
  max-width: 95vw;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popup-bounce 0.39s;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top:18px;
  background: transparent;
  font-size: 2.1rem;
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--secondary);
  padding: 15px 19px;
  border-radius: 13px;
  font-size: 1.07rem;
  border-left: 7px solid var(--primary);
}
.cookie-cat-item.disabled {
  opacity: 0.70;
  filter: grayscale(0.12);
}
.cookie-cat-item label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-cat-switch {
  margin-left: 12px;
}
.cookie-switch {
  width: 38px;
  height: 21px;
  border-radius: 16px;
  background: #c9daff;
  position: relative;
  display: inline-block;
  transition: background .14s;
  cursor: pointer;
}
.cookie-switch input {
  appearance: none;
  outline: none;
  width: 100%;
  height: 100%;
  margin: 0;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  background: var(--primary);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transition: left .18s, background .15s;
}
.cookie-switch input:checked + .slider {
  background: var(--accent);
}
.cookie-switch input:checked + .slider:before {
  background: var(--accent);
  left: 18px;
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 20px 10px 18px 10px;
    min-width: 0;
    max-width: 98vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 11px 10px;
    font-size: .97rem;
  }
}

/* === ANIMATIONS === */
@keyframes popup-bounce {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  90% { transform: scale(0.98); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadein-bg {
  0% { background: rgba(23,53,90,0.01); }
  100% { background: rgba(23,53,90,0.28); }
}
@keyframes slidein-bottom {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 880px) {
  section {
    padding: 34px 10px;
  }
  .container {
    padding: 0 7px;
  }
  .feature-grid, .specialist-profiles, .specialist-profiles-grid {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .feature-grid > div, .specialist-profiles > div, .specialist-profiles-grid > div, .card, .service-cards > div {
    min-width: 85vw;
    padding: 14px 11px;
  }
}
@media (max-width: 520px) {
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container {
    flex-direction: column;
    gap: 8px;
  }
  header img { height: 38px; }
}

/* === MICRO-INTERACTIONS & HOVER === */
.card, .feature-grid > div, .specialist-profiles > div, .specialist-profiles-grid > div, .service-cards > div {
  transition: box-shadow 0.19s, background 0.18s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .specialist-profiles > div:hover, .specialist-profiles-grid > div:hover, .service-cards > div:hover {
  background: #FFFBEA;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px #faad1444;
  cursor: pointer;
}

.details summary::-webkit-details-marker {
  display:none;
}

/* === ARTISTIC/CREATIVE DECOR ELEMENTS === */
.section-title-underline {
  display: inline-block;
  background: var(--accent);
  border-radius: 5px;
  height: 8px;
  width: 30px;
  margin-bottom: 4px;
  margin-left: 4px;
  vertical-align: bottom;
}

/* === MISC COMPONENTS === */
input, textarea {
  border-radius: 9px;
  border: 1.2px solid #eee;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 1rem;
  margin: 6px 0;
  width: 100%;
  outline: none;
  box-shadow: 0 2px 6px #ece7d133;
  transition: border .17s, box-shadow .15s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 4px 18px #FAAD1422;
}

.button, button {
  font-family: "Merriweather", serif;
  font-weight: 800;
  background: var(--primary);
  color: var(--neutral);
  border-radius: 19px;
  border: none;
  cursor: pointer;
  transition: background .14s, color .15s, box-shadow .18s;
  padding: 9px 28px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 15px #17355a20;
}
.button:hover, .button:focus, button:hover, button:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 5px 22px #faad143a;
}

::-webkit-scrollbar { width: 8px; background: #EDE5D1; }
::-webkit-scrollbar-thumb { background: #B4A171; border-radius: 16px; }
::-webkit-scrollbar-thumb:hover { background: #FAAD14; }

/* === FORM ELEMENTS (if present) === */
label {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 6px;
  display: inline-block;
}

/* === ACCESSIBILITY FOCUS === */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* === PRINT OVERRIDE === */
@media print {
  section, header, footer {
    background: none !important;
    box-shadow: none !important;
  }
  .cta-btn, .button, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
}
