:root {
  --color-primary: #b47d82;
  --color-primary-deep: #a66e73;
  --color-cta: #f8a7ac;
  --color-border: #f4b1b5;
  --color-peach: #e6aaa2;
  --color-bg-light: #f3f3f2;
  --color-text: #474747;
  --color-text-dark: #393737;
  --color-white: #ffffff;
  --color-footer: #2c2525;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --container-width: 1130px;
  --container-narrow: 980px;
  --section-padding: clamp(4.5rem, 7vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--color-primary-deep);
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.sessions,
.service-mode,
.practice,
.office,
.about {
  scroll-margin-top: 1rem;
}

.section-light {
  background: var(--color-bg-light);
}

.section-pink {
  color: var(--color-white);
  background: var(--color-primary);
}

.section-pink h2,
.section-pink h3 {
  color: var(--color-white);
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.55rem;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 0.38rem;
  gap: 0.48rem;
  color: #FFFFFF;
  background-color: #3F7D5B;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.button:active {
  background-color: #33684B;
}

.button__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.button--centered {
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.eyebrow--primary {
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-heading {
  max-width: 950px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading--light,
.section-heading--light h2 {
  color: var(--color-white);
}

/* Top navigation */
.top-nav {
  border-bottom: 1px solid rgba(180, 125, 130, 0.2);
  background: #f8f6f4;
}

.top-nav__inner {
  display: flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: flex-start;
  padding-block: 0.65rem;
  gap: clamp(0.9rem, 2vw, 1.75rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav__inner::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  color: #605858;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav a:hover {
  color: var(--color-primary-deep);
}

.top-nav .top-nav__whatsapp {
  color: var(--color-primary-deep);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 28%, rgba(255, 249, 245, 0.78), transparent 36%),
    radial-gradient(ellipse at 76% 72%, rgba(252, 201, 172, 0.035), transparent 44%),
    linear-gradient(180deg, #f4f2f0 0%, #edf0f1 100%);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 39rem;
  height: 39rem;
  border-radius: 50%;
  background: rgba(252, 201, 172, 0.035);
  content: "";
  filter: blur(34px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 42rem;
  align-items: end;
  gap: 2rem;
  padding-top: 3rem;
}

.hero__content {
  max-width: 38rem;
  margin-inline: auto;
  padding-bottom: 1rem;
  text-align: center;
}

.hero__symbol {
  width: 5.8rem;
  margin: 0 auto 0.25rem;
}

.hero h1 {
  margin-bottom: 0.25rem;
  font-size: clamp(2.75rem, 8vw, 4.45rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero__credential {
  margin-bottom: 0.28rem;
  font-size: clamp(1.08rem, 2.5vw, 1.42rem);
}

.hero__intro {
  max-width: 34rem;
  margin: 0 auto 1rem;
  font-size: clamp(1.15rem, 2.6vw, 1.52rem);
  line-height: 1.35;
}

.hero__qualification {
  display: grid;
  width: min(100%, 34rem);
  margin: 0 auto 1.25rem;
  padding: 0.7rem 1rem 0.65rem;
  border: 1px solid rgba(166, 110, 115, 0.35);
  border-radius: 0.55rem;
  gap: 0.15rem;
  background: rgba(230, 170, 162, 0.14);
  text-align: left;
}

.hero__qualification-title,
.hero__qualification-detail {
  margin: 0;
}

.hero__qualification-title {
  color: var(--color-primary-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.3;
}

.hero__qualification-detail {
  color: #5f5555;
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero__portrait {
  align-self: end;
  justify-self: center;
}

.hero__portrait img {
  width: min(100%, 30rem);
  object-fit: contain;
  object-position: center bottom;
}

/* Sessions */
.sessions {
  padding: var(--section-padding) 0;
  text-align: center;
}

.sessions h2 {
  font-size: clamp(2.25rem, 5vw, 3.45rem);
}

.sessions__intro {
  max-width: 900px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.65;
}

.benefits {
  display: grid;
  max-width: 760px;
  margin: 0 auto 3.2rem;
  padding: 0;
  gap: 0.82rem;
  list-style: none;
  text-align: left;
}

.benefits li {
  position: relative;
  min-height: 3.05rem;
  padding: 0.75rem 1rem 0.75rem 3.35rem;
  border-radius: 0.75rem;
  color: var(--color-white);
  background: var(--color-peach);
  font-size: 0.97rem;
  line-height: 1.45;
}

.benefits li::before {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--color-white);
  content: "✓";
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-53%);
}

/* Shared two-column sections */
.split-layout {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.split-layout__content p {
  font-size: clamp(1.04rem, 2vw, 1.3rem);
}

.split-layout__content .button {
  margin-top: 0.7rem;
}

.split-layout__media {
  justify-self: center;
}

/* Service mode */
.service-mode {
  padding: clamp(3.5rem, 4.5vw, 4.4rem) 0;
}

.service-mode h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}

.service-mode__media img {
  width: min(100%, 22rem);
}

/* Practice areas */
.practice {
  padding: clamp(4rem, 6vw, 5.5rem) 0 3.2rem;
}

.practice .section-heading h2 {
  font-size: clamp(3rem, 6vw, 4.75rem);
}

.practice__grid {
  display: grid;
  align-items: stretch;
  margin-top: 5.5rem;
  gap: 5.6rem;
}

.practice-card {
  position: relative;
  min-height: 25rem;
  padding: 5.1rem 1.65rem 2rem;
  border: 3px solid var(--color-border);
  border-radius: 0.55rem;
  color: var(--color-text);
  background: var(--color-white);
}

.practice-card__image {
  position: absolute;
  top: -4.65rem;
  left: 50%;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
}

.practice-card h3 {
  margin-bottom: 0.65rem;
  color: var(--color-text-dark);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
}

.practice-card p {
  margin-bottom: 0;
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
  line-height: 1.48;
}

/* Office */
.office {
  padding: 4.3rem 0 clamp(5rem, 8vw, 7rem);
}

.office .section-heading p:last-child {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.17rem);
}

.office__gallery-shell {
  position: relative;
  margin: 3rem 0 3.5rem;
}

.office__gallery {
  display: flex;
  overflow-x: auto;
  gap: 0.65rem;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.office__gallery::-webkit-scrollbar {
  display: none;
}

.office__gallery img {
  width: auto;
  min-width: 0;
  flex: 0 0 calc(100% - 2rem);
  aspect-ratio: 6 / 5;
  border-radius: 0.55rem;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.office__gallery-button {
  display: none;
}

.office__gallery-button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

/* About */
.about {
  padding: var(--section-padding) 0 clamp(3.5rem, 5vw, 4.5rem);
}

.about__content h2 {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: clamp(3.2rem, 6vw, 5rem);
}

.about__copy p {
  margin-bottom: 0.55rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}

.about__media img {
  width: min(100%, 25rem);
}

/* Final CTA */
.final-cta {
  padding: var(--section-padding) 0;
}

.about + .final-cta {
  padding-top: clamp(3.5rem, 5vw, 4.5rem);
}

.final-cta__inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.final-cta__media {
  justify-self: center;
}

.final-cta__media img {
  width: min(100%, 22rem);
}

.final-cta__content h2 {
  font-size: clamp(2.25rem, 5vw, 3.35rem);
}

.final-cta__content p {
  margin-bottom: 1.6rem;
  font-size: clamp(1.18rem, 2.4vw, 1.65rem);
  line-height: 1.42;
}

.final-cta__confidentiality {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  text-align: center;
}

/* Footer */
.footer {
  padding: 4.6rem 0 3rem;
  color: #e9e1df;
  background: var(--color-footer);
  font-size: 1rem;
  line-height: 1.65;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer__top {
  display: grid;
  align-items: start;
  padding-bottom: 2.6rem;
  gap: 2rem;
}

.footer__name {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.25;
}

.footer__contact {
  width: fit-content;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-white);
  font-size: 1.03rem;
  font-weight: 700;
  text-decoration: none;
}

.footer__notices {
  display: grid;
  padding: 2.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  gap: 2rem;
}

.footer__notices p {
  margin: 0;
  color: #cfc4c1;
}

.footer__notices strong {
  color: var(--color-border);
}

.footer__bottom {
  padding-top: 2.6rem;
  color: #bdb1ae;
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (min-width: 48rem) {
  .container {
    width: min(calc(100% - 4rem), var(--container-width));
  }

  .split-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .service-mode__inner {
    min-height: 19rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr);
    gap: clamp(3rem, 5vw, 4.5rem);
  }

  .practice__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .practice-card {
    padding-inline: clamp(1.6rem, 3vw, 2.1rem);
  }

  .practice-card:last-child {
    width: calc((100% - clamp(2rem, 4vw, 3.5rem)) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .office__gallery img {
    flex-basis: calc((100% - 0.65rem) / 2);
  }

  .office__gallery-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    place-items: center;
    color: var(--color-white);
    background: rgba(166, 110, 115, 0.9);
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 1.6rem;
    line-height: 1;
    transform: translateY(-50%);
  }

  .office__gallery-button--previous {
    left: -1.15rem;
  }

  .office__gallery-button--next {
    right: -1.15rem;
  }

  .office__gallery-button:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .about__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .about__media {
    grid-column: 2;
    grid-row: 1;
  }

  .final-cta__inner {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(3rem, 6vw, 6rem);
  }

  .final-cta__confidentiality {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer__contact {
    justify-self: end;
  }

  .footer__notices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}

@media (min-width: 64rem) {
  .top-nav__inner {
    justify-content: center;
    overflow-x: visible;
  }

  .hero__inner {
    min-height: 38rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: 1rem;
    padding-top: 2.2rem;
  }

  .hero__content {
    margin: 0;
    padding: 2rem 0 5rem;
    text-align: left;
  }

  .hero__symbol {
    width: 6.25rem;
    margin-left: 0;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 4.2vw, 4rem);
    white-space: nowrap;
  }

  .hero__credential {
    font-size: 1.46rem;
  }

  .hero__intro {
    font-size: 1.45rem;
    margin-left: 0;
  }

  .hero__qualification {
    margin-left: 0;
  }

  .button {
    min-height: 3.5rem;
    padding: 0.82rem 1.65rem;
    font-size: 1.06rem;
  }

  .benefits li {
    font-size: 1.02rem;
  }

  .about__copy p {
    font-size: 1.12rem;
  }

  .hero__portrait img {
    width: 29.25rem;
  }

  .sessions {
    min-height: 42rem;
  }

  .office__gallery img {
    flex-basis: calc((100% - 1.3rem) / 3);
  }

  .practice-card {
    min-height: 25.5rem;
  }
}

@media (min-width: 75rem) {
  .practice__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .practice-card {
    min-height: 32rem;
    padding-inline: 1.55rem;
  }

  .practice-card:last-child {
    width: auto;
    grid-column: auto;
  }

  .practice-card h3 {
    font-size: 2.45rem;
  }

  .practice-card p {
    font-size: 1.05rem;
  }
}

@media (max-width: 47.99rem) {
  .top-nav {
    display: none;
  }

  .top-nav__inner {
    width: 100%;
    padding-inline: 1rem;
  }

  .hero__inner {
    gap: 0.8rem;
    padding-top: 3rem;
  }

  .hero__content {
    order: 1;
    padding-bottom: 0.25rem;
  }

  .hero__portrait {
    order: 2;
  }

  .hero__portrait img {
    width: min(71vw, 17.5rem);
    max-height: none;
    margin-inline: auto;
  }

  .sessions__intro {
    text-align: left;
  }

  .benefits li {
    padding-left: 3rem;
  }

  .split-layout__content {
    text-align: center;
  }

  .service-mode__inner {
    gap: 1rem;
  }

  .service-mode .split-layout__content {
    display: contents;
  }

  .service-mode h2 {
    order: 1;
    margin-bottom: 0.25rem;
  }

  .service-mode__media {
    order: 2;
    margin: 0.5rem 0 0.75rem;
  }

  .service-mode__media img {
    width: min(82vw, 19rem);
    margin-inline: auto;
  }

  .service-mode .split-layout__content p {
    order: 3;
    margin-bottom: 0.35rem;
  }

  .service-mode .button {
    order: 4;
    justify-self: center;
    margin-top: 0.35rem;
  }

  .practice-card h3 {
    text-align: center;
  }

  .office__gallery img {
    max-height: 24rem;
  }

  .about__inner {
    gap: 0;
  }

  .about__content {
    display: contents;
  }

  .about__content .eyebrow {
    order: 1;
    text-align: left;
  }

  .about__content h2 {
    order: 2;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .about__media {
    width: 100%;
    order: 3;
    margin: 0 0 1.7rem;
  }

  .about__copy {
    order: 4;
    text-align: left;
  }

  .about__content .button {
    display: flex;
    width: fit-content;
    order: 5;
    margin: 1.4rem auto 0;
  }

  .about__media img {
    width: 84%;
    margin-inline: auto;
  }

  .final-cta__inner {
    gap: 0;
  }

  .final-cta__content {
    display: contents;
  }

  .final-cta__content h2 {
    order: 1;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .final-cta__media {
    width: 100%;
    order: 2;
    margin-bottom: 1.7rem;
  }

  .final-cta__media img {
    width: min(82vw, 20rem);
    margin-inline: auto;
  }

  .final-cta__content p {
    order: 3;
    margin-bottom: 1.6rem;
    text-align: center;
  }

  .final-cta__content .button {
    order: 4;
    justify-self: center;
  }

  .final-cta__confidentiality {
    order: 5;
    margin-top: 2.5rem;
  }

  .footer__bottom p:last-child {
    margin-top: 1.25rem;
  }

  .footer {
    padding: 3.8rem 0 2.8rem;
  }

  .footer .container {
    width: min(calc(100% - 2.5rem), var(--container-width));
  }

  .footer__top {
    padding-bottom: 2.6rem;
    gap: 2.1rem;
  }

  .footer__name {
    margin-bottom: 0.7rem;
    font-size: 1.7rem;
  }

  .footer__notices {
    padding: 2.6rem 0;
    gap: 2.25rem;
  }

  .footer__bottom {
    padding-top: 2.5rem;
  }
}

@media (max-width: 23.5rem) {
  body {
    min-width: 0;
  }

  .button {
    width: 100%;
    padding-inline: 0.8rem;
    font-size: 0.94rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .practice-card {
    padding-inline: 1.15rem;
  }
}
