* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #222;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: #f5f1f8;
  color: #541b80;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.topbar-contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #ece3f3;
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.site-logo img { width: 148px; height: auto; }
.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.site-nav-item {
  position: relative;
}
.site-nav-item.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}
.site-nav a {
  color: #2f2240;
  text-transform: uppercase;
}
.site-nav a.is-active,
.site-nav a:hover { color: #541b80; }
.site-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: none;
  min-width: 220px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid #ece3f3;
  box-shadow: 0 16px 40px rgba(44, 10, 72, .12);
  transform: translateX(-50%);
  z-index: 40;
}
.site-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
}
.site-submenu a:hover {
  background: #f7f2fb;
}
.site-nav-item.has-submenu:hover .site-submenu {
  display: block;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #541b80;
  color: #fff;
  font-weight: 700;
}
.hero {
  position: relative;
  min-height: 78vh;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(44,10,72,.78), rgba(84,27,128,.56)), url('https://ikrorwxhijpllq5p.ldycdn.com/cloud/mmBprKjkRllSpkonknloj/Trusted-Excellence-in-Aesthetics.jpg') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 32%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 30px;
  align-items: center;
  padding: 80px 0;
}
.hero-copy h1,
.page-hero h1 { margin: 0 0 16px; font-family: Raleway, Arial, sans-serif; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; }
.hero-copy p,
.page-hero p { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
}
.btn-primary { background: #541b80; color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-light { background: #fff; color: #541b80; }
.hero-panel {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 50px rgba(0,0,0,.14);
}
.hero-panel img { border-radius: 20px; }
.section { padding: 82px 0; }
.section-tight { padding: 52px 0; }
.home-section { padding: 58px 0; }
.home-section-tight { padding: 34px 0; }
.content-anchor { scroll-margin-top: 110px; }
[data-ajax-results].is-loading {
  opacity: .72;
  transition: opacity .18s ease;
}
.section-head {
  margin-bottom: 28px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #541b80;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 40px;
  color: #241532;
}
.section-head p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #63586f;
  line-height: 1.8;
}
.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #eee4f5;
  box-shadow: 0 14px 36px rgba(82, 35, 114, .08);
}
.card-clickable {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-clickable:hover {
  transform: translateY(-4px);
  border-color: #dfcfec;
  box-shadow: 0 18px 42px rgba(82, 35, 114, .12);
}
.card-hitarea {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: #541b80;
  font-weight: 700;
}
.card-media {
  aspect-ratio: 1 / 1;
  background: #f7f3fb center/cover no-repeat;
}
.card-body { padding: 22px; }
.card-body > * {
  position: relative;
  z-index: 2;
}
.card h3 {
  margin: 0 0 12px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 22px;
  color: #25172f;
}
.card p {
  margin: 0;
  color: #675c72;
  line-height: 1.75;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.info-strip .stat {
  background: linear-gradient(180deg, #fff, #faf6fd);
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f4ebfb;
  color: #541b80;
  font-weight: 700;
}
.feature-panel {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #eee4f5;
  box-shadow: 0 14px 36px rgba(82, 35, 114, .08);
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: #64586f;
  line-height: 1.8;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #541b80;
}
.faq-grid {
  display: grid;
  gap: 18px;
}
.faq-item {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #eee4f5;
}
.faq-item h3 {
  margin: 0 0 10px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 22px;
  color: #25172f;
}
.faq-item p {
  margin: 0;
  color: #675c72;
  line-height: 1.8;
}
.media-banner {
  min-height: 460px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.article-meta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2e8fa;
  color: #541b80;
  font-size: 12px;
  font-weight: 700;
}
.about-box {
  padding: 32px;
  border-radius: 28px;
  background: #f7f2fb;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.stat {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ebdff4;
}
.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  color: #541b80;
}
.cta-band {
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #331348, #541b80);
}
.home-carousel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 34px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, #331348, #5f248f 58%, #7a4caf);
  box-shadow: 0 18px 44px rgba(65, 20, 96, .18);
}
.home-carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.home-carousel-controls {
  display: flex;
  gap: 10px;
}
.home-carousel-btn {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.home-carousel-window {
  overflow: hidden;
}
.home-carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.home-carousel-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 8px 4px 4px;
}
.home-carousel-card h2 {
  margin: 0 0 14px;
  max-width: 860px;
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.14;
}
.home-carousel-card p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.7;
}
.home-carousel-signoff {
  margin-top: 18px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.home-carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.home-carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  cursor: pointer;
}
.home-carousel-dot.is-active {
  background: #fff;
}
.product-gallery {
  width: 100%;
}
.product-gallery-window {
  overflow: hidden;
  border-radius: 24px;
}
.product-gallery-track {
  display: flex;
  transition: transform .4s ease;
}
.product-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.product-gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.product-gallery-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dbc9eb;
  cursor: pointer;
}
.product-gallery-dot.is-active {
  background: #541b80;
}
.page-hero {
  padding: 90px 0 70px;
  color: #fff;
  background: linear-gradient(135deg, rgba(44,10,72,.82), rgba(84,27,128,.64)), url('https://ikrorwxhijpllq5p.ldycdn.com/cloud/mnBprKjkRllSpkonknljj/Dermax-Aesthetic-Solutions.jpg') center/cover no-repeat;
}
.page-hero .container {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.page-hero .container > * {
  width: min(760px, 100%);
}
.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.detail-content,
.rich-text {
  color: #4c4258;
  line-height: 1.9;
}
.detail-content p,
.rich-text p { margin: 0 0 14px; }
.list-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(82, 35, 114, .08);
}
.list-table th,
.list-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0e8f5;
  text-align: left;
}
.list-table th {
  background: #f7f2fb;
  color: #541b80;
}
.site-footer {
  padding-top: 70px;
  background: #1d1622;
  color: rgba(255,255,255,.85);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 24px;
  padding-bottom: 46px;
}
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Raleway, Arial, sans-serif;
  font-size: 22px;
}
.site-footer p,
.site-footer li {
  color: rgba(255,255,255,.74);
  line-height: 1.8;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-list {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-list img {
  width: 28px;
  height: 28px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 30px;
  font-size: 14px;
  color: rgba(255,255,255,.62);
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f7f3fb;
}
.admin-sidebar {
  padding: 28px 20px;
  background: #261734;
  color: #fff;
}
.admin-sidebar a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  color: rgba(255,255,255,.85);
}
.admin-sidebar a.active,
.admin-sidebar a:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-main { padding: 28px; }
.admin-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #efe4f5;
  box-shadow: 0 14px 36px rgba(82, 35, 114, .08);
}
.admin-card + .admin-card { margin-top: 24px; }
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 0;
}
.admin-card-body { padding: 24px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.metric-box {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f7f2fb);
  border: 1px solid #ecdff6;
}
.metric-box strong {
  display: block;
  margin-bottom: 6px;
  color: #541b80;
  font-size: 34px;
}
.admin-form {
  display: grid;
  gap: 18px;
}
.admin-form.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: #42295b;
  font-size: 14px;
  font-weight: 700;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dccbea;
  font: inherit;
}
.field textarea { min-height: 180px; resize: vertical; }
.filter-form {
  display: grid;
  grid-template-columns: 1fr 220px 180px;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 22px;
  background: #faf6fd;
  border: 1px solid #eee4f5;
}
.filter-form .field { margin: 0; }
.filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-search-form {
  width: min(640px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: start;
  background: #fff;
}
.image-preview {
  width: min(280px, 100%);
  border-radius: 18px;
  border: 1px solid #e6d8f2;
  overflow: hidden;
  background: #faf6fd;
}
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.image-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.helper-text {
  display: block;
  margin-top: 6px;
  color: #7a6b87;
  font-size: 13px;
  line-height: 1.6;
}
.pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4ebfb;
  color: #541b80;
  font-weight: 700;
}
.pagination .current {
  background: #541b80;
  color: #fff;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1e8f8;
  color: #541b80;
  font-size: 12px;
  font-weight: 700;
}
.flash {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eff8ef;
  color: #27653b;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #2e1542, #5b2489);
}
.login-card {
  width: min(440px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: #fff;
}
.mobile-nav-toggle { display: none; }
@media (max-width: 980px) {
  .hero .container,
  .split,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .info-strip,
  .stats,
  .metric-grid,
  .filter-form,
  .admin-form.two-col,
  .admin-shell { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 8px;
    padding: 8px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .site-submenu a {
    padding: 8px 0;
  }
  .mobile-nav-toggle { display: inline-flex; }
  .home-carousel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
