/* =========================================================
   LAVAĒ — Premium Visual System
   Client palette: Ivory / Sand / Warm Gold / Dusk / Espresso
   Load after main.css, custom.css and responsive.css.
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap");

:root {
  --tp-theme-font: "DM Sans", sans-serif;
  --tp-playfair-font: "Playfair Display", serif;

  --lavae-ivory: #f7f3ee;
  --lavae-sand: #e6ddd2;
  --lavae-brand: #dbd6c3;
  --lavae-gold: #c4a882;
  --lavae-dusk: #8a7568;
  --lavae-espresso: #2a1f1a;
  --lavae-body: #625850;
  --lavae-white: #ffffff;
  --lavae-bg-gradient:  background-image: linear-gradient(to right bottom, #cab9a6, #d1c2b1, #d8cbbc, #e0d4c7, #e7ddd2);
  --lavae-line: rgba(42, 31, 26, 0.13);
  --lavae-line-light: rgba(255, 255, 255, 0.2);
  --lavae-shadow-sm: 0 10px 28px rgba(42, 31, 26, 0.08);
  --lavae-shadow-md: 0 22px 55px rgba(42, 31, 26, 0.13);
  --lavae-radius-section: 16px;
  --lavae-radius-card: 14px;

}

/* =========================================================
   Base, typography and colour tokens
========================================================= */

html,
body {
  background: var(--lavae-ivory);
}

body {
  color: var(--lavae-body);
  font-family: var(--tp-theme-font);
  font-weight: 400;
}

p,
li,
a,
button,
input,
select,
textarea,
label,
table {
  font-family: var(--tp-theme-font);
}

p {
  color: var(--lavae-body);
}

/* Playfair is the display face, not the functional UI face. */
h1,
h2,
.tp-section-title,
.tp-hero-slider-title,
.tp-breadcrumb-title,
.tp-hero-banner-title,
.tp-footer-title,
.tp-postbox-details-title {
  color: var(--lavae-espresso);
  font-family: var(--tp-playfair-font);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h3,
h4,
h5,
h6,
.tp-services-title,
.tp-faq-title,
.tp-faq-button,
.tptesti__title,
.tpteam__title,
.tpchoose__title,
.tp-offcanvas-title,
.tp-footer-contect-info-title {
  font-family: var(--tp-theme-font);
  font-weight: 500;
  letter-spacing: -0.012em;
}

.tp-section-title span,
.tp-hero-slider-title span,
.tp-breadcrumb-title span,
.tp-hero-banner-title span,
.tp-footer-title span,
.hpitalic {
  margin-left: 0.04em;
  font-family: var(--tp-playfair-font);
  font-weight: 400;
  font-style: italic;
}

.tp-hero-slider-title {
  line-height: 0.98;
}

.tp-section-sub-title,
.tp-section-sub-title-sec,
.tp-section-sub-title-trd,
.concern-compare-kicker {
  color: var(--lavae-gold);
  font-family: var(--tp-theme-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tp-text-black {
  color: var(--lavae-espresso) !important;
}

.tp-bg-black {
  background-color: var(--lavae-espresso) !important;
}

.tp-bg-gray {
  background-color: var(--lavae-sand) !important;
}

.tp-bg-orange {
  background-color: var(--lavae-gold) !important;
}

.bg-pri {
  background-color: var(--lavae-brand) !important;
}
.lavae-bg-gradient{
  background-image: linear-gradient(to right bottom, #cab9a6, #d1c2b1, #d8cbbc, #e0d4c7, #e7ddd2);
}  

.tp-hero-agents-2,
.tp-hero-agents-2::before,
.tp-hero-slider-area,
.tp-about-area,
.tp-team-area,
.tp-faq-area {
  background-color: var(--lavae-ivory);
}

/* A more couture radius system: pills for actions, restrained cards elsewhere. */
.tp-services-area.br-20,
.tp-testimonail-area.br-20,
.tp-choose-area.br-20,
.tp-footer-area.br-20,
.tp-value-section.br-20 {
  border-radius: var(--lavae-radius-section) !important;
}

.tptesti,
.tpchoose,
.tp-services-body,
.tp-faq-item,
.treatment-support-card,
.tp-postbox-details-item,
.concern-quick-answer,
.concern-dark-answer,
.concern-safety-note,
.concern-journey-card {
  border-radius: var(--lavae-radius-card) !important;
}

/* =========================================================
   Signature logo loader
========================================================= */

#loading {
  z-index: 999999;
  background:
    radial-gradient(circle at 50% 42%, rgba(196, 168, 130, 0.12), transparent 32%),
    linear-gradient(135deg, #fbf8f4 0%, var(--lavae-ivory) 48%, #eee6dc 100%);
}

#loading-center,
#loading-center-absolute {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  animation: none !important;
  transform: none !important;
}

#loading-center-absolute::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 16vw, 270px);
  height: 82px;
  background: url("../img/logo/logo-dark.svg") no-repeat center / contain;
  opacity: 0;
  transform: translate(-50%, -62%) scale(0.97);
  animation: lavae-logo-reveal 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#loading-center-absolute::after {
  content: "";
  position: absolute;
  top: calc(50% + 54px);
  left: 50%;
  width: clamp(150px, 13vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavae-gold), transparent);
  box-shadow: 0 0 18px rgba(196, 168, 130, 0.28);
  transform: translateX(-50%) scaleX(0.08);
  transform-origin: center;
  animation: lavae-loader-line 1.3s ease-in-out infinite;
}

#loading .object {
  display: none !important;
}

@keyframes lavae-logo-reveal {
  to {
    opacity: 1;
    transform: translate(-50%, -62%) scale(1);
  }
}

@keyframes lavae-loader-line {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleX(0.08); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

/* =========================================================
   Header and navigation
========================================================= */

.tp-header-area {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-header-logo img {
  height: auto;
}

.tp-header-menu,
.tp-header-menu.tp-bluer-bg {
    display: inline-flex;
    align-items: center;

    width: max-content;
    max-width: 100%;

    height: 58px;
    min-height: 58px;

    margin: 0 auto;
    padding: 0 16px;

    overflow: visible;

    background: rgba(65, 54, 48, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;

    box-shadow: 0 14px 36px rgba(24, 17, 14, 0.16);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.tp-header-menu > nav > ul > li {
    flex: 0 0 auto;
    height: 100%;
    margin: 0;
}

.tp-header-menu > nav > ul > li > a {
    position: relative;

    display: flex;
    align-items: center;

    height: 100%;
    padding: 0 13px;

    color: #fff !important;
    white-space: nowrap;

    transition: color 0.25s ease;
}

.tp-header-menu > nav > ul > li > a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 11px;
  left: 12px;
  height: 1px;
  background: var(--lavae-gold);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tp-header-menu > nav > ul > li:hover > a,
.tp-header-menu > nav > ul > li.current-menu-item > a {
  color: #f2e8db !important;
}

.tp-header-menu > nav > ul > li:hover > a::after,
.tp-header-menu > nav > ul > li.current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Phone remains a quiet secondary action. */
.tp-header-cta-phone {
  margin-right: 0 !important;
}

.tp-header-cta-phone > a,
.tp-header-cta-phone .tp-cta-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-header-cta-phone .tp-cta-phone-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  margin: 0 !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 50%;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tp-header-cta-phone > a:hover .tp-cta-phone-icon {
  color: var(--lavae-espresso);
  background: var(--lavae-gold);
  border-color: var(--lavae-gold) !important;
  transform: translateY(-1px);
}

.tp-header-cta-button .tp-btn {
  height: 58px;
  min-height: 58px;
  padding: 7px 8px 7px 25px;
  gap: 18px;
  color: var(--lavae-espresso) !important;
  background: rgba(247, 243, 238, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px rgba(42, 31, 26, 0.1);
}

.tp-header-cta-button .tp-btn-text {
  color: inherit !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.tp-header-cta-button .tp-btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  color: var(--lavae-espresso) !important;
  background: var(--lavae-brand) !important;
}

.tp-header-cta-button .tp-btn:hover {
  color: var(--lavae-espresso) !important;
  background: var(--lavae-sand) !important;
  border-color: var(--lavae-gold);
  transform: translateY(-1px);
}

.tp-header-cta-button .tp-btn:hover .tp-btn-icon {
  color: #fff !important;
  background: var(--lavae-espresso) !important;
}

/* Sticky state uses warm ivory instead of black. */
.header-sticky.sticky-black {
  background: rgba(247, 243, 238, 0.95);
  border-bottom: 1px solid var(--lavae-line);
  box-shadow: var(--lavae-shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-sticky.sticky-black .tp-header-logo img {
  filter: invert(1);
}

.header-sticky.sticky-black .tp-header-menu,
.header-sticky.sticky-black .tp-header-menu.tp-bluer-bg {
  background: rgba(230, 221, 210, 0.7);
  border-color: rgba(42, 31, 26, 0.09);
  box-shadow: 0 10px 25px rgba(42, 31, 26, 0.07);
}

.header-sticky.sticky-black .tp-header-menu > nav > ul > li > a,
.header-sticky.sticky-black .tp-text-white,
.header-sticky.sticky-black .tp-header-cta a {
  color: var(--lavae-espresso) !important;
}

.header-sticky.sticky-black .tp-header-menu > nav > ul > li:hover > a,
.header-sticky.sticky-black .tp-header-menu > nav > ul > li.current-menu-item > a {
  color: #665247 !important;
}

.header-sticky.sticky-black .tp-header-cta-phone .tp-cta-phone-icon {
  color: var(--lavae-espresso);
  background: var(--lavae-brand);
  border-color: rgba(42, 31, 26, 0.14) !important;
}

.header-sticky.sticky-black .tp-header-cta-button .tp-btn {
  color: #fff !important;
  background: var(--lavae-espresso) !important;
  border-color: var(--lavae-espresso);
}

.header-sticky.sticky-black .tp-header-cta-button .tp-btn-icon {
  color: var(--lavae-espresso) !important;
  background: var(--lavae-brand) !important;
}

.header-sticky.sticky-black .header-sidebar-btn span {
  background: var(--lavae-espresso);
}

@media (min-width: 1200px) {
  .tp-header-spacing {
    padding: 20px 30px;
  }

  .tp-header-logo img {
    width: clamp(150px, 9.5vw, 188px) !important;
    max-width: none !important;
  }

  .tp-header-wrap > .row > div:nth-child(1) {
    flex: 0 0 19%;
    max-width: 19%;
  }

  .tp-header-wrap > .row > div:nth-child(2) {
    flex: 0 0 62%;
    max-width: 62%;
  }

  .tp-header-wrap > .row > div:nth-child(3) {
    flex: 0 0 19%;
    max-width: 19%;
  }

  .tp-header-menu {
    display: block !important;
    width: 100%;
    height: 58px;
    max-width: 990px;
    margin: 0 auto;
    padding: 0 13px;
  }

  .tp-header-menu > nav,
  .tp-header-menu > nav > ul,
  .tp-header-menu > nav > ul > li,
  .tp-header-menu > nav > ul > li > a {
    height: 100%;
  }

  .tp-header-menu > nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;

    width: auto;
    height: 100%;

    gap: 6px;
    margin: 0;
    padding: 0;
}

  .tp-header-menu > nav > ul > li {
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
  }

  .tp-header-menu > nav > ul > li > a {
    display: flex !important;
    align-items: center;
    padding: 0 12px !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .tp-header-cta {
    gap: 14px;
    flex-wrap: nowrap;
  }

  /* Dropdowns */
  .tp-header-menu ul li .sub-menu {
    top: calc(100% + 11px);
    min-width: 290px;
    padding: 15px;
    background: rgba(247, 243, 238, 0.99) !important;
    border: 1px solid rgba(42, 31, 26, 0.1);
    border-top: 2px solid var(--lavae-gold);
    border-radius: 14px;
    box-shadow: var(--lavae-shadow-md);
  }

  .tp-header-menu ul li .sub-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
  }

  .tp-header-menu ul li .sub-menu li a {
    display: block;
    padding: 11px 13px !important;
    color: var(--lavae-espresso) !important;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  }

  .tp-header-menu ul li .sub-menu li a:hover {
    color: var(--lavae-espresso) !important;
    background: rgba(196, 168, 130, 0.2);
    transform: translateX(3px);
    text-decoration: none;
  }
  .tp-header-menu ul li .sub-menu li a:hover span {
    text-decoration: none;
  }  

  .tp-header-menu ul li .sub-menu .small {
    display: inline;
    margin-left: 3px;
    color: var(--lavae-dusk);
    font-size: 10.5px;
    font-weight: 400;
  }

  .tp-header-menu > nav > ul > li:nth-child(3) > .sub-menu,
  .tp-header-menu > nav > ul > li:nth-child(4) > .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(215px, 1fr));
    gap: 3px 8px;
    width: 510px;
  }

  .tp-header-menu > nav > ul > li:nth-child(4) > .sub-menu {
    width: 475px;
  }
}

@media (min-width: 1600px) {
  .tp-header-cta-phone {
    display: inline-block !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .tp-header-cta-phone {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .tp-header-spacing {
    padding-right: 20px;
    padding-left: 20px;
  }

  .tp-header-logo img {
    width: 145px !important;
  }

  .tp-header-menu,
  .tp-header-cta-button .tp-btn {
    height: 54px;
    min-height: 54px;
  }

  .tp-header-menu {
    padding-right: 7px;
    padding-left: 7px;
  }

  .tp-header-menu > nav > ul {
    gap: 2px;
  }

  .tp-header-menu > nav > ul > li > a {
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 15px !important;
  }

  .tp-header-cta-button .tp-btn {
    padding-left: 18px;
    gap: 11px;
  }

  .tp-header-cta-button .tp-btn-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .tp-header-menu,
  .tp-header-menu.tp-bluer-bg {
      height: 54px !important;
      min-height: 54px !important;
      padding-left: 12px !important;
      padding-right: 12px !important;
  }

  .tp-header-menu > nav > ul {
      gap: 6px !important;
  }

  .tp-header-menu > nav > ul > li > a {
      padding-left: 11px !important;
      padding-right: 11px !important;
  }
}

/* Mobile offcanvas */
@media (max-width: 1199.98px) {
  .tp-offcanvas {
    background: var(--lavae-ivory);
  }

  .tp-offcanvas-menu ul li > a {
    color: var(--lavae-espresso);
    font-family: var(--tp-theme-font);
    font-weight: 500;
  }

  .tp-offcanvas-menu ul li .sub-menu {
    margin: 5px 0 12px 10px;
    padding-left: 14px;
    border-left: 1px solid var(--lavae-line);
  }

  .tp-offcanvas-menu ul li .sub-menu li a {
    padding: 8px 36px 8px 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .tp-offcanvas-menu ul li .sub-menu .small {
    display: inline;
    color: var(--lavae-dusk);
    font-size: 10px;
  }

  .tp-offcanvas-content,
  .tp-offcanvas-cta,
  .tp-offcanvas-contect-social {
    color: var(--lavae-espresso);
  }
}

/* =========================================================
   Buttons, forms and controls
========================================================= */

.tp-btn {
  border-radius: 999px;
}

.tp-btn-icon::before,
.tp-btn-circle{
  background-color: var(--lavae-dusk);
}

.tp-btn-circle:hover {
  color: var(--lavae-espresso);
  background-color: var(--lavae-gold);
}

.back-to-top-btn {
  color: var(--lavae-espresso);
  background: var(--lavae-brand);
  box-shadow: 0 12px 28px rgba(42, 31, 26, 0.13);
}

input,
select,
textarea {
  color: var(--lavae-espresso);
  border-color: var(--lavae-line);
  background-color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Homepage treatments and feature cards
========================================================= */

.tp-services-area.tp-bg-black {
  background: linear-gradient(145deg, #eee8df 0%, var(--lavae-sand) 56%, var(--lavae-brand) 100%) !important;
  border: 1px solid rgba(42, 31, 26, 0.08);
}

.tp-services-area .tp-text-white,
.tp-services-area .tp-section-sub-title-sec,
.tp-services-area .tp-services-num,
.tp-services-area .tp-services-title {
  color: var(--lavae-espresso) !important;
}

.tp-services-area .tp-services-heading-wrap svg,
.tp-services-area .tp-services-heading-wrap svg path {
  color: var(--lavae-espresso);
  fill: currentColor !important;
}

.tp-services-area .tp-services-button {
  border-color: rgba(42, 31, 26, 0.15) !important;
}

.tp-services-area .tp-services-body {
  background: rgba(247, 243, 238, 0.93);
  border: 1px solid rgba(42, 31, 26, 0.1);
  box-shadow: 0 18px 45px rgba(42, 31, 26, 0.08);
}

.tp-services-area .tp-btn-white {
  color: var(--lavae-espresso);
  background: var(--lavae-ivory);
}

.tp-choose-area .tp-bg-overlay::before {
  background: linear-gradient(90deg, rgba(42, 31, 26, 0.64), rgba(92, 72, 61, 0.22));
}

.tp-choose-area .tpchoose__bluer-bg {
  background: var(--lavae-dusk) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-choose-area .tpchoose__bluer-bg,
.tp-choose-area .tpchoose__bluer-bg .tp-text-white,
.tp-choose-area .tpchoose__bluer-bg a,
.tp-choose-area .tpchoose__bluer-bg p,
.tp-choose-area .tpchoose__bluer-bg svg {
  color: #fff !important;
}

.tp-choose-area .tpchoose.tp-bg-orange {
  background: var(--lavae-gold) !important;
}

.tp-choose-area .tpchoose.bg-pri {
  background: var(--lavae-brand) !important;
}

.tp-choose-area .tpchoose.tp-bg-white {
  background: var(--lavae-ivory) !important;
}

.tpchoose {
  box-shadow: 0 20px 48px rgba(42, 31, 26, 0.1);
}

/* Subtle shared colour grade for content photography. */
.tp-about-image img,
.tp-services-img img,
.tptesti__thumb img,
.tpteam__thumb img,
.tpchoose img,
.tpproject__thumb img,
.concern-editorial-hero img,
.concern-detail-about img,
.concern-compare-section img,
.concern-journey-thumb img {
  filter: saturate(0.9) contrast(0.98) sepia(0.035);
}

/* =========================================================
   Footer and dark editorial surfaces
========================================================= */

.tp-linear-bg-6::after {
  background: linear-gradient(360deg, var(--lavae-sand) 0%, rgba(42, 31, 26, 0.76) 74%);
}

.tp-footer-area .tp-footer-contect,
.tp-footer-area .tp-footer-contect-bottom {
  border-color: rgba(42, 31, 26, 0.14);
}

.lavae-concern-page .tp-bg-black,
.lavae-concern-page .concern-detail-about.tp-bg-black {
  background: linear-gradient(135deg, #33251f 0%, var(--lavae-espresso) 100%) !important;
}

/* =========================================================
   404 page
========================================================= */

.lavae-error-page {
  min-height: 100vh;
  padding: 230px 20px 120px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 30%, rgba(196, 168, 130, 0.16), transparent 28%),
    var(--lavae-ivory);
}

.lavae-error-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lavae-error-code {
  display: block;
  color: var(--lavae-gold);
  font-family: var(--tp-theme-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.lavae-error-title {
  margin: 24px 0 20px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.92;
}

.lavae-error-copy {
  max-width: 610px;
  margin: 0 auto 38px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

/* =========================================================
   Native cursor and performance safeguards
========================================================= */

#magic-cursor,
#ball,
#lavae-cursor {
  display: none !important;
}

html,
body {
  cursor: auto !important;
}

a,
button,
[role="button"],
select,
label[for],
input[type="submit"],
input[type="button"] {
  cursor: pointer !important;
}

input:not([type="submit"]):not([type="button"]),
textarea,
[contenteditable="true"] {
  cursor: text !important;
}

@media (max-width: 767.98px) {
  .tp-hero-slider-title {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.02;
  }

  /*.tp-section-title {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.08;
  }*/

  .lavae-error-page {
    padding-top: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Why LAVAE section — same full-width style as index-3 */
.tp-choose-slide-wrap-2 {
    margin-top: 0 !important;
    border-radius: 0 !important;
}

.tp-choose-slide-wrap-2 .tp-choose-bg {
    width: 100%;
    margin: 0 !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
