:root {
  --deep-forest: rgb(20, 56, 51);
  --soft-matcha: rgb(228, 233, 213);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  background-color: var(--soft-matcha);
  color: var(--deep-forest);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 1.5rem;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes textReveal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.1) grayscale(100%) contrast(120%); }
  to { transform: scale(1) grayscale(100%) contrast(120%); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.bold-title {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(20, 56, 51, 0.9) 0%, rgba(20, 56, 51, 0.5) 70%, rgba(20, 56, 51, 0) 100%);
  color: var(--soft-matcha);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.5s;
}

a {
  color: var(--soft-matcha);
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  z-index: 102;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

nav.nav-menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

nav.nav-menu a {
  color: var(--soft-matcha);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

nav.nav-menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--soft-matcha);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.burger-bar {
  width: 28px;
  height: 2px;
  background-color: var(--soft-matcha);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.active .burger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.active .burger-bar:nth-child(2) { opacity: 0; }
.burger-btn.active .burger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background-color: var(--deep-forest);
  color: var(--soft-matcha);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--deep-forest);
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 1rem;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--deep-forest);
}

.btn-outline {
  background-color: transparent;
  color: var(--deep-forest);
}

.btn-outline:hover {
  background-color: var(--deep-forest);
  color: var(--soft-matcha);
}

.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 2px solid var(--deep-forest);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: heroZoom 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-forest);
  opacity: 0.35;
  z-index: 2;
}

.hero-text-container {
  overflow: hidden;
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.hero-subtitle {
  color: var(--soft-matcha);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-text {
  padding-top: 1rem;
  color: var(--soft-matcha);
  font-size: clamp(4rem, 6vw, 5.5rem);
  transform: translateY(100%);
  animation: textReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.2s;
}

.ticker {
  background-color: var(--deep-forest);
  color: var(--soft-matcha);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--deep-forest);
  text-transform: uppercase;
}

.ticker-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.ticker-item {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 2.5rem;
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-bottom: 2px solid var(--deep-forest);
}

.manifesto-left {
  padding: 3rem 2rem;
  border-right: 2px solid var(--deep-forest);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.manifesto-left-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
}

.about-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.manifesto-left h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }

.manifesto-right {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-header {
  padding: 2.5rem 2rem 1.2rem 2rem;
  border-bottom: 2px solid var(--deep-forest);
}

.section-header h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--deep-forest);
}

.specialist-card {
  display: flex;
  flex-direction: column;
  background-color: var(--soft-matcha);
  border: 2px solid var(--deep-forest);
  padding: 1rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--deep-forest);
  background-color: var(--deep-forest);
}

.specialist-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(102%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.specialist-card:hover .specialist-photo {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(100%);
}

.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 56, 51, 0.12);
}

.specialist-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--deep-forest);
  color: var(--soft-matcha);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(228, 233, 213, 0.2);
  z-index: 2;
}

.specialist-content {
  padding: 1.5rem 1.25rem 0.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.specialist-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--deep-forest);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.specialist-desc-wrap {
  position: relative;
  max-height: 110px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.specialist-desc-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent 0%, var(--soft-matcha) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.specialist-card.expanded .specialist-desc-wrap { max-height: 1200px; }
.specialist-card.expanded .specialist-desc-wrap::after { opacity: 0; }

.specialist-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--deep-forest);
}

.specialist-list {
  list-style-type: square;
  padding-left: 1rem;
  margin-top: 0.3rem;
}

.specialist-list li { margin-bottom: 0.25rem; }

.specialist-toggle-btn {
  align-self: flex-start;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: center;
}

.services-accordion {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--deep-forest);
}

.service-item {
  border-bottom: 1px solid rgba(20, 56, 51, 0.2);
  padding: 1.6rem 2rem;
  transition: background-color 0.3s ease;
}

.service-item:last-child { border-bottom: none; }

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
}

.service-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-short {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

.service-expand-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.3s ease;
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-item.open .service-expand-body {
  max-height: 2000px;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(20, 56, 51, 0.3);
}

.service-expand-body h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.service-expand-body ul {
  list-style-type: square;
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.service-expand-body ul li { margin-bottom: 0.3rem; }

.service-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 2px solid var(--deep-forest);
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(20, 56, 51, 0.2);
}

.pricing-row:last-child { border-bottom: none; }
.pricing-name { font-size: 0.95rem; font-weight: 700; }
.pricing-price { font-size: 1rem; font-weight: 800; white-space: nowrap; }

.faq-list {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--deep-forest);
}

.faq-accordion {
  border-bottom: 1px solid rgba(20, 56, 51, 0.2);
  padding: 1.2rem 2rem;
  transition: background-color 0.2s ease;
}

.faq-accordion:last-child { border-bottom: none; }

.faq-accordion summary {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-accordion[open] summary::after { transform: rotate(45deg); }

.faq-accordion .faq-answer {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.faq-accordion .faq-answer ul {
  list-style-type: square;
  padding-left: 1.2rem;
  margin-top: 0.4rem;
}

.booking-section {
  padding: 4.5rem 2rem;
  border-bottom: 2px solid var(--deep-forest);
  background-color: var(--soft-matcha);
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  border: 2px dashed var(--deep-forest);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.treatwell-iframe-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 56, 51, 0.08);
}

.treatwell-iframe-wrapper iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .treatwell-iframe-wrapper iframe {
    min-height: 550px;
  }
}

.booking-label { font-size: 0.8rem; margin-bottom: 0.8rem; letter-spacing: 0.1em; font-weight: 800; }
.booking-container h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 0.8rem; text-transform: uppercase; }
.booking-desc { margin-top: 0.5rem; opacity: 0.8; }

footer {
  background-color: var(--deep-forest);
  color: var(--soft-matcha);
  padding: 3rem 2rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.footer-title { font-size: clamp(2rem, 4.5vw, 4.5rem); margin-bottom: 1.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: flex-end;
}

.contact-label { opacity: 0.7; font-size: 0.8rem; }
.contact-details a { color: var(--soft-matcha); text-decoration: none; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 3rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-top: 1px solid rgba(228, 233, 213, 0.2);
}

button, input[type="button"], input[type="submit"], .btn {
  -webkit-tap-highlight-color: transparent;
}

button:active, button:focus, button:focus-visible, .btn:active, .btn:focus {
  background-color: inherit !important;
  color: inherit !important;
  border-color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 1100px) {
  .specialists-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  html {
    font-size: 93.75%;
  }

  body {
    font-size: 1.15rem;
  }

  .burger-btn { display: flex; }
  .manifesto-left {
    border-right: none;
    border-bottom: 2px solid var(--deep-forest);
    padding: 2.5rem 1.5rem;
    align-items: center;
    text-align: center;
  }
  .about-logo { max-width: 240px; margin: 1rem auto 1rem auto; }
  nav.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--deep-forest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 101;
  }
  nav.nav-menu.active { transform: translateY(0); }
  nav.nav-menu a { font-size: 1.1rem; font-weight: 900; }
  .manifesto, footer { grid-template-columns: 1fr; }
  .service-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 650px) {
  html {
    font-size: 87.5%;
  }

  body {
    font-size: 1rem;
  }

  .hero-text {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }

  .ticker-item {
    font-size: 1.15rem;
  }

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