:root {
  --bg: #fefaf7;
  --bg-soft: #f8f1eb;
  --text: #2d2622;
  --muted: #6f655f;
  --primary: #9a7b67;
  --primary-dark: #7d604e;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(45, 38, 34, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(154, 123, 103, 0.14);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(45, 38, 34, 0.08);
  border-color: transparent;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img {
  width: clamp(112px, 10vw, 138px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.mobile-nav-toggle,
.mobile-nav {
  display: none;
}

.mobile-nav-backdrop {
  display: none;
}

.mobile-nav[hidden],
.mobile-nav-backdrop[hidden] {
  display: none !important;
}

@media (min-width: 601px) {
  .mobile-nav-toggle,
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }

  .site-header .nav-links {
    display: flex !important;
  }

  .site-header .nav > .btn-primary {
    display: inline-block !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-links a::after {
    transition: none;
  }
}

.btn {
  display: inline-block;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 999px;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--primary);
  margin-bottom: 14px;
}

section {
  padding: 70px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.66);
}

.technology-section {
  position: relative;
  background: url("../assets/facial-treatment.webp") center 30% / cover no-repeat;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
  display: flex;
  align-items: center;
}

.technology-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24, 20, 18, 0.7) 0%, rgba(24, 20, 18, 0.54) 40%, rgba(24, 20, 18, 0.38) 100%);
}

.technology-section .container {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

.technology-section .eyebrow,
.technology-section h2,
.technology-section p {
  color: var(--white);
}

.technology-section p {
  max-width: 62ch;
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-us {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 34px;
  align-items: center;
}

.about-content p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 58ch;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin: 0;
}

.treatments {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.treatment-item {
  background: linear-gradient(165deg, #fffdfa 0%, #f6eee8 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(154, 123, 103, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.treatment-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(45, 38, 34, 0.12);
}

.treatment-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(154, 123, 103, 0.18);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.treatment-item h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.treatment-item h3 a {
  color: inherit;
  text-decoration: none;
}

.treatment-item h3 a:hover,
.treatment-item h3 a:focus-visible {
  color: var(--primary-dark);
}

.treatment-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.treatments-cta {
  margin: 26px 0 0;
  font-size: 0.96rem;
}

.treatments-cta a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 123, 103, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.treatments-cta a:hover,
.treatments-cta a:focus-visible {
  color: var(--primary);
  border-color: rgba(154, 123, 103, 0.65);
}

.about-inline-link {
  margin: 22px 0 0 !important;
  padding-top: 6px;
}

.about-inline-link a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 123, 103, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-inline-link a:hover,
.about-inline-link a:focus-visible {
  color: var(--primary);
  border-color: rgba(154, 123, 103, 0.65);
}

.treatment-meta {
  margin-top: 14px !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  color: #7f6f65 !important;
  border-top: 1px solid rgba(154, 123, 103, 0.22);
  padding-top: 11px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.image-slot {
  border: 2px dashed rgba(154, 123, 103, 0.45);
  border-radius: 16px;
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}

.image-slot p {
  margin: 0;
  color: var(--muted);
  max-width: 20ch;
}

.results-section {
  padding: 58px 0;
}

.results-wrap {
  max-width: 860px;
}

.results-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid rgba(154, 123, 103, 0.2);
  text-align: center;
}

.results-content p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 14px;
}

.result-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.chip {
  background: #efe2d8;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 500;
}

.collaboration {
  padding-top: 24px;
}

.collaboration-card {
  background: linear-gradient(155deg, #fffdfa 0%, #f7efe8 100%);
  border: 1px solid rgba(154, 123, 103, 0.24);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
  text-align: center;
}

.collaboration-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.collaboration-logos img {
  height: clamp(40px, 5.2vw, 58px);
  width: auto;
  object-fit: contain;
}

.collaboration-divider {
  width: 1px;
  height: 40px;
  background: rgba(154, 123, 103, 0.4);
}


.collaboration h2 {
  margin-bottom: 12px;
}

.collaboration p {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--muted);
}

.cta {
  text-align: center;
}

.cta .btn {
  margin-top: 10px;
}


footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.93rem;
  border-top: 1px solid rgba(154, 123, 103, 0.2);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 115px;
  height: auto;
}

.footer-brand p,
.footer-content p {
  margin: 0;
}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .about-us {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-media {
    min-height: 320px;
  }

  .technology-section {
    min-height: 360px;
    background-position: center 26%;
  }

  .technology-section .container {
    padding: 68px 0;
  }

  .treatments {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .image-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 600px) {
  /* Fixed header: sticky is unreliable on many mobile browsers */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-bottom: 8px;
  }

  main {
    padding-top: var(--header-offset, 84px);
  }

  .technology-section {
    min-height: 300px;
    background-position: center 24%;
  }

  .technology-section .container {
    padding: 48px 0;
  }

  .cta#contact {
    padding-top: 34px;
  }

  .nav {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .site-header .nav-links,
  .site-header .nav > .btn-primary {
    display: none;
  }

  .site-header .brand span {
    display: none;
  }

  .site-header .brand img {
    width: min(118px, 42vw);
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(154, 123, 103, 0.4);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
  }

  .mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.menu-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: grid;
    gap: 12px;
    align-content: start;
    grid-auto-rows: max-content;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 320px);
    height: 100dvh;
    padding: max(16px, env(safe-area-inset-top, 0px)) 18px 20px;
    background: var(--white);
    border-left: 1px solid rgba(154, 123, 103, 0.16);
    box-shadow: -16px 0 36px rgba(25, 20, 17, 0.16);
    z-index: 130;
    transform: translateX(104%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.menu-open .mobile-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .mobile-nav-brand {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
  }

  .mobile-nav-brand img {
    width: 112px;
    height: auto;
  }

  .mobile-nav .btn {
    justify-self: start;
    align-self: start;
    margin-top: 4px;
    background: var(--primary);
    color: var(--white);
    border: 1px solid rgba(154, 123, 103, 0.4);
  }

  .mobile-nav .btn:hover,
  .mobile-nav .btn:focus-visible {
    background: var(--primary-dark);
    color: var(--white);
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(30, 23, 19, 0.42);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .site-header.menu-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .treatments {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 250px;
  }

  .results-content {
    padding: 24px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-logos {
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
  }

  .collaboration-logos img {
    width: auto;
    max-width: min(34vw, 110px);
    height: auto;
    max-height: 30px;
  }

  .collaboration-divider {
    width: 1px;
    height: 22px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-content .btn {
    margin-top: 2px;
  }

  .btn-primary {
    padding: 11px 20px;
  }
}

